X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fobject_properties.cpp;h=ec988a37d2a511422ed67a90c9a89828c6bdbb5e;hb=69bd803a3221bf02672431390e672b0510695254;hp=6b98356ac0ba1dd95650257f84855f1b62001a18;hpb=ba4d93027f7b1590f303eff2138cae413faf5c34;p=oweals%2Fminetest.git diff --git a/src/object_properties.cpp b/src/object_properties.cpp index 6b98356ac..ec988a37d 100644 --- a/src/object_properties.cpp +++ b/src/object_properties.cpp @@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "object_properties.h" +#include "irrlichttypes_bloated.h" #include "util/serialize.h" #include #include @@ -39,9 +40,8 @@ ObjectProperties::ObjectProperties(): makes_footstep_sound(false), automatic_rotate(0) { - // Nothing to do for animation_bone_position - // Nothing to do for animation_bone_rotation textures.push_back("unknown_object.png"); + colors.push_back(video::SColor(255,255,255,255)); } std::string ObjectProperties::dump() @@ -54,27 +54,16 @@ std::string ObjectProperties::dump() os<<", visual="<::const_iterator ii = animation_bone_position.begin(); ii != animation_bone_position.end(); ++ii){ - std::string bone_name = (*ii).first; - v3f bone_pos = (*ii).second; - os<::const_iterator ii = animation_bone_rotation.begin(); ii != animation_bone_rotation.end(); ++ii){ - std::string bone_name = (*ii).first; - v3f bone_rot = (*ii).second; - os<