221 void ClearDuplicateAssignment(
int nRow);
229 void UpdateButtonHighlight();
245 void SetButtonHighlights(
int nButton);
263 int ButtonIndexForText(
const HxStr &text)
const;
271 bool AllRowsAssigned()
const;
281 char PreviousButtonCode(
int nRow,
char code)
const;
291 char NextButtonCode(
int nRow,
char code)
const;
294 std::vector<Rnd::Mesh *> mButtonMeshes;
295 std::vector<HxStr> mButtonMeshNames;
296 std::vector<Rnd::Text *> mRowValueTexts;
297 std::vector<HxStr> mRowValueTextNames;
298 char mFirstButtonCode;
299 char mLastButtonCode;
One controller's mapping from gameplay actions to buttons.
Definition controllerconfig.h:24
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
virtual void BeginExit()
Hide every button highlight and begin the exit.
virtual void PlayLeaveSound(int nSelector)
Play the leave sound for this screen's controller only.
virtual void OnExitFinished()
Push the screens that follow this one.
virtual void PlayCycleRightSound(int nSelector)
Play the cycle-right sound for this screen's controller only.
int mControllerIndex
Index of the controller this screen configures, from 0.
Definition metconfigcontrollerscreen.h:309
virtual void PlaySlideSound(int nSelector)
Play the slide sound for this screen's controller only.
MetConfigControllerScreen(MetRenderer *pRenderer, int nPriority)
Construct the controller configuration screen.
static MetConfigControllerScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void OnEnterFinished()
Clear a duplicate of the selected row and highlight its button.
virtual void ResolveContainerViews()
Resolve the rows, the two instruction texts, the button meshes, and the value texts.
virtual ~MetConfigControllerScreen()
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on a command from the controller this screen configures.
virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice)
Act on a dismissed dialogue.
virtual void PlayCycleLeftSound(int nSelector)
Play the cycle-left sound for this screen's controller only.
virtual void EnterAndShow()
Select the first row, show the configured buttons, and enter.
virtual void PlayHighSound(int nSelector)
Play the emphasised-selection sound for this screen's controller only.
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreenMultiSoundBank(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen that uses the multiplayer sound bank.
Indexed triangle mesh with one material.
Definition mesh.h:46
Run of text drawn as a quad per glyph.
Definition text.h:57
The rendering engine.
Definition animhelper.h:3
One navigation command delivered to a screen.
Definition metscreen.h:46