This was resulting in non-intuitive and surprising behaviour when queuing
commands. Removing this system results in Megaglest behaving more like
other RTS games.
For instance, the following are now possible and weren't previously:
- Queuing multiple attack ground commands to move along a specific path
attacking all enemies on the way.
- Queuing attack ground followed by hold position, which is a sensible
thing to do if you want a unit to guard a specific area.
- Queuing a move command followed by a produce command, if you want to
have your summoner summon a daemon at a specific location.
The behaviour of queuing the stop command is unchanged, and commands that
must be the last in the queue, such as morphing, are still properly replaced when something
else is queued.
* workflows/cmake.yml:test on Ubuntu Jammy (22.04);migrate to checkoutv3
This should also fix#247
* maybe fix ssh link error on Ubuntu Jammy
gcc and clang build is failing on Jammy with the message:
'cannot find -lssh: No such file or directory'
Basically I added libcurl-openssl-dev to the deps
* remove libcurl4-gnutls-dev
Trying to correct:
The following packages have unmet dependencies:
libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but
7.81.0-1ubuntu1.3 is to be installed
libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but
7.81.0-1ubuntu1.3 is to be installed
E: Unable to correct problems, you have held broken packages.
An error occurred while installing build dependencies.
* use cmake FindCURL module
* for OpenSSL, use include instead of find_package
* remove jammy, add gcc-10 and 11 test
* revert now-unrelated changes
* clean-up
* add VERBOSE flag to make
* Update .github/workflows/cmake.yml
* Update .github/workflows/cmake.yml
* use '-f' option from build script to force clang
* force dynamic libs with '-d'
fixes#251
* mk/linux/setupBuildDeps.sh:fix script so 22.04 is detected
*remove vlc deps (not required for the CI)
*remove ubuntu-18.04 from the build matrix, see
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
* revert removal of commented macos jobs
* run apt-get update and upgrade
* cleanup Prep snapshot section
* Allow a selected group to have the attack command even if some units don't have it
* Add getUnitFromCC function
* return NULL if getFirstCtOfClass founds no unit
* Search for the unit containing the attack command in a non uniform selection
Co-authored-by: Rampoina <Rampoina@protonmail.com>
* Replace working http links with https
* downloads also has working https
* forum also has working https
* Fix get_started link
* fix get_started link
Co-authored-by: James Sherratt <jdsherratt3@gmail.com>
Text colours where the colour wasn't explicitly set was rendering as the
previous (incorrect) colour instead of white. Now text colour is
explicitly set.
Fixes bugs found in iss #206. Building without FTGL fails and the error
is confusing. So we'll fail at the cmake stage (suggested by andy5995).
People who don't want it can disable this at their own peril! ;-)