mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
0dc8dd641a
* LegoFullScreenMovie variable and related * Changes after review - Reduce scope on global strings - Size assert for LegoGameState (based on the constructor references only) - 1 -> TRUE for EnableFullScreenMovie
35 lines
615 B
C++
35 lines
615 B
C++
#ifndef MXVARIABLE_H
|
|
#define MXVARIABLE_H
|
|
|
|
#include "mxstring.h"
|
|
#include "mxcore.h"
|
|
|
|
// VTABLE 0x100d7498
|
|
// SIZE 0x24
|
|
class MxVariable
|
|
{
|
|
public:
|
|
MxVariable() {}
|
|
MxVariable(const char *p_key)
|
|
{
|
|
m_key = p_key;
|
|
m_key.ToUpperCase();
|
|
}
|
|
MxVariable(const char *p_key, const char *p_value)
|
|
{
|
|
m_key = p_key;
|
|
m_key.ToUpperCase();
|
|
m_value = p_value;
|
|
}
|
|
virtual MxString *GetValue();
|
|
virtual void SetValue(const char *);
|
|
virtual void Destroy();
|
|
|
|
inline const MxString *GetKey() const { return &m_key; }
|
|
|
|
protected:
|
|
MxString m_key;
|
|
MxString m_value;
|
|
};
|
|
|
|
#endif // MXVARIABLE_H
|