mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Reworked file inclusion (using relative path)
This commit is contained in:
parent
2ac8f3e39d
commit
c287638f99
67 changed files with 147 additions and 146 deletions
|
@ -22,17 +22,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
// mem_tempalloc.cpp: Fast temporary memory manager
|
||||
|
||||
#include <mem_tempalloc.h>
|
||||
#include "mem_tempalloc.h"
|
||||
|
||||
#ifdef GAME_DLL
|
||||
#include "g_local.h"
|
||||
#include "../fgame/g_local.h"
|
||||
|
||||
#define MEM_TempAllocate(x) gi.Malloc(x)
|
||||
#define MEM_TempFree(x) gi.Free(x)
|
||||
|
||||
#elif defined(CGAME_DLL)
|
||||
|
||||
#include "cg_local.h"
|
||||
#include "../cgame/cg_local.h"
|
||||
|
||||
#define MEM_TempAllocate(x) cgi.Malloc(x)
|
||||
#define MEM_TempFree(x) cgi.Free(x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue