#pragma once /* ----------------------------------------------------------------------------- Class: GameDef Desc: Holds information about a particular style of a game (e.g. "single", "double"). Copyright (c) 2001-2002 by the persons listed below. All rights reserved. Chris Danford ----------------------------------------------------------------------------- */ #include "NoteMetadata.h" #include "NoteData.h" #include "GameInput.h" #include "GameTypes.h" #include "MenuInput.h" const int MAX_STYLES_PER_GAME = 10; const int MAX_SKIN_PATHS = 16; class StyleDef; class GameDef { public: GameDef( CString sGameDir ); ~GameDef(); CString m_sGameDir; CString m_sName; CString m_sDescription; // instrument stuff int m_iNumInstruments; int m_iButtonsPerInstrument; CString m_sButtonNames[MAX_INSTRUMENT_BUTTONS]; // e.g. "left", "right", "middle C", "snare" int ButtonNameToIndex( const CString &sButtonName ) { for( int i=0; i