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