Isle
Loading...
Searching...
No Matches
MainDlg.h
Go to the documentation of this file.
1#if !defined(AFX_MAINDLG_H)
2#define AFX_MAINDLG_H
3
4#include "StdAfx.h"
5#include "compat.h"
6#include "decomp.h"
7#include "res/resource.h"
8
9// VTABLE: CONFIG 0x004063e0
10// SIZE 0x70
11
18class CMainDialog : public CDialog {
19public:
25 CMainDialog(CWnd* pParent);
26
27 enum {
28 IDD = IDD_MAIN
29 };
30
31protected:
37 void DoDataExchange(CDataExchange* pDX) override;
38
43 void UpdateInterface();
44
49 void SwitchToAdvanced(BOOL p_advanced);
50
52 undefined m_unk0x60[4]; // 0x60
53
55 HCURSOR m_icon; // 0x64
56
59
62
63 // Implementation
64
65protected:
70 BOOL OnInitDialog() override;
71
77 void OnSysCommand(UINT nID, LPARAM lParam);
78
82 void OnPaint();
83
88 HCURSOR OnQueryDragIcon();
89
95
99 void OnCancel();
100
104 void OnDestroy();
105
109 void OnButtonCancel();
110
114 void OnCheckbox3DSound();
115
120
125
130
135
140
145
150
155
159 void OnCheckboxJoystick();
160
164 void OnButtonAdvanced();
165
170
174 void OnCheckboxMusic();
175
177 DECLARE_MESSAGE_MAP()
178};
179
180// SYNTHETIC: CONFIG 0x00403de0
181// CMainDialog::`scalar deleting destructor'
182
183// FUNCTION: CONFIG 0x00403e60
184// CMainDialog::_GetBaseMessageMap
185
186// FUNCTION: CONFIG 0x00403e70
187// CMainDialog::GetMessageMap
188
189// GLOBAL: CONFIG 0x00406120
190// CMainDialog::messageMap
191
192// GLOBAL: CONFIG 0x00406128
193// CMainDialog::_messageEntries
194
195#endif // !defined(AFX_MAINDLG_H)
#define IDD_MAIN
[AI] Dialog resource identifier for the main configuration dialog. [AI]
The main dialog window for the LEGO Island configuration program (config.exe).
Definition: MainDlg.h:18
BOOL m_advanced
Whether the dialog is in advanced mode. [AI].
Definition: MainDlg.h:61
void OnCheckboxFlipVideoMemPages()
Handler for 'Flip video memory pages' checkbox.
Definition: MainDlg.cpp:256
void OnCheckbox3DVideoMemory()
Handler for '3D video memory' checkbox toggle.
Definition: MainDlg.cpp:232
void OnList3DevicesSelectionChanged()
Handles selection changes in the list of 3D devices.
Definition: MainDlg.cpp:132
void OnPaint()
Handles dialog paint (redraw).
Definition: MainDlg.cpp:106
void OnRadiobuttonTextureLowQuality()
Handler for 'Low quality texture' radio button.
Definition: MainDlg.cpp:280
undefined m_unk0x60[4]
Internal/unknown member. Purpose unclear, contains 4 bytes of undefined data. [AI] [AI_SUGGESTED_NAME...
Definition: MainDlg.h:52
void OnCheckbox3DSound()
Handler for '3D sound' checkbox toggle.
Definition: MainDlg.cpp:224
HCURSOR m_icon
Handle to the dialog's icon (used for window/taskbar and drag). [AI].
Definition: MainDlg.h:55
void OnRadiobuttonModelLowQuality()
Handler for 'Low quality model' radio button.
Definition: MainDlg.cpp:264
void SwitchToAdvanced(BOOL p_advanced)
Switches UI layout between basic and advanced configuration.
Definition: MainDlg.cpp:310
void UpdateInterface()
Refreshes the dialog interface according to current configuration settings.
Definition: MainDlg.cpp:172
void OnCheckboxJoystick()
Handler for 'Joystick' checkbox toggle.
Definition: MainDlg.cpp:296
void DoDataExchange(CDataExchange *pDX) override
DDX (Dialog Data Exchange) for MFC controls.
Definition: MainDlg.cpp:20
void OnCheckboxMusic()
Handler for 'Music' checkbox toggle.
Definition: MainDlg.cpp:341
BOOL OnInitDialog() override
Initialize dialog upon creation.
Definition: MainDlg.cpp:47
void OnSysCommand(UINT nID, LPARAM lParam)
MFC handler for system commands (such as About box invocation).
Definition: MainDlg.cpp:94
@ IDD
Dialog ID/resource identifier for the main dialog. [AI].
Definition: MainDlg.h:28
void OnCancel()
Handles dialog cancellation and executes clean-up (if needed).
Definition: MainDlg.cpp:151
void OnRadiobuttonPalette16bit()
Handler for '16-bit palette' radio button.
Definition: MainDlg.cpp:240
void OnDestroy()
Handles destruction/closing of the dialog window (WM_DESTROY handler).
Definition: MainDlg.cpp:157
void OnRadiobuttonTextureHighQuality()
Handler for 'High quality texture' radio button.
Definition: MainDlg.cpp:288
HCURSOR OnQueryDragIcon()
Returns handle to drag icon when dragging minimized window.
Definition: MainDlg.cpp:126
void OnRadiobuttonModelHighQuality()
Handler for 'High quality model' radio button.
Definition: MainDlg.cpp:272
void OnRadiobuttonPalette256()
Handler for '256-color palette' radio button.
Definition: MainDlg.cpp:248
BOOL m_modified
Whether any configuration setting has been modified and needs to be saved. [AI].
Definition: MainDlg.h:58
void OnCheckboxDrawCursor()
Handler for 'Draw cursor' checkbox toggle.
Definition: MainDlg.cpp:333
void OnButtonAdvanced()
Handler for 'Advanced' button.
Definition: MainDlg.cpp:304
void OnButtonCancel()
Processes 'Cancel' button press (IDABORT), optionally writes settings before exit.
Definition: MainDlg.cpp:163
unsigned char undefined
Definition: decomp.h:26
typedef BOOL(FAR PASCAL *LPDIENUMDEVICEOBJECTSCALLBACKA)(LPCDIDEVICEOBJECTINSTANCEA