* rulesets/ActivePropertyFactory_impl.h: Re-work the active property
factories so they just pass handler information to the property
classes rather than installing it themselves, so the property
can now handle installing the handlers each time they are installed
on an entity, making class default properties work.
* client/ClientPropertyManager.cpp, client/ClientPropertyManager.h,
common/PropertyFactory.h, common/PropertyFactory_impl.h,
common/PropertyManager.h, rulesets/ActivePropertyFactory.h,
server/CorePropertyManager.cpp, server/CorePropertyManager.h:
Modify the property manager and property factory interfaces so they
do not take a pointer to the owner, as this is never required any
more.
* rulesets/Character.cpp, rulesets/Entity.cpp: Modify code that uses
property managers to use the new interface.
* rulesets/SolidProperty.cpp, rulesets/SolidProperty.h: Make use of
the bool flag to implement this, preventing it from being tied to
having a pointer to the owner at creation time.
* rulesets/StatusProperty.cpp, rulesets/StatusProperty.h: Remove
the need for an owner pointer at construction time by using the
apply method.
* rulesets/TerrainModProperty.cpp, rulesets/TerrainModProperty.h:
Use new MultiActivePropertyManager and install method to handle
installing handlers rather than relying on the factory to do it.
* server/CorePropertyManager.cpp: Change many of the property
factories now that none get get an owner pointer.
* server/EntityFactory.cpp: Set up default properties on all type
nodes when a new class is installed, and don't apply instance
properties based on class defaults, relying on class properties.
* rulesets/Entity.cpp: Remove hard coded BBox property now that the
functionality is handled by a more special property.
* common/PropertyFactory.h, common/PropertyFactory_impl.h,
rulesets/ActivePropertyFactory.h,
rulesets/ActivePropertyFactory_impl.h,
rulesets/EntityPropertyFactory.h,
rulesets/EntityPropertyFactory_impl.h,
server/CorePropertyManager.cpp:
Rename all property factory classes to have PropertyFactory as the
suffix.
* man/Makefile.am: Add rules to create man pages for every command,
which refer to the combined pages for all commands.
* man/cyaddrules.1, man/cyconvertrules.1, man/cydumprules.1,
man/cyloadrules.1, man/cypasswd.1: Generate new pages as described
above.
* man/cycmd.sgml: Fix argument name in cycmd man page.
* man/cyclient.1, man/cycmd.1, man/cycmd.sgml, man/cyphesis-tools.1,
man/cyphesis.1: Re-generate existing man pages.
* common/PropertyFactory.h, common/PropertyFactory_impl.h: Pass in
pointer to the entity when creating a new property using the
factory.
* server/CorePropertyManager.cpp: Make sure the entity pointer is
passed to the property factory as required.
* common/DynamicProperty.cpp, common/DynamicProperty.h,
common/DynamicProperty_impl.h: New property class for handling
properties or attributes added on the fly which need to store the
value.
* common/PropertyFactory.cpp, common/PropertyFactory_impl.h,
server/CorePropertyManager.cpp: Use DynamicProperty in the
property factories for properties created on the fly.
* configure.ac: Add check for recent gcc versions, and turn of
strict aliasing on versions which have trouble with python
pointer casting.
* common/PropertyFactory_impl.h, server/CorePropertyManager.cpp:
Return safe values from function stubs to get rid of compiler
warnings.
* common/PropertyFactory.cpp, common/PropertyFactory.h,
common/PropertyFactory_impl.h, common/PropertyManager.cpp,
common/PropertyManager.h: Add new classes to automate the
creation of property objects for known property types.
* server/CorePropertyManager.cpp, server/CorePropertyManager.h:
Manager object that will coordinate creating properties
when they are added to entities.