X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fobject_properties.h;h=14077099845a671fed65432ef93cfc84eaf0068a;hb=12d1e4ff0486f86ae20051daa1135dc7db366023;hp=fcf03383c0754dc49b560aa42142b67d9dc87e6e;hpb=08846cd05cd402cc7f8d025aaba96c5bb0aade2c;p=minetest.git diff --git a/src/object_properties.h b/src/object_properties.h index fcf03383c..140770998 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -46,7 +46,6 @@ struct ObjectProperties bool is_visible = true; bool makes_footstep_sound = false; f32 stepheight = 0.0f; - bool can_zoom = true; float automatic_rotate = 0.0f; bool automatic_face_movement_dir = false; f32 automatic_face_movement_dir_offset = 0.0f; @@ -59,6 +58,8 @@ struct ObjectProperties //! For dropped items, this contains item information. std::string wield_item; bool static_save = true; + float eye_height = 1.625f; + float zoom_fov = 0.0f; ObjectProperties(); std::string dump();