mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
761b120aee
* CustomizeAnimFile MxVariable * Fixes * Remove returns * Add size asserts --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
56 lines
1.3 KiB
C++
56 lines
1.3 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
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100da878
|
|
// SIZE 0x24
|
|
class CustomizeAnimFileVariable : public MxVariable {
|
|
public:
|
|
CustomizeAnimFileVariable(const char* p_key);
|
|
|
|
void SetValue(const char* p_value) override; // vtable+0x04
|
|
};
|
|
|
|
#endif // LEGOVARIABLES_H
|