reduce dependencies

This commit is contained in:
Chris Danford
2005-10-26 02:27:48 +00:00
parent 7ba01f023d
commit 9b3a007551
3 changed files with 28 additions and 30 deletions
-28
View File
@@ -247,34 +247,6 @@ static void LuaHoldNoteScores( lua_State* L )
REGISTER_WITH_LUA_FUNCTION( LuaHoldNoteScores );
static const CString TimingWindowNames[] = {
"W1",
"W2",
"W3",
"W4",
"W5",
"Mine",
"Attack",
"Hold",
"Roll",
};
XToString( TimingWindow, NUM_TimingWindow );
static const CString ScoreEventNames[] = {
"W1",
"W2",
"W3",
"W4",
"W5",
"Miss",
"HitMine",
"Held",
"LetGo",
};
XToString( ScoreEvent, NUM_ScoreEvent );
static const CString MemoryCardStateNames[] = {
"ready",
"checking",
-2
View File
@@ -173,7 +173,6 @@ enum TimingWindow
TW_Roll,
NUM_TimingWindow
};
const CString& TimingWindowToString( TimingWindow i );
enum ScoreEvent
@@ -189,7 +188,6 @@ enum ScoreEvent
SE_LetGo,
NUM_ScoreEvent
};
const CString& ScoreEventToString( ScoreEvent i );
//
+28
View File
@@ -20,6 +20,34 @@ PrefsManager* PREFSMAN = NULL; // global and accessable from anywhere in our pro
const CString DEFAULT_LIGHTS_DRIVER = "Null";
static const CString TimingWindowNames[] = {
"W1",
"W2",
"W3",
"W4",
"W5",
"Mine",
"Attack",
"Hold",
"Roll",
};
XToString( TimingWindow, NUM_TimingWindow );
static const CString ScoreEventNames[] = {
"W1",
"W2",
"W3",
"W4",
"W5",
"Miss",
"HitMine",
"Held",
"LetGo",
};
XToString( ScoreEvent, NUM_ScoreEvent );
//
// For self-registering prefs
//