Commit graph

13 commits

Author SHA1 Message Date
Erik Ogenvik
bf5a36694e Fix after merge. 2015-04-18 22:30:52 +02:00
Erik Ogenvik
8ce91c656f Merge remote-tracking branch 'ytaben/entity_filter' 2015-04-18 22:25:27 +02:00
Erik Ogenvik
5bf4b081d9 Also provide const version of the accessor. 2014-09-15 21:11:35 +02:00
Erik Ogenvik
b112448e07 WIP filter example. 2014-07-27 22:10:02 +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
72c956d4b4 First pass at copy method for all property classes 2013-01-07 23:03:25 +00:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
665993f638 Update IDs 2009-04-09 12:42:44 +01:00
Al Riddoch
46e7161ff1 2008-01-06 Al Riddoch <alriddoch@googlemail.com>
* rulesets/EntityProperty.h, rulesets/EntityProperty.cpp:
	  Refactor so this property is always dynamic, and add an accessor.

	* rulesets/Character.cpp, rulesets/Character.h: Remove the hard
	  coded entity references used for wield tool, and replace with
	  a dynamic property.
2008-01-06 21:17:19 +00:00
Al Riddoch
4471772ce7 2006-12-29 Al Riddoch <alriddoch@zepler.org>
* rulesets/attributes.h, server/Persistor_impl.h,
	  server/Restorer.cpp: Remove right_hand_wield from the
	  persistence layer, pending its complete removal.

	* rulesets/EntityProperty.h, rulesets/EntityProperty.cpp:
	  Make EntityProperty a more normal property by making it hold
	  a reference to its value, not the value itself.

	* rulesets/Character.cpp, rulesets/Character.h: Use EntityProperty
	  for right_hand_wield attribute, so it stores the value long term
	  which I think is more efficient.
2006-12-30 03:55:37 +00:00
Al Riddoch
bf1e9a5a15 2006-12-27 Al Riddoch <alriddoch@zepler.org>
* rulesets/GuiseProperty.cpp, rulesets/GuiseProperty.h:
	  New property class to handle guise data. I think we had decided
	  to call this property something else, but I can't remember what.

	* common/Property.h, rulesets/EntityProperty.h,
	  rulesets/LineProperty.h: Regularise argument names in property
	  classes, to make checking easier and reduce chance of mimatched
	  overriding.
2006-12-27 00:32:32 +00:00
Al Riddoch
cd3857589b 2006-12-12 Al Riddoch <alriddoch@zepler.org>
* Doxyfile: Add tools to the documented code.

	* index.dox: Update documentation index.

	* tools/cycmd.cpp: Add a document page for this tool.

	* common/DynamicProperty.h, common/Property.cpp, common/Property.h,
	  rulesets/AreaProperty.h, rulesets/CalendarProperty.h,
	  rulesets/EntityProperty.h, rulesets/LineProperty.h,
	  rulesets/StatisticsProperty.h, rulesets/TerrainProperty.h:
	  Add all property classes into a property group.
2006-12-12 19:52:36 +00:00
Al Riddoch
97f4bc108a 2006-12-04 Al Riddoch <alriddoch@zepler.org>
* rulesets/EntityProperty.cpp, rulesets/EntityProperty.h: Add a
	  property class that handles a weak reference to another entity.
2006-12-04 23:06:57 +00:00