0ad/source/simulation2
wraitii 0e403632cf Allow giving different weights to different templates when pushing.
This makes it possible to make units heavier, which both push more & get
pushed less by other units.
In particular, the diff does it for siege units & elephants.

This improves movement for these units in crowd situation, since they
will now basically not move when other regular units push into them.

Supported By: asterix, marder
Refs #6127

Differential Revision: https://code.wildfiregames.com/D4452
This was SVN commit r26275.
2022-01-30 14:22:27 +00:00
..
components Allow giving different weights to different templates when pushing. 2022-01-30 14:22:27 +00:00
docs Migrate DEFINE_INTERFACE_METHOD_* to the ScriptFunction wrappers. 2021-05-01 08:01:30 +00:00
helpers Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
scripting Drops custom utf16 string implementation (from cdd3317ded), uses C++11 one. 2021-11-29 12:10:41 +00:00
serialization Remove JS_New in favour of JS::Construct in preparation for SM91 2022-01-12 16:51:32 +00:00
system UnitMotion pushing improvements 2022-01-24 15:36:13 +00:00
tests Remove leftover terrain-based movement cost code. 2022-01-29 08:22:28 +00:00
MessageTypes.h Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00
Simulation2.cpp Run the AI in the same Compartment as the simulation. Let the AI access Sim data. 2022-01-30 13:33:34 +00:00
Simulation2.h Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
TypeList.h Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00