PDA

Просмотр полной версии : [10513] Clear grid *Check/*Searcher clases use


newsbot
22.09.2010, 06:30
<pre>m src/game/Chat.cpp
m src/game/Creature.cpp
m src/game/CreatureEventAI.cpp
m src/game/GameObject.cpp
m src/game/GridNotifiers.h
m src/game/Map.cpp
m src/game/Player.cpp
m src/game/Spell.cpp
m src/game/SpellAuras.cpp
m src/game/SpellEffects.cpp
m src/game/TotemAI.cpp
m src/game/Unit.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10513] Clear grid *Check/*Searcher clases use

* Check class considered have all info select object in world from suggested but grid walker list in some grid.
This also meaning that Check must always have focus object around that (and in same phase) fit objects must be.
* Searcher only must ask Check and know how from all objects fiting to Check select result object(s).

For this reason and for better compatibility removed first arg (searcher) form all Searcher classes.
Instead expected used Check::GetFocusObject() object if need ( by always need check and simolify Check classes
phase checked in Search classes). This also restore source code compatibilty in related lines with prev.client
version branches code.

* While focus object adding fixed possible wrong phase object selection at stealth detection and at corpse searches.</pre>




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