From 9afae77fedb8a84f4d305ebce81b0cc509a2183b Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Wed, 14 Aug 2013 23:31:49 +0000 Subject: BGE: Finally adding support for additive layer blending. Currently this is only for the Python API. The logic brick will be updated in a future commit. --- source/gameengine/Ketsji/BL_ActionManager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (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 600e7b6621e..88aa241b6ce 100644 --- a/source/gameengine/Ketsji/BL_ActionManager.h +++ b/source/gameengine/Ketsji/BL_ActionManager.h @@ -27,10 +27,10 @@ #ifndef __BL_ACTIONMANAGER_H__ #define __BL_ACTIONMANAGER_H__ -#include "BL_Action.h" - #define MAX_ACTION_LAYERS 8 +class BL_Action; + /** * BL_ActionManager is responsible for handling a KX_GameObject's actions. */ @@ -52,7 +52,8 @@ public: short play_mode=0, float layer_weight=0.f, short ipo_flags=0, - float playback_speed=1.f); + float playback_speed=1.f, + short blend_mode=0); /** * Gets the current frame of an action */ -- cgit v1.2.3