[Course] Bumped up max edit course title length to 16 (still feels too short). Also added #DESCRIPTION tag and Course:GetDescription() Lua binding.

This commit is contained in:
AJ Kelly
2011-07-21 16:17:48 -05:00
parent 41e26e31ce
commit 6bdaf5c92a
4 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -16,12 +16,11 @@ struct lua_State;
class Style;
class Game;
const int MAX_EDIT_COURSE_TITLE_LENGTH = 12;
const int MAX_EDIT_COURSE_TITLE_LENGTH = 16;
inline PlayMode CourseTypeToPlayMode( CourseType ct ) { return (PlayMode)(PLAY_MODE_NONSTOP+ct); }
inline CourseType PlayModeToCourseType( PlayMode pm ) { return (CourseType)(pm-PLAY_MODE_NONSTOP); }
enum SongSort
{
SongSort_Randomize,
@@ -162,6 +161,7 @@ public:
RString m_sMainTitle, m_sMainTitleTranslit;
RString m_sSubTitle, m_sSubTitleTranslit;
RString m_sScripter;
RString m_sDescription;
RString m_sBannerPath;
RString m_sBackgroundPath;