0ad/source/simulation2
Freagarach 93d22ef16b Allow to specify subunits on creation.
This basically does two things:
- Allow turrets on moving entities (fixes serialisation in cmpPos).
- Allow an entity to be present on another when the other is created.

That makes it basically a boiled down version of a prior patch, omitting
the part where orders could be passed on.
This does allow e.g. ranged units on chariots that fire while the
chariot moves.

Original diff by: @sanderd17
Redone by: @Stan
Differential revision: D1958
Comments by: @Alexandermb, @Angen, @bb, @Langbart, @Nescio, @Stan,
@wraitii
Refs. #2577 by implementing the entity on platform case.

This was SVN commit r25192.
2021-04-05 05:22:25 +00:00
..
components Allow to specify subunits on creation. 2021-04-05 05:22:25 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00
scripting Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00
serialization Refuse to serialize NaN values. 2021-03-28 16:48:25 +00:00
system Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
tests Refuse to serialize NaN values. 2021-03-28 16:48:25 +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 Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
Simulation2.h Fixes removed include after 2e4639e6dc. 2021-03-03 23:07:50 +00:00
TypeList.h Add a simple 'pushing' logic to unit motion to improve movement. 2021-04-02 16:30:59 +00:00