remove enum Game. Instead, pass around the GameDef pointer

This commit is contained in:
Chris Danford
2004-07-25 04:27:20 +00:00
parent 1efc1f732c
commit 64628fac21
43 changed files with 312 additions and 288 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
#include "InputMapper.h"
#include "PrefsManager.h"
int GameDef::GetNumGameplayButtons()
int GameDef::GetNumGameplayButtons() const
{
int iIndexOfStart = ButtonNameToIndex( "Start" );
ASSERT( iIndexOfStart != GAME_BUTTON_INVALID );