Refactor LegoOmni into LegoMain/Scripts (#883)

* Refactor LegoOmni into LegoMain/Scripts

* Fix guard
This commit is contained in:
Christian Semmler
2024-05-04 08:06:32 -04:00
committed by GitHub
parent 6382347f73
commit 1b1d2ecde6
46 changed files with 301 additions and 281 deletions

View File

@@ -7,8 +7,8 @@
#include "legoanimpresenter.h"
#include "legogamestate.h"
#include "legoinputmanager.h"
#include "legomain.h"
#include "legonamedtexture.h"
#include "legoomni.h"
#include "legosoundmanager.h"
#include "legovideomanager.h"
#include "legoworld.h"
@@ -23,11 +23,25 @@
#include "mxutilities.h"
#include "mxvariabletable.h"
#include "realtime/realtime.h"
#include "scripts.h"
#include <process.h>
#include <string.h>
#include <vec.h>
// FUNCTION: LEGO1 0x1003dd70
LegoROI* PickROI(MxLong p_a, MxLong p_b)
{
return (LegoROI*) VideoManager()->Get3DManager()->GetLego3DView()->Pick(p_a, p_b);
}
// STUB: LEGO1 0x1003ddc0
LegoEntity* PickEntity(MxLong, MxLong)
{
// TODO
return NULL;
}
// FUNCTION: LEGO1 0x1003df90
MxS16 CountTotalTreeNodes(LegoTreeNode* p_node)
{