|
| | IsleApp () |
| | [AI] Constructor. More...
|
| |
| | ~IsleApp () |
| | [AI] Destructor. More...
|
| |
| void | Close () |
| | [AI] Gracefully closes down the LEGO Island game, including engine teardown and saving player progress. More...
|
| |
| BOOL | SetupLegoOmni () |
| | [AI] Initializes the core LEGO Island engine with the current settings and media path. More...
|
| |
| void | SetupVideoFlags (BOOL fullScreen, BOOL flipSurfaces, BOOL backBuffers, BOOL using8bit, BOOL using16bit, BOOL param_6, BOOL param_7, BOOL wideViewAngle, char *deviceId) |
| | [AI] Configures video mode and 3D device flags for rendering (fullscreen, backbuffers, bit depth, etc). More...
|
| |
| MxResult | SetupWindow (HINSTANCE hInstance, LPSTR lpCmdLine) |
| | [AI] Creates the application window, registers the window class, loads icons/cursors, and sets up video and config. More...
|
| |
| BOOL | ReadReg (LPCSTR name, LPSTR outValue, DWORD outSize) |
| | [AI] Reads a string value from the LEGO Island registry key under HKLM. More...
|
| |
| BOOL | ReadRegBool (LPCSTR name, BOOL *out) |
| | [AI] Reads a boolean (YES/NO string) value from registry. More...
|
| |
| BOOL | ReadRegInt (LPCSTR name, int *out) |
| | [AI] Reads an integer value from registry. More...
|
| |
| void | LoadConfig () |
| | [AI] Loads all configuration from the registry (disk path, CD path, sound, joystick, quality, etc) and applies defaults if necessary. More...
|
| |
| void | Tick (BOOL sleepIfNotNextFrame) |
| | [AI] Executes a single frame tick/update for the game, managing timing, engine state, initial/first load sequence, and background audio. More...
|
| |
| void | SetupCursor (WPARAM wParam) |
| | [AI] Sets the current mouse cursor based on application or game state. More...
|
| |
| void | SetWindowActive (BOOL p_windowActive) |
| | [AI] Sets application window active status (focus/active state). More...
|
| |
|
| HWND | GetWindowHandle () |
| | [AI] Returns the handle to the main application window. More...
|
| |
| MxLong | GetFrameDelta () |
| | [AI] Returns the current frame delta (milliseconds per game frame). More...
|
| |
| BOOL | GetFullScreen () |
| | [AI] Returns TRUE if the game is in fullscreen mode. More...
|
| |
| HCURSOR | GetCursorCurrent () |
| | [AI] Gets the HCURSOR currently active for the application. More...
|
| |
| HCURSOR | GetCursorBusy () |
| | [AI] Gets the HCURSOR representing the "busy" cursor. More...
|
| |
| HCURSOR | GetCursorNo () |
| | [AI] Gets the HCURSOR representing the "not allowed" cursor. More...
|
| |
| BOOL | GetDrawCursor () |
| | [AI] Returns TRUE if the application is drawing the custom cursor. More...
|
| |
[AI] Main application class for LEGO Island.
Manages the main game window and overall game flow, including resource paths, graphics, input, cursor state, registry settings, and config handling.
[AI] This class acts as the entry point of the LEGO Island game and handles initial setup, window creation, configuration loading, registry values, video settings, cursor handling, the primary update/tick loop, and communication with the underlying engine (LegoOmni and subsystems).
Definition at line 14 of file isleapp.h.
[AI] Gracefully closes down the LEGO Island game, including engine teardown and saving player progress.
[AI] Saves game state and player progress, triggers object destruction and world removal, handles queued input, and synchronizes shutdown with the data streamer.
Definition at line 149 of file isleapp.cpp.
| void IsleApp::LoadConfig |
( |
| ) |
|
[AI] Loads all configuration from the registry (disk path, CD path, sound, joystick, quality, etc) and applies defaults if necessary.
[AI] Also applies config to MxOmni global paths and fills out member variables for later use.
Definition at line 740 of file isleapp.cpp.