The Battle for Wesnoth  1.19.0-dev
Namespaces | Functions
minimap.hpp File Reference
#include <functional>
#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

std::function< rect(rect)> image::prep_minimap_for_rendering (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)
 Prepares the minimap texture and returns a function which will render it to the current rendering target when invoked. More...