From 8883702f8a3b57d0316811e9412bd46ce0dd9c0d Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Mon, 8 Aug 2011 04:28:30 +0000 Subject: BGE Animations: Various compatibility fixes: * Blendin for Loop End works even after a negative pulse. Flipper could still use some work in this area. * Continuous works a lot better. * BL_Action::SetFrame() should work a little smoother. --- source/gameengine/Ketsji/BL_ActionManager.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/gameengine/Ketsji/BL_ActionManager.h') diff --git a/source/gameengine/Ketsji/BL_ActionManager.h b/source/gameengine/Ketsji/BL_ActionManager.h index 3818f643b1c..c310e231ed7 100644 --- a/source/gameengine/Ketsji/BL_ActionManager.h +++ b/source/gameengine/Ketsji/BL_ActionManager.h @@ -70,6 +70,16 @@ public: */ struct bAction *GetCurrentAction(short layer); + /** + * Sets play mode of the action on the given layer + */ + void SetPlayMode(short layer, short mode); + + /** + * Sets the start and end times of the action on the given layer + */ + void SetTimes(short layer, float start, float end); + /** * Stop playing the action on the given layer */ -- cgit v1.2.3