Erik Ogenvik
4df12845c2
Break up usage of Singletons a bit.
...
Also provide a separate ServerPropertyManager from the CorePropertyManager.
2020-03-22 23:36:52 +01:00
Erik Ogenvik
f32ce99ccc
Added property for exposing active modifiers.
...
The "_modifiers" property shows the currently active modifiers for the entity.
This is mainly useful for clients to show active modifiers.
2020-01-04 15:23:40 +01:00
Erik Ogenvik
0e95108559
Use unique_ptr in more places.
2019-09-22 21:11:18 +02:00
Erik Ogenvik
368940d951
Initial work on stackable entities.
2019-08-15 20:30:44 +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
21d56f92c5
Extend test PropertyManager
2013-01-13 21:53:59 +00:00
Alistair Riddoch
5cb0ac6ae5
Force asserts on in all tests.
2011-02-15 09:30:46 +00:00
Al Riddoch
f0858fe4e8
2008-09-27 Al Riddoch <alriddoch@googlemail.com>
...
* tests/TestPropertyManager.h, tests/TestPropertyManager.cpp:
Implement the updated interface.
* tests/Makefile.am: Add the necessary properties as used by
Plant.
* tests/Stackabletest.cpp: Update which properties are expected
by default.
* tests/AllPropertytest.cpp, tests/Propertytest.cpp: Update tests
now the core property classes have all changed.
2008-09-27 16:38:26 +00:00
Al Riddoch
4dde75493a
2008-09-08 Al Riddoch <alriddoch@googlemail.com>
...
* common/inheritance.cpp: Set the instance pointer to null on
deletion, so it can be cleanly instanced again.
2008-09-08 11:49:22 +00:00
Al Riddoch
9a56dac06c
2006-10-26 Al Riddoch <alriddoch@zepler.org>
...
* Add RCS Id keywords to every file, for better version tracking.
2006-10-26 00:48:00 +00:00
Al Riddoch
320ffc8c4f
2006-07-03 Al Riddoch <alriddoch@zepler.org>
...
* tests/IGEntityExerciser.h, tests/TestPropertyManager.cpp,
tests/TestPropertyManager.h: Add a dummy property manager, and
install it before testing any IG entity classes.
* tests/Areatest.cpp, tests/Charactertest.cpp,
tests/Creatortest.cpp, tests/EntityFactorytest.cpp,
tests/Entitytest.cpp, tests/Foodtest.cpp, tests/IGEntityExerciser.h,
tests/Linetest.cpp, tests/Planttest.cpp, tests/Stackabletest.cpp,
tests/Structuretest.cpp, tests/Thingtest.cpp, tests/Worldtest.cpp:
Switch to new hasAttr getAttr setAttr method names.
2006-07-03 11:30:02 +00:00