Allow AutoActors for Stage and CouseNumber

This commit is contained in:
Chris Danford
2005-05-06 10:48:32 +00:00
parent 70cd62ddad
commit a122528974
12 changed files with 113 additions and 65 deletions
+19
View File
@@ -319,6 +319,25 @@ static void LuaGoalType(lua_State* L)
REGISTER_WITH_LUA_FUNCTION( LuaGoalType );
static const CString StageNames[] = {
"1",
"2",
"3",
"4",
"5",
"6",
"Final",
"Extra1",
"Extra2",
"Nonstop",
"Oni",
"Endless",
"Event",
"Demo",
};
XToString( Stage, NUM_STAGES );
#include "LuaFunctions.h"
LuaFunction_NoArgs( CoinMode, CoinModeToString(PREFSMAN->m_CoinMode) )
LuaFunction_NoArgs( Premium, PremiumToString(PREFSMAN->m_Premium) )