mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Fix
This commit is contained in:
parent
4f2f2c16af
commit
21bf9170fc
@ -63,8 +63,8 @@ LegoResult LegoLOD::Read(Tgl::Renderer* p_renderer, LegoTextureContainer* p_text
|
|||||||
LegoBool und = FALSE;
|
LegoBool und = FALSE;
|
||||||
|
|
||||||
LegoU32 i, meshUnd1, meshUnd2, tempNumVertsAndNormals;
|
LegoU32 i, meshUnd1, meshUnd2, tempNumVertsAndNormals;
|
||||||
Tgl::PaletteEntry paletteEntries[256];
|
|
||||||
Tgl::ShadingModel shadingModel;
|
Tgl::ShadingModel shadingModel;
|
||||||
|
unsigned char paletteEntries[256];
|
||||||
|
|
||||||
if (p_storage->Read(&m_unk0x08, sizeof(m_unk0x08)) != SUCCESS) {
|
if (p_storage->Read(&m_unk0x08, sizeof(m_unk0x08)) != SUCCESS) {
|
||||||
goto done;
|
goto done;
|
||||||
|
|||||||
@ -394,7 +394,7 @@ LegoBool LegoROI::ColorAliasLookup(const LegoChar* p_param, float& p_red, float&
|
|||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x100a9cf0
|
// STUB: LEGO1 0x100a9cf0
|
||||||
LegoBool LegoROI::FUN_100a9cf0(const LegoChar* p_param, Tgl::PaletteEntry* paletteEntries, LegoU32 p_numEntries)
|
LegoBool LegoROI::FUN_100a9cf0(const LegoChar* p_param, unsigned char* paletteEntries, LegoU32 p_numEntries)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
@ -46,7 +46,7 @@ class LegoROI : public ViewROI {
|
|||||||
float& p_blue,
|
float& p_blue,
|
||||||
float& p_alpha
|
float& p_alpha
|
||||||
);
|
);
|
||||||
static LegoBool FUN_100a9cf0(const LegoChar* p_param, Tgl::PaletteEntry* paletteEntries, LegoU32 p_numEntries);
|
static LegoBool FUN_100a9cf0(const LegoChar* p_param, unsigned char* paletteEntries, LegoU32 p_numEntries);
|
||||||
|
|
||||||
inline const LegoChar* GetName() const { return m_name; }
|
inline const LegoChar* GetName() const { return m_name; }
|
||||||
inline LegoEntity* GetEntity() { return m_entity; }
|
inline LegoEntity* GetEntity() { return m_entity; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user