elexis
6590f301c2
Add Math.square to compute the square of a number without the need to repeat the term, without using the slower Math.pow.
...
Start unifying the euclidian distance functions instead of adding yet
another helper function to the random map script library after this
diff.
Differential Revision: https://code.wildfiregames.com/D969
Math.square accepted by mimo
Includes changes proposed by bb, fatherbushido
This was SVN commit r20328.
2017-10-22 20:46:41 +00:00
elexis
77c4e649af
Replace hardcoded copies of a C++ simulation constant in JS used to compute the mapsize with a call to a new getter in the C++ interface.
...
Differential Revision: https://code.wildfiregames.com/D577
Patch By: Sandarac
This was SVN commit r19699.
2017-05-31 16:43:57 +00:00
Itms
c0708da215
Fix the Mustang template. Add tests for the UnitMotionFlying component.
...
Patch by bb.
Reviewers: Itms
Differential Revision: https://code.wildfiregames.com/D139
This was SVN commit r19373.
2017-04-03 09:58:01 +00:00
elexis
6149dd3841
Actually remove trailing whitespace for non-header files as well.
...
This was SVN commit r18989.
2016-11-23 13:02:58 +00:00
mimo
0b86bbd424
another bunch of cleanup (mainly missing semicolon) signaled by jshint
...
This was SVN commit r17045.
2015-09-19 12:50:48 +00:00
sanderd17
22a85b0eb4
add dummy setspeed method to UnitMotionFlying
...
This was SVN commit r14551.
2014-01-09 12:53:28 +00:00
sanderd17
4776d85301
use UnitMotionFlying for the hawks
...
This was SVN commit r14451.
2013-12-30 18:03:01 +00:00
sanderd17
7345d27c84
Summon planes back from the emptyness
...
This was SVN commit r14230.
2013-11-26 15:12:16 +00:00
wraitii
3783d0e14c
Fix flying unit not crashing in water when they should. Patch by scythewirler. refs #2067
...
This was SVN commit r13710.
2013-08-19 14:44:15 +00:00
alpha123
a18262e7b1
Make planes about 20% cooler. Fixes #2067 .
...
This was SVN commit r13694.
2013-08-17 22:55:16 +00:00
alpha123
4e709f2c9c
Implement landing and go-around for UnitMotionFlying. Patch by scythetwirler. Fixes #2062 .
...
This was SVN commit r13658.
2013-08-15 03:10:04 +00:00
leper
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
leper
5806ed94e1
Fix bug with gather-near-position.
...
Use the max range for attacking.
This was SVN commit r12915.
2012-12-02 17:25:23 +00:00
Ykkrosh
709260e339
Fix occasional script error with planes
...
This was SVN commit r9715.
2011-06-28 18:26:29 +00:00
Ykkrosh
2c58b07223
# Add experimental fighter planes.
...
This was SVN commit r9605.
2011-06-09 19:44:40 +00:00