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

#include <game/cLib/c_counter.hpp>

Description

Global frame counter utility class.

Definition at line 7 of file c_counter.hpp.

Static Public Member Functions

static void clear ()
 Clears the counters.

Static Public Attributes

static u32 m_exeFrame
 The total frames elapsed while the main engine loop (fManager_c::mainLoop) is running.
static u32 m_gameFrame
 The total frames elapsed since game startup.

Member Function Documentation

◆ clear()

void cCounter_c::clear ( )
static

Clears the counters.

Definition at line 6 of file c_counter.cpp.

Member Data Documentation

◆ m_exeFrame

u32 cCounter_c::m_exeFrame
static

The total frames elapsed while the main engine loop (fManager_c::mainLoop) is running.

Does not advance when main loop execution is halted or suspended.

Definition at line 13 of file c_counter.hpp.

◆ m_gameFrame

u32 cCounter_c::m_gameFrame
static

The total frames elapsed since game startup.

Unlike ::m_exeFrame, this counter doesn't pause when the Home Menu is open.

Definition at line 17 of file c_counter.hpp.