wavelength 1.0.0
Loading...
Searching...
No Matches
SoloGameLogic Class Reference

Rules of a song played by one player against the juice meter. More...

#include <sologamelogic.h>

Inheritance diagram for SoloGameLogic:
Collaboration diagram for SoloGameLogic:

Classes

class  CheckpointTextCmd
 Command that shows the stage completion message of the current section. More...

Public Types

enum  WinSequenceStep {
  kWinStepCampaign = 0 , kWinStepNextDifficulty = 1 , kWinStepNextCampaign = 2 , kWinStepFinalCampaign = 3 ,
  kWinStepPrompt = 4 , kWinStepDone = 5
}
 Steps of the campaign win sequence, the values of mWinSequenceStep. More...
Public Types inherited from GameLogic
enum  State {
  kStateIdle = 0 , kStatePlaying = 1 , kStatePaused = 2 , kStateSuspended = 3 ,
  kStateWon = 4 , kStateRunning = 5 , kStateEnding = 6 , kStateFinished = 7
}
 Values of mState. More...
enum  Powerup {
  kPowerupNone = 0 , kPowerupAutocatcher = 1 , kPowerupMultiplier = 2 , kPowerupSlowdown = 3 ,
  kPowerupFreestyle = 4 , kPowerupBumper = 5 , kPowerupCrippler = 6 , kPowerupCount = 7
}
 Kinds of power-up a player can hold. More...

Public Member Functions

 SoloGameLogic (Song *pSong, DataArray *pConfig, int nSeed)
 Construct the logic of a solo song.
 ~SoloGameLogic () override
 Unregister the script commands and restore the song speed.
bool DispatchPriv (Message *pMsg) override
 Handle a message sent to the logic.
int GetTick () override
 Report the game tick, the song tick shifted by the restarts of the victory lap.
float GetTime () override
 Report the game time, the song time shifted by the restarts of the victory lap.
void HandleInput (const PlayNoteEvent &event) override
 Pass a played note on unless a dialog is open and the button is down.
void HandleInput (const BtnEvent< 3 > &event) override
 Act on a press of the start button, ending the victory lap or the win sequence.
void HandleInput (const StickEvent< 2 > &event) override
 Pass a stick event on unless a dialog is open.
void HandleInput (const StickEvent< 6 > &event) override
 Pass a stick event on unless a dialog is open.
void SetPaused (bool bPaused, int nPad, int nReason) override
 Pause the playing song and show the pause dialog, or resume it.
bool DeployFreestyle (Player *pPlayer) override
 Deploy the freestyle power-up and count the bars it makes possible to capture.
void OnStart () override
 Fill the juice meter, show the controller display, and enable the first tracks.
void OnFinish (bool bWon) override
 Record the result of the song and start the victory lap or the loss.
void OnBar (int nBar) override
 Drain the juice for the bar and end the song when the juice ran out.
void OnSection () override
 Win the song after the last section, or award the energy bonus of the section.
void OnPhraseCaptured (CatchTrack *pTrack, Player *pPlayer, int nBar, bool bStreak) override
 Add the juice of a capture and count the bars the capture makes possible to capture.
void OnPhraseEnded (Track *pTrack) override
 Uncount the captured track.
void OnPhraseMissed (Track *pTrack) override
 Lose the song when the phrase missed was the last chance, and commit the pending juice.
void AdvanceWinSequence ()
 Show the next message of the campaign win sequence and schedule the one after.
void CommitPendingJuice ()
 Add the pending juice to the meter unless a player is freestyling.
void DrainPendingJuice ()
 Take one unit from the pending juice for a bar of a phrase the player does not play.
void WinNow ()
 Win the song at once with a fixed score.
void SaveOrRetry ()
 Show the result dialog once the display and the win sound bank are ready, or retry later.
void FreezeAfterLoss ()
 Stop the song clock and the sound at the end of the slowdown of a lost song.
void ResumeWithCue (bool bIntro)
 Start the victory lap on the freestyle track.
void Restart (bool bRestartIntro)
 Restart the song from the start of the next loop of the victory lap.
void HandleInput (const RotateEvent &event) override
 Move a playing player to the next or previous catch track.
void HandleInput (const BtnEvent< 4 > &event) override
 Toggle the display option of a single controller and save it in the profile.
void HandleInput (const BtnEvent< 5 > &event) override
 Deploy the power-up of a player and log it.
