Commit graph

12 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
90a172286c Simplify class hierarchy. 2018-09-30 22:13:06 +02:00
Erik Ogenvik
8cdf21479c Rework how ai minds work.
The mind is now represented by a separate entity in the client.
2018-09-17 20:48:54 +02:00
Erik Ogenvik
a6dc3a63c7 Better error output. 2018-07-29 19:50:55 +02:00
Erik Ogenvik
653d5a38ba Handle Py::Callable better. 2018-07-24 21:18:26 +02:00
Erik Ogenvik
ba539df70e Use PyCXX throughout. 2018-07-23 16:43:39 +02:00
Erik Ogenvik
e80d07560c Reload entity scripts when python code changes.
For now we reload all scripts. We should be smarter and only reload
those scripts which are affected though.
2018-04-30 23:34:58 +02:00
Erik Ogenvik
e7fa53214b Use nullptr instead of NULL. 2018-02-06 13:45:11 +01:00
Erik Ogenvik
18bab9f4a0 Added missing include. 2017-06-04 15:38:05 +02:00
Olek Wojnar
7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
8c94dc5a18 Add missing header guards 2011-12-20 15:23:37 +00:00
Alistair Riddoch
1f4b7bf1b9 Move PythonScriptFactory into the correct named file in the right place 2011-12-15 18:26:37 +00:00
Renamed from server/ScriptFactory_impl.h (Browse further)