ReGameDLL_CS/regamedll/hookers/regamedll_debug.h

24 lines
744 B
C
Raw Normal View History

2015-06-30 12:46:07 +03:00
#pragma once
#include "osconfig.h"
#include "maintypes.h"
#include "memory.h"
#ifdef _WIN32
extern void Regamedll_Debug_logAlloc(size_t sz, void *ptr);
extern void Regamedll_Debug_logRealloc(size_t sz, void *oldPtr, void *newPtr);
extern void Regamedll_Debug_logFree(void *ptr);
extern void Regamedll_Debug_logStrDup(const char *s, void *ptr);
extern void Regamedll_Debug_Init(void);
2015-09-16 23:19:21 +03:00
#endif // _WIN32
#if defined(HOOK_GAMEDLL) && !defined(REGAMEDLL_UNIT_TESTS)
extern void Regamedll_Game_Init(void);
2015-09-16 23:19:21 +03:00
#endif // HOOK_GAMEDLL
2015-06-30 12:46:07 +03:00
extern void _printf2(const char *fmt, ...);
extern void _print_chat(class CBasePlayer *pPlayer, const char *fmt, ...);
extern void _print_console(struct entvars_s *pev, const char *fmt, ...);