increase MAX_EDIT_COURSE_TITLE_LENGTH
This commit is contained in:
@@ -96,6 +96,38 @@ int CourseEntry::GetNumModChanges() const
|
||||
return iNumModChanges;
|
||||
}
|
||||
|
||||
// lua start
|
||||
/*
|
||||
#include "LuaBinding.h"
|
||||
|
||||
class LunaCourseEntry: public Luna<CourseEntry>
|
||||
{
|
||||
public:
|
||||
LunaCourseEntry() { LUA->Register( Register ); }
|
||||
|
||||
static int GetSong( T* p, lua_State *L )
|
||||
{
|
||||
if( p->pSong )
|
||||
p->pSong->PushSelf(L);
|
||||
else
|
||||
lua_pushnil(L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void Register(lua_State *L)
|
||||
{
|
||||
ADD_METHOD( GetSong )
|
||||
|
||||
Luna<T>::Register( L );
|
||||
}
|
||||
};
|
||||
|
||||
LUA_REGISTER_CLASS( CourseEntry )
|
||||
*/
|
||||
// lua end
|
||||
|
||||
|
||||
|
||||
|
||||
Course::Course()
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ class Steps;
|
||||
class Profile;
|
||||
struct lua_State;
|
||||
|
||||
const int MAX_EDIT_COURSE_TITLE_LENGTH = 12;
|
||||
const int MAX_EDIT_COURSE_TITLE_LENGTH = 20;
|
||||
|
||||
enum CourseType
|
||||
{
|
||||
@@ -97,6 +97,9 @@ public:
|
||||
|
||||
CString GetTextDescription() const;
|
||||
int GetNumModChanges() const;
|
||||
|
||||
// Lua
|
||||
void PushSelf( lua_State *L );
|
||||
};
|
||||
|
||||
const int MAX_ENTRIES_PER_COURSE = 50;
|
||||
|
||||
Reference in New Issue
Block a user