diff options
author | aap <aap@papnet.eu> | 2019-05-28 08:39:36 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-28 08:39:36 +0200 |
commit | cb8993f15e06fe2ea94decce77892c28b1b23d64 (patch) | |
tree | 617b6745f6ff26ab4551a4d192fab082ea17f46f /src/main.cpp | |
parent | implemented CFileMgr (barf) (diff) | |
download | re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar.gz re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar.bz2 re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar.lz re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar.xz re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.tar.zst re3-cb8993f15e06fe2ea94decce77892c28b1b23d64.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index b7d1d151..4f125098 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); |