resonance 1.0.1
Loading...
Searching...
No Matches
metloadfreqscreen.h
Go to the documentation of this file.
1#pragma once
2
4
5#ifndef VIDEO_STANDARD_PAL
7#endif
8
38#ifdef VIDEO_STANDARD_PAL
40#else
42#endif
43public:
52 MetLoadFreqScreen(MetRenderer *pRenderer, int nPriority);
53
59
71 static MetScreen *New(MetRenderer *pRenderer, int nPriority);
72
83 virtual void EnterAndShow();
84
85#ifndef VIDEO_STANDARD_PAL
97 virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice);
98#endif
99
108 virtual void OnEnterFinished();
109
120 virtual void UpdateNameLabel();
121
133 virtual void OnNameButton();
134
148
166 virtual void OnCreateButton();
167
176 virtual void AcquireIdentityList();
177
188 virtual void BuildButtonList();
189
190#ifndef VIDEO_STANDARD_PAL
191private:
192 // Set to 1 by the constructor, cleared by OnMsgScreenDismissed() once the FreQ limit message
193 // closes, and read nowhere in the recovered part of the image. +0xa8
194 int mFreqLimitPending;
195#endif
196};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
Base of the three screens that pick a saved FreQ identity.
Definition metloadfreqbasescreen.h:77
MetLoadFreqBaseScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
Screen that loads a saved FreQ identity from a memory card.
Definition metloadfreqscreen.h:41
virtual void BuildButtonList()
Rebuild the button ring with labels on the second and third buttons.
virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice)
Restore this screen after the FreQ-limit message is dismissed.
virtual void UpdateNameLabel()
Write the selected username into the first button and the edit label into the second.
virtual void OnEnterFinished()
Play SND_MET_SELECTFREQ once the enter animation has finished.
virtual void EnterAndShow()
Set the screen title and the prompt layout, then enter.
virtual void OnCreateButton()
Refuse a ninth identity, or create one.
MetLoadFreqScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void PrepareFreqMakerForSelection()
Hand the selected identity to the FreQ maker.
static MetScreen * New(MetRenderer *pRenderer, int nPriority)
Produce a load screen on the heap.
virtual void AcquireIdentityList()
Take the identity list the memory-card path last read.
virtual void OnNameButton()
Commit the selected identity to the game manager and advance.
virtual ~MetLoadFreqScreen()
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.