74 void Poll(
float fTime)
override;
117 const char *mTextTag;
122 const char *mBetweenScreen;
123 const char *mFinalScreen;
CreditsScreen(DataArray *pData)
Construct the screen from its script description.
bool DispatchPriv(Message *pMsg) override
Route a controller button, and pass every other message to UIScreen.
void Advance()
Stop the hold and go to the screen between two pages, or after the last page to the screen after the ...
void Enter(UIScreen *pPrevScreen, float fTime) override
Start the entry and the hold, and show the next page.
void ShowPage()
Fill each text object with the next line of the text, or blank it after the last line.
~CreditsScreen() override=default
Destroy the object.
bool HandleJoypad(JoypadInputMsg *pMsg)
Exit the credits on the triangle button and move on on any other button.
void Poll(float fTime) override
Advance the screen, and move on once the hold has run out.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition creditsscreen.h:53
Reference-counted array of script data nodes.
Definition dataarray.h:20
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
UIScreen(DataArray *pData)
Construct a screen from its script description.