PDA

Просмотр полной версии : [10338] Create Map version for GetPlayer/GetUnit fucntions


newsbot
10.08.2010, 23:30
<pre>m src/game/AggressorAI.cpp
m src/game/Chat.cpp
m src/game/CombatHandler.cpp
m src/game/GuardAI.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/ObjectAccessor.cpp
m src/game/ObjectAccessor.h
m src/game/PetHandler.cpp
m src/game/Player.cpp
m src/game/QuestHandler.cpp
m src/game/ReactorAI.cpp
m src/game/SpellEffects.cpp
m src/game/SpellHandler.cpp
m src/game/TotemAI.cpp
m src/shared/revision_nr.h

[10338] Create Map version for GetPlayer/GetUnit fucntions

* This let make map local way access for cases when player/all units
expected to be at same map (for scripts cases for example).
Ofc, still exist many places where code expect world wide player search.
Spell casting for support far target cases, groups/guilds/chat/etc packets

* Function Unit::GetUnit depricated and will removed soon.
* Function GetCreatureOrPetOrVehicle renamed to less horriable
GetAnyTypeCreature name.</pre>



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