mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
lego1: MxVariableTable (#87)
* MxStringVariable -> MxVariable * cursor test * GetVariable to 100 * meh * node insert inline * move to header file * use reference to match available code * variable table init in mxomni, some reshuffling
This commit is contained in:
@@ -104,6 +104,15 @@ void MxOmni::SetInstance(MxOmni *instance)
|
||||
// OFFSET: LEGO1 0x100af0c0
|
||||
MxResult MxOmni::Create(MxOmniCreateParam &p)
|
||||
{
|
||||
if (p.CreateFlags().CreateVariableTable())
|
||||
{
|
||||
MxVariableTable *variableTable = new MxVariableTable();
|
||||
this->m_variableTable = variableTable;
|
||||
|
||||
if (variableTable == NULL)
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
if (p.CreateFlags().CreateTimer())
|
||||
{
|
||||
MxTimer *timer = new MxTimer();
|
||||
|
Reference in New Issue
Block a user