Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / object_properties.h
index a0f5618d635ed942b88457ddb4c875b9ae3146dd..908757a644752d8fa0f29df058cd7ac35128df6d 100644 (file)
@@ -33,7 +33,7 @@ struct ObjectProperties
        bool physical;
        bool collideWithObjects;
        float weight;
-       core::aabbox3d<f32> collisionbox;
+       aabb3f collisionbox;
        std::string visual;
        std::string mesh;
        v2f visual_size;
@@ -44,7 +44,16 @@ struct ObjectProperties
        bool is_visible;
        bool makes_footstep_sound;
        float automatic_rotate;
-
+       f32 stepheight;
+       bool automatic_face_movement_dir;
+       f32 automatic_face_movement_dir_offset;
+       bool backface_culling;
+       std::string nametag;
+       video::SColor nametag_color;
+       f32 automatic_face_movement_max_rotation_per_sec;
+       std::string infotext;
+       //! For dropped items, this contains item information.
+       std::string wield_item;
 
        ObjectProperties();
        std::string dump();
@@ -53,4 +62,3 @@ struct ObjectProperties
 };
 
 #endif
-