reduce dependencies
This commit is contained in:
@@ -247,34 +247,6 @@ static void LuaHoldNoteScores( lua_State* L )
|
|||||||
REGISTER_WITH_LUA_FUNCTION( LuaHoldNoteScores );
|
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[] = {
|
static const CString MemoryCardStateNames[] = {
|
||||||
"ready",
|
"ready",
|
||||||
"checking",
|
"checking",
|
||||||
|
|||||||
@@ -173,7 +173,6 @@ enum TimingWindow
|
|||||||
TW_Roll,
|
TW_Roll,
|
||||||
NUM_TimingWindow
|
NUM_TimingWindow
|
||||||
};
|
};
|
||||||
const CString& TimingWindowToString( TimingWindow i );
|
|
||||||
|
|
||||||
|
|
||||||
enum ScoreEvent
|
enum ScoreEvent
|
||||||
@@ -189,7 +188,6 @@ enum ScoreEvent
|
|||||||
SE_LetGo,
|
SE_LetGo,
|
||||||
NUM_ScoreEvent
|
NUM_ScoreEvent
|
||||||
};
|
};
|
||||||
const CString& ScoreEventToString( ScoreEvent i );
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -20,6 +20,34 @@ PrefsManager* PREFSMAN = NULL; // global and accessable from anywhere in our pro
|
|||||||
|
|
||||||
const CString DEFAULT_LIGHTS_DRIVER = "Null";
|
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
|
// For self-registering prefs
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user