Commit graph

17 commits

Author SHA1 Message Date
Erik Ogenvik
d4604d034d Correctly handled updated type properties.
When a type is updated we now property re-apply modified properties on
affected entities.
2018-04-29 17:21:44 +02:00
Erik Ogenvik
70084e0279 Added calls for when property is installed on Type 2018-02-06 13:45:11 +01: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
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
6160da4d9f Get rid of non-const accessor to TypeNode name 2011-09-16 18:37:41 +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
349b9bc8c2 Remove non-const accessor for defaults 2011-09-16 11:19:36 +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
Alistair Riddoch
2542ad8c66 Add doc comments for TypeNode. 2009-08-25 00:58:17 +01:00
Alistair Riddoch
4a144112cc Add doc comment for TypeNode 2009-08-24 02:54:43 +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
e418f9a1ef 2008-01-13 Al Riddoch <alriddoch@googlemail.com>
* client/BaseClient.cpp, client/ClientConnection.cpp,
	  common/BaseWorld.h, common/OperationRouter.h, common/TypeNode.h,
	  common/inheritance.cpp, common/inheritance.h, common/types.h,
	  rulesets/ActivePropertyFactory.h, rulesets/AtlasProperties.h,
	  rulesets/EntityPropertyFactory.h, rulesets/LocatedEntity.h,
	  rulesets/MemMap.h, rulesets/Motion.h, rulesets/Movement.h,
	  rulesets/Pedestrian.h, rulesets/PythonThingScript.cpp,
	  rulesets/Statistics.h, rulesets/Task.h, server/Account.h,
	  server/Connection.h, server/Player.h, server/ServerRouting.h,
	  server/WorldRouter.h, tests/OperationExerciser.h, tools/cycmd.cpp:
	  A major clean up and re-work in internal headers.
2008-01-13 01:32:54 +00:00
Al Riddoch
5fc5943ed2 2007-12-29 Al Riddoch <alriddoch@googlemail.com>
* common/TypeNode.h: Change the type of defaults over to properties.

	* common/inheritance.cpp, common/inheritance.h: Modify the API
	  for specifying defaults on a new TypeNode to take the new
	  property based data.
2007-12-29 01:50:39 +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