summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2015-02-21 23:38:53 +0200
committerest31 <MTest31@outlook.com>2015-06-22 01:53:38 +0200
commit660fa516bfe774c77947c47a97154d6f069f414d (patch)
tree60cbb826cfda9f08bd747aab3f087a75aec1df4c /src/content_cao.h
parent622918d8a86ab2bb8a6ef1211b9a2ed1ad4c9b96 (diff)
downloadminetest-660fa516bfe774c77947c47a97154d6f069f414d.tar.gz
minetest-660fa516bfe774c77947c47a97154d6f069f414d.tar.bz2
minetest-660fa516bfe774c77947c47a97154d6f069f414d.zip
Fix some issues with animations, and allow non-looped animations to be defined
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index 58c373389..1e526d1cd 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -86,6 +86,7 @@ private:
v2s32 m_animation_range;
int m_animation_speed;
int m_animation_blend;
+ bool m_animation_loop;
std::map<std::string, core::vector2d<v3f> > m_bone_position; // stores position and rotation for each bone name
std::string m_attachment_bone;
v3f m_attachment_position;