diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-06-16 05:18:52 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-06-16 05:18:52 +0400 |
commit | c02006bc2b8566ae96af1e9e9630f0ecd5a1d05e (patch) | |
tree | cb8e6182e5186389a3c041c60d67f2c90f97bcef /source/gameengine/Ketsji/BL_Action.h | |
parent | 49f7a4d8f8001465388977e50c8a439ad53ef8ae (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.h | 11 |
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"); } |