#ifndef SYSTEM_H #define SYSTEM_H extern char _overlay_buffer[0x50000]; // 0x1C0000 extern char _frontend_buffer[0x50000]; // 0xFB400 extern char _other_buffer[0x50000]; // 0xF3000 extern char* mallocptr; #define D_MALLOC(size) mallocptr; mallocptr += size extern int leadAIRequired; extern int leadAILoaded; extern int pathAILoaded; extern char* LoadingScreenNames[]; typedef struct DB // hashcode: 0xE4F25C4D (dec: -453878707) { char *primptr; // size=0, offset=0 OTTYPE *ot; // size=0, offset=4 char *primtab; // size=0, offset=8 int id; // size=0, offset=12 DRAWENV draw; // size=92, offset=16 DISPENV disp; // size=20, offset=108 } DB; extern DRAW_MODE draw_mode_pal; extern DRAW_MODE draw_mode_ntsc; extern DB MPBuff[2][2]; extern DB* last; extern DB* current; #define OTLEN 13 #define OTSIZE (1<