void HandleInput (const ChangeSectionEvent &event) override
 Ignore the event.
void HandleInput (const BtnEvent< 9 > &event) override
 Ignore the event.
void HandleInput (const BtnEvent< 10 > &event) override
 Pass the button to the player.
void HandleInput (const BtnEvent< 8 > &event) override
 Ignore the event.
Public Member Functions inherited from GameLogic
 GameLogic (Song *pSong, DataArray *pConfig, int nSeed)
 Construct the logic of a song.
 ~GameLogic () override
 Stop the song and release the players and the tracks.
void Start () override
 Start the song, the tracks, the players, and the bar counting.
void Stop () override
 Stop the song, the tracks, and the players.
bool IsFinished () const override
 Report whether Stop() ran.
int HasQuit () const override
 Report mQuit.
int IsRestartRequested () const override
 Report whether the song is to start again once it ends.
bool IsFreestyling (int nPlayer) override
 Report whether a player is on the freestyle track.
void Poll () override
 Stop the song once the ending finished.
float GetProgress () override
 Report how far the song has played.
bool IsPlaying () const override
 Report whether the song is playing.
virtual bool DeploySlowdown (Player *pPlayer)
 Slow the song down for a player.
virtual bool DeployBumper (Player *pPlayer)
 Refuse a bumper.
virtual bool DeployCrippler (Player *pPlayer)
 Refuse a crippler.
virtual void EndFreestyle (Player *pPlayer)
 Move a player from the freestyle track back to a catch track.
bool IsFreestyleTrackActive () const
 Report whether a player is on the freestyle track while the song plays.
bool HasPhraseThisBar () const
 Report whether a catch track has a phrase in the current bar.
void EndSong ()
 Start the ending of the song.
void Finish (bool bWon)
 Stop the players at the end of the song.
void CapturePhrase (CatchTrack *pTrack, Player *pPlayer, int nBar, bool bStreak)
 Record the capture of a phrase and find the next phrase of each local player.
void ContinueStreak (Track *pTrack, int nBar, int nFromBar)
 Lengthen or reset the streak of the player of a track and find the next phrase.
void EndPhrase (Track *pTrack)
 Report the end of a phrase to the triggers and to OnPhraseEnded().
void MissPhrase (Track *pTrack)
 Record a missed phrase and report it to the triggers and to OnPhraseMissed().
void EnableNextTracks (int nBar)
 Enable the catch tracks of the next step of the song's enable order.
void EnterFreestyle (Player *pPlayer, bool bVictory)
 Move a player to the freestyle track.
void LeaveFreestyle (Player *pPlayer, int nTrack)
 Move a player from the freestyle track to a catch track and find the next phrase.
void StartSlowdown ()
 Slow the song down.
void StopSlowdown ()
 Return the song to its speed after StartSlowdown().
bool DeployAutocatcher (Player *pPlayer)
 Capture a phrase of the track of a player and pulse the controllers of every player on it.
bool DeployMultiplier (Player *pPlayer)
 Raise the multiplier of a player.
Public Member Functions inherited from WorldLogic
 WorldLogic ()
 Construct the logic and give the input of every controller to the world.
 ~WorldLogic () override
 Release the logic.
bool DispatchPriv (Message *pMsg) override
 Pass a JoypadConnectionMsg to OnJoypadConnection() and ignore any other message.
void AllNotesOff ()
 Silence every synthesiser channel.
void ScheduleControllerCheck ()
 Pause the song again one tick from now when a controller is disconnected.
int OnJoypadConnection (JoypadConnectionMsg *pMsg)
 Pause the playing song when the controller of a player is disconnected.
Public Member Functions inherited from MsgSink
void * operator new (size_t nSize)
 Allocate a sink from the pool heaps under the tag "MsgSink".
void operator delete (void *pBlock)
 Return a sink to the pool heaps.
virtual ~MsgSink ()
virtual bool Dispatch (Message *pMsg)
 Accept a message.
void * operator new (size_t size)
 Allocate from the main heap under the name MsgSink.
void operator delete (void *mem)
 Return memory to its heap.
virtual ~MsgSink ()
 Destroy the sink.
virtual bool Dispatch (Message *msg)
 Handle a message.

Static Public Member Functions

static void OnPauseDialog (Metagame::DialogAction action, void *pUserData)
 Act on the choice of the pause dialog.
