A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Scene::RaceScene Class Referencefinal

#include <RaceScene.hh>

Description

Represents an instance of a race.

Definition at line 8 of file RaceScene.hh.

Inheritance diagram for Scene::RaceScene:

Public Member Functions

void createEngines () override
 
void initEngines () override
 
void calcEngines () override
 
void destroyEngines () override
 
void configure () override
 Retrieves Common.szs and the course archive.
 
void onReinit () override
 This is called on race shutdown in order to prep for the next race.
 
- Public Member Functions inherited from Scene::GameScene
void calc () final
 
void enter () final
 
void exit () final
 
void reinit () final
 
- Public Member Functions inherited from EGG::Scene
virtual void incoming_childDestroy ()
 
virtual void outgoing_childCreate ()
 
void setParent (Scene *parent)
 
void setChild (Scene *child)
 
void setId (int id)
 
void setSceneMgr (SceneManager *sceneMgr)
 
Heapheap () const
 
Sceneparent () const
 
Scenechild () const
 
int id () const
 
SceneManagersceneMgr () const
 

Additional Inherited Members

- Protected Member Functions inherited from Scene::GameScene
void appendResource (System::MultiDvdArchive *archive, s32 id)
 
- Protected Attributes inherited from EGG::Scene
Heapm_heap
 
Scenem_parent
 
Scenem_child
 
int m_id
 
SceneManagerm_sceneMgr
 

Constructor & Destructor Documentation

◆ RaceScene()

Scene::RaceScene::RaceScene ( )
0x80553B88

Definition at line 20 of file RaceScene.cc.

Member Function Documentation

◆ calcEngines()

void Scene::RaceScene::calcEngines ( )
overridevirtual0x80554E6C

In Kinoko, it is not possible to pause the race scene, so Kinoko's implementation for this function is really the base game's calcEnginesUnpaused located at 0x80554AD4.

Implements Scene::GameScene.

Definition at line 94 of file RaceScene.cc.

◆ configure()

void Scene::RaceScene::configure ( )
overridevirtual0x80553C50

Retrieves Common.szs and the course archive.

Implements Scene::GameScene.

Definition at line 119 of file RaceScene.cc.

◆ createEngines()

void Scene::RaceScene::createEngines ( )
overridevirtual0x80554208

Implements Scene::GameScene.

Definition at line 28 of file RaceScene.cc.

◆ destroyEngines()

void Scene::RaceScene::destroyEngines ( )
overridevirtual0x805549B0

Implements Scene::GameScene.

Definition at line 105 of file RaceScene.cc.

◆ initEngines()

void Scene::RaceScene::initEngines ( )
overridevirtual0x8055472C

Implements Scene::GameScene.

Definition at line 67 of file RaceScene.cc.

◆ onReinit()

void Scene::RaceScene::onReinit ( )
overridevirtual0x80554A94

This is called on race shutdown in order to prep for the next race.

Reimplemented from Scene::GameScene.

Definition at line 139 of file RaceScene.cc.