mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(component): add s_itemPriority
This commit is contained in:
parent
46ba86227b
commit
319ea1466e
@ -33,6 +33,24 @@ CompSectionInfo CCharacterComponent::s_sectionInfoRaw[] = {
|
||||
{ 0, 384, 256, 128 }, // SECTION_HEAD_LOWER
|
||||
};
|
||||
|
||||
/**
|
||||
* Texture priorities for each item slot and component section.
|
||||
*/
|
||||
int32_t s_itemPriority[NUM_ITEM_SLOT][NUM_COMPONENT_SECTIONS] = {
|
||||
{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // ITEMSLOT_0
|
||||
{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, // ITEMSLOT_1
|
||||
{ 0, 0, -1, 0, 0, -1, -1, -1, -1, -1 }, // ITEMSLOT_2
|
||||
{ 1, 1, -1, 1, 1, 1, 1, -1, -1, -1 }, // ITEMSLOT_3
|
||||
{ -1, -1, -1, -1, 5, 2, -1, -1, -1, -1 }, // ITEMSLOT_4
|
||||
{ -1, -1, -1, -1, -1, 0, 0, -1, -1, -1 }, // ITEMSLOT_5
|
||||
{ -1, -1, -1, -1, -1, -1, 2, 0, -1, -1 }, // ITEMSLOT_6
|
||||
{ -1, 2, -1, -1, -1, -1, -1, -1, -1, -1 }, // ITEMSLOT_7
|
||||
{ -1, 3, 0, -1, -1, -1, -1, -1, -1, -1 }, // ITEMSLOT_8
|
||||
{ -1, -1, -1, 4, 4, -1, -1, -1, -1, -1 }, // ITEMSLOT_9
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, // ITEMSLOT_10
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, // ITEMSLOT_11
|
||||
};
|
||||
|
||||
int32_t s_bInRenderPrep = 0;
|
||||
char* s_pathEnd;
|
||||
char s_path[STORM_MAX_PATH];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user