mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Move res enums in cpp files to include res headers instead
This commit is contained in:
@@ -14,6 +14,13 @@ static f64 dummy4[2] = {3.0, 0.5};
|
||||
static u8 dummy5[0x4C];
|
||||
|
||||
#include "d/actor/d_a_obj_movebox.h"
|
||||
#include "d/res/res_ecube.h"
|
||||
#include "d/res/res_hbox2.h"
|
||||
#include "d/res/res_hjump.h"
|
||||
#include "d/res/res_kkiba_00.h"
|
||||
#include "d/res/res_mmirror.h"
|
||||
#include "d/res/res_mpwrb.h"
|
||||
#include "d/res/res_osiblk.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
@@ -25,80 +32,6 @@ static u8 dummy5[0x4C];
|
||||
#include "d/actor/d_a_obj_mkie.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
|
||||
enum ECUBE_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
ECUBE_BDL_ECUBE=0x4,
|
||||
|
||||
/* DZB */
|
||||
ECUBE_DZB_ECUBE=0x7,
|
||||
};
|
||||
|
||||
enum HBOX2_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
HBOX2_BDL_HBOX2=0x4,
|
||||
|
||||
/* DZB */
|
||||
HBOX2_DZB_HBOX2=0x7,
|
||||
};
|
||||
|
||||
enum HJUMP_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
HJUMP_BDL_HBOX1=0x4,
|
||||
HJUMP_BDL_HJUMP1=0x5,
|
||||
HJUMP_BDL_HJUMP2=0x6,
|
||||
|
||||
/* DZB */
|
||||
HJUMP_DZB_HBOX1=0x9,
|
||||
HJUMP_DZB_HJUMP1A=0xA,
|
||||
HJUMP_DZB_HJUMP1B=0xB,
|
||||
HJUMP_DZB_HJUMP2=0xC,
|
||||
};
|
||||
|
||||
enum KKIBA_00_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
KKIBA_00_BDL_KKIBA_00=0x4,
|
||||
|
||||
/* DZB */
|
||||
KKIBA_00_DZB_KKIBA_00=0x7,
|
||||
};
|
||||
|
||||
enum MMIRROR_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BCK */
|
||||
MMIRROR_BCK_MSUSW=0x6,
|
||||
|
||||
/* BDLM */
|
||||
MMIRROR_BDL_MMRR=0x9,
|
||||
MMIRROR_BDL_MSUSW=0xA,
|
||||
MMIRROR_BDL_YSSMR00=0xB,
|
||||
|
||||
/* BTK */
|
||||
MMIRROR_BTK_MMRR=0xE,
|
||||
MMIRROR_BTK_MSUSW=0xF,
|
||||
MMIRROR_BTK_YSSMR00=0x10,
|
||||
|
||||
/* DZB */
|
||||
MMIRROR_DZB_MMRR=0x13,
|
||||
MMIRROR_DZB_MSUSW=0x14,
|
||||
};
|
||||
|
||||
enum MPWRB_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
MPWRB_BDL_MPWRB=0x4,
|
||||
|
||||
/* DZB */
|
||||
MPWRB_DZB_MPWRB=0x7,
|
||||
};
|
||||
|
||||
enum OSIBLK_RES_FILE_ID { // IDs and indexes are synced
|
||||
/* BDL */
|
||||
OSIBLK_BDL_OBM_OSIHIKIBLK1=0x4,
|
||||
OSIBLK_BDL_OBM_OSIHIKIBLK2=0x5,
|
||||
|
||||
/* DZB */
|
||||
OSIBLK_DZB_OBM_OSIHIKIBLK1=0x8,
|
||||
OSIBLK_DZB_OBM_OSIHIKIBLK2=0x9,
|
||||
};
|
||||
|
||||
namespace daObjMovebox {
|
||||
dBgS_ObjGndChk Bgc_c::M_gnd_work[23];
|
||||
dBgS_WtrChk Bgc_c::M_wrt_work;
|
||||
|
||||
Reference in New Issue
Block a user