NetRoom/SelectBase/Music lua objects. Scrolling with lua funcs and binded to ctrl+pg up/down. Show prev msgs, binded to pg up/down. Music wheel move, selectmusic screen's select current song, chatbox visibility, input en/disabling and UserList visibility lua functions. (#1394)
This commit is contained in:
@@ -1709,6 +1709,15 @@ public:
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int Move(T* p, lua_State *L)
|
||||
{
|
||||
if (lua_isnil(L, 1)) { p->Move(0); }
|
||||
else
|
||||
{
|
||||
p->Move(IArg(1));
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
LunaMusicWheel()
|
||||
{
|
||||
@@ -1717,6 +1726,7 @@ public:
|
||||
ADD_METHOD( IsRouletting );
|
||||
ADD_METHOD( SelectSong );
|
||||
ADD_METHOD( SelectCourse );
|
||||
ADD_METHOD( Move );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user