isle/LEGO1/mxvariable.cpp
MS 0dc8dd641a
MxVariable subclass for fsmovie setting (#147)
* 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
2023-09-29 16:38:08 -04:00

23 lines
361 B
C++

#include "mxvariable.h"
#include "mxstring.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(MxVariable, 0x24)
// OFFSET: LEGO1 0x1003bea0
MxString *MxVariable::GetValue()
{
return &m_value;
}
// OFFSET: LEGO1 0x1003beb0
void MxVariable::SetValue(const char *value)
{
m_value = value;
}
// OFFSET: LEGO1 0x1003bec0
void MxVariable::Destroy()
{
delete this;
}