mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
7e9d3bde65
* Name substitution for reccmp asm output * Decomp marker corrections * Fix a few annotations * Fix IslePathActor dtor * Fix audio presenter * Fix LegoEntity::Create * Fix Pizza and related * Fix path part * Add missing annotations * Add missing annotations * Add more missing annotations * Fix MxNotificationParam * More fixes * More fixes * Add missing annotations * Fixes * More annotations * More annotations * More annotations * More annotations * Fixes and annotations * Find imports and thunk functions * Fix more bugs * Add some markers for LEGO1 imports, fix SIZE comment * Add more annotations * Rename annotation * Fix bugs and annotations * Fix bug * Order * Update legoanimpresenter.h * Re-enable print-rec-addr option --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
43 lines
836 B
C++
43 lines
836 B
C++
#ifndef MXVARIABLE_H
|
|
#define MXVARIABLE_H
|
|
|
|
#include "mxcore.h"
|
|
#include "mxstring.h"
|
|
|
|
// VTABLE: LEGO1 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;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1003bea0
|
|
virtual MxString* GetValue() { return &m_value; };
|
|
|
|
// FUNCTION: LEGO1 0x1003beb0
|
|
virtual void SetValue(const char* p_value) { m_value = p_value; };
|
|
|
|
// FUNCTION: LEGO1 0x1003bec0
|
|
virtual void Destroy() { delete this; };
|
|
|
|
inline const MxString* GetKey() const { return &m_key; }
|
|
|
|
protected:
|
|
MxString m_key; // 0x04
|
|
MxString m_value; // 0x14
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x1003bf40
|
|
// MxVariable::~MxVariable
|
|
|
|
#endif // MXVARIABLE_H
|