33 const team* vw =
nullptr,
35 const std::map<map_location, unsigned int>* reach_map =
nullptr,
36 bool ignore_terrain_disabled =
false);
Encapsulates the map of the game.
This class stores all the data for a single 'side' (in game nomenclature).
Container associating units to locations.
void rect(const SDL_Rect &rect)
Draw a rectangle.
Functions to load and save images from/to disk.
std::function< rect(rect)> prep_minimap_for_rendering(const gamemap &map, const team *vw, const unit_map *units, const std::map< map_location, unsigned int > *reach_map, bool ignore_terrain_disabled)
Prepares the minimap texture and returns a function which will render it to the current rendering tar...
Encapsulates the map of the game.
An abstract description of a rectangle with integer coordinates.