26 std::vector<linked_group_definition> definitions;
29 definitions.emplace_back();
32 linked_group.
id =
lg[
"id"].str();
40 "Linked group '$id' needs a 'fixed_width' or 'fixed_height' key.", {{
"id", linked_group.
id}});
A config object defines a single node in a WML file, with access to child nodes.
child_itors child_range(config_key_type key)
std::vector< linked_group_definition > parse_linked_group_definitions(const config &cfg)
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
std::string missing_mandatory_wml_key(const std::string §ion, const std::string &key, const std::string &primary_key, const std::string &primary_value)
Returns a standard message for a missing wml key (attribute).
Add a special kind of assert to validate whether the input from WML doesn't contain any problems that...
#define VALIDATE(cond, message)
The macro to use for the validation of WML.