Labeling particle related code (#719)

* Labeling particle related code

* More labeling. Naming pass on what was labeled last commit

* Stick X clamped with deadzone

* Renaming TyreParticle to Particle

* Matching coco's names and renaming some already labeled to keep style consistent

* Minor extra particle labeling

* Small extra labeling. Restoring some removed newlines

* One last newline adjustment

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
ZackWeinstein
2025-06-21 14:59:32 -04:00
committed by GitHub
parent 184f5939f2
commit d6076b5cb7
9 changed files with 1447 additions and 1445 deletions
+13 -13
View File
@@ -145,15 +145,15 @@ typedef struct {
} Collision;
typedef struct {
/* 0x00 */ Vec3f unk_000;
/* 0x0C */ f32 unk_00C;
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 scale;
/* 0x10 */ u16 unk_010;
/* 0x12 */ u16 unk_012;
/* 0x12 */ u16 type;
/* 0x14 */ f32 unk_014;
/* 0x18 */ f32 unk_018;
/* 0x1C */ s16 unk_01C;
/* 0x1E */ s16 unk_01E;
/* 0x20 */ s16 unk_020;
/* 0x1C */ s16 IsAlive;
/* 0x1E */ s16 timer;
/* 0x20 */ s16 rotation;
/* 0x22 */ s16 unk_022;
/* 0x24 */ f32 unk_024;
/* 0x28 */ f32 unk_028;
@@ -163,15 +163,15 @@ typedef struct {
/* 0x32 */ s16 unk_032;
/* 0x34 */ s16 unk_034;
/* 0x36 */ s16 unk_036;
/* 0x38 */ s16 unk_038;
/* 0x3A */ s16 unk_03A;
/* 0x3C */ s16 unk_03C;
/* 0x3E */ s16 unk_03E;
/* 0x38 */ s16 red;
/* 0x3A */ s16 green;
/* 0x3C */ s16 blue;
/* 0x3E */ s16 alpha;
/* 0x40 */ s16 unk_040;
/* 0x42 */ s16 unk_042;
/* 0x44 */ s16 unk_044;
/* 0x46 */ s16 unk_046;
} UnkPlayerStruct258; // size = 0x48
} Particle; // size = 0x48
// This struct is almost identical to the GBI Vtx_t type,
// except that its missing the "flag" member.
@@ -340,7 +340,7 @@ typedef struct {
/* 0x0222 */ s16 unk_222;
/* 0x0224 */ f32 size;
/* 0x0228 */ s16 unk_228;
/* 0x022A */ s16 unk_22A;
/* 0x022A */ s16 driftState;
/* 0x022C */ f32 previousSpeed;
/* 0x0230 */ f32 unk_230;
/* 0x0234 */ s16 unk_234;
@@ -353,7 +353,7 @@ typedef struct {
/* 0x024C */ u16 animGroupSelector[4];
/* 0x0254 */ u16 characterId;
/* 0x0256 */ u16 unk_256;
/* 0x0258 */ UnkPlayerStruct258 unk_258[40];
/* 0x0258 */ Particle particles[40];
/* 0x0D98 */ s16 unk_D98;
/* 0x0D9A */ s16 unk_D9A;
/* 0x0D9C */ f32 unk_D9C;