PDA

Просмотр полной версии : [11139] Use for Creature/GameObject local per-map guids


newsbot
12.02.2011, 10:00
автор: VladimirMangos


<pre>m src/game/AggressorAI.cpp
m src/game/BattleGround.cpp
m src/game/CharacterHandler.cpp
m src/game/ChatHandler.cpp
m src/game/CombatHandler.cpp
m src/game/Creature.cpp
m src/game/GameObject.cpp
m src/game/GuardAI.cpp
m src/game/Item.cpp
m src/game/Level2.cpp
m src/game/Mail.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/MapManager.cpp
m src/game/MapPersistentStateMgr.h
m src/game/NPCHandler.cpp
m src/game/Object.cpp
m src/game/ObjectAccessor.cpp
m src/game/ObjectAccessor.h
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/PetHandler.cpp
m src/game/Player.cpp
m src/game/ReactorAI.cpp
m src/game/SpellAuras.cpp
m src/game/SpellEffects.cpp
m src/game/TemporarySummon.cpp
m src/game/TotemAI.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11139] Use for Creature/GameObject local per-map guids

* Creature/GameObject guid generators moved to Map
* For avoid wrong not converted cases generic function in ObjectMgr has been replaced by
specilized guid generation function like sObjectMgr.GeneratePlayerLowGuid().
This let catch all cases that need update in custom code or scripts.
* Drop many ObjectAcessor.h now dead code. This is also make mangos more thread safe.
* Restore one more time unix build broken in prev. commits.

Note: many cases when something not wotk in instance but work in continents
possible magicly start work after this commit. For example, some gm commands.
From large systems that need more chnages for start work in full power in instances
can be referecned pool/gamevent system. Last need just small hacks drop changes but
in will addded in independent commit.</pre>




Дальше... (https://github.com/mangos/mangos/commit/aa7eb2e0defadcdccd997d1dd33daf6c1644e6fd)