The Battle for Wesnoth  1.17.17+dev
Namespaces | Functions
minimap.hpp File Reference
#include <cstddef>
#include <map>
Include dependency graph for minimap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 image
 Functions to load and save images from/to disk.
 

Functions

surface image::getMinimap (int w, int h, const gamemap &map_, const team *vm=nullptr, const std::map< map_location, unsigned int > *reach_map=nullptr, bool ignore_terrain_disabled=false)
 function to create the minimap for a given map the surface returned must be freed by the user More...
 
void image::render_minimap (unsigned dst_w, unsigned dst_h, const gamemap &map, const team *vw=nullptr, const unit_map *units=nullptr, const std::map< map_location, unsigned int > *reach_map=nullptr, bool ignore_terrain_disabled=false)
 Renders the minimap to the screen. More...