remove dependency on omni types

This commit is contained in:
Erik Schulze 2025-05-19 21:17:19 +02:00
parent e5381af37e
commit e9a27e0618
2 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@
DECOMP_SIZE_ASSERT(ViewROI, 0xe4)
// GLOBAL: LEGO1 0x101013d8
MxBool g_lightSupport = FALSE;
unsigned char g_lightSupport = FALSE;
// FUNCTION: LEGO1 0x100a9eb0
float ViewROI::IntrinsicImportance() const
@ -78,9 +78,9 @@ void ViewROI::VTable0x1c()
}
// FUNCTION: LEGO1 0x100aa500
MxBool ViewROI::SetLightSupport(MxBool p_flag)
unsigned char ViewROI::SetLightSupport(unsigned char p_flag)
{
MxBool oldFlag = g_lightSupport;
unsigned char oldFlag = g_lightSupport;
g_lightSupport = p_flag;
return oldFlag;
}

View File

@ -2,7 +2,6 @@
#define VIEWROI_H
#include "decomp.h"
#include "omni/include/mxtypes.h"
#include "realtime/orientableroi.h"
#include "tgl/tgl.h"
#include "viewlodlist.h"
@ -60,7 +59,7 @@ class ViewROI : public OrientableROI {
int GetUnknown0xe0() { return m_unk0xe0; }
void SetUnknown0xe0(int p_unk0xe0) { m_unk0xe0 = p_unk0xe0; }
static MxBool SetLightSupport(MxBool p_flag);
static unsigned char SetLightSupport(unsigned char p_flag);
protected:
void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28