Isle
Loading...
Searching...
No Matches
legovariables.h
Go to the documentation of this file.
1#ifndef LEGOVARIABLES_H
2#define LEGOVARIABLES_H
3
4#include "mxvariable.h"
5
8extern const char* g_varJETSPEED;
9
12extern const char* g_varJETFUEL;
13
16extern const char* g_varDUNESPEED;
17
20extern const char* g_varDUNEFUEL;
21
24extern const char* g_varMOTOSPEED;
25
28extern const char* g_varMOTOFUEL;
29
32extern const char* g_varAMBULSPEED;
33
36extern const char* g_varAMBULFUEL;
37
40extern const char* g_varTOWSPEED;
41
44extern const char* g_varTOWFUEL;
45
48extern const char* g_varVISIBILITY;
49
52extern const char* g_varCAMERALOCATION;
53
56extern const char* g_varCURSOR;
57
60extern const char* g_varWHOAMI;
61
67public:
70
74 void SetValue(const char* p_value) override; // vtable+0x04
75};
76
82public:
85
88 void SetValue(const char* p_value) override; // vtable+0x04
89};
90
96class CursorVariable : public MxVariable {
97public:
100
103 void SetValue(const char* p_value) override; // vtable+0x04
104};
105
111public:
114
117 void SetValue(const char* p_value) override; // vtable+0x04
118};
119
120#endif // LEGOVARIABLES_H
[AI] Variable for updating camera location and POV (field of view/frustum settings) for navigation an...
Definition: legovariables.h:81
CameraLocationVariable()
[AI] Initializes the CameraLocationVariable and sets its key to g_varCAMERALOCATION....
Definition: legovariables.h:84
void SetValue(const char *p_value) override
[AI] Sets the value of this variable, updating the navigation controller and 3D manager with camera c...
[AI] Variable to represent game cursor (pointer) state.
Definition: legovariables.h:96
CursorVariable()
[AI] Initializes the CursorVariable and sets its key to g_varCURSOR. [AI]
Definition: legovariables.h:99
void SetValue(const char *p_value) override
[AI] Sets the value of this variable—actual implementation is a stub.
[AI] Represents a key-value variable as used in the variable table for the LEGO Island engine.
Definition: mxvariable.h:16
MxString m_key
[AI] The variable's key (name), always stored in uppercase.
Definition: mxvariable.h:77
[AI] Variable to trigger show/hide operations on in-game 3D objects (ROIs) by parsing visibility comm...
Definition: legovariables.h:66
VisibilityVariable()
[AI] Initializes the VisibilityVariable and sets its key to g_varVISIBILITY. [AI]
Definition: legovariables.h:69
void SetValue(const char *p_value) override
[AI] Sets the value of this variable and, if the value encodes a valid visibility instruction,...
[AI] Variable representing the current player's character, allowing the game to switch the active act...
WhoAmIVariable()
[AI] Initializes the WhoAmIVariable and sets its key to g_varWHOAMI. [AI]
void SetValue(const char *p_value) override
[AI] Sets the current player actor in the game state based on the specified character.
const char * g_varJETSPEED
[AI] Global variable key for the jet vehicle's speed.
const char * g_varAMBULSPEED
[AI] Global variable key for ambulance speed.
const char * g_varCURSOR
[AI] Global variable key for the cursor state.
const char * g_varMOTOSPEED
[AI] Global variable key for the motorcycle's speed.
const char * g_varVISIBILITY
[AI] Global variable key for controlling 3D object (ROI) visibility.
const char * g_varMOTOFUEL
[AI] Global variable key for the motorcycle's fuel value.
const char * g_varCAMERALOCATION
[AI] Global variable key for the camera location.
const char * g_varTOWFUEL
[AI] Global variable key for tow truck fuel.
const char * g_varDUNEFUEL
[AI] Global variable key for the dune vehicle's fuel.
const char * g_varWHOAMI
[AI] Global variable key representing the player character identity ("who am I").
const char * g_varJETFUEL
[AI] Global variable key for the jet vehicle's fuel amount.
const char * g_varAMBULFUEL
[AI] Global variable key for ambulance fuel.
const char * g_varTOWSPEED
[AI] Global variable key for tow truck speed.
const char * g_varDUNESPEED
[AI] Global variable key for the dune vehicle's speed.