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

Go to the source code of this file.

Namespaces

 image
 Functions to load and save images from/to disk.
 

Macros

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

Functions

std::function< rect(rect)> image::prep_minimap_for_rendering (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)
 Prepares the minimap texture and returns a function which will render it to the current rendering target when invoked. 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 35 of file minimap.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file minimap.cpp.

◆ WRN_DP

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 36 of file minimap.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display") ( "display"  )
static