2017-07-01 23:40:10 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "hookers/memory.h"
|
|
|
|
#include "hookers/helper.h"
|
|
|
|
#include "hookers/hooker.h"
|
|
|
|
|
|
|
|
#define _LOG_TRACE\
|
|
|
|
static int iNumPassed = 0;\
|
2017-10-12 17:50:56 +03:00
|
|
|
UTIL_ServerPrint("%s:: iNumPassed - %d", __func__, iNumPassed++);
|
2017-07-01 23:40:10 +03:00
|
|
|
|
|
|
|
#define _LOG_TRACE2\
|
|
|
|
static int iNumPassed2 = 0;\
|
2017-10-12 17:50:56 +03:00
|
|
|
UTIL_ServerPrint("%s:: iNumPassed - %d", __func__, iNumPassed2++);\
|
|
|
|
UTIL_Log("%s:: iNumPassed - %d", __func__, iNumPassed2++);
|
2017-07-01 23:40:10 +03:00
|
|
|
|
|
|
|
#ifdef HOOK_GAMEDLL
|
|
|
|
// STL containers Visual Studio 6.0
|
|
|
|
#include "stl/vector"
|
|
|
|
#include "stl/list"
|
|
|
|
|
|
|
|
#define STD_LIST list_vs6 // use STL containers of the old version from Visual Studio 6.0 sp6
|
|
|
|
#define STD_VECTOR vector_vs6
|
|
|
|
#else
|
|
|
|
#define STD_LIST list
|
|
|
|
#define STD_VECTOR vector
|
|
|
|
#endif // HOOK_GAMEDLL
|