1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Get the new animation framework properly working

Store start and end frames as v2f

Also move bone animations to their own function instead of object properties
This commit is contained in:
MirceaKitsune 2012-10-26 18:03:24 +03:00 committed by Perttu Ahola
parent ba4d93027f
commit 118285e6ba
10 changed files with 139 additions and 135 deletions

View file

@ -152,6 +152,10 @@ public:
virtual void setArmorGroups(const ItemGroupList &armor_groups)
{}
virtual void setAnimations(v2f frames, float frame_speed, float frame_blend)
{}
virtual void setBonePosRot(std::string bone, v3f position, v3f rotation)
{}
virtual ObjectProperties* accessObjectProperties()
{ return NULL; }
virtual void notifyObjectPropertiesModified()