SSBM Decomp
Loading...
Searching...
No Matches
grBigBlue_GroundVars Struct Reference

Used by multiple Big Blue Ground subtypes (track, road, car gobjs). More...

#include <types.h>

Data Fields

u8 x0_b0: 1
 
char pad_1 [3]
 
void * xC8
 
void * xCC
 
f32 xD0
 
HSD_JObjx10
 
HSD_JObjx14
 
HSD_JObjx18
 
char pad_3 [4]
 
u8 x20
 
u8 x21
 

Detailed Description

Used by multiple Big Blue Ground subtypes (track, road, car gobjs).

Different gobjs interpret the same offsets differently.

Track gobj (ID 32): uses xC8 as HSD_JObj*[30], xCC as u8[30] flags. Road gobj (ID 34): uses xCC as f32 velocity, xD0/xD8 for position. Car gobj (ID 33): per-lane data at 0x40-byte stride from gp+D4, with fields: state(+0), target(+4), delta(+8), pos Vec3(+C), lateral(+20), direction(+2C), gravity(+30), height(+34), velocity(+38), accel(+3C), rotation(+40), amplitude(+44), angular_vel(+48).

Field Documentation

◆ x0_b0

u8 grBigBlue_GroundVars::x0_b0

◆ pad_1

char grBigBlue_GroundVars::pad_1[3]

◆ xC8

void* grBigBlue_GroundVars::xC8

◆ xCC

void* grBigBlue_GroundVars::xCC

◆ xD0

f32 grBigBlue_GroundVars::xD0

◆ x10

HSD_JObj* grBigBlue_GroundVars::x10

◆ x14

HSD_JObj* grBigBlue_GroundVars::x14

◆ x18

HSD_JObj* grBigBlue_GroundVars::x18

◆ pad_3

char grBigBlue_GroundVars::pad_3[4]

◆ x20

u8 grBigBlue_GroundVars::x20

◆ x21

u8 grBigBlue_GroundVars::x21

The documentation for this struct was generated from the following file: