The Battle for Wesnoth  1.19.5+dev
Functions | Variables
game_events::builtin_conditions Namespace Reference

Functions

bool have_unit (const vconfig &cfg)
 
bool have_location (const vconfig &cfg)
 
bool variable_matches (const vconfig &values)
 

Variables

std::vector< std::pair< int, int > > default_counts = utils::parse_ranges_unsigned("1-infinity")
 

Function Documentation

◆ have_location()

bool game_events::builtin_conditions::have_location ( const vconfig cfg)

◆ have_unit()

bool game_events::builtin_conditions::have_unit ( const vconfig cfg)

◆ variable_matches()

bool game_events::builtin_conditions::variable_matches ( const vconfig values)

Variable Documentation

◆ default_counts

std::vector<std::pair<int,int> > game_events::builtin_conditions::default_counts = utils::parse_ranges_unsigned("1-infinity")

Definition at line 49 of file conditional_wml.cpp.

Referenced by have_location(), have_unit(), and terrain_filter::match_internal().