diff options
author | MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com> | 2012-11-12 16:35:10 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-11-25 19:14:24 +0200 |
commit | 756db8174aa6a05eb998cfcec8eb5127053c5ea9 (patch) | |
tree | af1c77b7bf4e6862095ef3524a995b0de49e606b /src/serverobject.h | |
parent | fa67b46c042ed4df97102dabf9f1e7bc454b2acb (diff) | |
download | minetest-756db8174aa6a05eb998cfcec8eb5127053c5ea9.tar.gz minetest-756db8174aa6a05eb998cfcec8eb5127053c5ea9.tar.bz2 minetest-756db8174aa6a05eb998cfcec8eb5127053c5ea9.zip |
A bunch of fixes
No longer hide players who are dead. With models, a death animation should be used instead
Some changes requested by celeron55
Rename a lot of things in the code, and use better lua api function names
Minor code corrections
Bump protocol version up, since the models / animations / attachments code creates new client<->server messages
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index a0886ed1e..1bbd3e4e8 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -152,9 +152,9 @@ public: virtual void setArmorGroups(const ItemGroupList &armor_groups) {} - virtual void setAnimations(v2f frames, float frame_speed, float frame_blend) + virtual void setAnimation(v2f frames, float frame_speed, float frame_blend) {} - virtual void setBonePosRot(std::string bone, v3f position, v3f rotation) + virtual void setBonePosition(std::string bone, v3f position, v3f rotation) {} virtual void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation) {} |