From c3701a925d7de4142a1dca06f55f529b453ac97f Mon Sep 17 00:00:00 2001 From: disinvite Date: Sat, 2 Mar 2024 20:27:19 -0500 Subject: [PATCH] Corrections --- CONFIG/AboutDlg.h | 3 +++ CONFIG/MainDlg.h | 3 +++ CONFIG/config.h | 3 +++ LEGO1/lego/legoomni/src/gasstation/gasstation.cpp | 2 +- LEGO1/omni/src/common/mxutil.cpp | 2 +- LEGO1/omni/src/main/mxomni.cpp | 6 +++--- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CONFIG/AboutDlg.h b/CONFIG/AboutDlg.h index d959f82e..dc648d63 100644 --- a/CONFIG/AboutDlg.h +++ b/CONFIG/AboutDlg.h @@ -24,6 +24,9 @@ protected: // SYNTHETIC: CONFIG 0x00403cb0 // CAboutDialog::`scalar deleting destructor' +// FUNCTION: CONFIG 0x00403d30 +// CAboutDialog::_GetBaseMessageMap + // FUNCTION: CONFIG 0x00403d40 // CAboutDialog::GetMessageMap diff --git a/CONFIG/MainDlg.h b/CONFIG/MainDlg.h index e5a696c0..eeebc868 100644 --- a/CONFIG/MainDlg.h +++ b/CONFIG/MainDlg.h @@ -55,6 +55,9 @@ protected: // SYNTHETIC: CONFIG 0x00403de0 // CMainDialog::`scalar deleting destructor' +// FUNCTION: CONFIG 0x00403e60 +// CMainDialog::_GetBaseMessageMap + // FUNCTION: CONFIG 0x00403e70 // CMainDialog::GetMessageMap diff --git a/CONFIG/config.h b/CONFIG/config.h index 9c633ac4..75195e7e 100644 --- a/CONFIG/config.h +++ b/CONFIG/config.h @@ -76,6 +76,9 @@ public: // SYNTHETIC: CONFIG 0x00402cd0 // CConfigApp::`scalar deleting destructor' +// FUNCTION: CONFIG 0x402c20 +// CConfigApp::_GetBaseMessageMap + // FUNCTION: CONFIG 0x402c30 // CConfigApp::GetMessageMap diff --git a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp index 1b938bcf..4aacb404 100644 --- a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp +++ b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp @@ -8,7 +8,7 @@ #include "mxticklemanager.h" // GLOBAL: LEGO1 0x100f0160 -undefined4 g_unk0x100f0160; +undefined4 g_unk0x100f0160 = 3; // FUNCTION: LEGO1 0x100046a0 GasStation::GasStation() diff --git a/LEGO1/omni/src/common/mxutil.cpp b/LEGO1/omni/src/common/mxutil.cpp index 61af4f6e..fea13f12 100644 --- a/LEGO1/omni/src/common/mxutil.cpp +++ b/LEGO1/omni/src/common/mxutil.cpp @@ -10,7 +10,7 @@ #include "mxrect32.h" // GLOBAL: LEGO1 0x101020e8 -void (*g_omniUserMessage)(const char*, int); +void (*g_omniUserMessage)(const char*, int) = NULL; // FUNCTION: LEGO1 0x100b6e10 MxBool GetRectIntersection( diff --git a/LEGO1/omni/src/main/mxomni.cpp b/LEGO1/omni/src/main/mxomni.cpp index c04425b1..cf29d3be 100644 --- a/LEGO1/omni/src/main/mxomni.cpp +++ b/LEGO1/omni/src/main/mxomni.cpp @@ -17,13 +17,13 @@ #include "mxvideomanager.h" // GLOBAL: LEGO1 0x101015b8 -char g_hdPath[1024]; +char g_hdPath[1024] = ""; // GLOBAL: LEGO1 0x101019b8 -char g_cdPath[1024]; +char g_cdPath[1024] = "E:"; // GLOBAL: LEGO1 0x10101db8 -MxBool g_use3dSound; +MxBool g_use3dSound = FALSE; // GLOBAL: LEGO1 0x101015b0 MxOmni* MxOmni::g_instance = NULL;