Changed BackgroundEffects files to apply the playback rate to videos. Added GetUpdateRate to ActorFrame and Get/SetDecodeMovie to Sprite. Hope nobody is caught off guard by checkerboard no longer playing videos back at 4x rate.

This commit is contained in:
Kyzentun
2015-02-05 00:37:08 -07:00
parent 72aa6c6164
commit ad877b6dcb
29 changed files with 263 additions and 41 deletions
+2
View File
@@ -1114,6 +1114,7 @@ public:
p->UpdateAnimationState(true);
COMMON_RETURN_SELF;
}
DEFINE_METHOD(GetDecodeMovie, _decode_movie);
static int SetDecodeMovie(T* p, lua_State *L)
{
p->_decode_movie= BArg(1);
@@ -1182,6 +1183,7 @@ public:
ADD_METHOD(GetQuadState);
ADD_METHOD(SetQuadState);
ADD_METHOD(ForceStateUpdate);
ADD_METHOD(GetDecodeMovie);
ADD_METHOD(SetDecodeMovie);
// Copy from RageTexture