The Battle for Wesnoth  1.15.2+dev
Macros | Functions | Variables
side_filter.cpp File Reference
#include "config.hpp"
#include "display_context.hpp"
#include "filter_context.hpp"
#include "log.hpp"
#include "recall_list_manager.hpp"
#include "side_filter.hpp"
#include "variable.hpp"
#include "team.hpp"
#include "serialization/string_utils.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "synced_context.hpp"
#include "units/unit.hpp"
#include "units/filter.hpp"
#include "units/map.hpp"
#include "formula/callable_objects.hpp"
#include "formula/formula.hpp"
#include "formula/function_gamestate.hpp"
Include dependency graph for side_filter.cpp:

Go to the source code of this file.

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_NG   LOG_STREAM(err, log_engine_sf)
 

Functions

static bool check_side_number (const team &t, const std::string &str)
 

Variables

static lg::log_domain log_engine_sf ("engine/side_filter")
 

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine_sf)

Definition at line 38 of file side_filter.cpp.

Referenced by side_filter::match_internal().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file side_filter.cpp.

Function Documentation

◆ check_side_number()

static bool check_side_number ( const team t,
const std::string &  str 
)
static

Definition at line 68 of file side_filter.cpp.

References utils::parse_ranges(), and team::side().

Referenced by side_filter::match_internal().

Variable Documentation

◆ log_engine_sf

lg::log_domain log_engine_sf("engine/side_filter")
static