2#include <game/bases/d_base.hpp>
4#include <game/sLib/s_Phase.hpp>
dBase_c()
Constructs a new base.
virtual int preExecute()
pre method for the execute operation.
static void setFadeInFrame(unsigned short length)
Sets the duration of the next fade-in transition to length.
static void setStartScene()
Sets up the scene to be shown when the game boots up.
~dScene_c()
Destroys the scene.
virtual void postExecute(fBase_c::MAIN_STATE_e status)
post method for the execute operation.
virtual void postDelete(fBase_c::MAIN_STATE_e status)
post method for the delete operation.
static dScene_c * createNextScene()
Creates and returns a root base for the next scene.
virtual int preDraw()
pre method for the draw operation.
static void setFadeOutFrame(unsigned short length)
Sets the duration of the next fade-out transition to length.
virtual void postDraw(fBase_c::MAIN_STATE_e status)
post method for the draw operation.
static bool m_isAutoFadeIn
If a fade-in should automatically be performed on scene load.
dScene_c()
Creates a new scene.
virtual void postCreate(fBase_c::MAIN_STATE_e status)
post method for the create operation.
sPhase_c * mpPhase
The phase used for scene initialization.
static ProfileName m_nextScene
The profile name of the next scene.
virtual int preDelete()
pre method for the delete operation.
static u16 m_fadeInFrame
The duration of the next fade-in.
static bool m_otherSceneFlg
Whether the next scene has already been created.
static void setResetScene()
Sets up the scene to be shown after a game reset.
static u32 mPara
The parameters for the next scene.
static ProfileName m_nowScene
The profile name of the current scene.
virtual int preCreate()
pre method for the create operation.
static u16 m_fadeOutFrame
The duration of the next fade-out.
static void setFadeInOutFrame(unsigned short length)
Sets the duration of the next fade-in and fade-out transitions to length.
static void setNextScene(ProfileName nextScene, unsigned long param, bool forceChange)
Attempts to prepare the transition to a new scene.
static ProfileName m_oldScene
The profile name of the previous scene.
MAIN_STATE_e
The possible operation results.
A phase is a list of methods to be called in order.
u16 ProfileName
The name of a profile. Value is a fProfile::PROFILE_NAME_e.