Erik Ogenvik
e85f0831b2
Restructure rule classes.
...
Classes under "rulesets" have been moved to "rules", and split up into
futher subdirectories matching their library. As a result we can now
better separate the python bindings, so that things that belongs to the
simulation are separeted from things that belongs to the ai.
2018-10-31 21:38:35 +01:00
Erik Ogenvik
62c644b8c5
Don't use Inheritance in mind code.
...
Instead use the TypeStore. This also alters how filters are used.
2018-10-21 20:40:50 +02:00
Erik Ogenvik
35677a9904
Use a simpler type store for the client.
...
We only use the Inheritance class for the server.
2018-10-15 22:06:53 +02:00
Erik Ogenvik
470cdc2d66
Resolve entity type first.
...
Before we trigger any hooks we need to resolve entity types.
2018-09-18 22:12:12 +02:00
Erik Ogenvik
139d229f80
Sync Python method names with C++.
2018-08-17 22:04:07 +02:00
Erik Ogenvik
9f85a22e3b
Added "get_entity" filter function.
...
Used to resolve entities from soft properties which refer to entities.
This is then used to check that a tool is wielded before use.
2018-08-17 21:27:04 +02:00
Erik Ogenvik
c84f5fe926
Don't implicitly convert from Ref to ptr.
...
Since it's too easy to introduce subtle bugs.
2018-08-05 20:47:09 +02:00
Erik Ogenvik
a12b1a00a3
Delete when refs go to zero.
...
This changes how entities are dereferenced to work more like you would
expect.
2018-08-05 14:36:21 +02:00
Erik Ogenvik
55de692c5e
Removed obsolete files.
2018-07-26 16:08:21 +02:00
Erik Ogenvik
e9d10f51fe
Fixed issues with calling Python scripts.
2018-07-26 15:22:27 +02:00
Erik Ogenvik
b392749d61
Improve MemMap and its bindings.
2018-07-23 21:04:17 +02:00
Erik Ogenvik
c80336840b
Further work on converting Python bindings.
2018-07-22 19:47:35 +02:00
Erik Ogenvik
769695ee20
Further work on Python bindings.
2018-07-21 17:40:21 +02:00