Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2011-06-16 05:18:52 +0400
committerMitchell Stokes <mogurijin@gmail.com>2011-06-16 05:18:52 +0400
commitc02006bc2b8566ae96af1e9e9630f0ecd5a1d05e (patch)
treecb8e6182e5186389a3c041c60d67f2c90f97bcef /source/gameengine/Ketsji/BL_Action.h
parent49f7a4d8f8001465388977e50c8a439ad53ef8ae (diff)
BGE Animations: Adding the ipo flag options to the action actuator. This still needs more testing.
Diffstat (limited to 'source/gameengine/Ketsji/BL_Action.h')
-rw-r--r--source/gameengine/Ketsji/BL_Action.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/BL_Action.h b/source/gameengine/Ketsji/BL_Action.h
index 1eb4483eb37..fc80d9bea34 100644
--- a/source/gameengine/Ketsji/BL_Action.h
+++ b/source/gameengine/Ketsji/BL_Action.h
@@ -59,6 +59,8 @@ private:
short m_playmode;
short m_blendmode;
+ short m_ipo_flags;
+
bool m_done;
void InitIPO();
@@ -73,6 +75,7 @@ public:
float blendin,
short play_mode,
short blend_mode,
+ short ipo_flags,
float playback_speed);
void Stop();
bool IsDone() {return m_done;}
@@ -99,6 +102,14 @@ public:
ACT_BLEND_MAX,
};
+ enum
+ {
+ ACT_IPOFLAG_FORCE = 1,
+ ACT_IPOFLAG_LOCAL = 2,
+ ACT_IPOFLAG_ADD = 4,
+ ACT_IPOFLAG_CHILD = 8,
+ };
+
#ifdef WITH_CXX_GUARDEDALLOC
public:
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_Action"); }