#include <cstddef>
#include <map>
Go to the source code of this file.
|
| image |
| Functions to load and save images from/to disk.
|
|
|
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...
|
|