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

#include <dol/mLib/m_fader.hpp>

Description

Fader management class.

This ensures that only one fader is employed at once.

Definition at line 7 of file m_fader.hpp.

Static Public Member Functions

static void draw ()
 Draws the current fader.
 
static bool isStatus (mFaderBase_c::EStatus status)
 Checks if the current fader's status matches status .
 
static bool setFader (mFaderBase_c *fader)
 Sets the fader to be used.
 

Static Public Attributes

static mFaderBase_cmFader = nullptr
 The fader currently in use.
 

Member Function Documentation

◆ draw()

void mFader_c::draw ( )
static

Draws the current fader.

Definition at line 8 of file m_fader.cpp.

◆ isStatus()

static bool mFader_c::isStatus ( mFaderBase_c::EStatus  status)
inlinestatic

Checks if the current fader's status matches status .

Definition at line 12 of file m_fader.hpp.

◆ setFader()

bool mFader_c::setFader ( mFaderBase_c fader)
static

Sets the fader to be used.

Returns
If the operation was successful.

Definition at line 14 of file m_fader.cpp.

Member Data Documentation

◆ mFader

mFaderBase_c * mFader_c::mFader = nullptr
static

The fader currently in use.

Definition at line 18 of file m_fader.hpp.