Phase system development continue.
commit5bc8422dc8e78507a87915bd120dcac68198293a
authorVladimirMangos <vladimir@getmangos.com>
Wed, 28 Jan 2009 23:47:28 +0000 (29 02:47 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Sat, 31 Jan 2009 03:06:01 +0000 (31 06:06 +0300)
treec5d91185d2f26b6e5d77ab5d9526d08ccad39994
parenta261afd5f08ef9773d0af83b4286b19d4172a4ae
Phase system development continue.

* Use WorldObject phase mask field instead explicit aura scan. This allow have phase for any world objects.
* Add phase checks to packet broadcasters/object searchers. This let correctly work say/yell/area
  and multi/random target spells/aggro assistance in phased areas or target selection.
* In GM-mode character presense (see and visible) in all phases except normal visibility efects including GM-visibility.

TODO: summoned objects phase set base at owner phase, load phase mask for creatures/gameobjects from DB, in game commands.
16 files changed:
src/game/Chat.cpp
src/game/Creature.cpp
src/game/GameObject.cpp
src/game/GridNotifiers.cpp
src/game/GridNotifiers.h
src/game/GridNotifiersImpl.h
src/game/Level3.cpp
src/game/Map.cpp
src/game/Object.cpp
src/game/Object.h
src/game/Player.cpp
src/game/Spell.cpp
src/game/SpellAuras.cpp
src/game/TotemAI.cpp
src/game/Unit.cpp
src/game/World.cpp