2#include <game/mLib/m_fader_base.hpp>
3#include <game/bases/d_lytbase.hpp>
bool mHasTarget
Whether the circle's center point needs to be targeted at a specific position.
LytBase_c mLyt
The layout for the fader.
virtual bool fadeOut()
Initiates a fade out from no-obstruction.
void AnimeEndCheck()
Checks if the fade animation has finished yet.
bool createLayout()
Loads the resources and creates the layout for the fader.
static dWipeCircle_c * m_instance
The instance of the fader.
~dWipeCircle_c()
Destroys the fader.
bool mIsCreated
Whether the layout for the fader has been created.
ACTION_e
The possible actions performed in calc.
@ CLOSE_SETUP
Prepare the fade-in transition.
@ OPEN_SETUP
Prepare the fade-out transition.
@ ANIME_END_CHECK
Fade has begun, waiting for it to end.
@ IDLE
The fade has not been started.
nw4r::lyt::Pane * mpRootPane
The root pane of the fader layout.
void CloseSetup()
Prepares the fade-in transition.
dWipeCircle_c(nw4r::ut::Color, mFaderBase_c::EStatus status)
Constructs a new fader.
virtual void setStatus(mFaderBase_c::EStatus status)
Sets the fader's status.
virtual void draw()
Draws the fader.
W_PANE_e
The window panes used for the fader.
mVec2_c mCenterPos
The screen position of the circle's center point.
void OpenSetup()
Prepares the fade-out transition.
nw4r::lyt::Window * mpWnd[W_COUNT]
The window panes of the fader.
void CenterPosSet()
Sets the circle's center position.
ACTION_e mAction
The action to be performed in calc.
ANIM_e
The animations for this fader.
virtual int calc()
Calculates the fader at the current frame.
bool mUseCenterPos
Whether mCenterPos should be used as the circle's center point.
virtual bool fadeIn()
Initiates a fade in from pure blacked-out.
ANIM_NAME_e
The animation names used for the fader.
mFaderBase_c(const mColor &color, EStatus status)
Constructs a new fader.
EStatus
The fader's status.
A two-dimensional floating point vector.