NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/bases/d_system.hpp>

Description

Main game handler class. Handles initialization and the main game loop.

Definition at line 11 of file d_system.hpp.

Static Public Member Functions

static void beginFrame ()
 Marks the beginning of a frame.
static void endFrame ()
 Marks the end of a frame.
static void beginRender ()
static void endRender ()
static bool setBlack (bool makeBlack)
static void calcAudio ()
static void setFrameRate (u8 rate)
static void setClearColor (nw4r::ut::Color color)
static nw4r::ut::Color getClearColor ()
static void create ()
 Initializes the game.
static void execute ()
 Executes one frame of the game loop.

Static Public Attributes

static EGG::Heap * ms_RootHeapMem1
static EGG::Heap * ms_RootHeapMem2

Member Function Documentation

◆ beginFrame()

void dSys_c::beginFrame ( )
static

Marks the beginning of a frame.

Definition at line 77 of file d_system.cpp.

◆ endFrame()

void dSys_c::endFrame ( )
static

Marks the end of a frame.

Definition at line 82 of file d_system.cpp.

◆ beginRender()

void dSys_c::beginRender ( )
static

Definition at line 58 of file d_system.cpp.

◆ endRender()

void dSys_c::endRender ( )
static

Definition at line 69 of file d_system.cpp.

◆ setBlack()

bool dSys_c::setBlack ( bool makeBlack)
static

Definition at line 87 of file d_system.cpp.

◆ calcAudio()

void dSys_c::calcAudio ( )
static

Definition at line 97 of file d_system.cpp.

◆ setFrameRate()

void dSys_c::setFrameRate ( u8 rate)
static

Definition at line 101 of file d_system.cpp.

◆ setClearColor()

void dSys_c::setClearColor ( nw4r::ut::Color color)
static

Definition at line 107 of file d_system.cpp.

◆ getClearColor()

nw4r::ut::Color dSys_c::getClearColor ( )
static

Definition at line 113 of file d_system.cpp.

◆ create()

void dSys_c::create ( )
static

Initializes the game.

Definition at line 120 of file d_system.cpp.

◆ execute()

void dSys_c::execute ( )
static

Executes one frame of the game loop.

Definition at line 222 of file d_system.cpp.

Member Data Documentation

◆ ms_RootHeapMem1

EGG::Heap * dSys_c::ms_RootHeapMem1
static

Definition at line 25 of file d_system.hpp.

◆ ms_RootHeapMem2

EGG::Heap * dSys_c::ms_RootHeapMem2
static

Definition at line 26 of file d_system.hpp.