summaryrefslogtreecommitdiff
path: root/src/serverobject.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/serverobject.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/serverobject.h')
-rw-r--r--src/serverobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 5de1071d1..7204fe3ae 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -151,9 +151,9 @@ public:
{ return ItemGroupList(); }
virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity)
{}
- virtual void setAnimation(v2f frames, float frame_speed, float frame_blend)
+ virtual void setAnimation(v2f frames, float frame_speed, float frame_blend, bool frame_loop)
{}
- virtual void getAnimation(v2f *frames, float *frame_speed, float *frame_blend)
+ virtual void getAnimation(v2f *frames, float *frame_speed, float *frame_blend, bool *frame_loop)
{}
virtual void setBonePosition(const std::string &bone, v3f position, v3f rotation)
{}