mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 08:32:25 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server
This commit is contained in:
commit
21b6001351
@ -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);
|
||||||
|
|||||||
@ -15,15 +15,20 @@
|
|||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../common/debug.h"
|
#include "../common/debug.h"
|
||||||
#include <stdio.h>
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "npc.h"
|
|
||||||
#include "masterentity.h"
|
|
||||||
#include "zonedb.h"
|
|
||||||
#include "../common/loottable.h"
|
#include "../common/loottable.h"
|
||||||
#include "../common/misc_functions.h"
|
#include "../common/misc_functions.h"
|
||||||
|
|
||||||
|
#include "client.h"
|
||||||
|
#include "entity.h"
|
||||||
|
#include "mob.h"
|
||||||
|
#include "npc.h"
|
||||||
|
#include "zonedb.h"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
#include "../common/debug.h"
|
#include "../common/debug.h"
|
||||||
#include "../common/misc_functions.h"
|
#include "../common/misc_functions.h"
|
||||||
|
|
||||||
#include "map.h"
|
#include "map.h"
|
||||||
#include "raycast_mesh.h"
|
#include "raycast_mesh.h"
|
||||||
#include "zone.h"
|
#include "zone.h"
|
||||||
#include <stdint.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <locale>
|
#include <map>
|
||||||
#include <vector>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <map>
|
#include <vector>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
uint32 InflateData(const char* buffer, uint32 len, char* out_buffer, uint32 out_len_max) {
|
uint32 InflateData(const char* buffer, uint32 len, char* out_buffer, uint32 out_len_max) {
|
||||||
|
|||||||
@ -23,7 +23,6 @@
|
|||||||
#define ZONE_MAP_H
|
#define ZONE_MAP_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#define BEST_Z_INVALID -99999
|
#define BEST_Z_INVALID -99999
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
//Trumpcard: EntityLists are composed of multiple list types. This is the
|
//Trumpcard: EntityLists are composed of multiple list types. This is the
|
||||||
//master that includes all types. When entity.h is required, many of these are as well.
|
//master that includes all types. When entity.h is required, many of these are as well.
|
||||||
|
|
||||||
#include "beacon.h"
|
|
||||||
#include "client.h"
|
|
||||||
#include "corpse.h"
|
|
||||||
#include "doors.h"
|
|
||||||
#include "entity.h"
|
#include "entity.h"
|
||||||
#include "groups.h"
|
#include "groups.h"
|
||||||
#include "horse.h"
|
|
||||||
#include "mob.h"
|
|
||||||
#include "object.h"
|
|
||||||
#include "raids.h"
|
#include "raids.h"
|
||||||
|
#include "client.h"
|
||||||
|
#include "object.h"
|
||||||
|
#include "corpse.h"
|
||||||
|
#include "doors.h"
|
||||||
|
#include "mob.h"
|
||||||
#include "trap.h"
|
#include "trap.h"
|
||||||
|
#include "beacon.h"
|
||||||
|
#include "horse.h"
|
||||||
|
|
||||||
#ifdef BOTS
|
#ifdef BOTS
|
||||||
#include "bot.h"
|
#include "bot.h"
|
||||||
|
|||||||
13
zone/merc.h
13
zone/merc.h
@ -1,9 +1,18 @@
|
|||||||
#ifndef MERC_H
|
#ifndef MERC_H
|
||||||
#define MERC_H
|
#define MERC_H
|
||||||
#include "mob.h"
|
|
||||||
#include "zonedb.h"
|
|
||||||
#include "npc.h"
|
#include "npc.h"
|
||||||
|
|
||||||
|
class Client;
|
||||||
|
class Corpse;
|
||||||
|
class Group;
|
||||||
|
class Mob;
|
||||||
|
class Raid;
|
||||||
|
struct Item_Struct;
|
||||||
|
struct MercTemplate;
|
||||||
|
struct NPCType;
|
||||||
|
struct NewSpawn_Struct;
|
||||||
|
|
||||||
#define MERC_DEBUG 0
|
#define MERC_DEBUG 0
|
||||||
#define MAXMERCS 1
|
#define MAXMERCS 1
|
||||||
#define TANK 1
|
#define TANK 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user