NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dFader_c Class Reference
Inheritance diagram for dFader_c:
[legend]

Description

Definition at line 6 of file d_fader.hpp.

Public Types

enum  fader_type_e { FADE }
 

Static Public Member Functions

static void setFader (fader_type_e type)
 
static bool startFadeIn (u16 duration)
 Starts a fade in with the current fader.
 
static bool startFadeOut (u16 duration)
 Starts a fade out with the current fader.
 
- Static Public Member Functions inherited from mFader_c
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
 
- Static Public Attributes inherited from mFader_c
static mFaderBase_cmFader = nullptr
 The fader currently in use.
 

Member Enumeration Documentation

◆ fader_type_e

enum dFader_c::fader_type_e

Definition at line 8 of file d_fader.hpp.

Member Function Documentation

◆ startFadeIn()

static bool dFader_c::startFadeIn ( u16 duration)
static

Starts a fade in with the current fader.

Parameters
durationThe duration of the fade in.
Returns
Whether the fade in was started.

◆ startFadeOut()

static bool dFader_c::startFadeOut ( u16 duration)
static

Starts a fade out with the current fader.

Parameters
durationThe duration of the fade out.
Returns
Whether the fade out was started.

Member Data Documentation

◆ mFader

mFaderBase_c* dFader_c::mFader
static

Definition at line 24 of file d_fader.hpp.