Commit graph

10 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
e3012c88be Refactor creating Arithmetic objects to de-couple properties from scripting 2010-07-13 16:23:46 +01:00
Alistair Riddoch
aa02261788 Add including Python.h to the top of a few files, as including it later
causes a warning.
2009-08-22 05:09:46 +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
ecbcd81c3f Use new function to import Python modules. 2009-07-02 18:46:31 +01:00
Alistair Riddoch
765b1a740c Use Get_PyClass when setting up Arithmetic script factories. 2009-07-02 17:48:27 +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
Alistair Riddoch
2917650c18 Get rid of completely unnecessary case conversion. 2009-07-02 17:34:03 +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