[default -> splittiming] and another merge.

This commit is contained in:
Thai Pangsakulyanont
2011-05-10 20:05:33 +07:00
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -8,7 +8,12 @@ ________________________________________________________________________________
StepMania 5.0 $NEXT | 20110xyy
--------------------------------------------------------------------------------
2011/05/10
----------
* [Sprite] Added SetSecondsIntoAnimation(float) Lua binding. [AJ]
2011/05/03
----------
* [ScreenEdit] Allow changing the Beat 0 Offset, Music Sample Start, and
Music Sample Length via Edit Song Info menu. [Wolfman2000]
+2
View File
@@ -1130,6 +1130,7 @@ public:
static int setstate( T* p, lua_State *L ) { p->SetState( IArg(1) ); return 0; }
static int GetState( T* p, lua_State *L ) { lua_pushnumber( L, p->GetState() ); return 1; }
static int GetAnimationLengthSeconds( T* p, lua_State *L ) { lua_pushnumber( L, p->GetAnimationLengthSeconds() ); return 1; }
static int SetSecondsIntoAnimation( T* p, lua_State *L ) { p->SetSecondsIntoAnimation(FArg(0)) return 0; }
static int SetTexture( T* p, lua_State *L )
{
RageTexture *pTexture = Luna<RageTexture>::check(L, 1);
@@ -1170,6 +1171,7 @@ public:
ADD_METHOD( setstate );
ADD_METHOD( GetState );
ADD_METHOD( GetAnimationLengthSeconds );
ADD_METHOD( SetSecondsIntoAnimation );
ADD_METHOD( SetTexture );
ADD_METHOD( GetTexture );
ADD_METHOD( SetEffectMode );