Ripped out existing PlayerOptions Lua interface and replaced it wholesale. Removed PrefsManager's DefaultFailType enum. Moved PlayerOptions::FailType enum to GameConstantsAndTypes and made it Lua accessible. Changed ModsLevel enum to include ModsLevel_Current to make accessing that ModsLevel easier to access. Rearranged ModsGroup appropriately. Added non-const Get functions to ModsGroup. Removed PlayerOptions.m_bSetTiltOrSkew because it had no reason to exist. Moved 200.0f to the const CMOD_DEFAULT because it was being used in more than one place.

This commit is contained in:
Kyzentun
2014-05-01 23:23:20 -06:00
parent 7f3d22e92f
commit 421a9be57b
19 changed files with 804 additions and 1055 deletions
+9 -1
View File
@@ -491,7 +491,15 @@ XToLocalizedString( CourseType );
LuaXType( CourseType );
LuaFunction( CourseTypeToLocalizedString, CourseTypeToLocalizedString( Enum::Check<CourseType>( L, 1 ) ) );
static const char *FailTypeNames[] = {
"Immediate",
"ImmediateContinue",
"EndOfSong",
"Off",
};
XToString( FailType );
XToLocalizedString( FailType );
LuaXType( FailType );
/*
* (c) 2001-2004 Chris Danford