mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 11:56:38 +03:00
implemented bits of CWorld
This commit is contained in:
parent
886633293d
commit
cb8993f15e
15 changed files with 915 additions and 44 deletions
|
@ -59,6 +59,8 @@ open_script(const char *path, const char *mode)
|
|||
return open_script_orig(path, mode);
|
||||
}
|
||||
|
||||
int gDbgSurf;
|
||||
|
||||
int (*RsEventHandler_orig)(int a, int b);
|
||||
int
|
||||
delayedPatches10(int a, int b)
|
||||
|
@ -71,6 +73,7 @@ delayedPatches10(int a, int b)
|
|||
DebugMenuAddVarBool8("Debug", "Don't render Big Buildings", (int8*)&gbDontRenderBigBuildings, nil);
|
||||
DebugMenuAddVarBool8("Debug", "Don't render Peds", (int8*)&gbDontRenderPeds, nil);
|
||||
DebugMenuAddVarBool8("Debug", "Don't render Objects", (int8*)&gbDontRenderObjects, nil);
|
||||
DebugMenuAddVar("Debug", "Dbg Surface", &gDbgSurf, nil, 1, 0, 34, nil);
|
||||
}
|
||||
|
||||
return RsEventHandler_orig(a, b);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue