Implementations of conditional action WML tags. More...
#include "game_events/conditional_wml.hpp"#include "config.hpp"#include "game_board.hpp"#include "game_data.hpp"#include "log.hpp"#include "recall_list_manager.hpp"#include "resources.hpp"#include "scripting/game_lua_kernel.hpp"#include "serialization/string_utils.hpp"#include "team.hpp"#include "terrain/filter.hpp"#include "units/unit.hpp"#include "units/filter.hpp"#include "units/map.hpp"#include "utils/general.hpp"#include "variable.hpp"Go to the source code of this file.
| Namespaces | |
| game_events | |
| Domain specific events. | |
| game_events::builtin_conditions | |
| Macros | |
| #define | WRN_NG LOG_STREAM(warn, log_engine) | 
| #define | ERR_WML LOG_STREAM(err, log_wml) | 
| #define | TEST_STR_ATTR(name, test) | 
| #define | TEST_NUM_ATTR(name, test) | 
| #define | TEST_BOL_ATTR(name, test) | 
| Functions | |
| bool | game_events::builtin_conditions::have_unit (const vconfig &cfg) | 
| bool | game_events::builtin_conditions::have_location (const vconfig &cfg) | 
| bool | game_events::builtin_conditions::variable_matches (const vconfig &values) | 
| bool | game_events::conditional_passed (const vconfig &cond) | 
| Variables | |
| static lg::log_domain | log_engine ("engine") | 
| static lg::log_domain | log_wml ("wml") | 
| std::vector< std::pair< int, int > > | game_events::builtin_conditions::default_counts = utils::parse_ranges_unsigned("1-infinity") | 
Implementations of conditional action WML tags.
Definition in file conditional_wml.cpp.
| #define ERR_WML LOG_STREAM(err, log_wml) | 
Definition at line 43 of file conditional_wml.cpp.
| #define TEST_BOL_ATTR | ( | name, | |
| test | |||
| ) | 
| #define TEST_NUM_ATTR | ( | name, | |
| test | |||
| ) | 
| #define TEST_STR_ATTR | ( | name, | |
| test | |||
| ) | 
| #define WRN_NG LOG_STREAM(warn, log_engine) | 
Definition at line 40 of file conditional_wml.cpp.
| 
 | static | 
| 
 | static |