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