summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_pirate_flag.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-29 15:45:57 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-29 16:34:55 -0400
commitbae595b973fd48b2c6606371ac577cbbccb7a9fb (patch)
tree939f388f0dbd380db1045a7a4d8954cf43db2c33 /src/d/actor/d_a_pirate_flag.cpp
parent5ac87a68855cbb4c9f5c3ab0095b2d969e4cd5de (diff)
Update all code to use the new enum formats
Diffstat (limited to 'src/d/actor/d_a_pirate_flag.cpp')
-rw-r--r--src/d/actor/d_a_pirate_flag.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_pirate_flag.cpp b/src/d/actor/d_a_pirate_flag.cpp
index 6ee62505..baec29ad 100644
--- a/src/d/actor/d_a_pirate_flag.cpp
+++ b/src/d/actor/d_a_pirate_flag.cpp
@@ -5,8 +5,8 @@
#include "d/dolzel_rel.h" // IWYU pragma: keep
#include "d/actor/d_a_pirate_flag.h"
-#include "d/res/res_kaizokusen.h"
-#include "d/res/res_cloth.h"
+#include "res/Object/Kaizokusen.h"
+#include "res/Object/Cloth.h"
#include "d/actor/d_a_obj_pirateship.h"
#include "d/d_kankyo_wether.h"
@@ -240,7 +240,7 @@ void daPirate_Flag_packet_c::draw() {
GXSetArray(GX_VA_TEX0, l_texCoord, sizeof(*l_texCoord));
GXTexObj texObj;
- ResTIMG* timg = static_cast<ResTIMG*>(dComIfG_getObjectRes("Kaizokusen", KAIZOKUSEN_INDEX_BTI_TXA_KAIZOKU_HATA));
+ ResTIMG* timg = static_cast<ResTIMG*>(dComIfG_getObjectRes("Kaizokusen", dRes_INDEX_KAIZOKUSEN_BTI_TXA_KAIZOKU_HATA_e));
GXInitTexObj(&texObj, (char*)timg + timg->imageOffset, timg->width, timg->height,
(GXTexFmt)timg->format, (GXTexWrapMode)timg->wrapS, (GXTexWrapMode)timg->wrapT,
(GXBool)(timg->mipmapCount > 1));
@@ -250,7 +250,7 @@ void daPirate_Flag_packet_c::draw() {
(GXAnisotropy)timg->maxAnisotropy);
GXLoadTexObj(&texObj, GX_TEXMAP0);
- timg = static_cast<ResTIMG*>(dComIfG_getObjectRes("Cloth", CLOTH_BTI_CLOTHTOON));
+ timg = static_cast<ResTIMG*>(dComIfG_getObjectRes("Cloth", dRes_INDEX_CLOTH_BTI_CLOTHTOON_e));
GXInitTexObj(&texObj, (char*)timg + timg->imageOffset, timg->width, timg->height,
(GXTexFmt)timg->format, (GXTexWrapMode)timg->wrapS, (GXTexWrapMode)timg->wrapT,
(GXBool)(timg->mipmapCount > 1));