From 2b5cad15232b8576b3c139d82713ed74f303777a Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Wed, 28 Jun 2023 19:26:51 -0400 Subject: [PATCH] MxPalette: give bob the builder his constructor --- LEGO1/mxpalette.cpp | 9 +++++++++ LEGO1/mxpalette.h | 1 + 2 files changed, 10 insertions(+) diff --git a/LEGO1/mxpalette.cpp b/LEGO1/mxpalette.cpp index b88e3d20..36f8be83 100644 --- a/LEGO1/mxpalette.cpp +++ b/LEGO1/mxpalette.cpp @@ -1,5 +1,14 @@ #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 MxResult MxPalette::GetEntries(LPPALETTEENTRY p_entries) { diff --git a/LEGO1/mxpalette.h b/LEGO1/mxpalette.h index 87f15e1e..48ee5500 100644 --- a/LEGO1/mxpalette.h +++ b/LEGO1/mxpalette.h @@ -13,6 +13,7 @@ public: __declspec(dllexport) unsigned char operator==(MxPalette &); __declspec(dllexport) void Detach(); + MxPalette(); MxResult GetEntries(LPPALETTEENTRY p_entries); private: