mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
remove dependency on omni types
This commit is contained in:
parent
e5381af37e
commit
e9a27e0618
@ -7,7 +7,7 @@
|
|||||||
DECOMP_SIZE_ASSERT(ViewROI, 0xe4)
|
DECOMP_SIZE_ASSERT(ViewROI, 0xe4)
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x101013d8
|
// GLOBAL: LEGO1 0x101013d8
|
||||||
MxBool g_lightSupport = FALSE;
|
unsigned char g_lightSupport = FALSE;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100a9eb0
|
// FUNCTION: LEGO1 0x100a9eb0
|
||||||
float ViewROI::IntrinsicImportance() const
|
float ViewROI::IntrinsicImportance() const
|
||||||
@ -78,9 +78,9 @@ void ViewROI::VTable0x1c()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100aa500
|
// 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;
|
g_lightSupport = p_flag;
|
||||||
return oldFlag;
|
return oldFlag;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
#define VIEWROI_H
|
#define VIEWROI_H
|
||||||
|
|
||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
#include "omni/include/mxtypes.h"
|
|
||||||
#include "realtime/orientableroi.h"
|
#include "realtime/orientableroi.h"
|
||||||
#include "tgl/tgl.h"
|
#include "tgl/tgl.h"
|
||||||
#include "viewlodlist.h"
|
#include "viewlodlist.h"
|
||||||
@ -60,7 +59,7 @@ class ViewROI : public OrientableROI {
|
|||||||
int GetUnknown0xe0() { return m_unk0xe0; }
|
int GetUnknown0xe0() { return m_unk0xe0; }
|
||||||
void SetUnknown0xe0(int p_unk0xe0) { m_unk0xe0 = p_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:
|
protected:
|
||||||
void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28
|
void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user