diff --git a/zone/net.cpp b/zone/net.cpp index e82a29bca..9b4080eb2 100644 --- a/zone/net.cpp +++ b/zone/net.cpp @@ -18,39 +18,57 @@ #define DONT_SHARED_OPCODES - -#include "../common/crash.h" #include "../common/debug.h" -#include "../common/eq_stream_factory.h" -#include "../common/eq_stream_ident.h" -#include "../common/eqemu_error.h" -#include "../common/eqemu_exception.h" #include "../common/features.h" +#include "../common/queue.h" +#include "../common/timer.h" +#include "../common/eq_stream.h" +#include "../common/eq_stream_factory.h" +#include "../common/eq_packet_structs.h" +#include "../common/mutex.h" +#include "../common/version.h" +#include "../common/eqemu_error.h" +#include "../common/packet_dump_file.h" +#include "../common/opcodemgr.h" +#include "../common/guilds.h" +#include "../common/eq_stream_ident.h" +#include "../common/patches/patches.h" +#include "../common/rulesys.h" +#include "../common/misc_functions.h" +#include "../common/string_util.h" +#include "../common/platform.h" +#include "../common/crash.h" #include "../common/ipc_mutex.h" #include "../common/memory_mapped_file.h" -#include "../common/patches/patches.h" -#include "../common/platform.h" -#include "../common/rulesys.h" +#include "../common/eqemu_exception.h" #include "../common/spdat.h" -#include "../common/timer.h" -#include "../common/version.h" -#include "client_logs.h" -#include "command.h" -#include "embparser.h" -#include "guild_mgr.h" -#include "lua_parser.h" -#include "net.h" -#include "queryserv.h" -#include "quest_parser_collection.h" -#include "questmgr.h" -#include "tasks.h" -#include "titles.h" -#include "worldserver.h" #include "zone_config.h" +#include "masterentity.h" +#include "worldserver.h" +#include "net.h" #include "zone.h" +#include "queryserv.h" +#include "command.h" +#include "zone_config.h" +#include "titles.h" +#include "guild_mgr.h" +#include "tasks.h" +#include "quest_parser_collection.h" +#include "embparser.h" +#include "lua_parser.h" +#include "client_logs.h" +#include "questmgr.h" + +#include +#include +#include + +#include +#include #include +#include #ifdef _CRTDBG_MAP_ALLOC #undef new @@ -68,25 +86,20 @@ volatile bool RunLoops = true; extern volatile bool ZoneLoaded; -class EQStream; -class EQStreamInterface; - -char errorname[32]; -EntityList entity_list; -EQStreamFactory eqsf(ZoneStream); -extern Zone* zone; -NetConnection net; -npcDecayTimes_Struct npcCorpseDecayTimes[100]; -QueryServ *QServ = 0; -QuestParserCollection *parse = 0; -TaskManager *taskmanager = 0; TimeoutManager timeout_manager; -TitleManager title_manager; +NetConnection net; +EntityList entity_list; WorldServer worldserver; - -uint16 adverrornum = 0; uint32 numclients = 0; - +char errorname[32]; +uint16 adverrornum = 0; +extern Zone* zone; +EQStreamFactory eqsf(ZoneStream); +npcDecayTimes_Struct npcCorpseDecayTimes[100]; +TitleManager title_manager; +QueryServ *QServ = 0; +TaskManager *taskmanager = 0; +QuestParserCollection *parse = 0; const SPDat_Spell_Struct* spells; void LoadSpells(EQEmu::MemoryMappedFile **mmf); @@ -629,4 +642,3 @@ void UpdateWindowTitle(char* iNewTitle) { SetConsoleTitle(tmp); #endif } -