Commit graph

9 commits

Author SHA1 Message Date
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
e0b45800ef Fix broken tests. 2018-10-29 21:11:23 +01: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
6a3ec31b7e Remove Character class.
This is crucial since it now means that any entity can be controlled by
a mind. This makes the world much more versatile.
2018-08-14 22:25:56 +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
55de692c5e Removed obsolete files. 2018-07-26 16:08:21 +02:00
Erik Ogenvik
b392749d61 Improve MemMap and its bindings. 2018-07-23 21:04:17 +02:00
Erik Ogenvik
7b675781d3 Use Refs for storing entities in python. 2018-07-23 18:50:12 +02:00
Erik Ogenvik
a8d1458ad0 Convert client bindings to PyCXX. 2018-07-23 16:43:25 +02:00