mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Process profiles and enums cleanup (#1031)
* Fix some profile comments * Add missing static for local visibility data * Move proc name and draw priority enums to f_pc * Add _e suffix to daObjBarrier_c proc enum * Change proc name enum format to match TP * Change draw prio enum format to match TP * Change ItemNo enum format, finish fixing item names * Revert static for cb1 hio * Clean up formatting of profile comments * Fix comment alignment
This commit is contained in:
@@ -40,12 +40,12 @@ BOOL daItemBase_c::CreateItemHeap(const char* resName, s16 resIdx, s16 btkAnm1,
|
||||
}
|
||||
|
||||
switch (m_itemNo) {
|
||||
case dItem_ARROW_30_e:
|
||||
case dItemNo_ARROW_30_e:
|
||||
mpModelArrow[0] = mDoExt_J3DModel__create(modelData, 0x80000, 0x11000002);
|
||||
if (!mpModelArrow[0]) {
|
||||
return FALSE;
|
||||
}
|
||||
case dItem_ARROW_20_e:
|
||||
case dItemNo_ARROW_20_e:
|
||||
mpModelArrow[1] = mDoExt_J3DModel__create(modelData, 0x80000, 0x11000002);
|
||||
if (!mpModelArrow[1]) {
|
||||
return FALSE;
|
||||
@@ -165,7 +165,7 @@ void daItemBase_c::settingBeforeDraw() {
|
||||
mpModel->getModelData()->getJointNodePointer(0)->setMtxCalc(NULL);
|
||||
}
|
||||
|
||||
if (m_itemNo == dItem_BOMB_BAG_e || m_itemNo == dItem_SKULL_HAMMER_e || m_itemNo == dItem_SMALL_KEY_e) {
|
||||
if (m_itemNo == dItemNo_BOMB_BAG_e || m_itemNo == dItemNo_SKULL_HAMMER_e || m_itemNo == dItemNo_SMALL_KEY_e) {
|
||||
dDlst_texSpecmapST(&eyePos, &tevStr, mpModel->getModelData(), 1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user