From 5f4ed94d90668af58a3e677e7401f0028871acce Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 18 Feb 2016 17:17:17 +0100 Subject: Minimap: show player markers --- src/minimap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/minimap.h') diff --git a/src/minimap.h b/src/minimap.h index dd1397d54..743b2bff2 100644 --- a/src/minimap.h +++ b/src/minimap.h @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include +#include "camera.h" #define MINIMAP_MAX_SX 512 #define MINIMAP_MAX_SY 512 @@ -82,6 +83,7 @@ struct MinimapData { video::ITexture *minimap_overlay_round; video::ITexture *minimap_overlay_square; video::ITexture *player_marker; + video::ITexture *object_marker_red; }; struct QueuedMinimapUpdate { @@ -138,9 +140,12 @@ public: video::IImage *heightmap_image); scene::SMeshBuffer *getMinimapMeshBuffer(); + + void updateActiveMarkers(); void drawMinimap(); video::IVideoDriver *driver; + Client* client; MinimapData *data; private: @@ -153,6 +158,7 @@ private: u16 m_surface_mode_scan_height; f32 m_angle; Mutex m_mutex; + std::list m_active_markers; }; #endif -- cgit v1.2.3