Document some Boost data (#593)

* Run formatter

* Document some boost info
This commit is contained in:
Ryan Myers
2025-05-28 15:38:17 -04:00
committed by GitHub
parent 1b93c18b0f
commit 33a685be8e
13 changed files with 124 additions and 112 deletions
+10 -1
View File
@@ -172,7 +172,16 @@ typedef struct ObjPropertyTimeTrial {
typedef struct ObjPropertyBoost {
struct Object *obj;
s32 unk4;
union {
s32 indexes; // Keep this for compatibility
// This is a bitfield definition for the bits in indexes.
// It won't match when used, but it's useful for understanding the structure.
struct {
s32 racerIndex : 4; // bits 28-31 ((indexes >> 28) & 0xF)
s32 vertIndex : 14; // bits 14-27 ((indexes >> 14) & 0x3FFF)
s32 trisIndex : 14; // bits 0-13 (indexes & 0x3FFF)
};
};
} ObjPropertyBoost;
typedef struct ObjProperties {