summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_movebox.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-23 14:15:57 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-23 14:15:57 -0400
commit12c8b6fcc72861a75656a5095b254c11d13505c0 (patch)
treee9948f96acd5daff69742d73178a4e9b0d6b3997 /src/d/actor/d_a_obj_movebox.cpp
parent623da9fa42c78685b3d8819e6ae3f3ba648761cc (diff)
Move res enums in cpp files to include res headers instead
Diffstat (limited to 'src/d/actor/d_a_obj_movebox.cpp')
-rw-r--r--src/d/actor/d_a_obj_movebox.cpp81
1 files changed, 7 insertions, 74 deletions
diff --git a/src/d/actor/d_a_obj_movebox.cpp b/src/d/actor/d_a_obj_movebox.cpp
index ad495a4f..39f3fc1c 100644
--- a/src/d/actor/d_a_obj_movebox.cpp
+++ b/src/d/actor/d_a_obj_movebox.cpp
@@ -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;