mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-07 23:52:24 +00:00
database.h forward declaration
database.cpp #include house-keeping
This commit is contained in:
parent
251e940fe8
commit
5d5c3fbfd1
@ -17,19 +17,16 @@
|
|||||||
*/
|
*/
|
||||||
#include "../common/debug.h"
|
#include "../common/debug.h"
|
||||||
#include "../common/rulesys.h"
|
#include "../common/rulesys.h"
|
||||||
#include <iostream>
|
#include <cmath>
|
||||||
#include <fstream>
|
#include <ctype.h>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
#include <iostream>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <map>
|
||||||
|
#include <mysqld_error.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errmsg.h>
|
|
||||||
#include <mysqld_error.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <assert.h>
|
|
||||||
#include <cmath>
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
// Disgrace: for windows compile
|
// Disgrace: for windows compile
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
@ -45,7 +42,6 @@
|
|||||||
|
|
||||||
#include "database.h"
|
#include "database.h"
|
||||||
#include "eq_packet_structs.h"
|
#include "eq_packet_structs.h"
|
||||||
#include "guilds.h"
|
|
||||||
#include "string_util.h"
|
#include "string_util.h"
|
||||||
#include "extprofile.h"
|
#include "extprofile.h"
|
||||||
|
|
||||||
|
|||||||
@ -41,6 +41,7 @@ class SpawnGroupList;
|
|||||||
class Petition;
|
class Petition;
|
||||||
class Client;
|
class Client;
|
||||||
class Merc;
|
class Merc;
|
||||||
|
class MySQLRequestResult;
|
||||||
struct Combine_Struct;
|
struct Combine_Struct;
|
||||||
//struct Faction;
|
//struct Faction;
|
||||||
//struct FactionMods;
|
//struct FactionMods;
|
||||||
@ -68,21 +69,15 @@ uint8 eventid;
|
|||||||
EventLogDetails_Struct eld[255];
|
EventLogDetails_Struct eld[255];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Added By Hogie
|
|
||||||
// INSERT into variables (varname,value) values('decaytime [minlevel] [maxlevel]','[number of seconds]');
|
|
||||||
// IE: decaytime 1 54 = Levels 1 through 54
|
|
||||||
// decaytime 55 100 = Levels 55 through 100
|
|
||||||
// It will always put the LAST time for the level (I think) from the Database
|
|
||||||
struct npcDecayTimes_Struct {
|
struct npcDecayTimes_Struct {
|
||||||
uint16 minlvl;
|
uint16 minlvl;
|
||||||
uint16 maxlvl;
|
uint16 maxlvl;
|
||||||
uint32 seconds;
|
uint32 seconds;
|
||||||
};
|
};
|
||||||
// Added By Hogie -- End
|
|
||||||
|
|
||||||
struct VarCache_Struct {
|
struct VarCache_Struct {
|
||||||
char varname[26]; // varname is char(25) in database
|
char varname[26];
|
||||||
char value[0];
|
char value[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user