mooege/mooege — pull request #329 by raistlinthewiz (2011-11-13 01:09:17+00:00)
Title: World Visualizer, Brain States, Actor Actions

World Visualizer:
Added a primitive world-visualizer tool helpful debugging based on DarkLotus' code.
* http://i.imgur.com/Bho3p.jpg
* You can use it by console command !draw or from ingame using !draw.
* It can render all the world or only the objects in players proximity (when called from ingame).

AI:
It's still disabled by default at is not any ready.
* Added basic BrainStates.
* Added basic MonsterBrain and non-implemented NPCBrain, HirelingBrain and FollowerBrain.cs.
* Introduced ActorActions.
* Implemented very basic MoveToPointAction.cs.
* Introduced primitive wandering zombies using the MoveToPointAction.cs.

Ticking & Timers:
* Improved & documented TickTimer.
* Introduced Stepped Tick Timers.

Misc:
* Fixed a major bug within Actor range, region based queries default query values - where range based (circular) queries were containing double the size of region based (rectangular) ones -- which was eventually leading revealing actors in non-revealed scenes (Player.RevealActorsToPlayer()).
* World and Scene will be now also using SNOHandle's.
* Added FastRandom.cs - still need to replace old RandomHelper.cs references and get rid of it.
* Added NavCellFlags enum.
* Moved ActorHelper.cs to src/Mooege/Core/GS/Actors/Movement/MovementHelper.cs.
* Renamed WorldObject.cs RotationAmount as FactionAngle.
* Moved FileHelpers.cs to src/Mooege/Common/Helpers/IO.
* Moved StringHashHelpers.cs to src/Mooege/Common/Helpers/Hash.
* Moved RandomHelper.cs to src/Mooege/Common/Helpers/Math.