From e12a2cc52e48c3b4a9ea015b2a1aa88dc15c6a7b Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 6 Feb 2024 22:57:51 +0100 Subject: [PATCH] Fix annotations of Message Map entries --- CONFIG/AboutDlg.cpp | 8 -------- CONFIG/AboutDlg.h | 9 +++++++++ CONFIG/MainDlg.cpp | 7 ------- CONFIG/MainDlg.h | 10 ++++++++++ CONFIG/config.cpp | 7 ------- CONFIG/config.h | 9 +++++++++ 6 files changed, 28 insertions(+), 22 deletions(-) diff --git a/CONFIG/AboutDlg.cpp b/CONFIG/AboutDlg.cpp index f07667e5..055cb5c4 100644 --- a/CONFIG/AboutDlg.cpp +++ b/CONFIG/AboutDlg.cpp @@ -26,13 +26,5 @@ void CAboutDialog::EndModalState() void CAboutDialog::DoDataExchange(CDataExchange* pDX) { } - -// FIXME: are these tags correct? -// FIXME: how to tag static in-method variables? - -// FUNCTION CAboutDialog::GetMessageMap: CONFIG 0x00403d50 -// GLOBAL CAboutDialog::GetThisMessageMap()::messageMap CONFIG 0x00406100 -// GLOBAL CAboutDialog::GetThisMessageMap()::_messageEntries CONFIG 0x00406108 - BEGIN_MESSAGE_MAP(CAboutDialog, CDialog) END_MESSAGE_MAP() diff --git a/CONFIG/AboutDlg.h b/CONFIG/AboutDlg.h index 295f1c14..cbb31a41 100644 --- a/CONFIG/AboutDlg.h +++ b/CONFIG/AboutDlg.h @@ -35,4 +35,13 @@ class CAboutDialog : public CDialog { DECLARE_MESSAGE_MAP() }; +// FUNCTION: CONFIG 0x00403d50 +// CAboutDialog::GetMessageMap + +// GLOBAL: CONFIG 0x00406100 +// CAboutDialog::messageMap + +// GLOBAL: CONFIG 0x00406108 +// CAboutDialog::_messageEntries + #endif // !defined(AFX_ABOUTDLG_H) diff --git a/CONFIG/MainDlg.cpp b/CONFIG/MainDlg.cpp index 17509d0f..5e2e93cc 100644 --- a/CONFIG/MainDlg.cpp +++ b/CONFIG/MainDlg.cpp @@ -21,13 +21,6 @@ void CMainDialog::DoDataExchange(CDataExchange* pDX) { } -// FIXME: are these tags correct? -// FIXME: how to tag static in-method variables? - -// FUNCTION CMainDialog::GetMessageMap: CONFIG 0x00403e70 -// GLOBAL CMainDialog::GetThisMessageMap()::messageMap CONFIG 0x00406120 -// GLOBAL CMainDialog::GetThisMessageMap()::_messageEntries CONFIG 0x00406128 - BEGIN_MESSAGE_MAP(CMainDialog, CDialog) ON_WM_SYSCOMMAND() ON_WM_PAINT() diff --git a/CONFIG/MainDlg.h b/CONFIG/MainDlg.h index 9792ba9b..97512b9c 100644 --- a/CONFIG/MainDlg.h +++ b/CONFIG/MainDlg.h @@ -62,4 +62,14 @@ class CMainDialog : public CDialog { DECLARE_MESSAGE_MAP() }; +// FUNCTION: CONFIG 0x00403e70 +// CMainDialog::GetMessageMap + +// GLOBAL: CONFIG 0x00406120 +// CMainDialog::messageMap + +// GLOBAL: CONFIG 0x00406128 +// CMainDialog::_messageEntries + + #endif // !defined(AFX_MAINDLG_H) diff --git a/CONFIG/config.cpp b/CONFIG/config.cpp index 74c17005..576631b5 100644 --- a/CONFIG/config.cpp +++ b/CONFIG/config.cpp @@ -13,13 +13,6 @@ DECOMP_SIZE_ASSERT(CConfigApp, 0x108) DECOMP_STATIC_ASSERT(offsetof(CConfigApp, m_display_bit_depth) == 0xd0) -// FIXME: are these tags correct? -// FIXME: how to tag static in-method variables? - -// FUNCTION CConfigApp::GetMessageMap: CONFIG 0x00402c30 -// GLOBAL CConfigApp::GetThisMessageMap()::messageMap CONFIG 0x00406008 -// GLOBAL CConfigApp::GetThisMessageMap()::_messageEntries CONFIG 0x00406010 - BEGIN_MESSAGE_MAP(CConfigApp, CWinApp) ON_COMMAND(ID_HELP, OnHelp) END_MESSAGE_MAP() diff --git a/CONFIG/config.h b/CONFIG/config.h index 06e3e1ac..19b2b793 100644 --- a/CONFIG/config.h +++ b/CONFIG/config.h @@ -75,4 +75,13 @@ class CConfigApp : public CWinApp { BOOL m_music; // 0x104 }; +// FUNCTION: CONFIG 0x402c30 +// CConfigApp::GetMessageMap + +// GLOBAL: CONFIG 0x406008 +// CConfigApp::messageMap + +// GLOBAL: CONFIG 0x406010 +// CConfigApp::_messageEntries + #endif // !defined(AFX_CONFIG_H)