MxPalette: give bob the builder his constructor

This commit is contained in:
Joshua Peisach
2023-06-28 19:26:51 -04:00
parent e9696eabe5
commit 2b5cad1523
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,14 @@
#include "mxpalette.h" #include "mxpalette.h"
// OFFSET: LEGO1 0x100bee30
MxPalette::MxPalette()
{
this->m_overrideSkyColor = FALSE;
this->m_attached = NULL;
// GetDefaultSkyPalette
// this->m_skyColor = whatever it is once i figure out how m_palette works
}
// OFFSET: LEGO1 0x100bf150 // OFFSET: LEGO1 0x100bf150
MxResult MxPalette::GetEntries(LPPALETTEENTRY p_entries) MxResult MxPalette::GetEntries(LPPALETTEENTRY p_entries)
{ {

View File

@@ -13,6 +13,7 @@ public:
__declspec(dllexport) unsigned char operator==(MxPalette &); __declspec(dllexport) unsigned char operator==(MxPalette &);
__declspec(dllexport) void Detach(); __declspec(dllexport) void Detach();
MxPalette();
MxResult GetEntries(LPPALETTEENTRY p_entries); MxResult GetEntries(LPPALETTEENTRY p_entries);
private: private: