A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Field::SObjectCollisionSet Struct Reference

#include <ObjectFlowTable.hh>

Description

Structure of the ObjFlow.bin table entry. Contains dependencies and collision parameters.

For now, we only care about the collision mode and parameters.

Todo
Are the names and resources necessary?

Definition at line 20 of file ObjectFlowTable.hh.

Public Attributes

u16 id
 
char name [32]
 
char resources [64]
 
u8 _62 [0x6a - 0x62]
 
s16 mode
 
union { 
 
   struct { 
 
      s16   radius 
 
   }   sphere 
 
   struct { 
 
      s16   radius 
 
      s16   height 
 
   }   cylinder 
 
   struct { 
 
      s16   x 
 
      s16   y 
 
      s16   z 
 
   }   box 
 
params 
 
u8 _72 [0x74 - 0x72]
 

Member Data Documentation

◆ _62

u8 Field::SObjectCollisionSet::_62[0x6a - 0x62]

Definition at line 24 of file ObjectFlowTable.hh.

◆ _72

u8 Field::SObjectCollisionSet::_72[0x74 - 0x72]

Definition at line 40 of file ObjectFlowTable.hh.

◆ height

s16 Field::SObjectCollisionSet::height

Definition at line 32 of file ObjectFlowTable.hh.

◆ id

u16 Field::SObjectCollisionSet::id

Definition at line 21 of file ObjectFlowTable.hh.

◆ mode

s16 Field::SObjectCollisionSet::mode

Definition at line 25 of file ObjectFlowTable.hh.

◆ name

char Field::SObjectCollisionSet::name[32]

Definition at line 22 of file ObjectFlowTable.hh.

◆ radius

s16 Field::SObjectCollisionSet::radius

Definition at line 28 of file ObjectFlowTable.hh.

◆ resources

char Field::SObjectCollisionSet::resources[64]

Definition at line 23 of file ObjectFlowTable.hh.

◆ x

s16 Field::SObjectCollisionSet::x

Definition at line 35 of file ObjectFlowTable.hh.

◆ y

s16 Field::SObjectCollisionSet::y

Definition at line 36 of file ObjectFlowTable.hh.

◆ z

s16 Field::SObjectCollisionSet::z

Definition at line 37 of file ObjectFlowTable.hh.