Commit graph

8 commits

Author SHA1 Message Date
Erik Ogenvik
a40cad95ea Removed Location from LocatedEntity.
Since not all entities have physical location, which is more and more true
now that we have domains. Entities that are placed in non-physical domains don't have
any location data.
This also makes it easier to streamline the sending of properties, since we only need
to send the properties that actually have changed.
In addition, this helps with removing circular references, since the "m_parent" field no longer
is a Ref.
2021-06-18 22:44:30 +02:00
Erik Ogenvik
7eeaa63561 Fixed tests. 2020-08-11 16:27:38 +02:00
Erik Ogenvik
19f75d2904 Fixes for test compilation, although they don't work yet. 2020-08-11 16:27:38 +02:00
Erik Ogenvik
1c88e68eb3 Fixed updating of planted entities when terrain changes. 2020-07-04 22:17:43 +02:00
Erik Ogenvik
b7d2a1dfeb Added tests for terrain integration. 2020-07-04 14:48:39 +02:00
Erik Ogenvik
6566927256 Improve terrain point handling. 2020-07-04 00:11:13 +02:00
Erik Ogenvik
c04ffe2f98 Allow for modifiable properties.
By appending the "!" character it's possible to modify a value. The possible modifications
are "append", "prepend", "subtract", "add-fraction" and "default". If nothing is specified "default"
is used.
An example would be "foo!append".
2020-03-07 20:27:58 +01:00
Erik Ogenvik
7534fee4e3 Arrange tests better and remove obsolete and unused stuff. 2020-01-20 23:17:55 +01:00
Renamed from tests/TerrainPropertyIntegration.cpp (Browse further)