diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 1ddbeb94a..fe57eab59 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -9,7 +9,6 @@ SET(common_sources crc32.cpp database.cpp dbcore.cpp - debug.cpp emu_opcodes.cpp emu_tcp_connection.cpp emu_tcp_server.cpp diff --git a/common/debug.cpp b/common/debug.cpp deleted file mode 100644 index 1dfe0ad85..000000000 --- a/common/debug.cpp +++ /dev/null @@ -1,63 +0,0 @@ - - -#include -#include - -#ifdef _WINDOWS - #include - - #define snprintf _snprintf - #define vsnprintf _vsnprintf - #define strncasecmp _strnicmp - #define strcasecmp _stricmp - - #include - #include - #include - -namespace ConsoleColor { - enum Colors { - Black = 0, - Blue = 1, - Green = 2, - Cyan = 3, - Red = 4, - Magenta = 5, - Brown = 6, - LightGray = 7, - DarkGray = 8, - LightBlue = 9, - LightGreen = 10, - LightCyan = 11, - LightRed = 12, - LightMagenta = 13, - Yellow = 14, - White = 15, - }; -} - -#else - - #include - #include - -#endif - -#include "eqemu_logsys.h" -#include "debug.h" -#include "misc_functions.h" -#include "platform.h" -#include "eqemu_logsys.h" -#include "string_util.h" - -#ifndef va_copy - #define va_copy(d,s) ((d) = (s)) -#endif - -EQEmuLog::EQEmuLog() -{ -} - -EQEmuLog::~EQEmuLog() -{ -} \ No newline at end of file diff --git a/common/debug.h b/common/debug.h index 42c0f8e76..d6fbf3694 100644 --- a/common/debug.h +++ b/common/debug.h @@ -26,10 +26,6 @@ #ifndef EQDEBUG_H #define EQDEBUG_H -#ifndef _WINDOWS - #define DebugBreak() if(0) {} -#endif - #define _WINSOCKAPI_ //stupid windows, trying to fix the winsock2 vs. winsock issues #if defined(WIN32) && ( defined(PACKETCOLLECTOR) || defined(COLLECTOR) ) // Packet Collector on win32 requires winsock.h due to latest pcap.h @@ -42,18 +38,9 @@ #include #endif - - #include "../common/mutex.h" #include #include -class EQEmuLog { -public: - EQEmuLog(); - ~EQEmuLog(); -private: -}; - #endif