20 #include "../Engine/State.h" 32 std::string _cutsceneId;
41 static const std::string WIN_GAME;
42 static const std::string LOSE_GAME;
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Shows cutscenes: inspects the relevant rules and loads the appropriate state for showing slideshows o...
Definition: CutsceneState.h:29
static void resetDisplay(bool wasLetterboxed)
restores the screen to its original state
Definition: CutsceneState.cpp:113
CutsceneState(const std::string &cutsceneId)
Creates the CutsceneState.
Definition: CutsceneState.cpp:40
~CutsceneState()
Cleans up the CutsceneState.
Definition: CutsceneState.cpp:46
void init()
Replace this state on the stack with the real player state.
Definition: CutsceneState.cpp:51
Definition: BaseInfoState.cpp:40
static bool initDisplay()
returns whether the display was letterboxed (for restoration in resetDisplay)
Definition: CutsceneState.cpp:103