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