Moved mario global state vars in to struct

This commit is contained in:
jaburns
2020-10-27 15:11:12 -06:00
parent 0c67335112
commit b921cb04bb
15 changed files with 186 additions and 272 deletions
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include "libsm64.h"
extern SM64DebugPrintFunctionPtr g_debug_print_func;
#define DEBUG_PRINT( ... ) do { \
if( g_debug_print_func ) { \
char debugStr[1024]; \
sprintf( debugStr, __VA_ARGS__ ); \
g_debug_print_func( debugStr ); \
} \
} while(0)