isle/LEGO1/mxstringvariable.cpp

24 lines
546 B
C++
Raw Normal View History

2023-06-28 11:15:42 -04:00
#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
2023-06-28 11:15:42 -04:00
// OFFSET: LEGO1 0x1003bec0
MxStringVariable::~MxStringVariable()
{
delete &m_string;
2023-06-28 11:15:42 -04:00
delete &m_name;
}
// OFFSET: LEGO1 0x1003bea0
MxString *MxStringVariable::GetString()
2023-06-28 11:15:42 -04:00
{
return &m_string;
2023-06-28 11:15:42 -04:00
}
// OFFSET: LEGO1 0x1003beb0
void MxStringVariable::SetString(const char *colorString)
2023-06-28 11:15:42 -04:00
{
m_string = colorString;
2023-06-28 11:15:42 -04:00
}