mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 02:30:34 +00:00
merge attempt
This commit is contained in:
commit
8d1996833b
68 changed files with 2149 additions and 316 deletions
|
@ -40,6 +40,7 @@
|
|||
#include "Sprite2d.h"
|
||||
#include "AnimViewer.h"
|
||||
#include "Font.h"
|
||||
#include "MemoryMgr.h"
|
||||
|
||||
#define MAX_SUBSYSTEMS (16)
|
||||
|
||||
|
@ -279,7 +280,11 @@ psMouseSetPos(RwV2d *pos)
|
|||
RwMemoryFunctions*
|
||||
psGetMemoryFunctions(void)
|
||||
{
|
||||
#ifdef USE_CUSTOM_ALLOCATOR
|
||||
return &memFuncs;
|
||||
#else
|
||||
return nil;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1521,6 +1526,10 @@ main(int argc, char *argv[])
|
|||
RwV2d pos;
|
||||
RwInt32 i;
|
||||
|
||||
#ifdef USE_CUSTOM_ALLOCATOR
|
||||
InitMemoryMgr();
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
struct sigaction act;
|
||||
act.sa_sigaction = terminateHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue