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

Description

Definition at line 10 of file RailManager.hh.

Public Member Functions

Getters
const Railrail (size_t idx) const
 

Static Public Member Functions

static RailManagerCreateInstance ()
 
static void DestroyInstance ()
 
static RailManagerInstance ()
 

Private Member Functions

void createPaths ()
 

Private Attributes

std::vector< Rail * > m_rails
 
std::span< RailInterpolator * > m_interpolators
 
u16 m_totalRails
 
u16 m_interpolatorTotal
 
u16 m_extraInterplatorCount
 
u16 m_pointCount
 
u16 m_cameraPointCount
 
u16 m_cameraCount
 

Static Private Attributes

static RailManagers_instance = nullptr
 

Member Function Documentation

◆ CreateInstance()

RailManager * Field::RailManager::CreateInstance ( )
static0x806F09C8

Definition at line 9 of file RailManager.cc.

◆ createPaths()

void Field::RailManager::createPaths ( )
private0x806F0AD8

Definition at line 31 of file RailManager.cc.

◆ DestroyInstance()

void Field::RailManager::DestroyInstance ( )
static0x806F0A4C

Definition at line 17 of file RailManager.cc.

◆ Instance()

static RailManager * Field::RailManager::Instance ( )
inlinestatic

Definition at line 22 of file RailManager.hh.

◆ rail()

const Rail * Field::RailManager::rail ( size_t idx) const
inline

Definition at line 13 of file RailManager.hh.

Member Data Documentation

◆ m_cameraCount

u16 Field::RailManager::m_cameraCount
private

Definition at line 39 of file RailManager.hh.

◆ m_cameraPointCount

u16 Field::RailManager::m_cameraPointCount
private

Definition at line 38 of file RailManager.hh.

◆ m_extraInterplatorCount

u16 Field::RailManager::m_extraInterplatorCount
private

Definition at line 36 of file RailManager.hh.

◆ m_interpolators

std::span<RailInterpolator *> Field::RailManager::m_interpolators
private

Definition at line 33 of file RailManager.hh.

◆ m_interpolatorTotal

u16 Field::RailManager::m_interpolatorTotal
private

Definition at line 35 of file RailManager.hh.

◆ m_pointCount

u16 Field::RailManager::m_pointCount
private

Definition at line 37 of file RailManager.hh.

◆ m_rails

std::vector<Rail *> Field::RailManager::m_rails
private

Definition at line 32 of file RailManager.hh.

◆ m_totalRails

u16 Field::RailManager::m_totalRails
private

Definition at line 34 of file RailManager.hh.

◆ s_instance

RailManager * Field::RailManager::s_instance = nullptr
staticprivate0x809C22B0

Definition at line 41 of file RailManager.hh.