From 99befafff26172467abd9b640601b80556368dfb Mon Sep 17 00:00:00 2001 From: Christian Semmler <mail@csemmler.com> Date: Wed, 22 Jan 2025 17:25:53 -0700 Subject: [PATCH] Remove `LegoEventNotificationParam` unit (#1372) --- CMakeLists.txt | 3 +-- LEGO1/lego/legoomni/src/control/legocontrolmanager.cpp | 1 + .../lego/legoomni/src/notify/legoeventnotificationparam.cpp | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 LEGO1/lego/legoomni/src/notify/legoeventnotificationparam.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 40a701fe..76bdb406 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -401,10 +401,9 @@ function(add_lego_libraries NAME) # We need to get rid of / refactor the below units into existing/other ones LEGO1/main.cpp LEGO1/lego/legoomni/src/entity/legolocations.cpp - LEGO1/lego/legoomni/src/notify/legoeventnotificationparam.cpp LEGO1/lego/legoomni/src/common/legoactors.cpp - LEGO1/define.cpp LEGO1/lego/legoomni/src/common/legoplants.cpp + LEGO1/define.cpp ) list(APPEND list_targets ${NAME}) diff --git a/LEGO1/lego/legoomni/src/control/legocontrolmanager.cpp b/LEGO1/lego/legoomni/src/control/legocontrolmanager.cpp index f54fb548..70578247 100644 --- a/LEGO1/lego/legoomni/src/control/legocontrolmanager.cpp +++ b/LEGO1/lego/legoomni/src/control/legocontrolmanager.cpp @@ -11,6 +11,7 @@ DECOMP_SIZE_ASSERT(LegoControlManager, 0x60) DECOMP_SIZE_ASSERT(LegoControlManagerNotificationParam, 0x2c) +DECOMP_SIZE_ASSERT(LegoEventNotificationParam, 0x20) // FUNCTION: LEGO1 0x10028520 LegoControlManager::LegoControlManager() diff --git a/LEGO1/lego/legoomni/src/notify/legoeventnotificationparam.cpp b/LEGO1/lego/legoomni/src/notify/legoeventnotificationparam.cpp deleted file mode 100644 index dd7b0fb5..00000000 --- a/LEGO1/lego/legoomni/src/notify/legoeventnotificationparam.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "legoeventnotificationparam.h" - -#include "decomp.h" - -DECOMP_SIZE_ASSERT(LegoEventNotificationParam, 0x20)