41#ifdef FREECIV_SVG_FLAGS
78 log_warn(
_(
"Client has no required support for svg. "
79 "Disabled use of svg flags."));
91 for (
i = 0;
i <
svg;
i++) {
94 for (;
i < count;
i++) {
129 rect->
w = rect->
w * svg_height / rect->
h;
130 rect->
h = svg_height;
struct canvas int int canvas_y
struct canvas int canvas_x
struct canvas int int int canvas_w
struct canvas int int int int canvas_h
canvas_put_sprite_full_scaled
void canvas_put_sprite_full(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *sprite)
const char ** gfx_fileextensions(void)
#define log_warn(message,...)
#define log_verbose(message,...)
struct sprite int int int int struct sprite int int float bool smooth get_sprite_dimensions
int fc_strcasecmp(const char *str0, const char *str1)
void free_svg_flag_API(void)
void canvas_put_flag_sprite(struct canvas *pcanvas, int canvas_x, int canvas_y, int canvas_w, int canvas_h, struct sprite *flag)
bool svg_flag_enable(void)
static const char ** ordered_extensions
const char ** ordered_gfx_fextensions(void)
void get_flag_dimensions(struct sprite *flag, struct area_rect *rect, int svg_height)
#define is_svg_flag_enabled()