mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 03:01:17 +00:00
MxPalette - add missing member variables, Detach function
This commit is contained in:
parent
2d9af630ba
commit
21a4fe1375
@ -5,4 +5,10 @@ MxResult MxPalette::GetEntries(LPPALETTEENTRY p_entries)
|
||||
{
|
||||
memcpy(p_entries, this->m_entries, sizeof(this->m_entries));
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100bf330
|
||||
void MxPalette::Detach()
|
||||
{
|
||||
this->m_attached = NULL;
|
||||
}
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include <ddraw.h>
|
||||
|
||||
#include "mxbool.h"
|
||||
#include "mxcore.h"
|
||||
#include "mxresult.h"
|
||||
|
||||
@ -15,9 +16,11 @@ class MxPalette : public MxCore
|
||||
MxResult GetEntries(LPPALETTEENTRY p_entries);
|
||||
|
||||
private:
|
||||
LPDIRECTDRAWPALETTE m_pDirectDrawPalette;
|
||||
MxCore *m_attached;
|
||||
LPDIRECTDRAWPALETTE m_palette;
|
||||
PALETTEENTRY m_entries[256];
|
||||
// there's a bit more here
|
||||
MxBool m_overrideSkyColor;
|
||||
PALETTEENTRY m_skyColor;
|
||||
};
|
||||
|
||||
#endif // MXPALETTE_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user