database.cpp & .h header include cleanup and forward declaration

This commit is contained in:
Akkadius 2014-12-15 20:02:55 -06:00
parent e5f300baaf
commit b1623cf696
2 changed files with 5 additions and 24 deletions

View File

@ -15,13 +15,13 @@
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 "../common/rulesys.h" #include "../common/rulesys.h"
#include <cmath>
#include <ctype.h> #include <ctype.h>
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
#include <limits.h>
#include <map> #include <map>
#include <mysqld_error.h> #include <mysqld_error.h>
#include <stdio.h> #include <stdio.h>
@ -42,8 +42,8 @@
#include "database.h" #include "database.h"
#include "eq_packet_structs.h" #include "eq_packet_structs.h"
#include "string_util.h"
#include "extprofile.h" #include "extprofile.h"
#include "string_util.h"
extern Client client; extern Client client;

View File

@ -33,23 +33,9 @@
//atoi is not uint32 or uint32 safe!!!! //atoi is not uint32 or uint32 safe!!!!
#define atoul(str) strtoul(str, nullptr, 10) #define atoul(str) strtoul(str, nullptr, 10)
//class Spawn;
class Corpse;
class Spawn2;
class NPC;
class SpawnGroupList;
class Petition;
class Client;
class Merc;
class MySQLRequestResult;
struct Combine_Struct;
//struct Faction;
//struct FactionMods;
//struct FactionValue;
struct ZonePoint;
struct NPCType;
class Inventory; class Inventory;
class ItemInst; class MySQLRequestResult;
class Client;
struct EventLogDetails_Struct { struct EventLogDetails_Struct {
uint32 id; uint32 id;
@ -81,11 +67,6 @@ struct VarCache_Struct {
char value[0]; char value[0];
}; };
struct PlayerProfile_Struct;
struct GuildRankLevel_Struct;
struct GuildRanks_Struct;
struct ExtendedProfile_Struct;
struct GuildMember_Struct;
class PTimerList; class PTimerList;
#pragma pack(1) #pragma pack(1)