Input event of a button press that names only the player.
Definition btnevent.h:15
Input event that changes the section a player is on.
Definition changesectionevent.h:10
Reference-counted array of script data nodes.
Definition dataarray.h:20
@ kRuleSetGame
Definition gamedb.h:31
Rules of the main game, shared by the solo, multiplayer, and tutorial logic.
Definition gamelogic.h:39
void Handle(const BtnEvent< 5 > &event) override
Record a button event of command 5.
void Handle(const PlayNoteEvent &event) override
Record a gem button.
void Handle(const BtnEvent< 4 > &event) override
Record a button event of command 4.
void Handle(const StickEvent< 2 > &event) override
Record a stick event of command 2 while the freestyle track is active.
bool IsAssetLoadDone() override
Report whether the effect bank is loaded.
void Handle(const BtnEvent< 10 > &event) override
Record a button event of command 10.
void Handle(const ChangeSectionEvent &event) override
Ignore a section change.
Definition game.h:138
~Game() override
Turn the software effects off, empty the bank slots, and remove the script commands.
void Handle(const BtnEvent< 9 > &event) override
Ignore a button event of command 9.
Definition game.h:148
void PollEnding() override
Advance the sequence that follows the end of the game.
void PollAssetLoad() override
Advance the bank loads.
Definition game.h:179
static void TogglePracticeMode(DataArray *pCommand, void *pUserData)
Toggle the practice mode of GameDb, the practice_mode script command.
void Handle(const BtnEvent< 8 > &event) override
Ignore a button event of command 8.
Definition game.h:83
void PollSongLoad() override
Advance the song load.
Definition game.h:205
void CreateLogic() override
Build the logic of the tutorial, the solo game, or the multiplayer game and install it.
void Handle(const StickEvent< 6 > &event) override
Record a stick event of command 6 while the freestyle track is active.
static void TogglePlayAllGems(DataArray *pCommand, void *pUserData)
Toggle GameConfig::mPlayAllGems, the play_all_gems script command.
void BuildTracks(int nStartTick) override
Build the display of the song's catch tracks.
bool IsSongLoadDone() override
Advance the song's track loader and report whether it finished.
void BeginSongLoad() override
Start the song's track loader.
bool IsFinished() override
Report whether the game ended without a player abandoning it.
void OnStart() override
Register the script commands of the game.
void Handle(const BtnEvent< 3 > &event) override
Record a button event of command 3.
int GetRuleSet() const override
Report the main game rule set.
Definition game.h:45
void ReleaseBanks()
Empty the bank slots BeginAssetLoad() filled and forget them.
void BeginEnding() override
Stop the song's track loader and start it again.
void Handle(const RotateEvent &event) override
Record a rotation.
Game()
Construct a game world.
bool IsEndingDone() override
Advance the song's track loader and report whether it finished.
void BeginAssetLoad() override
Load the effect bank and the cheer bank into their synthesiser slots.
static void ToggleNoCapture(DataArray *pCommand, void *pUserData)
Toggle GameConfig::mNoCapture, the no_capture script command.
Input event that plays a note on one of the three gem buttons.
Definition playnoteevent.h:10
Input event that rotates a player's view of the tracks by one track.
Definition rotateevent.h:11
Input event of an analog stick position.
Definition stickevent.h:15
World()
Construct a world with no game state.