continue rename

This commit is contained in:
coco875 2025-01-14 22:17:30 +01:00
parent b3ec33bc1f
commit acf87e2797
3 changed files with 656 additions and 683 deletions

View File

@ -145,14 +145,14 @@ typedef struct {
} Collision;
typedef struct {
/* 0x00 */ Vec3f unk_000;
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 unk_00C;
/* 0x10 */ u16 unk_010;
/* 0x12 */ u16 unk_012;
/* 0x14 */ f32 unk_014;
/* 0x12 */ u16 type;
/* 0x14 */ f32 surfaceType;
/* 0x18 */ f32 unk_018;
/* 0x1C */ s16 unk_01C;
/* 0x1E */ s16 unk_01E;
/* 0x1E */ s16 timer;
/* 0x20 */ s16 unk_020;
/* 0x22 */ s16 unk_022;
/* 0x24 */ f32 unk_024;
@ -380,6 +380,19 @@ typedef struct {
/* 0x0DD4 */ // s16 unk_DD4;
} Player; // size = 0xDD8
enum POOL_1_PARTICLE_TYPES {
NO_PARTICLE,
DRIFT_PARTICLE,
GROUND_PARTCLE,
POOL_1_PARTICLE_TYPE_3,
POOL_1_PARTICLE_TYPE_4,
POOL_1_PARTICLE_TYPE_5,
POOL_1_PARTICLE_TYPE_6,
POOL_1_PARTICLE_TYPE_7,
POOL_1_PARTICLE_TYPE_8,
POOL_1_PARTICLE_TYPE_9
};
typedef struct {
// Something related to time trial ghost data?
/* 0x00 */ s32 unk_00;

File diff suppressed because it is too large Load Diff

View File

@ -1465,8 +1465,8 @@ void apply_boo_sound_effect(Player* player, s8 arg1) {
for (temp_v1 = 0; temp_v1 < 10; ++temp_v1) {
player->playerPacticlePool0[temp_v1].unk_01C = 0;
player->playerPacticlePool0[temp_v1].unk_01E = 0;
player->playerPacticlePool0[temp_v1].unk_012 = 0;
player->playerPacticlePool0[temp_v1].timer = 0;
player->playerPacticlePool0[temp_v1].type = 0;
}
}
@ -1546,8 +1546,8 @@ void func_8008FD4C(Player* player, UNUSED s8 arg1) {
for (temp_v0 = 0; temp_v0 < 10; ++temp_v0) {
player->playerPacticlePool0[temp_v0].unk_01C = 0;
player->playerPacticlePool0[temp_v0].unk_01E = 0;
player->playerPacticlePool0[temp_v0].unk_012 = 0;
player->playerPacticlePool0[temp_v0].timer = 0;
player->playerPacticlePool0[temp_v0].type = 0;
}
}
@ -1556,8 +1556,8 @@ void func_8008FDA8(Player* player, UNUSED s8 arg1) {
player->unk_044 |= 0x200;
for (temp_v0 = 0; temp_v0 < 10; ++temp_v0) {
player->playerPacticlePool0[temp_v0].unk_01C = 0;
player->playerPacticlePool0[temp_v0].unk_01E = 0;
player->playerPacticlePool0[temp_v0].unk_012 = 0;
player->playerPacticlePool0[temp_v0].timer = 0;
player->playerPacticlePool0[temp_v0].type = 0;
}
}
@ -2022,30 +2022,30 @@ void func_800911B4(Player* player, s8 arg1) {
player->unk_078 = 0;
D_8018D920[arg1] = 0;
player->playerPacticlePool0[31].unk_012 = 0;
player->playerPacticlePool0[31].unk_01E = 0;
player->playerPacticlePool0[31].type = 0;
player->playerPacticlePool0[31].timer = 0;
player->playerPacticlePool0[31].unk_01C = 0;
player->playerPacticlePool0[30].unk_012 = 0;
player->playerPacticlePool0[30].unk_01E = 0;
player->playerPacticlePool0[30].type = 0;
player->playerPacticlePool0[30].timer = 0;
player->playerPacticlePool0[30].unk_01C = 0;
// clang-format off
temp_v0 = 2; do {
// clang-format on
player->playerPacticlePool0[31 + temp_v0].unk_01C = 0;
player->playerPacticlePool0[31 + temp_v0].unk_01E = 0;
player->playerPacticlePool0[31 + temp_v0].unk_012 = 0;
player->playerPacticlePool0[31 + temp_v0].timer = 0;
player->playerPacticlePool0[31 + temp_v0].type = 0;
player->playerPacticlePool0[32 + temp_v0].unk_01C = 0;
player->playerPacticlePool0[32 + temp_v0].unk_01E = 0;
player->playerPacticlePool0[32 + temp_v0].unk_012 = 0;
player->playerPacticlePool0[32 + temp_v0].timer = 0;
player->playerPacticlePool0[32 + temp_v0].type = 0;
player->playerPacticlePool0[33 + temp_v0].unk_01C = 0;
player->playerPacticlePool0[33 + temp_v0].unk_01E = 0;
player->playerPacticlePool0[33 + temp_v0].unk_012 = 0;
player->playerPacticlePool0[33 + temp_v0].timer = 0;
player->playerPacticlePool0[33 + temp_v0].type = 0;
temp_v0 += 4;
player->playerPacticlePool0[26 + temp_v0].unk_01C = 0;
player->playerPacticlePool0[26 + temp_v0].unk_01E = 0;
player->playerPacticlePool0[26 + temp_v0].unk_012 = 0;
player->playerPacticlePool0[26 + temp_v0].timer = 0;
player->playerPacticlePool0[26 + temp_v0].type = 0;
} while (temp_v0 < 10);
}