Commit graph

19 commits

Author SHA1 Message Date
Erik Ogenvik
649522a4aa Use sigc++ 3 and commit to Conan more. 2023-06-03 10:31:57 +02:00
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
b0d891fa9a Moved common Python stuff to "pythonbase" lib. 2021-06-27 17:00:34 +02:00
Erik Ogenvik
b7493d32aa Handle properties in MemEntity differently. 2021-06-20 15:40:33 +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
458b6f8536 Fixed various memory leak issues throughout the code. 2021-05-27 17:38:58 +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
d6c1bd8c75 Make EntityKit create Entity instances.
As it's used on the server only.
2020-07-14 23:05:40 +02:00
Erik Ogenvik
b0fc95466c Fixed tests. 2020-06-22 23:42:48 +02:00
Erik Ogenvik
2b860be278 Complete removal of old Spawn mechanism. 2020-06-22 22:36:30 +02:00
Erik Ogenvik
965262948d Add entities to parent after they've been created. 2020-04-13 15:23:01 +02:00
Erik Ogenvik
29fdb9fc32 Moved "WorldRouter" to "simulation". 2020-04-13 14:09:32 +02:00
Erik Ogenvik
41796daaa2 Removed arithmethic scripts.
The same effect can be achieved by using entity scripts, along with the Modifiers framework.
2020-04-13 00:06:29 +02:00
Erik Ogenvik
d76612fc7c Moved "spawn" classes to "simulation". 2020-04-12 23:17:46 +02:00
Erik Ogenvik
9462c4266d Refactor how properties are applied and improve modifiers. 2020-03-25 23:50:00 +01:00
Erik Ogenvik
4df12845c2 Break up usage of Singletons a bit.
Also provide a separate ServerPropertyManager from the CorePropertyManager.
2020-03-22 23:36:52 +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/WorldRouterIntegration.cpp (Browse further)