mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 17:41:29 +00:00
63 lines
866 B
C++
63 lines
866 B
C++
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
#ifdef _WINDOWS
|
|
#include <process.h>
|
|
|
|
#define snprintf _snprintf
|
|
#define vsnprintf _vsnprintf
|
|
#define strncasecmp _strnicmp
|
|
#define strcasecmp _stricmp
|
|
|
|
#include <conio.h>
|
|
#include <iostream>
|
|
#include <dos.h>
|
|
|
|
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 <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#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()
|
|
{
|
|
} |