Commit graph

9 commits

Author SHA1 Message Date
Alistair Riddoch
d3752a4774 Fix inheritance checks so they don't miss exact match 2011-12-09 09:38:36 +00:00
Alistair Riddoch
a155ae68d0 Add TypeNode inheritance checks more directly 2011-12-09 00:13:18 +00:00
Alistair Riddoch
eed30f91f1 Add a second constructor to directly init description 2011-09-17 18:45:33 +01:00
Alistair Riddoch
fa4ae198b1 TypeNode takes a name on construction
One is always required, and it's just bloaty to set separately
2011-09-16 18:30:22 +01:00
Alistair Riddoch
168960a924 Provide method to add single property for testing 2011-09-16 16:42:42 +01:00
Alistair Riddoch
27cc00e382 Relocate code for adding properties to TypeNode 2011-09-16 10:43:01 +01:00
Alistair Riddoch
9e1954d75b Move updateChildrenProperties to TypeNode
Old code is still in Rulset, but this reproduces the functionality
more sanely here.
2011-09-15 23:40:26 +01:00
Al Riddoch
c166c6cc33 2008-10-22 Al Riddoch <alriddoch@googlemail.com>
* common/TypeNode.h, common/TypeNode.cpp: Add a destructor to clear
	  out all the default property objects.
2008-10-22 16:08:59 +00:00
Al Riddoch
6da7ff7592 2007-12-27 Al Riddoch <alriddoch@zepler.org>
* common/TypeNode.h, common/TypeNode.cpp: Move TypeNode into
	  its own files.

	* common/Makefile.am, common/inheritance.cpp, common/inheritance.h:
	  Add the new files to the build and remove the old implementation.

	* client/Py_CreatorClient.cpp, rulesets/Character.cpp,
	  rulesets/Entity.cpp, rulesets/MemMap.cpp,
	  rulesets/MindFactory.cpp, rulesets/Py_Mind.cpp,
	  rulesets/Py_Thing.cpp, rulesets/Stackable.cpp,
	  server/WorldRouter.cpp: Fix up the includes for all code that
	  uses TypeNode.
2007-12-27 03:31:47 +00:00