The Battle for Wesnoth  1.19.7+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 "scripting/game_lua_kernel.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)
 
#define ERR_WML   LOG_STREAM(err, log_wml)
 

Functions

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

Variables

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

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine_sf)

Definition at line 39 of file side_filter.cpp.

◆ ERR_WML

#define ERR_WML   LOG_STREAM(err, log_wml)

Definition at line 42 of file side_filter.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 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 72 of file side_filter.cpp.

References in_ranges(), utils::parse_ranges_unsigned(), and t.

Referenced by side_filter::match_internal().

Variable Documentation

◆ log_engine_sf

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

◆ log_wml

lg::log_domain log_wml("wml") ( "wml"  )
static