summaryrefslogtreecommitdiffstats
path: root/src/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-31 00:32:50 +0200
committeraap <aap@papnet.eu>2019-05-31 00:32:50 +0200
commit454276f940c9a2079403c18126ed61f3e95694c1 (patch)
tree8908884088db6e41d1eb981524ab37d7b7c522df /src/re3.cpp
parentadded CText (diff)
downloadre3-454276f940c9a2079403c18126ed61f3e95694c1.tar
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.gz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.bz2
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.lz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.xz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.zst
re3-454276f940c9a2079403c18126ed61f3e95694c1.zip
Diffstat (limited to '')
-rw-r--r--src/re3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/re3.cpp b/src/re3.cpp
index 4f125098..289c7f7a 100644
--- a/src/re3.cpp
+++ b/src/re3.cpp
@@ -3,6 +3,7 @@
#include "common.h"
#include "patcher.h"
#include "Renderer.h"
+#include "Credits.h"
#include "debugmenu_public.h"
void **rwengine = *(void***)0x5A10E1;
@@ -74,6 +75,9 @@ delayedPatches10(int a, int b)
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);
+
+ DebugMenuAddCmd("Debug", "Start Credits", CCredits::Start);
+ DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
}
return RsEventHandler_orig(a, b);