static void OnWinDialog (Metagame::DialogAction action, void *pUserData)
 Act on the choice of the dialog of a won song.
static void OnResultDialog (Metagame::DialogAction action, void *pUserData)
 Act on the choice of the dialog of a lost song or of a practice song.
static void OnJuice (DataArray *pCommand, void *pUserData)
 Run the "juice" script command, which adds its argument to the juice meter.
static void OnWinCheat (DataArray *pCommand, void *pUserData)
 Run the "win_cheat" script command, which wins the song.
static void OnWinSequence (DataArray *pCommand, void *pUserData)
 Run the "win_sequence" script command, which runs the win sequence after the next win.
Static Public Member Functions inherited from WorldLogic
static int FindDisconnectedPad ()
 Find the controller of a player on this console that is disconnected.

Additional Inherited Members

Protected Member Functions inherited from GameLogic
void AssignTracks ()
 Assign each player to a random catch track.
void ApplyFreestyleEffect (int nSet)
 Apply one effect set of the song.
void ShowPowerupText (const char *pszToken, int nPlayer)
 Show the localised text of a power-up.
void CreateTracks (int *pFreestyleType, int *pFreestyleInstrument)
 Create the catch tracks and the freestyle track of the song.
void TickBar ()
 Count one bar, starting the next section when it begins.
void AdvanceSection ()
 Start the next section.
void ClearNextPhrase (int nPlayer)
 Forget the next phrase of a player.
void FindNextPhrase (int nPlayer, int nTrack, int nFromBar)
 Find the first phrase on another catch track at or after a bar, and point the player at it.
void PlaceRandomPowerups ()
 Place a random power-up in every bar of every catch track.
void PlacePowerups ()
 Place the power-ups of every section in the busiest bars of the catch tracks.
Static Protected Member Functions inherited from GameLogic
static int GetControllerArgument (DataArray *pCommand)
 Report the controller argument of a script command.
static void OnAutocatcherCommand (DataArray *pCommand, void *pUserData)
 Deploy the autocatcher for a controller on the autocatcher script command.
static void OnMultiplierCommand (DataArray *pCommand, void *pUserData)
 Deploy the multiplier for a controller on the multiplier script command.
static void OnSlowCommand (DataArray *pCommand, void *pUserData)
 Turn the slowdown on or off outside an online game on the slow script command.
static void OnFreestyleCommand (DataArray *pCommand, void *pUserData)
 Deploy the freestyle for a controller on the freestyle script command.
static void OnFreestyleToggleCommand (DataArray *pCommand, void *pUserData)
 Move the player of a controller onto or off the freestyle track on the freestyle_toggle script command.
static void OnBumperCommand (DataArray *pCommand, void *pUserData)
 Deploy the bumper for a controller on the bumper script command.
static void OnCripplerCommand (DataArray *pCommand, void *pUserData)
 Deploy the crippler for a controller on the crippler script command.
static void OnPowerupCommand (DataArray *pCommand, void *pUserData)
 Give a power-up to the player of a controller on the powerup script command while the power-up cheat is on.
Protected Attributes inherited from GameLogic
Song * mSong
int mState
int mPaused
int mTicksPerBar
int mNumBars
PlayMap * mPlayMap
std::vector< std::unique_ptr< Player > > mPlayers
std::vector< LocalPlayer * > mLocalPlayers
std::vector< std::unique_ptr< CatchTrack > > mCatchTracks
std::unique_ptr< FreestyleTrack > mFreestyleTrack
std::unique_ptr< GameTrackSelector > mTrackSelector
std::unique_ptr< SpeedRamp > mSpeedRamp
int mPhraseThisBar
int mQuit
int mReserved60
int mSectionStartBar
int mNextSectionBar
int mSection
WorldBeat mWorldBeat
int mSavedState
int mReserved8c
int mSlowdown
int mNextEnableStep
std::vector< PlayerData > mPlayerData
Ptr< Command > mBarCmd
Ptr< Command > mStopSlowdownCmd
Rand mRand
int mEndTick

Detailed Description

Rules of a song played by one player against the juice meter.

The RTTI records the class as deriving from GameLogic. Each captured phrase adds juice, and each bar without a capture drains it. The song is lost when the juice runs out while a phrase plays, and won at the end of the last section. A won song that completes a campaign tier runs the campaign win sequence, and every won song loops on the freestyle track until the player leaves.

