Files
itgmania212121/stepmania/src/GameManager.h
T
Chris Danford 1090dcd2a0 add themed StepsType name
add "TotalHighScoreDancePoints" calculation to ScreenEnding
2004-03-11 06:31:30 +00:00

50 lines
1.4 KiB
C++

#ifndef GAMEMANAGER_H
#define GAMEMANAGER_H
/*
-----------------------------------------------------------------------------
Class: GameManager
Desc: Manages GameDefs (which define different games, like "dance" and "pump")
and StyleDefs (which define different games, like "single" and "couple")
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "GameDef.h"
#include "StyleDef.h"
#include "Style.h"
#include "Game.h"
class IniFile;
class GameManager
{
public:
GameManager();
~GameManager();
GameDef* GetGameDefForGame( Game g );
const StyleDef* GetStyleDefForStyle( Style s );
void GetStylesForGame( Game game, vector<Style>& aStylesAddTo, bool editor=false );
void GetNotesTypesForGame( Game game, vector<StepsType>& aNotesTypeAddTo );
Style GetEditorStyleForNotesType( StepsType nt );
void GetEnabledGames( vector<Game>& aGamesOut );
bool IsGameEnabled( Game game );
static int NotesTypeToNumTracks( StepsType nt );
static StepsType StringToNotesType( CString sNotesType );
static CString NotesTypeToString( StepsType nt );
static CString NotesTypeToThemedString( StepsType nt );
static Game StringToGameType( CString sGameType );
Style GameAndStringToStyle( Game game, CString sStyle );
protected:
};
extern GameManager* GAMEMAN; // global and accessable from anywhere in our program
#endif