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

This commit is contained in:
fallenoak 2025-10-25 15:32:15 -05:00
parent 319ea1466e
commit 7482779b37
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

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();