Remove ThemeMetricEnum. Since all metrics are evaluated as lua, use lua integer constants.

This commit is contained in:
Steve Checkoway
2006-09-23 07:21:26 +00:00
parent 0f2707fe9c
commit a4aa69b148
11 changed files with 11 additions and 33 deletions
+2 -5
View File
@@ -216,10 +216,6 @@ TapNoteScore StringToTapNoteScore( const RString &s )
return TNS_INVALID;
}
template<> void StringTo<TapNoteScore>( const RString &s, TapNoteScore &out )
{
out = StringToTapNoteScore( s );
}
XToLocalizedString( TapNoteScore );
LuaFunction( TapNoteScoreToLocalizedString, TapNoteScoreToLocalizedString((TapNoteScore) IArg(1)) );
static void LuaTapNoteScores( lua_State* L )
@@ -408,8 +404,9 @@ static const char *EditModeNames[] = {
"Home",
"Full"
};
XToString( EditMode, EditMode_INVALID );
XToString( EditMode, NUM_EditMode );
StringToX( EditMode );
LuaXType( EditMode, NUM_EditMode, "EditMode_", false );
static const char *StageNames[] = {
"1",