3#include <game/mLib/m_fader.hpp>
4#include <game/mLib/m_fader_base.hpp>
27 status =
mFader->getStatus();
Base fader implementation.
virtual EStatus getStatus() const
Gets 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.
void resetMaterial()
Turns off all indirect texture processing.
@ INVALIDATE_ALL
Invalidates all states.
void Invalidate(ulong flag)
Invalidates the state recorded within the G3D library, depending on the flag. See G3DState::Invalidat...