Go to the source code of this file.
|
| image |
| Functions to load and save images from/to disk.
|
|
◆ ERR_DP
◆ GETTEXT_DOMAIN
#define GETTEXT_DOMAIN "wesnoth-lib" |
◆ REGISTER_MOD_PARSER
#define REGISTER_MOD_PARSER |
( |
|
type, |
|
|
|
args_var |
|
) |
| |
Value: static std::unique_ptr<modification> parse_##
type##_mod(std::string_view); \
static parse_mod_registration parse_##
type##_mod_registration_aux(#
type, &parse_##
type##_mod); \
static std::unique_ptr<modification> parse_##
type##_mod(std::string_view args_var) \
A macro for automatic modification parser registration.
It automatically registers the created parser in the mod_parsers map It should be used just like a function header (look at the uses below) It should only be used within an anonymous namespace
- Parameters
-
type | The modification type to be registered (unquoted) |
args_var | The name for the string argument provided |
Definition at line 553 of file image_modifications.cpp.
◆ log_display