|
Public Member Functions |
| GameState () |
| ~GameState () |
void | Reset () |
void | ApplyCmdline () |
void | BeginGame () |
void | JoinPlayer (PlayerNumber pn) |
void | PlayersFinalized () |
void | EndGame () |
void | SaveCurrentSettingsToProfile (PlayerNumber pn) |
void | Update (float fDelta) |
bool | DifficultiesLocked () |
bool | ChangePreferredDifficulty (PlayerNumber pn, Difficulty dc) |
bool | ChangePreferredDifficulty (PlayerNumber pn, int dir) |
bool | ChangePreferredCourseDifficulty (PlayerNumber pn, CourseDifficulty cd) |
bool | ChangePreferredCourseDifficulty (PlayerNumber pn, int dir) |
bool | IsCourseDifficultyShown (CourseDifficulty cd) |
Difficulty | GetEasiestNotesDifficulty () const |
bool | PlayersCanJoin () const |
bool | EnoughCreditsToJoin () const |
int | GetNumSidesJoined () const |
const Game * | GetCurrentGame () |
const Style * | GetCurrentStyle () const |
void | GetPlayerInfo (PlayerNumber pn, bool &bIsEnabledOut, bool &bIsHumanOut) |
bool | IsPlayerEnabled (PlayerNumber pn) const |
int | GetNumPlayersEnabled () const |
bool | PlayerUsingBothSides () const |
bool | IsHumanPlayer (PlayerNumber pn) const |
int | GetNumHumanPlayers () const |
PlayerNumber | GetFirstHumanPlayer () const |
PlayerNumber | GetFirstDisabledPlayer () const |
bool | IsCpuPlayer (PlayerNumber pn) const |
bool | AnyPlayersAreCpu () const |
void | GetCharacters (vector< Character * > &apCharactersOut) |
Character * | GetRandomCharacter () |
Character * | GetDefaultCharacter () |
bool | IsCourseMode () const |
bool | IsBattleMode () const |
bool | ShowMarvelous () const |
int | GetStageIndex () const |
void | BeginStage () |
void | CancelStage () |
void | FinishStage () |
int | GetNumStagesLeft () const |
bool | IsFinalStage () const |
bool | IsExtraStage () const |
bool | IsExtraStage2 () const |
CString | GetStageText () const |
void | GetAllStageTexts (CStringArray &out) const |
int | GetCourseSongIndex () const |
CString | GetPlayerDisplayName (PlayerNumber pn) const |
void | ResetNoteSkins () |
void | ResetNoteSkinsForPlayer (PlayerNumber pn) |
void | GetAllUsedNoteSkins (vector< CString > &out) const |
void | ResetMusicStatistics () |
void | UpdateSongPosition (float fPositionSeconds, const TimingData &timing, const RageTimer ×tamp=RageZeroTimer) |
float | GetSongPercent (float beat) const |
bool | AllAreInDangerOrWorse () const |
bool | AllAreDead () const |
bool | AllHaveComboOf30OrMoreMisses () const |
bool | OneIsHot () const |
void | SetNoteSkinForBeatRange (PlayerState *pPlayerState, const CString &sNoteSkin, float StartBeat, float EndBeat) |
void | GetUndisplayedBeats (const PlayerState *pPlayerState, float TotalSeconds, float &StartBeat, float &EndBeat) const |
void | LaunchAttack (PlayerNumber target, const Attack &a) |
void | RebuildPlayerOptionsFromActiveAttacks (PlayerNumber pn) |
void | RemoveAllActiveAttacks () |
void | RemoveActiveAttacksForPlayer (PlayerNumber pn, AttackLevel al=NUM_ATTACK_LEVELS) |
void | RemoveAllInventory () |
int | GetSumOfActiveAttackLevels (PlayerNumber pn) const |
PlayerNumber | GetBestPlayer () const |
StageResult | GetStageResult (PlayerNumber pn) const |
void | ResetStageStatistics () |
void | GetFinalEvalStats (StageStats &statsOut) const |
void | ApplyModifiers (PlayerNumber pn, CString sModifiers) |
void | StoreSelectedOptions () |
void | RestoreSelectedOptions () |
bool | IsDisqualified (PlayerNumber pn) |
void | AdjustFailType () |
void | ReloadCharacters () |
bool | HasEarnedExtraStage () const |
void | GetRankingFeats (PlayerNumber pn, vector< RankingFeat > &vFeatsOut) const |
void | StoreRankingName (PlayerNumber pn, CString name) |
bool | IsTimeToPlayAttractSounds () |
void | GetDifficultiesToShow (set< Difficulty > &AddTo) |
void | GetCourseDifficultiesToShow (set< CourseDifficulty > &AddTo) |
Public Attributes |
const Game * | m_pCurGame |
const Style * | m_pCurStyle |
bool | m_bSideIsJoined [NUM_PLAYERS] |
bool | m_bPlayersFinalized |
PlayMode | m_PlayMode |
int | m_iCoins |
PlayerNumber | m_MasterPlayerNumber |
bool | m_bIsOnSystemMenu |
CourseDifficulty | m_PreferredCourseDifficulty [NUM_PLAYERS] |
RageTimer | m_timeGameStarted |
map< CString, CString > | m_mapEnv |
int | m_iGameSeed |
int | m_iRoundSeed |
CString | m_sLoadingMessage |
CString | m_sPreferredSongGroup |
bool | m_bChangedFailType |
Difficulty | m_PreferredDifficulty [NUM_PLAYERS] |
SortOrder | m_SortOrder |
bool | m_bEditing |
bool | m_bDemonstrationOrJukebox |
bool | m_bJukeboxUsesModifiers |
int | m_iNumStagesOfThisSong |
int | m_iCurrentStageIndex |
Song * | m_pCurSong |
Song * | m_pPreferredSong |
Steps * | m_pCurSteps [NUM_PLAYERS] |
Course * | m_pCurCourse |
Course * | m_pPreferredCourse |
Trail * | m_pCurTrail [NUM_PLAYERS] |
float | m_fMusicSeconds |
float | m_fSongBeat |
float | m_fCurBPS |
bool | m_bFreeze |
RageTimer | m_LastBeatUpdate |
bool | m_bPastHereWeGo |
int | m_BeatToNoteSkinRev |
float | m_fOpponentHealthPercent |
float | m_fTugLifePercentP1 |
SongOptions | m_SongOptions |
SongOptions | m_StoredSongOptions |
Character * | m_pCurCharacters [NUM_PLAYERS] |
bool | m_bAllow2ndExtraStage |
vector< CString * > | m_vpsNamesThatWereFilled |
deque< PerDifficultyAward > | m_vLastPerDifficultyAwards [NUM_PLAYERS] |
deque< PeakComboAward > | m_vLastPeakComboAwards [NUM_PLAYERS] |
int | m_iNumTimesThroughAttract |
PlayerState * | m_pPlayerState [NUM_PLAYERS] |
Static Public Attributes |
const float | MUSIC_SECONDS_INVALID = -5000.0f |
Private Attributes |
vector< Character * > | m_pCharacters |