11#define WM_ISLE_SETCURSOR 0x5400
16#define DS_NOT_A_STREAM -1
155void ConvertHSVToRGB(
float p_h,
float p_s,
float p_v,
float* p_rOut,
float* p_bOut,
float* p_gOut);
[AI] Represents a bounding sphere in 3D space with center and radius.
[AI] Handles playback and synchronization of animated LEGO objects, including variable substitution,...
[AI] Represents an entity that can be placed and managed in the LEGO Island world.
[AI] Associates a named string with a LegoTexture instance, allowing textures to be referenced symbol...
[AI] An actor that moves along a predefined path, supporting boundary transitions,...
[AI] Represents a Real-time Object Instance enriched with LEGO-specific functionality.
Abstract base class providing an interface for file-like storage with binary and text read/write oper...
[AI] Represents a node within a general, N-ary tree structure.
[AI] Atomized (unique) string identifier, managed by reference counting.
#define NULL
[AI] Null pointer value (C/C++ semantics).
void EnableAnimations(MxBool p_enable)
[AI] Enables or disables animation playback globally.
void InvokeAction(Extra::ActionType p_actionId, const MxAtomId &p_pAtom, MxS32 p_streamId, LegoEntity *p_sender)
[AI] Dispatches and triggers a game action on the given script or object.
MxBool RemoveFromWorld(MxAtomId &p_entityAtom, MxS32 p_entityId, MxAtomId &p_worldAtom, MxS32 p_worldEntityId)
[AI] Removes a game object referenced by atom/id from a specific world, handling presenters and EndAc...
LegoNamedTexture * ReadNamedTexture(LegoStorage *p_storage)
[AI] Reads a named texture and its associated image data from storage.
MxBool TransformWorldToScreen(const MxFloat p_world[3], MxFloat p_screen[4])
[AI] Projects a world-space point into normalized screen coordinates.
MxBool CheckIfEntityExists(MxBool p_enable, const char *p_filename, MxS32 p_entityId)
[AI] Parses a string for entity existence and enables/disables it accordingly.
MxBool RemoveFromCurrentWorld(const MxAtomId &p_atomId, MxS32 p_id)
[AI] Removes an entity or presenter with specified AtomId and ID from the current world; triggers End...
LegoROI * PickROI(MxLong p_x, MxLong p_y)
[AI] Picks the ROI (Renderable Object Instance) at screen coordinates.
MxBool FUN_1003ef60()
[AI] Determines if the current actor can exit their area, based on state/zone/vehicle.
LegoTreeNode * GetTreeNode(LegoTreeNode *p_node, MxU32 p_index)
[AI] Retrieves the nth node in tree traversal order (preorder) from a LegoTreeNode root.
MxS32 UpdateLightPosition(MxS32 p_increase)
[AI] Steps or resets the in-game light position; wraps and saves in global variables; updates lightin...
void FUN_1003eda0()
[AI] Updates sound listener position to follow the view ROI's transform.
void SetCameraControllerFromIsle()
[AI] Updates the current camera controller to the main ISLE camera specified in the global script.
void ConvertHSVToRGB(float p_h, float p_s, float p_v, float *p_rOut, float *p_bOut, float *p_gOut)
[AI] Converts HSV color (hue/saturation/value) to RGB (red/green/blue).
LegoEntity * PickEntity(MxLong p_x, MxLong p_y)
[AI] Picks the LEGO entity root at the given screen coordinates.
Extra::ActionType MatchActionString(const char *)
[AI] Parses an action string to determine the corresponding action type.
void PlayCamAnim(LegoPathActor *p_actor, MxBool p_unused, MxU32 p_location, MxBool p_bool)
[AI] Initiates a camera animation for a specific path actor, or falls back to default animation trigg...
void NotifyEntity(const char *p_filename, MxS32 p_entityId, LegoEntity *p_sender)
[AI] Sends a notification to the specified entity in all known worlds.
void SetAppCursor(Cursor p_cursor)
[AI] Sets the in-game cursor to a specified type.
void RotateY(LegoROI *p_roi, MxFloat p_angle)
[AI] Rotates the given ROI around the Y axis in world space.
LegoROI * PickRootROI(MxLong p_x, MxLong p_y)
[AI] Picks the root ROI at the given screen coordinates by traversing up the ROI parent tree.
void FUN_1003f930(LegoNamedTexture *p_namedTexture)
[AI] Applies the image bits of a named texture to its associated texture info container entry.
void StartIsleAction(IsleScript::Script p_objectId)
[AI] Helper to invoke a 'start' action for an Isle script object by its script ID.
MxS16 CountTotalTreeNodes(LegoTreeNode *p_node)
[AI] Recursively counts the number of nodes (including the root) in a tree hierarchy rooted at the sp...
void FUN_1003e050(LegoAnimPresenter *p_presenter)
[AI] Repositions the camera and updates the view matrix using a LegoAnimPresenter's animation nodes n...
MxBool SpheresIntersect(const BoundingSphere &p_sphere1, const BoundingSphere &p_sphere2)
[AI] Tests if two bounding spheres in the 3D world intersect.
Cursor
[AI] Enum representing cursor icons usable within the LEGO Island engine for custom cursor management...
@ e_cursorUnused3
[AI] Reserved slot. Not used. [AI]
@ e_cursorUnused5
[AI] Reserved slot. Not used. [AI]
@ e_cursorUnused7
[AI] Reserved slot. Not used. [AI]
@ e_cursorBusy
[AI] Busy or loading cursor (e.g., hourglass). [AI]
@ e_cursorNone
[AI] No cursor (invisible or hidden). [AI]
@ e_cursorUnused10
[AI] Reserved slot. Not used. [AI]
@ e_cursorUnused8
[AI] Reserved slot. Not used. [AI]
@ e_cursorArrow
[AI] Standard arrow cursor. [AI]
@ e_cursorUnused9
[AI] Reserved slot. Not used. [AI]
@ e_cursorUnused4
[AI] Reserved slot. Not used. [AI]
@ e_cursorUnused6
[AI] Reserved slot. Not used. [AI]
@ e_cursorNo
[AI] 'Not allowed' cursor. [AI]
void WriteDefaultTexture(LegoStorage *p_storage, const char *p_name)
[AI] Writes a default texture by name (and its image/palette) to storage for serialization.
void WriteNamedTexture(LegoStorage *p_storage, LegoNamedTexture *p_namedTexture)
[AI] Writes a LegoNamedTexture and its associated image to storage.
MxAtomId * g_isleScript
[AI] Node used in hierarchical scene graphs and animation trees. [AI]
MxBool FUN_1003ded0(MxFloat p_param1[2], MxFloat p_param2[3], MxFloat p_param3[3])
[AI] Calculates a ray starting at a screen location and outputs its world origin and direction.
void SetLightPosition(MxS32 p_index)
[AI] Sets the world space position and direction of the in-game directional light,...