Preparing for a new #TAG, "WARNINGS".

There needs to be a place for warnings on
a stepfile without using #TITLE, #SUBTITLE,
or #ARTIST. This tag will hopefully be that new place.

No version or cache incrementing yet: it's still
not complete. Still, what's here shouldn't harm anything.
This commit is contained in:
Jason Felds
2011-07-07 11:48:33 -04:00
parent a40fde4ab0
commit fc19060491
4 changed files with 55 additions and 0 deletions
+7
View File
@@ -507,6 +507,12 @@ public:
lua_pushstring( L, out );
return 1;
}
static int GetWarnings(T *p, lua_State *L)
{
lua_pushstring(L, p->GetWarningsToSetString());
return 1;
}
LunaSteps()
{
@@ -521,6 +527,7 @@ public:
ADD_METHOD( HasAttacks );
ADD_METHOD( GetRadarValues );
ADD_METHOD( GetTimingData );
ADD_METHOD( GetWarnings );
//ADD_METHOD( GetSMNoteData );
ADD_METHOD( GetStepsType );
ADD_METHOD( IsAnEdit );