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

Description

Definition at line 11 of file ObjectHitTable.hh.

Public Member Functions

 ObjectHitTable (const char *filename)
 
Kart::Reaction reaction (s16 i) const
 
s16 slot (ObjectId id) const
 

Private Attributes

s16 m_count
 
s16 m_fieldCount
 
std::span< s16 > m_reactions
 
const s16 * m_slots
 

Constructor & Destructor Documentation

◆ ObjectHitTable()

Field::ObjectHitTable::ObjectHitTable ( const char * filename)
0x807F9278

Definition at line 10 of file ObjectHitTable.cc.

◆ ~ObjectHitTable()

Field::ObjectHitTable::~ObjectHitTable ( )
0x807F9348

Definition at line 31 of file ObjectHitTable.cc.

Member Function Documentation

◆ reaction()

Kart::Reaction Field::ObjectHitTable::reaction ( s16 i) const

Definition at line 35 of file ObjectHitTable.cc.

◆ slot()

s16 Field::ObjectHitTable::slot ( ObjectId id) const

Definition at line 41 of file ObjectHitTable.cc.

Member Data Documentation

◆ m_count

s16 Field::ObjectHitTable::m_count
private

Definition at line 20 of file ObjectHitTable.hh.

◆ m_fieldCount

s16 Field::ObjectHitTable::m_fieldCount
private

Definition at line 21 of file ObjectHitTable.hh.

◆ m_reactions

std::span<s16> Field::ObjectHitTable::m_reactions
private

Definition at line 22 of file ObjectHitTable.hh.

◆ m_slots

const s16* Field::ObjectHitTable::m_slots
private

Definition at line 23 of file ObjectHitTable.hh.