Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / minimap.h
index eb0ae1cf446e909937602637762fc0101964e2c7..c50530335082bcf80c45be4130af51b88e7d860f 100644 (file)
@@ -45,6 +45,11 @@ enum MinimapMode {
        MINIMAP_MODE_COUNT,
 };
 
+enum MinimapShape {
+       MINIMAP_SHAPE_SQUARE,
+       MINIMAP_SHAPE_ROUND,
+};
+
 struct MinimapModeDef {
        bool is_radar;
        u16 scan_height;
@@ -128,6 +133,8 @@ public:
        void setMinimapMode(MinimapMode mode);
        MinimapMode getMinimapMode() const { return data->mode; }
        void toggleMinimapShape();
+       void setMinimapShape(MinimapShape shape);
+       MinimapShape getMinimapShape();
 
 
        video::ITexture *getMinimapTexture();