From 7cf85e6f063d7fa03951abec1cce91f6cca2605f Mon Sep 17 00:00:00 2001 From: Andrew Gutekanst Date: Sat, 14 Oct 2023 09:08:51 -0400 Subject: [PATCH] Add LegoMeterPresenter stub class (#206) --- CMakeLists.txt | 1 + LEGO1/legometerpresenter.cpp | 6 ++++++ LEGO1/legometerpresenter.h | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 LEGO1/legometerpresenter.cpp create mode 100644 LEGO1/legometerpresenter.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d83e879..ce8774aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ add_library(lego1 SHARED LEGO1/legojetski.cpp LEGO1/legoloadcachesoundpresenter.cpp LEGO1/legolocomotionanimpresenter.cpp + LEGO1/legometerpresenter.cpp LEGO1/legomodelpresenter.cpp LEGO1/legonavcontroller.cpp LEGO1/legoobjectfactory.cpp diff --git a/LEGO1/legometerpresenter.cpp b/LEGO1/legometerpresenter.cpp new file mode 100644 index 00000000..6fed7419 --- /dev/null +++ b/LEGO1/legometerpresenter.cpp @@ -0,0 +1,6 @@ +#include "legometerpresenter.h" + +#include "decomp.h" + +// Uncomment when member class variables are fleshed out. +// DECOMP_SIZE_ASSERT(LegoMeterPresenter, 0x94); // 0x1000a163 \ No newline at end of file diff --git a/LEGO1/legometerpresenter.h b/LEGO1/legometerpresenter.h new file mode 100644 index 00000000..6e5bae00 --- /dev/null +++ b/LEGO1/legometerpresenter.h @@ -0,0 +1,14 @@ +#ifndef LEGOMETERPRESENTER_H +#define LEGOMETERPRESENTER_H + +#include "mxstillpresenter.h" + +// VTABLE 0x100d7ac8 +// SIZE 0x94 (from 0x1000a163) +class LegoMeterPresenter : public MxStillPresenter +{ +public: + // MxStillPresenter's `::ClassName` and `::IsA` are used. +}; + +#endif // LEGOMETERPRESENTER_H