Update inventory texture too
[oweals/minetest.git] / src / nodedef.h
index 5aba69c48824dd530fd8cc1cbe5e969c73a28ace..a093cb7998527dabe9a34724041311efd75acaf8 100644 (file)
@@ -113,6 +113,7 @@ struct ContentFeatures
        */
        TileSpec tiles[6];
        
+       std::string inventory_texture_name;
        video::ITexture *inventory_texture;
 
        // Used currently for flowing liquids
@@ -122,6 +123,9 @@ struct ContentFeatures
        // Special irrlicht material, used sometimes
        video::SMaterial *special_material;
        video::SMaterial *special_material2;
+       // Currently used for fetching liquid texture coordinates
+       // - This is also updated to the above two (if they are non-NULL)
+       //   when textures are updated
        AtlasPointer *special_atlas;
 #endif