From acc77a4e96153c1dd552d6ccdf31dba50b61c35c Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 21 Feb 2024 15:18:20 -0500 Subject: [PATCH] Add size asserts --- LEGO1/lego/legoomni/src/common/legovariables.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/LEGO1/lego/legoomni/src/common/legovariables.cpp b/LEGO1/lego/legoomni/src/common/legovariables.cpp index d19dc009..420aa91e 100644 --- a/LEGO1/lego/legoomni/src/common/legovariables.cpp +++ b/LEGO1/lego/legoomni/src/common/legovariables.cpp @@ -5,6 +5,12 @@ #include "legoplantmanager.h" #include "legounksavedatawriter.h" +DECOMP_SIZE_ASSERT(VisibilityVariable, 0x24) +DECOMP_SIZE_ASSERT(CameraLocationVariable, 0x24) +DECOMP_SIZE_ASSERT(CursorVariable, 0x24) +DECOMP_SIZE_ASSERT(WhoAmIVariable, 0x24) +DECOMP_SIZE_ASSERT(CustomizeAnimFileVariable, 0x24) + // GLOBAL: LEGO1 0x100f3a40 // STRING: LEGO1 0x100f3808 const char* g_varVISIBILITY = "VISIBILITY";