Isle
Loading...
Searching...
No Matches
legogamestate.cpp File Reference
#include "legogamestate.h"
#include "3dmanager/lego3dmanager.h"
#include "act2main_actions.h"
#include "act3_actions.h"
#include "ambulance.h"
#include "carrace.h"
#include "carrace_actions.h"
#include "carracer_actions.h"
#include "copter_actions.h"
#include "define.h"
#include "dunebuggy.h"
#include "dunecar_actions.h"
#include "elevbott_actions.h"
#include "garage_actions.h"
#include "helicopter.h"
#include "histbook_actions.h"
#include "hospital_actions.h"
#include "infocenter.h"
#include "infodoor_actions.h"
#include "infomain_actions.h"
#include "infoscor_actions.h"
#include "isle.h"
#include "isle_actions.h"
#include "islepathactor.h"
#include "jetrace_actions.h"
#include "jetracer_actions.h"
#include "jetski.h"
#include "jetski_actions.h"
#include "jetskirace.h"
#include "jukebox_actions.h"
#include "jukeboxw_actions.h"
#include "legoanimationmanager.h"
#include "legobuildingmanager.h"
#include "legocharactermanager.h"
#include "legomain.h"
#include "legonavcontroller.h"
#include "legoplantmanager.h"
#include "legostate.h"
#include "legoutils.h"
#include "legovideomanager.h"
#include "legoworld.h"
#include "misc.h"
#include "mxbackgroundaudiomanager.h"
#include "mxmisc.h"
#include "mxnotificationmanager.h"
#include "mxnotificationparam.h"
#include "mxobjectfactory.h"
#include "mxstring.h"
#include "mxutilities.h"
#include "mxvariabletable.h"
#include "pizza.h"
#include "police_actions.h"
#include "racecar.h"
#include "racecar_actions.h"
#include "regbook_actions.h"
#include "roi/legoroi.h"
#include "scripts.h"
#include "sndanim_actions.h"
#include "towtrack.h"
#include <assert.h>
#include <stdio.h>

Go to the source code of this file.

Functions

void LoadIsle ()
 
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_fileExtensionGS = ".GS"
 
const char * g_playersGSI = "Players.gsi"
 
const char * g_historyGSI = "History.gsi"
 
const char * g_endOfVariables = "END_OF_VARIABLES"
 
ColorStringStruct g_colorSaveData [43]
 
const char * g_delimiter = " \t"
 
const char * g_set = "set"
 
const char * g_reset = "reset"
 
const char * g_strEnable = "enable"
 
const char * g_strDisable = "disable"
 

Function Documentation

◆ LoadIsle()

void LoadIsle ( )
inline

Definition at line 834 of file legogamestate.cpp.

◆ 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_colorSaveData

ColorStringStruct g_colorSaveData[43]
Initial value:
= {
{"c_dbbkfny0", "lego red"}, {"c_dbbkxly0", "lego white"},
{"c_chbasey0", "lego black"}, {"c_chbacky0", "lego black"},
{"c_chdishy0", "lego white"}, {"c_chhorny0", "lego black"},
{"c_chljety1", "lego black"}, {"c_chrjety1", "lego black"},
{"c_chmidly0", "lego black"}, {"c_chmotry0", "lego blue"},
{"c_chsidly0", "lego black"}, {"c_chsidry0", "lego black"},
{"c_chstuty0", "lego black"}, {"c_chtaily0", "lego black"},
{"c_chwindy1", "lego black"}, {"c_dbfbrdy0", "lego red"},
{"c_dbflagy0", "lego yellow"}, {"c_dbfrfny4", "lego red"},
{"c_dbfrxly0", "lego white"}, {"c_dbhndly0", "lego white"},
{"c_dbltbry0", "lego white"}, {"c_jsdashy0", "lego white"},
{"c_jsexhy0", "lego black"}, {"c_jsfrnty5", "lego black"},
{"c_jshndly0", "lego red"}, {"c_jslsidy0", "lego black"},
{"c_jsrsidy0", "lego black"}, {"c_jsskiby0", "lego red"},
{"c_jswnshy5", "lego white"}, {"c_rcbacky6", "lego green"},
{"c_rcedgey0", "lego green"}, {"c_rcfrmey0", "lego red"},
{"c_rcfrnty6", "lego green"}, {"c_rcmotry0", "lego white"},
{"c_rcsidey0", "lego green"}, {"c_rcstery0", "lego white"},
{"c_rcstrpy0", "lego yellow"}, {"c_rctailya", "lego white"},
{"c_rcwhl1y0", "lego white"}, {"c_rcwhl2y0", "lego white"},
{"c_jsbasey0", "lego white"}, {"c_chblady0", "lego black"},
{"c_chseaty0", "lego white"},
}

Definition at line 95 of file legogamestate.cpp.

◆ g_delimiter

const char* g_delimiter = " \t"

Definition at line 126 of file legogamestate.cpp.

◆ g_endOfVariables

const char * g_endOfVariables = "END_OF_VARIABLES"

Definition at line 92 of file legogamestate.cpp.

◆ g_fileExtensionGS

const char* g_fileExtensionGS = ".GS"

Definition at line 75 of file legogamestate.cpp.

◆ g_historyGSI

const char* g_historyGSI = "History.gsi"

Definition at line 83 of file legogamestate.cpp.

◆ g_playersGSI

const char* g_playersGSI = "Players.gsi"

Definition at line 79 of file legogamestate.cpp.

◆ g_reset

const char* g_reset = "reset"

Definition at line 134 of file legogamestate.cpp.

◆ g_set

const char* g_set = "set"

Definition at line 130 of file legogamestate.cpp.

◆ g_strDisable

const char* g_strDisable = "disable"

Definition at line 142 of file legogamestate.cpp.

◆ g_strEnable

const char* g_strEnable = "enable"

Definition at line 138 of file legogamestate.cpp.