Changeset 52 for trunk/src/game/Object.h

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

[svn] Added a function for WorldObjects? to summon GameObjects?. Original patch provided by streetrat. Please refer to the patch thread for usage instructions.

Original author: w12x
Date: 2008-10-17 18:13:04-05:00

Files:
1 modified

Legend:

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

    r44 r52  
    9292class UpdateMask; 
    9393class InstanceData; 
     94class GameObject; 
    9495 
    9596typedef HM_NAMESPACE::hash_map<Player*, UpdateData> UpdateDataMapType; 
     
    446447        Map const* GetBaseMap() const; 
    447448        Creature* SummonCreature(uint32 id, float x, float y, float z, float ang,TempSummonType spwtype,uint32 despwtime); 
    448  
     449        GameObject* SummonGameObject(uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime); 
    449450    protected: 
    450451        explicit WorldObject();