EntityList::CreateDoor converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-11-30 21:04:39 -08:00
parent 7ac9a5c5a6
commit 4f03ebb3af
3 changed files with 16 additions and 14 deletions
+3 -2
View File
@@ -26,6 +26,7 @@
#include "../common/bodytypes.h"
#include "../common/eq_constants.h"
#include "position.h"
#include "zonedb.h"
#include "zonedump.h"
#include "qglobals.h"
@@ -52,7 +53,7 @@ class Bot;
class BotRaids;
#endif
extern EntityList entity_list;
extern EntityList entity_list;
class Entity
{
@@ -388,7 +389,7 @@ public:
uint16 CreateGroundObject(uint32 itemid, float x, float y, float z, float heading, uint32 decay_time = 300000);
uint16 CreateGroundObjectFromModel(const char *model, float x, float y, float z, float heading, uint8 type = 0x00, uint32 decay_time = 0);
uint16 CreateDoor(const char *model, float x, float y, float z, float heading, uint8 type = 0, uint16 size = 100);
uint16 CreateDoor(const char *model, const xyz_heading& position, uint8 type = 0, uint16 size = 100);
void ZoneWho(Client *c, Who_All_Struct* Who);
void UnMarkNPC(uint16 ID);