From 2a41e44a61bf8b535ee7431fc8c9eed108e30890 Mon Sep 17 00:00:00 2001 From: MasterF0x Date: Tue, 12 Jul 2016 09:39:07 -0500 Subject: [PATCH] Added C++ inheritence --- sms.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sms.h b/sms.h index c6e2d13..627b230 100644 --- a/sms.h +++ b/sms.h @@ -1,3 +1,8 @@ + //For C++ inheritence +#define GetObjectFunction( object, func ) (void*)*(void**)((int)*(int*)object + func) +#define Director_GameUpdate 0x64 +#define HitActor_TouchPlayer 0x0148 + #ifndef SMS_H #define SMS_H @@ -406,4 +411,4 @@ void stopBGM(int u1); void DraweMarioHP(MarioActor* emario); -#endif \ No newline at end of file +#endif