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

#include <GameScene.hh>

Description

Interface for menu and race scenes.

Definition at line 14 of file GameScene.hh.

Inheritance diagram for Scene::GameScene:

Classes

struct  Resource
 

Public Member Functions

void calc () final
 
void enter () final
 
void exit () final
 
void reinit () final
 
virtual void createEngines ()=0
 
virtual void initEngines ()=0
 
virtual void calcEngines ()=0
 
virtual void destroyEngines ()=0
 
virtual void configure ()=0
 
virtual void onReinit ()
 
- 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
 

Protected Member Functions

void appendResource (System::MultiDvdArchive *archive, s32 id)
 

Private Member Functions

void initScene ()
 
void deinitScene ()
 
void unmountResources ()
 

Private Attributes

EGG::ExpHeap::GroupSizeRecord m_groupSizeRecord
 
std::list< Resource * > m_resources
 List of all active resources in the scene.
 
int m_nextSceneId
 
size_t m_totalMemoryUsed
 

Additional Inherited Members

- Protected Attributes inherited from EGG::Scene
Heapm_heap
 
Scenem_parent
 
Scenem_child
 
int m_id
 
SceneManagerm_sceneMgr
 

Constructor & Destructor Documentation

◆ GameScene()

Scene::GameScene::GameScene ( )
0x8051A1E0

Definition at line 11 of file GameScene.cc.

◆ ~GameScene()

Scene::GameScene::~GameScene ( )
override0x8051A3C0

Definition at line 28 of file GameScene.cc.

Member Function Documentation

◆ appendResource()

void Scene::GameScene::appendResource ( System::MultiDvdArchive * archive,
s32 id )
protected0x8051AA58

Definition at line 78 of file GameScene.cc.

◆ calc()

void Scene::GameScene::calc ( )
finalvirtual0x8051B3C8

Reimplemented from EGG::Scene.

Definition at line 49 of file GameScene.cc.

◆ calcEngines()

virtual void Scene::GameScene::calcEngines ( )
pure virtual

Implemented in Scene::RaceScene.

◆ configure()

virtual void Scene::GameScene::configure ( )
pure virtual

Implemented in Scene::RaceScene.

◆ deinitScene()

void Scene::GameScene::deinitScene ( )
private0x8051B0F4

Definition at line 97 of file GameScene.cc.

◆ enter()

void Scene::GameScene::enter ( )
finalvirtual0x8051AB58

Reimplemented from EGG::Scene.

Definition at line 55 of file GameScene.cc.

◆ exit()

void Scene::GameScene::exit ( )
finalvirtual0x8051B250

Reimplemented from EGG::Scene.

Definition at line 61 of file GameScene.cc.

◆ initScene()

void Scene::GameScene::initScene ( )
private0x8051A4DC

Definition at line 87 of file GameScene.cc.

◆ onReinit()

virtual void Scene::GameScene::onReinit ( )
inlinevirtual

Reimplemented in Scene::RaceScene.

Definition at line 29 of file GameScene.hh.

◆ reinit()

void Scene::GameScene::reinit ( )
finalvirtual0x8051B7B0

Reimplemented from EGG::Scene.

Definition at line 67 of file GameScene.cc.

◆ unmountResources()

void Scene::GameScene::unmountResources ( )
private0x8051AAE8

Definition at line 107 of file GameScene.cc.

Member Data Documentation

◆ m_groupSizeRecord

EGG::ExpHeap::GroupSizeRecord Scene::GameScene::m_groupSizeRecord
private

Definition at line 56 of file GameScene.hh.

◆ m_nextSceneId

int Scene::GameScene::m_nextSceneId
private

Definition at line 58 of file GameScene.hh.

◆ m_resources

std::list<Resource *> Scene::GameScene::m_resources
private

List of all active resources in the scene.

Definition at line 57 of file GameScene.hh.

◆ m_totalMemoryUsed

size_t Scene::GameScene::m_totalMemoryUsed
private

Definition at line 60 of file GameScene.hh.