* physics/Vector3D.h, physics/Vector3D.cpp, modules/Location.h,
modules/Location.cpp: Convert to using WFMath::Point instead of
WFMath::Vector for position.
* physics/Collision.h, physics/Collision.cpp: Update collision code
to use new pos type.
* rulesets/Py_Point3D.h, rulesets/Py_Point3D.cpp: New python
wrappers for WFMath::Point.
* rulesets/Py_Location.cpp, rulesets/Py_Vector3D.cpp,
rulesets/Python_API.cpp:
Update python wrappers to take into account new pos type.
Ensure that only apropriate functionality is available for
point and vector.
* rulesets/Character.cpp, rulesets/Entity.cpp, rulesets/Entity.h,
rulesets/Line.cpp, rulesets/Movement.cpp, rulesets/Movement.h,
rulesets/Pedestrian.cpp, rulesets/Pedestrian.h,
rulesets/Plant.cpp, rulesets/Thing.cpp, rulesets/World.cpp,
server/EntityFactory.cpp, server/WorldRouter.cpp,
server/WorldRouter.h: Update the rest of the code for new pos
type, converting all places where entity parenting is changed
to use WFMath toParentCoords() and toLocalCoords() methods,
so that orientation is handled correctly.
* tests/transformtest.cpp: New test to ensure that toParentCoords()
and toLocalCoords() perform as expected.
* tests/Creatortest.cpp, tests/Locationtest.cpp, tests/Worldtest.cpp,
tests/collisiontest.cpp, tests/emergencetest.cpp:
Update the rest of the tests.
* modules/WorldTime.h, modules/WorldTime.cpp: Clean up typedef
and member names, and implement querying the season.
* client/CharacterClient.cpp: Remove some obsolete unconverted
Python code.
* physics/Collision.h: Update some comments.
* rulesets/Py_WorldTime.cpp: Implement access to season lookup
from scripts.
* physics/Collision.h, physics/Collision.cpp: Work on code predicting
when entity leaves parent.
* tests/emergencetest.cpp: Add test for emergence code.
* common/const.cpp, common/const.h, common/random.h,
physics/BBox.h, physics/Collision.cpp, physics/Collision.h,
physics/Quaternion.cpp, physics/Quaternion.h, physics/Vector3D.h,
rulesets/Movement.cpp, rulesets/Plant.cpp, rulesets/Python_API.cpp,
tests/collisiontest.cpp: Update variables relating to geometry
from double to float as this is the type used internall by
WFMath.
* physics/Vector3D.cpp, physics/Quaternion.cpp, physics/Quaternion.h:
Remove legacy code.
* server/CommPSQLSocket.cpp: Reformatting.
* physics/Collision.h, physics/Collision.cpp: Fix vertex/plane
collision function by removing returned normal, because it is
always the plane normal. Implement returning collision
normal from the mesh collision function.
* physics/Collision.h, physics/Collision.cpp: Fix mesh collision
functions. Modify return status of vertex/plane collision
return value so its more useful.
* modules/Location.cpp, physics/Collision.cpp, physics/Collision.h,
physics/Vector3D.h: Move recently developed collision code into
module of its own, and give functions a new name.
* tests/collisiontest.cpp: Update test accordingly.