The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
minimap.cpp File Reference
#include "global.hpp"
#include "minimap.hpp"
#include "game_board.hpp"
#include "gettext.hpp"
#include "image.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "resources.hpp"
#include "sdl/utils.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "wml_exception.hpp"
#include "formula/string_utils.hpp"
#include "game_display.hpp"
#include "preferences.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)
 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

#define DBG_DP   LOG_STREAM(debug, log_display)

Definition at line 37 of file minimap.cpp.

Referenced by image::getMinimap().

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file minimap.cpp.

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 38 of file minimap.cpp.

Variable Documentation

lg::log_domain log_display("display")
static