14 #ifndef MINIMAP_HPP_INCLUDED
15 #define MINIMAP_HPP_INCLUDED
34 SDL_Rect draw_minimap(
CVideo &video,
const SDL_Rect &area,
const gamemap &map,
const team *vw =
nullptr,
const std::map<map_location,unsigned int> *reach_map =
nullptr);
surface getMinimap(int w, int h, const gamemap &map, const team *vw, const std::map< map_location, unsigned int > *reach_map)
function to create the minimap for a given map the surface returned must be freed by the user ...
This class stores all the data for a single 'side' (in game nomenclature).
GLubyte GLubyte GLubyte GLubyte w
Encapsulates the map of the game.
Encapsulates the map of the game.
GLfloat GLfloat GLfloat GLfloat h
this module manages the cache of images.