Member Enumeration Documentation

◆ WinSequenceStep

Steps of the campaign win sequence, the values of mWinSequenceStep.

Enumerator
kWinStepCampaign 

The campaign completion message.

kWinStepNextDifficulty 

The message that unlocks the next difficulty.

kWinStepNextCampaign 

The third campaign message.

kWinStepFinalCampaign 

The fourth campaign message.

kWinStepPrompt 

The prompt to press start.

kWinStepDone 

Every step ran.

Constructor & Destructor Documentation

◆ SoloGameLogic()

SoloGameLogic::SoloGameLogic ( Song * pSong,
DataArray * pConfig,
int nSeed )

Construct the logic of a solo song.

Reads the sound banks from the "game" section of the configuration, totals the bars the player plays, and registers the script commands "juice", "win_cheat", and "win_sequence".

Parameters
pSongThe song.
pConfigThe configuration of the logic.
nSeedThe seed of the random numbers.
Ghidra address:
NTSC-U/C: 0x00139140
Ghidra address:
PAL: 0x0013a9a0

◆ ~SoloGameLogic()

SoloGameLogic::~SoloGameLogic ( )
override

Unregister the script commands and restore the song speed.

Ghidra address:
NTSC-U/C: 0x00139550
Ghidra address:
PAL: 0x0013ae18

Member Function Documentation

◆ DispatchPriv()

bool SoloGameLogic::DispatchPriv ( Message * pMsg)
overridevirtual

Handle a message sent to the logic.

Parameters
pMsgThe message.
Returns
The result of WorldLogic::DispatchPriv().
Ghidra address:
NTSC-U/C: 0x0013b2b0
Ghidra address:
PAL: 0x0013cb80

Implements MsgSink.

◆ GetTick()

int SoloGameLogic::GetTick ( )
overridevirtual

Report the game tick, the song tick shifted by the restarts of the victory lap.

Returns
The tick.
Ghidra address:
NTSC-U/C: 0x00139b18
Ghidra address:
PAL: 0x0013b3e0

Implements WorldLogic.

◆ GetTime()

float SoloGameLogic::GetTime ( )
overridevirtual

Report the game time, the song time shifted by the restarts of the victory lap.

Returns
The time, in milliseconds.
Ghidra address:
NTSC-U/C: 0x00139b50
Ghidra address:
PAL: 0x0013b418

Implements WorldLogic.

◆ HandleInput() [1/11]

void SoloGameLogic::HandleInput ( const PlayNoteEvent & event)
overridevirtual

Pass a played note on unless a dialog is open and the button is down.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00139c80
Ghidra address:
PAL: 0x0013b548

Reimplemented from GameLogic.

◆ HandleInput() [2/11]

void SoloGameLogic::HandleInput ( const BtnEvent< 3 > & event)
overridevirtual

Act on a press of the start button, ending the victory lap or the win sequence.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00139b88
Ghidra address:
PAL: 0x0013b450

Reimplemented from GameLogic.

◆ HandleInput() [3/11]

void SoloGameLogic::HandleInput ( const StickEvent< 2 > & event)
overridevirtual

Pass a stick event on unless a dialog is open.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00139cb8
Ghidra address:
PAL: 0x0013b580

Reimplemented from GameLogic.

◆ HandleInput() [4/11]

void SoloGameLogic::HandleInput ( const StickEvent< 6 > & event)
overridevirtual

Pass a stick event on unless a dialog is open.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00139ce0
Ghidra address:
PAL: 0x0013b5a8

Reimplemented from GameLogic.

◆ SetPaused()

void SoloGameLogic::SetPaused ( bool bPaused,
int nPad,
int nReason )
overridevirtual

Pause the playing song and show the pause dialog, or resume it.

Parameters
bPausedPause the song.
nPadThe controller that paused the song, or -1.
nReasonNon-zero when a disconnected controller paused the song.
Ghidra address:
NTSC-U/C: 0x001399b0
Ghidra address:
PAL: 0x0013b278

Reimplemented from GameLogic.

◆ DeployFreestyle()

bool SoloGameLogic::DeployFreestyle ( Player * pPlayer)
overridevirtual

Deploy the freestyle power-up and count the bars it makes possible to capture.

Parameters
pPlayerThe player.
Returns
True when the power-up was deployed.
Ghidra address:
NTSC-U/C: 0x0013a6f8
Ghidra address:
PAL: 0x0013bfc8

