1#if !defined(AFX_CONFIG_H)
15#define currentConfigApp ((CConfigApp*) afxCurrentWinApp)
53 BOOL WriteReg(
const char* p_key,
const char* p_value)
const;
137 DECLARE_MESSAGE_MAP()
144 BOOL IsLegoNotRunning();
BOOL m_3d_video_ram
[AI] TRUE if back-buffering should use 3D video RAM, else system RAM.
CConfigApp()
[AI] Constructs the configuration application instance.
BOOL ReadRegBool(LPCSTR p_key, BOOL *p_bool) const
[AI] Reads a BOOL value ("YES"/"NO") from the registry.
BOOL ReadRegInt(LPCSTR p_key, int *p_value) const
[AI] Reads an integer-valued registry entry.
BOOL m_use_joystick
[AI] Enables joystick/gamepad input if supported and selected.
BOOL IsDeviceInBasicRGBMode() const
[AI] Checks if the selected Direct3D device operates in basic RGB color model mode.
undefined m_unk0x100[4]
[AI] [AI_SUGGESTED_NAME: padding_or_reserved4] Reserved, unknown (possibly padding or future expansio...
BOOL InitInstance() override
[AI] Initializes the configuration application, checks DirectX availability and system memory,...
int m_model_quality
[AI] Detail/complexity level for 3D models (0 = low, 1 = medium, 2 = high).
D3DCOLORMODEL GetHardwareDeviceColorModel() const
[AI] Returns the color model (RGB or other) used by the hardware Direct3D device.
Direct3DDeviceInfo * m_device
[AI] Selected Direct3D device structure, describes device capabilities and mode. Not owned by this cl...
BOOL m_draw_cursor
[AI] TRUE if in-game mouse cursor is drawn.
DWORD GetDeviceRenderBitStatus() const
[AI] Returns bit mask status for the currently active device's rendering status (e....
BOOL m_music
[AI] If TRUE, enables background music.
int m_texture_quality
[AI] Quality (bit-depth, filtering) of loaded textures (0 = low, 1 = high).
BOOL ValidateSettings()
[AI] Ensures all configuration values are legal/compatible, correcting them if needed (e....
BOOL m_wide_view_angle
[AI] If TRUE, increases camera field-of-view for wider display.
BOOL m_flip_surfaces
[AI] If TRUE, enables flipping display buffers during rendering (double-buffering).
BOOL WriteReg(const char *p_key, const char *p_value) const
[AI] Writes a string value into the registry under the LEGO Island key.
BOOL IsPrimaryDriver() const
[AI] Determines if the currently selected driver is the primary driver detected by enumeration.
MxDriver * m_driver
[AI] Currently selected (or default) 3D hardware driver. Managed externally or by enumerator.
int m_joystick_index
[AI] Index of selected joystick (if multiple present).
BOOL ReadRegisterSettings()
[AI] Loads all settings from the registry if present, else selects appropriate default device/setting...
DWORD GetConditionalDeviceRenderBitDepth() const
[AI] Returns bit mask status for the conditional device-rendered bit depth, depending on current devi...
LegoDeviceEnumerate * m_device_enumerator
[AI] Enumerates all supported Direct3D and DirectSound devices, used for configuration panel....
int ExitInstance() override
[AI] Finalizes and cleans up resources before configuration application exit.
void WriteRegisterSettings() const
[AI] Saves current hardware/gameplay option selections to the registry under LEGO Island.
BOOL AdjustDisplayBitDepthBasedOnRenderStatus()
[AI] Adjusts display (screen) bit depth according to the device's rendering capabilities and configur...
BOOL ReadReg(LPCSTR p_key, LPCSTR p_value, DWORD p_size) const
[AI] Reads a string value from the registry under the LEGO Island key.
BOOL m_3d_sound
[AI] TRUE if 3D positional audio is enabled.
BOOL m_full_screen
[AI] TRUE for fullscreen Direct3D, FALSE for windowed.
int m_display_bit_depth
[AI] User-selected or optimal display (screen) bit depth (8/16/etc.).
BOOL m_run_config_dialog
[AI] Set to TRUE if the configuration dialog should run (otherwise will read reg & launch game).
[AI] Enumerates and manages Direct3D devices and drivers for the LEGO Island engine.
typedef DWORD(FAR PASCAL *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER lpDDClipper
[AI] Encapsulates Direct3D device enumeration information and capability structures.
[AI] Holds data about a DirectDraw driver including devices and supported display modes.