NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_main.hpp
1#pragma once
2
3#include <revolution/OS.h>
4
5/// @brief A wrapper class for the top-level game loop.
6/// @ingroup bases
7class dMain {
8public:
9 static void Create(); ///< The function that initializes the main game loop.
10 static void Execute(); ///< The function that runs the main game loop.
11 static void *main01(void *); ///< The main function to be run on the main thread.
12
13 static OSThread mainThread; ///< The main thread for the game.
14 static s64 g_InitialTime; ///< The startup time of the game.
15};
A wrapper class for the top-level game loop.
Definition d_main.hpp:7
static void * main01(void *)
The main function to be run on the main thread.
Definition d_main.cpp:23
static void Create()
The function that initializes the main game loop.
Definition d_main.cpp:12
static OSThread mainThread
The main thread for the game.
Definition d_main.hpp:13
static s64 g_InitialTime
The startup time of the game.
Definition d_main.hpp:14
static void Execute()
The function that runs the main game loop.
Definition d_main.cpp:17