Reimplemented from GameLogic.

◆ OnStart()

void SoloGameLogic::OnStart ( )
overridevirtual

Fill the juice meter, show the controller display, and enable the first tracks.

Ghidra address:
NTSC-U/C: 0x00139658
Ghidra address:
PAL: 0x0013af20

Implements GameLogic.

◆ OnFinish()

void SoloGameLogic::OnFinish ( bool bWon)
overridevirtual

Record the result of the song and start the victory lap or the loss.

Parameters
bWonThe player won.
Ghidra address:
NTSC-U/C: 0x0013a958
Ghidra address:
PAL: 0x0013c228

Implements GameLogic.

◆ OnBar()

void SoloGameLogic::OnBar ( int nBar)
overridevirtual

Drain the juice for the bar and end the song when the juice ran out.

In the PAL build a skill level without checkpoint bars can fail the song in any bar of a section.

Parameters
nBarThe bar.
Ghidra address:
NTSC-U/C: 0x0013a008
Ghidra address:
PAL: 0x0013b8d0

Implements GameLogic.

◆ OnSection()

void SoloGameLogic::OnSection ( )
overridevirtual

Win the song after the last section, or award the energy bonus of the section.

Ghidra address:
NTSC-U/C: 0x0013a2b0
Ghidra address:
PAL: 0x0013bb80

Implements GameLogic.

◆ OnPhraseCaptured()

void SoloGameLogic::OnPhraseCaptured ( CatchTrack * pTrack,
Player * pPlayer,
int nBar,
bool bStreak )
overridevirtual

Add the juice of a capture and count the bars the capture makes possible to capture.

Parameters
pTrackThe track of the phrase.
pPlayerThe player who captured the phrase.
nBarThe bar after the phrase.
bStreakThe capture continued a streak.
Ghidra address:
NTSC-U/C: 0x00139d08
Ghidra address:
PAL: 0x0013b5d0

Implements GameLogic.

◆ OnPhraseEnded()

void SoloGameLogic::OnPhraseEnded ( Track * pTrack)
overridevirtual

Uncount the captured track.

Parameters
pTrackThe track of the phrase.
Ghidra address:
NTSC-U/C: 0x00139e98
Ghidra address:
PAL: 0x0013b760

Implements GameLogic.

◆ OnPhraseMissed()

void SoloGameLogic::OnPhraseMissed ( Track * pTrack)
overridevirtual

Lose the song when the phrase missed was the last chance, and commit the pending juice.

Parameters
pTrackThe track of the phrase.
Ghidra address:
NTSC-U/C: 0x00139ea8
Ghidra address:
PAL: 0x0013b770

Implements GameLogic.

◆ AdvanceWinSequence()

void SoloGameLogic::AdvanceWinSequence ( )

Show the next message of the campaign win sequence and schedule the one after.

Ghidra address:
NTSC-U/C: 0x00139740
Ghidra address:
PAL: 0x0013b008

◆ CommitPendingJuice()

void SoloGameLogic::CommitPendingJuice ( )

Add the pending juice to the meter unless a player is freestyling.

Ghidra address:
NTSC-U/C: 0x00139f18
Ghidra address:
PAL: 0x0013b7e0

◆ DrainPendingJuice()

void SoloGameLogic::DrainPendingJuice ( )

Take one unit from the pending juice for a bar of a phrase the player does not play.

Ghidra address:
NTSC-U/C: 0x00139f78
Ghidra address:
PAL: 0x0013b840

◆ WinNow()

void SoloGameLogic::WinNow ( )

Win the song at once with a fixed score.

Ghidra address:
NTSC-U/C: 0x0013a848
Ghidra address:
PAL: 0x0013c118

◆ SaveOrRetry()

void SoloGameLogic::SaveOrRetry ( )

Show the result dialog once the display and the win sound bank are ready, or retry later.

Ghidra address:
NTSC-U/C: 0x0013a8a8
Ghidra address:
PAL: 0x0013c178

◆ FreezeAfterLoss()

void SoloGameLogic::FreezeAfterLoss ( )

Stop the song clock and the sound at the end of the slowdown of a lost song.

Ghidra address:
NTSC-U/C: 0x0013adb8
Ghidra address:
PAL: 0x0013c688

◆ ResumeWithCue()

