mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
moved string functions from MiscFunctions to StringUtil
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ Copyright (C) 2001-2004 EQEMu Development Team (http://eqemulator.net)
|
||||
#include "../common/classes.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/logsys.h"
|
||||
#include "zonedb.h"
|
||||
#include "StringIDs.h"
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ using namespace std;
|
||||
#include "../common/moremath.h"
|
||||
#include "parser.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/features.h"
|
||||
#include "QuestParserCollection.h"
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
#include "zonedb.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/features.h"
|
||||
#include "StringIDs.h"
|
||||
using namespace std;
|
||||
|
||||
@@ -35,6 +35,7 @@ using namespace std;
|
||||
|
||||
#include "masterentity.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/crc32.h"
|
||||
#include "StringIDs.h"
|
||||
#include "worldserver.h"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "../common/debug.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "QGlobals.h"
|
||||
#include "zonedb.h"
|
||||
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ using namespace std;
|
||||
#include "../common/spdat.h"
|
||||
#include "zone.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "QuestParserCollection.h"
|
||||
#include "watermap.h"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "object.h"
|
||||
#include "doors.h"
|
||||
#include "QuestParserCollection.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
extern volatile bool ZoneLoaded;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifdef BOTS
|
||||
|
||||
#include "bot.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
|
||||
_ZP(Bot_AICastSpell);
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ extern volatile bool RunLoops;
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/breakdowns.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "forage.h"
|
||||
#include "command.h"
|
||||
#include "StringIDs.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "worldserver.h"
|
||||
#include "../common/rdtsc.h"
|
||||
#include "../common/packet_dump_file.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/breakdowns.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/rulesys.h"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include "../common/packet_dump.h"
|
||||
#include "worldserver.h"
|
||||
#include "../common/packet_dump_file.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/spdat.h"
|
||||
#include "petitions.h"
|
||||
#include "NpcAI.h"
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@
|
||||
#include "../common/EQPacket.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
//#include "../common/servertalk.h" // for oocmute and revoke
|
||||
#include "worldserver.h"
|
||||
#include "masterentity.h"
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ using namespace std;
|
||||
#include "zonedb.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "guild_mgr.h"
|
||||
|
||||
#define OPEN_DOOR 0x02
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
#include "questmgr.h"
|
||||
#include "command.h"
|
||||
#include "../common/seperator.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "QGlobals.h"
|
||||
#include "zone.h"
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ using namespace std;
|
||||
#include "watermap.h"
|
||||
#include "titles.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
|
||||
#include "zonedb.h"
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "NpcAI.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "worldserver.h"
|
||||
extern EntityList entity_list;
|
||||
extern WorldServer worldserver;
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
#include "../common/ZoneNumbers.h"
|
||||
#include "../common/moremath.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "guild_mgr.h"
|
||||
#include "StringIDs.h"
|
||||
#include "NpcAI.h"
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "zonedb.h"
|
||||
#include "worldserver.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "client.h"
|
||||
#include "entity.h"
|
||||
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "masterentity.h"
|
||||
#include "../common/Item.h"
|
||||
#include "../common/linked_list.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
#include "worldserver.h"
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "../common/moremath.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/logsys.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "StringIDs.h"
|
||||
#include "NpcAI.h"
|
||||
extern WorldServer worldserver;
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
#include "../common/spdat.h"
|
||||
#include "zone.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "QuestParserCollection.h"
|
||||
#include "watermap.h"
|
||||
|
||||
@@ -21,6 +21,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "StringIDs.h"
|
||||
#include "worldserver.h"
|
||||
#include "QuestParserCollection.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <math.h>
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ using namespace std;
|
||||
#include "../common/spdat.h"
|
||||
#include "../common/bodytypes.h"
|
||||
#include "spawngroup.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "StringIDs.h"
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ using namespace std;
|
||||
#include "zonedb.h"
|
||||
#include "../common/spdat.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "spawn2.h"
|
||||
#include "zone.h"
|
||||
#include "event_codes.h"
|
||||
|
||||
@@ -32,6 +32,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#define strncasecmp _strnicmp
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/packet_dump_file.h"
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ Copyright (C) 2001-2004 EQEMu Development Team (http://eqemu.org)
|
||||
#include "../common/skills.h"
|
||||
#include "../common/bodytypes.h"
|
||||
#include "../common/classes.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "pets.h"
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ using namespace std;
|
||||
#include "zonedb.h"
|
||||
#include "../common/spdat.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "spawn2.h"
|
||||
#include "zone.h"
|
||||
#include "parser.h"
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
#include "NpcAI.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "worldserver.h"
|
||||
extern EntityList entity_list;
|
||||
extern WorldServer worldserver;
|
||||
|
||||
@@ -16,6 +16,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/debug.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include <stdlib.h>
|
||||
#include "spawn2.h"
|
||||
#include "entity.h"
|
||||
|
||||
@@ -25,6 +25,7 @@ using namespace std;
|
||||
#include "../common/types.h"
|
||||
#include "zonedb.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
extern EntityList entity_list;
|
||||
|
||||
|
||||
+5
-3
@@ -83,13 +83,15 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "../common/bodytypes.h"
|
||||
#include "../common/classes.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef WIN32
|
||||
// #include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#include "../common/unix.h"
|
||||
#include <stdlib.h>
|
||||
#include "../common/unix.h"
|
||||
#endif
|
||||
|
||||
#ifdef _GOTFRAGS
|
||||
#include "../common/packet_dump_file.h"
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ Copyright (C) 2001-2008 EQEMu Development Team (http://eqemulator.net)
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "masterentity.h"
|
||||
#include "../common/features.h"
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "masterentity.h"
|
||||
#include "titles.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "worldserver.h"
|
||||
|
||||
extern WorldServer worldserver;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "../common/packet_dump.h"
|
||||
#include "titles.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "QuestParserCollection.h"
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "../common/debug.h"
|
||||
#include "masterentity.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "QuestParserCollection.h"
|
||||
#include "worldserver.h"
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
#include "entity.h"
|
||||
#include "masterentity.h"
|
||||
#include "../common/spdat.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
/*
|
||||
|
||||
|
||||
+2
-1
@@ -23,7 +23,8 @@
|
||||
#include <float.h>
|
||||
|
||||
#include "watermap.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ using namespace std;
|
||||
#include "../common/moremath.h"
|
||||
#include "parser.h"
|
||||
#include "StringIDs.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/features.h"
|
||||
#include "QuestParserCollection.h"
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ using namespace std;
|
||||
#include "../common/packet_dump_file.h"
|
||||
#include "../common/EQStreamFactory.h"
|
||||
#include "../common/EQStream.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "ZoneConfig.h"
|
||||
#include "../common/breakdowns.h"
|
||||
#include "map.h"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
|
||||
#include "zonedb.h"
|
||||
#include "../common/Item.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/extprofile.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/rulesys.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
using namespace std;
|
||||
#include "entity.h"
|
||||
#include "masterentity.h"
|
||||
#include "../common/MiscFunctions.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "../common/breakdowns.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "masterentity.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/StringUtil.h"
|
||||
#include "StringIDs.h"
|
||||
#include "QuestParserCollection.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user