105 void Tick(
BOOL sleepIfNotNextFrame);
164 BOOL m_backBuffersInVram;
172 BOOL m_wideViewAngle;
181 HCURSOR m_cursorArrow;
182 HCURSOR m_cursorBusy;
184 HCURSOR m_cursorCurrent;
[AI] Main application class for LEGO Island.
void Tick(BOOL sleepIfNotNextFrame)
[AI] Executes a single frame tick/update for the game, managing timing, engine state,...
MxResult SetupWindow(HINSTANCE hInstance, LPSTR lpCmdLine)
[AI] Creates the application window, registers the window class, loads icons/cursors,...
HCURSOR GetCursorCurrent()
[AI] Gets the HCURSOR currently active for the application.
void SetupCursor(WPARAM wParam)
[AI] Sets the current mouse cursor based on application or game state.
void LoadConfig()
[AI] Loads all configuration from the registry (disk path, CD path, sound, joystick,...
BOOL GetDrawCursor()
[AI] Returns TRUE if the application is drawing the custom cursor.
void SetWindowActive(BOOL p_windowActive)
[AI] Sets application window active status (focus/active state).
BOOL ReadRegBool(LPCSTR name, BOOL *out)
[AI] Reads a boolean (YES/NO string) value from registry.
BOOL SetupLegoOmni()
[AI] Initializes the core LEGO Island engine with the current settings and media path.
MxLong GetFrameDelta()
[AI] Returns the current frame delta (milliseconds per game frame).
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,...
HCURSOR GetCursorNo()
[AI] Gets the HCURSOR representing the "not allowed" cursor.
~IsleApp()
[AI] Destructor.
BOOL GetFullScreen()
[AI] Returns TRUE if the game is in fullscreen mode.
void Close()
[AI] Gracefully closes down the LEGO Island game, including engine teardown and saving player progres...
IsleApp()
[AI] Constructor.
HCURSOR GetCursorBusy()
[AI] Gets the HCURSOR representing the "busy" cursor.
HWND GetWindowHandle()
[AI] Returns the handle to the main application window.
BOOL ReadReg(LPCSTR name, LPSTR outValue, DWORD outSize)
[AI] Reads a string value from the LEGO Island registry key under HKLM.
BOOL ReadRegInt(LPCSTR name, int *out)
[AI] Reads an integer value from registry.
[AI] Video parameter configuration for display and rendering, encapsulates resolution,...
typedef DWORD(FAR PASCAL *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER lpDDClipper