Commit graph

15 commits

Author SHA1 Message Date
Erik Ogenvik
7534fee4e3 Arrange tests better and remove obsolete and unused stuff. 2020-01-20 23:17:55 +01:00
Erik Ogenvik
21f620d3ba Standardize on using std::unique_ptr.
Anytime an object is owned an instance of std::unique_ptr should be
used.
2019-11-17 22:42:15 +01:00
Erik Ogenvik
ed2e806fbc Standardize layout. 2019-10-03 00:23:06 +02:00
Erik Ogenvik
ce64937e18 Adapt to removal of Atlas Factories Singleton. 2019-09-11 22:56:52 +02:00
Erik Ogenvik
76d3543b4d Adapt to changes in Atlas.
We now provide some more data in the types themselves, and we try to not
use the Factories singleton.
2019-09-09 20:45:16 +02:00
Erik Ogenvik
b509b8b11d Don't load server rules in client. 2018-12-16 23:20:33 +01:00
Erik Ogenvik
164816f646 Adapt tests to changed structure. 2018-11-03 17:17:50 +01:00
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
800d6f3d2c Put operations in separate directory. 2018-10-30 20:12:45 +01:00
Erik Ogenvik
90a172286c Simplify class hierarchy. 2018-09-30 22:13:06 +02:00
Erik Ogenvik
33dfbb3425 Added tests. 2018-07-24 21:18:50 +02:00
Erik Ogenvik
0ca22bcf68 Specify scripts for entity as property.
This allows multiple scripts to be used. In addition it allows for
entity with specific scripts.
2018-07-04 19:20:24 +02:00
Erik Ogenvik
701d1a7208 Initial work on porting to Python 3. 2018-05-07 11:15:26 +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
1c69b3aae6 Use camel casing for tests.
This makes it much easier to find them in various editors.
2016-06-26 20:17:18 +02:00
Renamed from tests/PythonWrappertest.cpp (Browse further)