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

#include <game/bases/d_main.hpp>

Description

A wrapper class for the top-level game loop.

Definition at line 8 of file d_main.hpp.

Static Public Member Functions

static void Create ()
 The function that initializes the main game loop.
 
static void Execute ()
 The function that runs the main game loop.
 
static void * main01 (void *)
 The main function to be run on the main thread.
 

Static Public Attributes

static OSThread mainThread
 The main thread for the game.
 
static s64 g_InitialTime
 The startup time of the game.
 

Member Function Documentation

◆ Create()

void dMain::Create ( )
static

The function that initializes the main game loop.

Definition at line 12 of file d_main.cpp.

◆ Execute()

void dMain::Execute ( )
static

The function that runs the main game loop.

Definition at line 17 of file d_main.cpp.

◆ main01()

void * dMain::main01 ( void * arg)
static

The main function to be run on the main thread.

Definition at line 23 of file d_main.cpp.

Member Data Documentation

◆ mainThread

OSThread dMain::mainThread
static

The main thread for the game.

Definition at line 14 of file d_main.hpp.

◆ g_InitialTime

s64 dMain::g_InitialTime
static

The startup time of the game.

Definition at line 15 of file d_main.hpp.