The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions | Variables
minimap.cpp File Reference
#include "minimap.hpp"
#include "color.hpp"
#include "display.hpp"
#include "game_board.hpp"
#include "gettext.hpp"
#include "picture.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "preferences/general.hpp"
#include "resources.hpp"
#include "sdl/surface.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
Include dependency graph for minimap.cpp:

Go to the source code of this file.

Namespaces

 image
 this module manages the cache of images.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define DBG_DP   LOG_STREAM(debug, log_display)
 
#define WRN_DP   LOG_STREAM(warn, log_display)
 

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...
 

Variables

static lg::log_domain log_display ("display")
 

Macro Definition Documentation

◆ DBG_DP

#define DBG_DP   LOG_STREAM(debug, log_display)

Definition at line 33 of file minimap.cpp.

Referenced by image::getMinimap().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file minimap.cpp.

◆ WRN_DP

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 34 of file minimap.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static