mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
horse.cpp & .h header cleanup and forward declare
This commit is contained in:
parent
b733e96aea
commit
abe471af64
@ -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;
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user