From e0b058d76b393968c16fdc80a0c820c6c51d3a09 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 17 Dec 2002 21:14:45 +0000 Subject: [PATCH] pull some stuff out of the header --- stepmania/src/GameDef.cpp | 7 +++++++ stepmania/src/GameDef.h | 11 ++--------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/stepmania/src/GameDef.cpp b/stepmania/src/GameDef.cpp index ca2eaa9bfe..d5fcdcd478 100644 --- a/stepmania/src/GameDef.cpp +++ b/stepmania/src/GameDef.cpp @@ -20,7 +20,14 @@ #include "InputMapper.h" #include "PrefsManager.h" +GameButton GameDef::ButtonNameToIndex( const CString &sButtonName ) +{ + for( int i=0; i