Fix annotations of Message Map entries

This commit is contained in:
Anonymous Maarten 2024-02-06 22:57:51 +01:00
parent 1895f2e19c
commit e12a2cc52e
6 changed files with 28 additions and 22 deletions

View File

@ -26,13 +26,5 @@ void CAboutDialog::EndModalState()
void CAboutDialog::DoDataExchange(CDataExchange* pDX) 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) BEGIN_MESSAGE_MAP(CAboutDialog, CDialog)
END_MESSAGE_MAP() END_MESSAGE_MAP()

View File

@ -35,4 +35,13 @@ class CAboutDialog : public CDialog {
DECLARE_MESSAGE_MAP() DECLARE_MESSAGE_MAP()
}; };
// FUNCTION: CONFIG 0x00403d50
// CAboutDialog::GetMessageMap
// GLOBAL: CONFIG 0x00406100
// CAboutDialog::messageMap
// GLOBAL: CONFIG 0x00406108
// CAboutDialog::_messageEntries
#endif // !defined(AFX_ABOUTDLG_H) #endif // !defined(AFX_ABOUTDLG_H)

View File

@ -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) BEGIN_MESSAGE_MAP(CMainDialog, CDialog)
ON_WM_SYSCOMMAND() ON_WM_SYSCOMMAND()
ON_WM_PAINT() ON_WM_PAINT()

View File

@ -62,4 +62,14 @@ class CMainDialog : public CDialog {
DECLARE_MESSAGE_MAP() DECLARE_MESSAGE_MAP()
}; };
// FUNCTION: CONFIG 0x00403e70
// CMainDialog::GetMessageMap
// GLOBAL: CONFIG 0x00406120
// CMainDialog::messageMap
// GLOBAL: CONFIG 0x00406128
// CMainDialog::_messageEntries
#endif // !defined(AFX_MAINDLG_H) #endif // !defined(AFX_MAINDLG_H)

View File

@ -13,13 +13,6 @@ DECOMP_SIZE_ASSERT(CConfigApp, 0x108)
DECOMP_STATIC_ASSERT(offsetof(CConfigApp, m_display_bit_depth) == 0xd0) 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) BEGIN_MESSAGE_MAP(CConfigApp, CWinApp)
ON_COMMAND(ID_HELP, OnHelp) ON_COMMAND(ID_HELP, OnHelp)
END_MESSAGE_MAP() END_MESSAGE_MAP()

View File

@ -75,4 +75,13 @@ class CConfigApp : public CWinApp {
BOOL m_music; // 0x104 BOOL m_music; // 0x104
}; };
// FUNCTION: CONFIG 0x402c30
// CConfigApp::GetMessageMap
// GLOBAL: CONFIG 0x406008
// CConfigApp::messageMap
// GLOBAL: CONFIG 0x406010
// CConfigApp::_messageEntries
#endif // !defined(AFX_CONFIG_H) #endif // !defined(AFX_CONFIG_H)