From ba6633b9d1ab0f7a2d4bbbefd12e4bda87a68ae5 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 21 Mar 2024 20:28:50 -0400 Subject: [PATCH] Use MxS8 --- LEGO1/lego/legoomni/include/legocharacters.h | 4 +-- .../legoomni/src/common/legocharacters.cpp | 28 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legocharacters.h b/LEGO1/lego/legoomni/include/legocharacters.h index 62044f73..1db139dd 100644 --- a/LEGO1/lego/legoomni/include/legocharacters.h +++ b/LEGO1/lego/legoomni/include/legocharacters.h @@ -10,10 +10,10 @@ class LegoActor; struct LegoCharacterData { // SIZE 0x18 struct Part { - undefined* m_unk0x00; // 0x00 + MxS8* m_unk0x00; // 0x00 const char** m_unk0x04; // 0x04 undefined m_unk0x08; // 0x08 - undefined* m_unk0x0c; // 0x0c + MxS8* m_unk0x0c; // 0x0c const char** m_unk0x10; // 0x10 undefined m_unk0x14; // 0x14 }; diff --git a/LEGO1/lego/legoomni/src/common/legocharacters.cpp b/LEGO1/lego/legoomni/src/common/legocharacters.cpp index 41ae14b2..98179d78 100644 --- a/LEGO1/lego/legoomni/src/common/legocharacters.cpp +++ b/LEGO1/lego/legoomni/src/common/legocharacters.cpp @@ -4,44 +4,44 @@ DECOMP_SIZE_ASSERT(LegoCharacterData, 0x108) DECOMP_SIZE_ASSERT(LegoCharacterData::Part, 0x18) // GLOBAL: LEGO1 0x100da778 -undefined g_unk0x100da778[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -1}; +MxS8 g_unk0x100da778[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -1}; // GLOBAL: LEGO1 0x100da790 -undefined g_unk0x100da790[] = {21, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -1}; +MxS8 g_unk0x100da790[] = {21, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -1}; // GLOBAL: LEGO1 0x100da7a8 -undefined g_unk0x100da7a8[] = {22, -1}; +MxS8 g_unk0x100da7a8[] = {22, -1}; // GLOBAL: LEGO1 0x100da7ac -undefined g_unk0x100da7ac[] = {20, -1}; +MxS8 g_unk0x100da7ac[] = {20, -1}; // GLOBAL: LEGO1 0x100da7b0 -undefined g_unk0x100da7b0[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da7b0[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da7c0 -undefined g_unk0x100da7c0[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da7c0[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da7d0 -undefined g_unk0x100da7d0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1}; +MxS8 g_unk0x100da7d0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1}; // GLOBAL: LEGO1 0x100da7e0 -undefined g_unk0x100da7e0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, -1}; +MxS8 g_unk0x100da7e0[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, -1}; // GLOBAL: LEGO1 0x100da800 -undefined g_unk0x100da800[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da800[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da810 -undefined g_unk0x100da810[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da810[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da820 -undefined g_unk0x100da820[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da820[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da830 -undefined g_unk0x100da830[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da830[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100da840 -undefined g_unk0x100da840[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; +MxS8 g_unk0x100da840[] = {0, 1, 2, 3, 4, 5, 6, 7, -1}; // GLOBAL: LEGO1 0x100f7f78 const char* g_unk0x100f7f78[] = {"baseball", "chef", "cap", "cophat", "helmet", "ponytail", "pageboy", "shrthair",