mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
a29c0aca3f
* Implement/match LegoOmni::Create * Fix var * Rename * Fix style
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
#ifndef LEGOVARIABLES_H
|
|
#define LEGOVARIABLES_H
|
|
|
|
#include "mxvariable.h"
|
|
|
|
extern const char* g_varVISIBILITY;
|
|
extern const char* g_varCAMERALOCATION;
|
|
extern const char* g_varCURSOR;
|
|
extern const char* g_varWHOAMI;
|
|
|
|
// VTABLE: LEGO1 0x100d86c8
|
|
// SIZE 0x24
|
|
class VisibilityVariable : public MxVariable {
|
|
public:
|
|
VisibilityVariable() { m_key = g_varVISIBILITY; }
|
|
|
|
void SetValue(const char* p_value) override; // vtable+0x04
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d86b8
|
|
// SIZE 0x24
|
|
class CameraLocationVariable : public MxVariable {
|
|
public:
|
|
CameraLocationVariable() { m_key = g_varCAMERALOCATION; }
|
|
|
|
void SetValue(const char* p_value) override; // vtable+0x04
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d86a8
|
|
// SIZE 0x24
|
|
class CursorVariable : public MxVariable {
|
|
public:
|
|
CursorVariable() { m_key = g_varCURSOR; }
|
|
|
|
void SetValue(const char* p_value) override; // vtable+0x04
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d8698
|
|
// SIZE 0x24
|
|
class WhoAmIVariable : public MxVariable {
|
|
public:
|
|
WhoAmIVariable() { m_key = g_varWHOAMI; }
|
|
|
|
void SetValue(const char* p_value) override; // vtable+0x04
|
|
};
|
|
|
|
#endif // LEGOVARIABLES_H
|