[7207] Phase system development continue for DB/in_game objects
commit9344d53c2e18f37c1b6950cdb08570cf334fdbf3
authorVladimirMangos <vladimir@getmangos.com>
Fri, 30 Jan 2009 15:56:49 +0000 (30 18:56 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Sat, 31 Jan 2009 03:11:50 +0000 (31 06:11 +0300)
tree4a9c14d381561a9c2b878e5f98779163cc9c5161
parent5bc8422dc8e78507a87915bd120dcac68198293a
[7207] Phase system development continue for DB/in_game objects

* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB

TODO: in game commands.
29 files changed:
sql/characters.sql
sql/mangos.sql
sql/updates/7207_01_mangos_creature.sql [new file with mode: 0644]
sql/updates/7207_02_mangos_gameobject.sql [new file with mode: 0644]
sql/updates/7207_03_characters_corpse.sql [new file with mode: 0644]
sql/updates/Makefile.am
src/game/BattleGround.cpp
src/game/Corpse.cpp
src/game/Corpse.h
src/game/Creature.cpp
src/game/Creature.h
src/game/DynamicObject.cpp
src/game/GameObject.cpp
src/game/GameObject.h
src/game/Level2.cpp
src/game/Object.cpp
src/game/Object.h
src/game/ObjectAccessor.cpp
src/game/ObjectMgr.cpp
src/game/Pet.cpp
src/game/Pet.h
src/game/Player.cpp
src/game/Player.h
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/Transports.cpp
src/game/Unit.cpp
src/game/Unit.h
src/shared/revision_nr.h