horse.cpp & .h header cleanup and forward declare

This commit is contained in:
Akkadius 2014-12-15 17:39:16 -06:00
parent b733e96aea
commit abe471af64
2 changed files with 10 additions and 6 deletions

View File

@ -17,13 +17,13 @@
*/ */
#include "../common/debug.h" #include "../common/debug.h"
#include "masterentity.h"
#include "../common/item.h"
#include "../common/linked_list.h" #include "../common/linked_list.h"
#include "../common/string_util.h" #include "../common/string_util.h"
#include <math.h>
#include <assert.h> #include "client.h"
#include "worldserver.h" #include "entity.h"
#include "horse.h"
#include "mob.h"
std::map<uint16, const NPCType *> Horse::horse_types; std::map<uint16, const NPCType *> Horse::horse_types;
LinkedList<NPCType *> horses_auto_delete; LinkedList<NPCType *> horses_auto_delete;

View File

@ -18,11 +18,15 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
#ifndef HORSES_H #ifndef HORSES_H
#define HORSES_H #define HORSES_H
#include "../common/debug.h"
#include "npc.h" #include "npc.h"
#include <map> #include <map>
class Client;
class Mob;
struct NPCType;
struct NewSpawn_Struct;
class Horse : public NPC { class Horse : public NPC {
public: public:
Horse(Client *owner, uint16 spell_id, float x, float y, float z, float heading); Horse(Client *owner, uint16 spell_id, float x, float y, float z, float heading);