Fix incorrect rounding 1% HP as 0 HP (indestructible features)
Fixes ticket:3134 This fixes the problem where the map has features with 1% HP which are incorrectly converted to 0 HP
Change new PIE modes to use flags instead of connectors.
Introduced in 82e00bf: Roll to camera uses TYPE x1x instead of a "1 x 0" connector. Pitch to camera uses TYPE x2x instead of a "2 x 0" connector. Additive uses TYPE xx1/xx2 to dis/enable instead of a "x 1 0"/"x 2 0" connector. Introduced in f3ba237: Premultiplied uses TYPE xx4 instead of a "x 3 0" connector. Refs #3024.
qtscript: Remove OPTIONS as an alias for the COMMAND button.
Even in wzscript this was only for backwards compatibility.
Add new shortcuts for unit selection.
Ctrl+C: All cyborgs Shift+C: All cyborgs with weapons Shift+E: All cyborg engineers Shift+G: All ground based attack units including hovers Shift+M: All cyborg mechanics Shift+P: All transporters Shift+R: All tanks with repair turrets Shift+S: All sensor units Shift+T: All trucks Original patches by JDW and Wolfbyte. Closes #3150.
Merge branch 'bugfixes' into 3.1
* bugfixes: qtscript: Add an html target using hevea for the docs. qtscript: Use lstlisting in the docs. Fix radar/unit design in campaign for away missions. qtscript: Add function to enumerate base structures in away missions. qtscript: Add selection by structure type to enumStruct. Add new shortcuts for unit selection. Clean up src/selection.cpp/h. qtscript: Document add/removeReticuleButton parameters. qtscript: Remove OPTIONS as an alias for the COMMAND button. Change new PIE modes to use flags instead of connectors. Fix incorrect rounding 1% HP as 0 HP (indestructible features) Fix incorrect speed bars for vtol. Fix ticket:3137 - Nexus AIs loaded for javascript AIs Allow PMs to player 8 and 9.
Units now actually move at the speeds given in the design menu, which in the case of VTOLs is up to 2.5 times faster, and which in the case of land units up to 1.2 times faster on one particular terrain type, instead of moving at a maximum of DROID::baseSpeed, which is the speed before terrain modifiers. Introduced in 4b08dd0. Fixes ticket:3140.
In reference to 3e15039 bump the year in the mac files.
Also update the copying.* files included in the mac builds.
Some of it would run in the case of desynchs, but didn't help with anything.
Rename game debug messages to GAME_DEBUG_*.
Also, avoid unexpected triggering of debug code. Note that this code was actually originally part of the pre-newnet synchronisation mechanism, but is no longer useful outside of debugging.
Only copy javascript doc if we build out of tree.
Also run hevea twice to get cross-references right.
Make sure we clear the tile with the feature on it after it has been …
…destroyed. Not really a cherry-pick (functions changed), however, it is the same logic so wanted to keep track of the cherry-pick. fixes ticket:3155 2.3: Make sure we clear the tile with the feature on it after it has been destroyed. refs ticket:2534 (cherry picked from commit d1c9349) Conflicts: src/feature.c
Don't hide possible misnamed or non-existent function calls in qtscri…
…pt's backend. We now give a LOG_WARNING to notify us of the possible error. NOTE: might be better to promote this to LOG_ERROR, so we can tell in-game that we have issues instead of parsing log files.
Correctly define the function for compilers that aren't broken enough…
… to allow bool blah() == void blah() which should throw a error since we don't overload it. Broken in 68639f7
Bring back to life old VBO hack for unlucky OpenGL 1.4 users, GLEW ed…
…ition this time. Closes #3166. Removed some duplicated code for gfx info dump.
Extending components limit in unit design GUI
Fixes ticket:3160 Limit of components to design increased to 128.
Fix radar/minimap size to adapt to lower resolutions better.
Fixes ticket:2694
Adjust the Super Transport gfx, thanks to Mysteryem & Berg.
Adjust speed to make it faster. Adjust armor to make it much weaker. Fix Research name. This is the PIE 2 version model.
Try to improve the host screen to fit all 10p and move
limits & start hosting buttons to a better(?) location. Fixes ticket:3157