Globals in ISLE

This commit is contained in:
Christian Semmler
2023-11-30 09:37:34 -05:00
parent f45f248456
commit 47b19f91e5
2 changed files with 15 additions and 15 deletions

View File

@@ -1,40 +1,40 @@
#include "define.h" #include "define.h"
// 0x410030 // GLOBAL: ISLE 0x410030
IsleApp* g_isle = 0; IsleApp* g_isle = 0;
// 0x410034 // GLOBAL: ISLE 0x410034
unsigned char g_mousedown = 0; unsigned char g_mousedown = 0;
// 0x410038 // GLOBAL: ISLE 0x410038
unsigned char g_mousemoved = 0; unsigned char g_mousemoved = 0;
// 0x41003c // GLOBAL: ISLE 0x41003c
int g_closed = 0; int g_closed = 0;
// 0x410040 // GLOBAL: ISLE 0x410040
RECT g_windowRect = {0, 0, 640, 480}; RECT g_windowRect = {0, 0, 640, 480};
// 0x410050 // GLOBAL: ISLE 0x410050
int g_rmDisabled = 0; int g_rmDisabled = 0;
// 0x410054 // GLOBAL: ISLE 0x410054
int g_waitingForTargetDepth = 1; int g_waitingForTargetDepth = 1;
// 0x410058 // GLOBAL: ISLE 0x410058
int g_targetWidth = 640; int g_targetWidth = 640;
// 0x41005c // GLOBAL: ISLE 0x41005c
int g_targetHeight = 480; int g_targetHeight = 480;
// 0x410060 // GLOBAL: ISLE 0x410060
int g_targetDepth = 16; int g_targetDepth = 16;
// 0x410064 // GLOBAL: ISLE 0x410064
int g_reqEnableRMDevice = 0; int g_reqEnableRMDevice = 0;
// 0x4101bc // GLOBAL: ISLE 0x4101bc
int g_startupDelay = 200; int g_startupDelay = 200;
// 0x4101c0 // GLOBAL: ISLE 0x4101c0
MxLong g_lastFrameTime = 0; MxLong g_lastFrameTime = 0;

View File

@@ -8,9 +8,9 @@ class IsleApp;
extern IsleApp* g_isle; extern IsleApp* g_isle;
extern int g_closed; extern int g_closed;
// 0x4101c4 // GLOBAL: ISLE 0x4101c4
#define WNDCLASS_NAME "Lego Island MainNoM App" #define WNDCLASS_NAME "Lego Island MainNoM App"
// 0x4101dc // GLOBAL: ISLE 0x4101dc
#define WINDOW_TITLE "LEGO\xAE" #define WINDOW_TITLE "LEGO\xAE"
extern unsigned char g_mousedown; extern unsigned char g_mousedown;
extern unsigned char g_mousemoved; extern unsigned char g_mousemoved;