add Load(sMetricsGroup) Lua binding for RollingNumbers
This commit is contained in:
@@ -9,6 +9,10 @@ Not all changes are documented, for various reasons.
|
|||||||
supported but exist anyways.)
|
supported but exist anyways.)
|
||||||
_____________________________________________________________________________
|
_____________________________________________________________________________
|
||||||
|
|
||||||
|
20101214
|
||||||
|
--------
|
||||||
|
* [RollingNumbers] Added Load(sMetricsGroup) Lua binding.
|
||||||
|
|
||||||
20101212
|
20101212
|
||||||
--------
|
--------
|
||||||
* [MusicWheelItem] Gave NormalPart/ColorPart names, so metrics can be used to
|
* [MusicWheelItem] Gave NormalPart/ColorPart names, so metrics can be used to
|
||||||
|
|||||||
@@ -102,10 +102,12 @@ void RollingNumbers::UpdateText()
|
|||||||
class LunaRollingNumbers: public Luna<RollingNumbers>
|
class LunaRollingNumbers: public Luna<RollingNumbers>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
static int Load( T* p, lua_State *L ) { p->Load(SArg(1)); return 0; }
|
||||||
static int targetnumber( T* p, lua_State *L ) { p->SetTargetNumber( FArg(1) ); return 0; }
|
static int targetnumber( T* p, lua_State *L ) { p->SetTargetNumber( FArg(1) ); return 0; }
|
||||||
|
|
||||||
LunaRollingNumbers()
|
LunaRollingNumbers()
|
||||||
{
|
{
|
||||||
|
ADD_METHOD( Load );
|
||||||
ADD_METHOD( targetnumber );
|
ADD_METHOD( targetnumber );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user