Add EditModeToString and StringToEditMode.

This commit is contained in:
Steve Checkoway
2006-03-14 03:39:38 +00:00
parent abca5e5a78
commit 0c52c3698c
2 changed files with 11 additions and 2 deletions
+8
View File
@@ -407,6 +407,14 @@ static void LuaGoalType(lua_State* L)
}
REGISTER_WITH_LUA_FUNCTION( LuaGoalType );
static const char *EditModeNames[] = {
"Practice",
"CourseMods",
"Home",
"Full"
};
XToString( EditMode, EditMode_INVALID );
StringToX( EditMode );
static const char *StageNames[] = {
"1",