3#include <game/mLib/m_fader.hpp>
4#include <game/mLib/m_fader_base.hpp>
9 nw4r::g3d::G3DState::Invalidate(nw4r::g3d::G3DState::INVALIDATE_ALL);
Base fader implementation.
virtual void draw()=0
Draws the fader.
virtual EStatus getStatus() const
Gets the fader's status.
virtual void setStatus(EStatus status)=0
Sets the fader's status.
EStatus
The fader's status.
@ FADE_IN
Transition from OPAQUE to HIDDEN.
@ FADE_OUT
Transition from HIDDEN to OPAQUE.
@ HIDDEN
The screen is completely unblocked.
@ OPAQUE
The screen is completely blacked out.
static mFaderBase_c * mFader
The fader currently in use.
static bool setFader(mFaderBase_c *fader)
Sets the fader to be used.
static bool isStatus(mFaderBase_c::EStatus status)
Checks if the current fader's status matches status .
static void draw()
Draws the current fader.