Isle
Loading...
Searching...
No Matches
legogamestate.h File Reference
#include "actionsfwd.h"
#include "decomp.h"
#include "mxtypes.h"
#include "mxvariable.h"
#include <string.h>
Include dependency graph for legogamestate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ColorStringStruct
 Key-value pair tying a ROI color key name to a LEGO color string. More...
 
class  LegoBackgroundColor
 Variable controlling the sky background color (HSV) and related light color in the game. More...
 
class  LegoFullScreenMovie
 Variable controlling full screen movie playback in the video manager. More...
 
class  LegoGameState
 Comprehensive persistent game state manager: handles save/load, player selection, area switching, and score history. More...
 
struct  LegoGameState::Username
 Player "username", stored as 7 short integers (character codes). More...
 
struct  LegoGameState::ScoreItem
 Single score record for a player, including high score grids for all major games. More...
 
struct  LegoGameState::History
 Collection of best scores for all recent plays/players (high score table). More...
 

Functions

MxBool ROIColorOverride (const char *p_input, char *p_output, MxU32 p_copyLen)
 Helper for ROI color override mechanism, mapping special part labels to variable table values. More...
 

Variables

const char * g_actorNames [7]
 Array of actor names indexed by actor ID. [AI]. More...
 

Function Documentation

◆ ROIColorOverride()

MxBool ROIColorOverride ( const char *  p_input,
char *  p_output,
MxU32  p_copyLen 
)

Helper for ROI color override mechanism, mapping special part labels to variable table values.

[AI] If a special "INDIR-F/G" label is passed, looks up its mapped color in the variable table.

Parameters
p_inputROI part name to resolve color for. [AI]
p_output(Output) Where the resolved color will be placed, if found. [AI]
p_copyLenMaximum number of characters to copy. [AI]
Returns
TRUE if override performed, else FALSE. [AI]

Definition at line 1069 of file legogamestate.cpp.

Variable Documentation

◆ g_actorNames

const char* g_actorNames[7]
extern

Array of actor names indexed by actor ID. [AI].

[AI]

Definition at line 13 of file legoactor.cpp.