feat(component): add item displays member variable to CCharacterComponent

This commit is contained in:
fallenoak committed 2025-10-25 15:32:15 -05:00
1 parent 319ea1466e
commit 7482779b37
1 file changed
+7
+7
View File
@@ -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();