NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <lib/egg/fader/eggFader.hpp>
Interface for a fader.
This seems to be pretty much a copy-paste of mFaderBase_c (or vice-versa)
Definition at line 8 of file eggFader.hpp.
Public Types | |
enum | EStatus { OPAQUE , HIDDEN , FADE_IN , FADE_OUT } |
The fader's status. More... | |
Public Member Functions | |
virtual void | setStatus (EStatus status)=0 |
virtual EStatus | getStatus () const =0 |
Sets the fader's status. | |
virtual bool | fadeIn ()=0 |
Gets the fader's status. | |
virtual bool | fadeOut ()=0 |
Initiates a fade in from pure blacked-out. | |
virtual int | calc ()=0 |
Initiates a fade out from no-obstruction. | |
virtual void | draw ()=0 |
Calculates the fader at the current frame. | |
enum EGG::Fader::EStatus |
The fader's status.
Definition at line 12 of file eggFader.hpp.
|
pure virtual |
Sets the fader's status.
Implemented in EGG::ColorFader.
|
pure virtual |
Gets the fader's status.
Implemented in EGG::ColorFader.
|
pure virtual |
Initiates a fade in from pure blacked-out.
The screen must be OPAQUE for the operation to be executed.
Implemented in EGG::ColorFader.
|
pure virtual |
Initiates a fade out from no-obstruction.
The screen must be HIDDEN for the operation to be executed.
Implemented in EGG::ColorFader.
|
pure virtual |
Calculates the fader at the current frame.
Implemented in EGG::ColorFader.