mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 09:28:01 -05:00
24 lines
546 B
C++
24 lines
546 B
C++
|
#include "MxStringVariable.h"
|
||
|
#include "mxstring.h"
|
||
|
|
||
|
//FIXME: Figure out what exactly this class is used for. It is used in LegoGameState::LegoGameState when loading the background color, and for loading the "fsmovie" variable
|
||
|
// OFFSET: LEGO1 0x1003bec0
|
||
|
MxStringVariable::~MxStringVariable()
|
||
|
{
|
||
|
|
||
|
delete &m_string;
|
||
|
delete &m_name;
|
||
|
}
|
||
|
|
||
|
// OFFSET: LEGO1 0x1003bea0
|
||
|
MxString *MxStringVariable::GetString()
|
||
|
{
|
||
|
return &m_string;
|
||
|
}
|
||
|
|
||
|
// OFFSET: LEGO1 0x1003beb0
|
||
|
void MxStringVariable::SetString(const char *colorString)
|
||
|
{
|
||
|
m_string = colorString;
|
||
|
}
|