Commit graph

24 commits

Author SHA1 Message Date
Erik Ogenvik
694e8c7c09 Spelling. 2020-07-31 23:47:41 +02:00
Erik Ogenvik
965262948d Add entities to parent after they've been created. 2020-04-13 15:23:01 +02:00
Erik Ogenvik
7534fee4e3 Arrange tests better and remove obsolete and unused stuff. 2020-01-20 23:17:55 +01:00
Erik Ogenvik
274f039f77 Moved logic for creation to scripts.
For now we'll allow all humans to also create stuff, just to make
testing easier.
2019-09-26 16:15:51 +02:00
Erik Ogenvik
6f6b7cc9e9 Handle Combine and Divide being removed. 2019-08-16 09:53:50 +02:00
Erik Ogenvik
57c793be46 Move ops from simulation to ruleset.
"burn", "hit" and "nourish" belong to the ruleset.
"actuate" is obsolete, replaced by the "use" op.
2019-07-25 00:40:42 +02:00
Erik Ogenvik
ccfbed8348 Removed Eat op from simulation.
This should only be part of the ruleset.
2019-07-25 00:17:43 +02:00
Erik Ogenvik
999257f357 Moved some operations to core Atlas.
"attack" has been removed, and "unseen" and "change" are now part of
core Atlas.
2019-07-23 01:42:03 +02: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
e0b45800ef Fix broken tests. 2018-10-29 21:11:23 +01:00
Erik Ogenvik
139d229f80 Sync Python method names with C++. 2018-08-17 22:04:07 +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
33dfbb3425 Added tests. 2018-07-24 21:18:50 +02:00
Erik Ogenvik
c23b322ead Use "add" and "remove" for flags.
Since it's more descriptive.
2018-04-25 20:15:28 +02:00
Erik Ogenvik
e7fa53214b Use nullptr instead of NULL. 2018-02-06 13:45:11 +01:00
Erik Ogenvik
eb2bb200e5 Clean up and remove unused structs. 2017-07-25 23:40:39 +02:00
Erik Ogenvik
0286bcd47d Replace "parents" with "parent". 2017-07-24 15:05:18 +02:00
Erik Ogenvik
1105483b1d Fixed up tests. 2016-12-15 18:27:42 +01:00
Erik Ogenvik
6a5a2b2938 Fixed tests. 2016-06-26 20:17:18 +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
4a1c9a53a2 Clean up more includes 2011-12-21 00:07:19 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
d7ec98493c Make IGEntityExerciser not a template, and move out of header. 2010-03-31 01:19:04 +01:00