resonance 1.0.1
Loading...
Searching...
No Matches
metsonglists.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6#include "os/hxstr.h"
7
18
29inline bool operator<(const StageListEntry &left, const StageListEntry &right) {
30 return left.mOrder < right.mOrder;
31}
32
45
55inline bool operator<(const ArenaListEntry &left, const ArenaListEntry &right) {
56 return left.mOrder < right.mOrder;
57}
58
73HxStr DifficultyName(int nDifficulty);
74
87
99
110std::vector<HxStr> &GetLevelNames();
111
120std::vector<StageListEntry> *GetStageList(int nStage);
121
132std::vector<ArenaListEntry> *GetArenaList();
133
147
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
HxStr DifficultyName(int nDifficulty)
Report the display name of a difficulty.
MemcardConnectState NextCardSlot(const MemcardConnectState &slot)
Report the memory-card location that follows another.
std::vector< StageListEntry > * GetStageList(int nStage)
Report one stage's level list.
std::vector< HxStr > & GetLevelNames()
Report the level names RebuildStageLists() last read.
HxStr FirstCardSlotName()
Report the name of the first memory-card location found, or 1 when there is none.
bool operator<(const StageListEntry &left, const StageListEntry &right)
Order two stage entries by mOrder.
Definition metsonglists.h:29
std::vector< ArenaListEntry > * GetArenaList()
Report the arena table for the current game mode.
void RebuildStageLists()
Rebuild the per-stage level lists from the configuration.
void RebuildArenaLists()
Rebuild the solo and local arena tables from the configuration.
One arena in the solo or the local arena table.
Definition metsonglists.h:41
HxStr mName
Definition metsonglists.h:42
int mOrder
Definition metsonglists.h:43
What one card slot reports about itself, and the memory-card location the front end stores.
Definition memcardconnectstate.h:21
One level in a stage's list.
Definition metsonglists.h:14
HxStr mName
Definition metsonglists.h:15
int mOrder
Definition metsonglists.h:16