Changeset 174 for trunk/src/game/Map.h

Show
Ignore:
Timestamp:
11/19/08 13:43:15 (17 years ago)
Author:
yumileroy
Message:

[svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess? script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

Original author: gvcoman
Date: 2008-11-05 20:51:05-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Map.h

    r102 r174  
    141141        virtual void Update(const uint32&); 
    142142 
    143         void MessageBroadcast(Player *, WorldPacket *, bool to_self); 
    144         void MessageBroadcast(WorldObject *, WorldPacket *); 
    145         void MessageDistBroadcast(Player *, WorldPacket *, float dist, bool to_self, bool own_team_only = false); 
    146         void MessageDistBroadcast(WorldObject *, WorldPacket *, float dist); 
     143        void MessageBroadcast(Player *, WorldPacket *, bool to_self, bool to_possessor); 
     144        void MessageBroadcast(WorldObject *, WorldPacket *, bool to_possessor); 
     145        void MessageDistBroadcast(Player *, WorldPacket *, float dist, bool to_self, bool to_possessor, bool own_team_only = false); 
     146        void MessageDistBroadcast(WorldObject *, WorldPacket *, float dist, bool to_possessor); 
    147147 
    148148        void PlayerRelocation(Player *, float x, float y, float z, float angl); 
     
    237237        Creature* GetCreatureInMap(uint64 guid); 
    238238        GameObject* GetGameObjectInMap(uint64 guid); 
     239 
     240        template<class T> void SwitchGridContainers(T* obj, bool active); 
    239241    private: 
    240242        void LoadVMap(int pX, int pY);