DriftStateCounter (#763)

* Document driftStateCounter

* name update_drift_state_counter function
This commit is contained in:
Jed Grabman
2026-04-17 20:11:43 -04:00
committed by GitHub
parent bb8d234152
commit 8ee86d4c78
5 changed files with 49 additions and 43 deletions
+2 -2
View File
@@ -328,7 +328,7 @@ typedef struct {
/* 0x01F8 */ f32 unk_1F8;
/* 0x01FC */ f32 unk_1FC;
/* 0x0200 */ u32 steerChangeIncrement; // May be s32. but less casting required if u32
/* 0x0204 */ s16 driftDuration;
/* 0x0204 */ s16 driftDuration; // charges up while drifting, primarily protects against driving spinouts
/* 0x0206 */ s16 unk_206;
/* 0x0208 */ f32 unk_208;
/* 0x020C */ f32 unk_20C;
@@ -339,7 +339,7 @@ typedef struct {
/* 0x0220 */ s16 nearestPathPointId; // ??
/* 0x0222 */ s16 unk_222;
/* 0x0224 */ f32 size;
/* 0x0228 */ s16 unk_228;
/* 0x0228 */ s16 driftStateCounter;
/* 0x022A */ s16 driftState;
/* 0x022C */ f32 previousSpeed;
/* 0x0230 */ f32 unk_230;