mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(component): add item displays member variable to CCharacterComponent
This commit is contained in:
parent
319ea1466e
commit
7482779b37
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user