Erik Ogenvik
7fcf0c34d1
Envelope router ids in one single struct.
...
Since the string and the integer always go together.
2022-07-04 15:37:51 +02:00
Erik Ogenvik
f0409aa2ea
Move useful macro to base assert file.
2021-07-26 16:29:49 +02:00
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
8da335d14b
Use reference when possible instead of pointers.
2021-05-31 00:05:25 +02:00
Erik Ogenvik
1ff753575c
Fixed minor memory leaks.
2021-05-24 23:14:24 +02:00
Erik Ogenvik
9b588e6962
Clean up Python objects before shutting down.
...
This fixes test crashes.
2021-01-26 22:03:16 +01:00
Erik Ogenvik
a97b72ebbd
Use "less" comparison.
2020-07-24 00:04:04 +02:00
Erik Ogenvik
67e7097704
Fixed issues with placing child entities of deleted parents.
2020-07-05 01:33:34 +02:00
Erik Ogenvik
e4a95a3b2f
Make terrain property use property instance state.
2020-05-31 18:27:10 +02:00
Erik Ogenvik
81606526d8
Made domain listen to propel as a normal property.
2020-05-02 22:47:51 +02:00
Erik Ogenvik
64bc02da20
Added "visibility" rules to entities.
...
A "private" entity can only be seen by the simulation, and admins.
A "protected" entity can only be seen by its children, or its immediate parent.
2020-04-25 16:36:43 +02:00
Erik Ogenvik
7534fee4e3
Arrange tests better and remove obsolete and unused stuff.
2020-01-20 23:17:55 +01:00