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)
|
2015-08-02 20:45:57 +03:00
|
|
|
extern void Regamedll_Game_Init(void);
|
2015-09-16 23:19:21 +03:00
|
|
|
#endif // HOOK_GAMEDLL
|
2015-08-02 20:45:57 +03:00
|
|
|
|
2015-06-30 12:46:07 +03:00
|
|
|
extern void _printf2(const char *fmt, ...);
|
|
|
|
extern void _print_chat(class CBasePlayer *pPlayer, const char *fmt, ...);
|
2015-11-06 17:58:48 +03:00
|
|
|
extern void _print_console(struct entvars_s *pev, const char *fmt, ...);
|