use enums for file indexes in a few more actors

This commit is contained in:
LagoLunatic
2023-12-18 19:55:24 -05:00
parent 457a32d3b8
commit 2498d687eb
6 changed files with 83 additions and 19 deletions
+3 -1
View File
@@ -10,6 +10,9 @@ class dKy_tevstr_c;
class dCloth_packet_c : public J3DPacket {
public:
typedef dCloth_packet_c* (*CreateFunc)(ResTIMG*, ResTIMG*, dKy_tevstr_c*, cXyz**);
typedef int (*FactorCheck)(dCloth_packet_c*, int, int);
dCloth_packet_c(ResTIMG*, int, int, float, float, dKy_tevstr_c*, cXyz**);
~dCloth_packet_c();
virtual void init();
@@ -27,7 +30,6 @@ public:
void setScale(cXyz scale) { mScale = scale; }
void setMtx(Mtx mtx);
typedef int (*FactorCheck)(dCloth_packet_c*, int, int);
void setFactorCheckCB(FactorCheck cb) { mpFactorCheckCB = cb; }
void setWindPower(f32 wind, f32 windWave) {
mWindSpeed = wind;
+5
View File
@@ -175,6 +175,11 @@ enum ALWAYS_RES_FILE_ID { // IDs and indexes are synced
ALWAYS_BTI_UMIPT=0x8E,
};
enum CLOTH_RES_FILE_ID { // IDs and indexes are synced
/* TEX */
CLOTH_BTI_CLOTHTOON=0x3,
};
class __d_timer_info_c {
public:
__d_timer_info_c() {
+1 -1
View File
@@ -274,7 +274,7 @@ struct dItem_data_item_resource {
/* 0x14 */ s8 mTevFrm; // If specified, keep the BRK animation on this frame.
/* 0x16 */ s16 mItemMesgNum; // Message containing this item's name
/* 0x18 */ u32 mUnused; // Always 0, doesn't seem to be read
/* 0x1C */ u32 mUnknown; // Varies between items, but doesn't seem to be read
/* 0x1C */ u32 mUnknown; // Varies between items, but doesn't seem to be read. Resembles a differed dlist flag.
/* 0x20 */ u16 mHeapSize;
};