From 7482779b374e31d6a2a61d3cdad77789e7fee8ab Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sat, 25 Oct 2025 15:32:15 -0500 Subject: [PATCH] feat(component): add item displays member variable to CCharacterComponent --- src/component/CCharacterComponent.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/component/CCharacterComponent.hpp b/src/component/CCharacterComponent.hpp index efa8fba..e0a43d7 100644 --- a/src/component/CCharacterComponent.hpp +++ b/src/component/CCharacterComponent.hpp @@ -59,6 +59,12 @@ struct CompSectionInfo { C2iVector size; }; +struct ComponentItemDisplay { + void* texture[7] = {}; + uint32_t displayID[7] = {}; + uint32_t priorityDirty = 0; +}; + class CCharacterComponent { public: // Static variables @@ -105,6 +111,7 @@ class CCharacterComponent { ComponentData m_data; HTEXTURE m_baseTexture = nullptr; void* m_texture[NUM_COMPONENT_VARIATIONS * 3] = {}; + ComponentItemDisplay m_itemDisplays[NUM_COMPONENT_SECTIONS] = {}; // Member functions void CreateBaseTexture();