PDA

Просмотр полной версии : [10073] Make object active at applying view on it


newsbot
18.06.2010, 00:22
<pre>m src/game/Camera.cpp
m src/game/Camera.h
m src/game/Corpse.h
m src/game/Creature.cpp
m src/game/Creature.h
m src/game/DynamicObject.cpp
m src/game/DynamicObject.h
m src/game/GameObject.h
m src/game/Map.cpp
m src/game/Map.h
m src/game/Object.cpp
m src/game/Object.h
m src/game/Player.cpp
m src/game/Player.h
m src/shared/revision_nr.h

[10073] Make object active at applying view on it

also isActiveObject check moved to WorldObject - all worldobjects are inactive
by default, excluding players
this is a final part of cameras implementation

(based on commit efc9623)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also remove template-way code selection for object for
Map::AddToActive/Map::RemoveFromActive.
This simplify function use from not Map code.</pre>



Дальше... (http://github.com/mangos/mangos/commit/7733e085eeea53b0d42c91be7f0988929407fa82)