diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-18 19:55:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 19:55:15 +0200 |
commit | 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (patch) | |
tree | 57ce8401a5f6538024c1f19d37d576fba21e147b /src/object_properties.cpp | |
parent | 8f7785771b9e02b1a1daf7a252550d78ea93053d (diff) | |
download | minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.gz minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.bz2 minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.zip |
Cpp11 patchset 11: continue working on constructor style migration (#6004)
Diffstat (limited to 'src/object_properties.cpp')
-rw-r--r-- | src/object_properties.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/object_properties.cpp b/src/object_properties.cpp index a77368151..af442806b 100644 --- a/src/object_properties.cpp +++ b/src/object_properties.cpp @@ -24,27 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/basic_macros.h" #include <sstream> -ObjectProperties::ObjectProperties(): - hp_max(1), - physical(false), - collideWithObjects(true), - weight(5), - collisionbox(-0.5,-0.5,-0.5, 0.5,0.5,0.5), - visual("sprite"), - mesh(""), - visual_size(1,1), - spritediv(1,1), - initial_sprite_basepos(0,0), - is_visible(true), - makes_footstep_sound(false), - automatic_rotate(0), - stepheight(0), - automatic_face_movement_dir(false), - automatic_face_movement_dir_offset(0.0), - backface_culling(true), - nametag(""), - nametag_color(255, 255, 255, 255), - automatic_face_movement_max_rotation_per_sec(-1) +ObjectProperties::ObjectProperties() { textures.push_back("unknown_object.png"); colors.push_back(video::SColor(255,255,255,255)); |