Commit graph

8 commits

Author SHA1 Message Date
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
4a9c7078f7 Refactor to use LocatedEntity as base class
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
e3012c88be Refactor creating Arithmetic objects to de-couple properties from scripting 2010-07-13 16:23:46 +01:00
Alistair Riddoch
1fdb20d901 Remove obsolete Python include. 2009-08-22 03:33:52 +01:00
Alistair Riddoch
04b94e49e3 Update Arithmetic factory class names to use "kit" for abstract factory. 2009-08-18 11:06:46 +01:00
Alistair Riddoch
fa05307f13 Rename m_name to m_type for consistency with other Python factories. 2009-07-02 17:35:12 +01:00
Al Riddoch
5841d655cb 2008-11-29 Al Riddoch <alriddoch@googlemail.com>
* rulesets/ArithmeticFactory.h, rulesets/ArithmeticFactory.cpp:
	  Fix up ArithmeticFactory code to be in rulesets, and allow
	  for the case where there is no owner for the script.
2008-11-30 00:49:55 +00:00
Al Riddoch
233b8bedd2 2008-11-29 Al Riddoch <alriddoch@googlemail.com>
* rulesets/Character.cpp, rulesets/Character.h: Remove all traces
	  of the hard coded statistics property from Character.

	* rulesets/Py_Property.cpp: Don't use Py_StatisticsProperty as the
	  default wrapper for a statistics property because it will no
	  longer work this way.

	* rulesets/Python_API.cpp: Remove the setup for the Statistics
	  wrapper.

	* rulesets/StatisticsProperty.cpp, rulesets/StatisticsProperty.h:
	  Change the footprint of this class so it is no longer hooked
	  into part of the Character class, and instead handles looking
	  up values from the script directly, and owns the script itself.

	* server/ArithmeticFactory.cpp, server/ArithmeticFactory.h,
	  server/EntityFactory.cpp, server/EntityFactory.h,
	  server/PersistantThingFactory.cpp: Remove setup of hard coded
	  statistics property.

	* rulesets/Statistics.h, rulesets/Statistics.cpp,
	  rulesets/Py_Statistics.h, rulesets/Py_Statistics.cpp,
	  rulesets/Makefile.am: Remove clases that are no longer used.
2008-11-29 23:17:38 +00:00