void SoloGameLogic::ResumeWithCue ( bool bIntro)

Start the victory lap on the freestyle track.

Parameters
bIntroRun the intro of the display before the lap starts.
Ghidra address:
NTSC-U/C: 0x0013ae50
Ghidra address:
PAL: 0x0013c720

◆ Restart()

void SoloGameLogic::Restart ( bool bRestartIntro)

Restart the song from the start of the next loop of the victory lap.

Parameters
bRestartIntroRun the intro of the display again.
Ghidra address:
NTSC-U/C: 0x0013b020
Ghidra address:
PAL: 0x0013c8f0

◆ OnPauseDialog()

void SoloGameLogic::OnPauseDialog ( Metagame::DialogAction action,
void * pUserData )
static

Act on the choice of the pause dialog.

Parameters
actionThe choice.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x00139a88
Ghidra address:
PAL: 0x0013b350

◆ OnWinDialog()

void SoloGameLogic::OnWinDialog ( Metagame::DialogAction action,
void * pUserData )
static

Act on the choice of the dialog of a won song.

Parameters
actionThe choice.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x0013a4b0
Ghidra address:
PAL: 0x0013bd80

◆ OnResultDialog()

void SoloGameLogic::OnResultDialog ( Metagame::DialogAction action,
void * pUserData )
static

Act on the choice of the dialog of a lost song or of a practice song.

Parameters
actionThe choice.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x0013a640
Ghidra address:
PAL: 0x0013bf10

◆ OnJuice()

void SoloGameLogic::OnJuice ( DataArray * pCommand,
void * pUserData )
static

Run the "juice" script command, which adds its argument to the juice meter.

Parameters
pCommandThe command.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x0013a7b0
Ghidra address:
PAL: 0x0013c080

◆ OnWinCheat()

void SoloGameLogic::OnWinCheat ( DataArray * pCommand,
void * pUserData )
static

Run the "win_cheat" script command, which wins the song.

Parameters
pCommandThe command.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x0013a7f0
Ghidra address:
PAL: 0x0013c0c0

◆ OnWinSequence()

void SoloGameLogic::OnWinSequence ( DataArray * pCommand,
void * pUserData )
static

Run the "win_sequence" script command, which runs the win sequence after the next win.

Parameters
pCommandThe command.
pUserDataThe logic.
Ghidra address:
NTSC-U/C: 0x0013a810
Ghidra address:
PAL: 0x0013c0e0

◆ HandleInput() [5/11]

void GameLogic::HandleInput ( const RotateEvent & event)
overridevirtual

Move a playing player to the next or previous catch track.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00114c28
Ghidra address:
PAL: 0x001163c0

Reimplemented from GameLogic.

◆ HandleInput() [6/11]

void GameLogic::HandleInput ( const BtnEvent< 4 > & event)
overridevirtual

Toggle the display option of a single controller and save it in the profile.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00114e48
Ghidra address:
PAL: 0x001165e0

Reimplemented from GameLogic.

◆ HandleInput() [7/11]

void GameLogic::HandleInput ( const BtnEvent< 5 > & event)
overridevirtual

Deploy the power-up of a player and log it.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00114f30
Ghidra address:
PAL: 0x001166c8

Reimplemented from GameLogic.

◆ HandleInput() [8/11]

void GameLogic::HandleInput ( const ChangeSectionEvent & event)
inlineoverridevirtual

Ignore the event.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00337ca8
Ghidra address:
PAL: 0x003a5258

Reimplemented from GameLogic.

◆ HandleInput() [9/11]

void GameLogic::HandleInput ( const BtnEvent< 9 > & event)
inlineoverridevirtual

Ignore the event.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00337cb0
Ghidra address:
PAL: 0x003a5260

Reimplemented from GameLogic.

◆ HandleInput() [10/11]

void GameLogic::HandleInput ( const BtnEvent< 10 > & event)
overridevirtual

Pass the button to the player.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00114d00
Ghidra address:
PAL: 0x00116498

Reimplemented from GameLogic.

◆ HandleInput() [11/11]

void GameLogic::HandleInput ( const BtnEvent< 8 > & event)
inlineoverridevirtual

Ignore the event.

Parameters
eventThe event.
Ghidra address:
NTSC-U/C: 0x00337ca0
Ghidra address:
PAL: 0x003a5250

Reimplemented from GameLogic.


The documentation for this class was generated from the following file: