mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-30 00:42:24 -04:00
Update all code to use the new enum formats
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
||||
#include "d/actor/d_a_boko.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/res/res_boko.h"
|
||||
#include "d/res/res_nata.h"
|
||||
#include "d/res/res_club.h"
|
||||
#include "d/res/res_tkwn.h"
|
||||
#include "d/res/res_spear.h"
|
||||
#include "d/res/res_pgsw.h"
|
||||
#include "res/Object/Boko.h"
|
||||
#include "res/Object/Nata.h"
|
||||
#include "res/Object/Club.h"
|
||||
#include "res/Object/Tkwn.h"
|
||||
#include "res/Object/Spear.h"
|
||||
#include "res/Object/Pgsw.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_bg_s_lin_chk.h"
|
||||
#include "d/d_s_play.h"
|
||||
@@ -845,7 +845,7 @@ static BOOL daBoko_createHeap(fopAc_ac_c* i_this) {
|
||||
|
||||
/* 00002AE8-00002CFC .text createHeap__8daBoko_cFv */
|
||||
BOOL daBoko_c::createHeap() {
|
||||
static const int model_idx[] = {BOKO_BDL_BOKO, NATA_BDL_BK_NATA, CLUB_BDL_ST_BUKI, TKWN_BDL_TN_KEN1, SPEAR_BDL_MO_YARI, PGSW_BDL_BPG_KEN1};
|
||||
static const int model_idx[] = {dRes_INDEX_BOKO_BDL_BOKO_e, dRes_INDEX_NATA_BDL_BK_NATA_e, dRes_INDEX_CLUB_BDL_ST_BUKI_e, dRes_INDEX_TKWN_BDL_TN_KEN1_e, dRes_INDEX_SPEAR_BDL_MO_YARI_e, dRes_INDEX_PGSW_BDL_BPG_KEN1_e};
|
||||
|
||||
u32 type = fopAcM_GetParam(this);
|
||||
if (type >= Type_COUNT_e) {
|
||||
@@ -874,7 +874,7 @@ BOOL daBoko_c::createHeap() {
|
||||
} else if (type == 5 &&
|
||||
!mBrkAnm.init(
|
||||
modelData,
|
||||
static_cast<J3DAnmTevRegKey*>(dComIfG_getObjectRes("Pgsw", PGSW_BRK_KIERU_KEN1)),
|
||||
static_cast<J3DAnmTevRegKey*>(dComIfG_getObjectRes("Pgsw", dRes_INDEX_PGSW_BRK_KIERU_KEN1_e)),
|
||||
true, J3DFrameCtrl::EMode_NONE
|
||||
))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user