[Song] add IsDisplayBpmRandom Lua binding
This commit is contained in:
@@ -10,9 +10,13 @@ supported but exist anyways.)
|
|||||||
_____________________________________________________________________________
|
_____________________________________________________________________________
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
sm-ssc v1.2.1 | 2011011?
|
sm-ssc v1.2.1 | 201102??
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
20110201
|
||||||
|
--------
|
||||||
|
* [Song] Added IsDisplayBpmRandom Lua binding. [AJ]
|
||||||
|
|
||||||
20110130
|
20110130
|
||||||
--------
|
--------
|
||||||
* [ScreenSelectMaster] Only run cursor commands on players if they exist. [AJ]
|
* [ScreenSelectMaster] Only run cursor commands on players if they exist. [AJ]
|
||||||
|
|||||||
@@ -1553,6 +1553,11 @@ public:
|
|||||||
lua_pushboolean( L, temp.BpmIsConstant() );
|
lua_pushboolean( L, temp.BpmIsConstant() );
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
static int IsDisplayBpmRandom( T* p, lua_State *L )
|
||||||
|
{
|
||||||
|
lua_pushboolean( L, p->m_DisplayBPMType == Song::DISPLAY_RANDOM );
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
LunaSong()
|
LunaSong()
|
||||||
{
|
{
|
||||||
@@ -1601,6 +1606,7 @@ public:
|
|||||||
ADD_METHOD( GetDisplayBpms );
|
ADD_METHOD( GetDisplayBpms );
|
||||||
ADD_METHOD( IsDisplayBpmSecret );
|
ADD_METHOD( IsDisplayBpmSecret );
|
||||||
ADD_METHOD( IsDisplayBpmConstant );
|
ADD_METHOD( IsDisplayBpmConstant );
|
||||||
|
ADD_METHOD( IsDisplayBpmRandom );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user