mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
implement SetSkyColor (doesn't match)
This commit is contained in:
parent
5c0883e0d5
commit
799eebc5e9
@ -54,6 +54,18 @@ MxResult MxPalette::GetEntries(LPPALETTEENTRY p_entries)
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100bf2d0
|
||||
MxResult MxPalette::SetSkyColor(LPPALETTEENTRY p_entries)
|
||||
{
|
||||
// FIXME: doesnt match
|
||||
MxResult ret = SUCCESS;
|
||||
this->m_entries[0x8d].peRed = p_entries->peRed;
|
||||
this->m_entries[0x8d].peGreen = p_entries->peGreen;
|
||||
this->m_entries[0x8d].peBlue = p_entries->peBlue;
|
||||
this->m_skyColor = this->m_entries[0x8d];
|
||||
return ret;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100bf420
|
||||
void MxPalette::GetDefaultPalette(LPPALETTEENTRY p_entries)
|
||||
{
|
||||
|
||||
@ -21,7 +21,7 @@ class MxPalette : public MxCore
|
||||
MxPalette* Clone();
|
||||
void GetDefaultPalette(LPPALETTEENTRY p_entries);
|
||||
MxResult GetEntries(LPPALETTEENTRY p_entries);
|
||||
|
||||
MxResult SetSkyColor(LPPALETTEENTRY p_entries);
|
||||
private:
|
||||
LPDIRECTDRAWPALETTE m_palette;
|
||||
PALETTEENTRY m_entries[256];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user