]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/object_properties.h
Make sure that settings are written to config file when settings are removed.
[dragonfireclient.git] / src / object_properties.h
index f60ecefa471f61f30a8b8ecb73ed81dc58b45659..d7d44625e273745dff63c38fed6ccd740674c2fb 100644 (file)
@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <string>
 #include "irrlichttypes_bloated.h"
 #include <iostream>
+#include <map>
 
 struct ObjectProperties
 {
@@ -33,15 +34,16 @@ struct ObjectProperties
        core::aabbox3d<f32> collisionbox;
        std::string visual;
        std::string mesh;
-       std::string texture;
        v2f visual_size;
        core::array<std::string> textures;
+       core::array<video::SColor> colors;
        v2s16 spritediv;
        v2s16 initial_sprite_basepos;
        bool is_visible;
        bool makes_footstep_sound;
        float automatic_rotate;
 
+
        ObjectProperties();
        std::string dump();
        void serialize(std::ostream &os) const;