20#include <SDL3_image/SDL_image.h>
42 static const char *
ext[] = {
74 log_error(
_(
"load_gfxfile(): Unable to load graphic file %s!"), filename);
struct canvas int int struct sprite int int int int height
struct canvas int int int int struct sprite *sprite struct canvas struct color * pcolor
struct canvas int int struct sprite int int int width
static GtkWidget * source
void free_sprite(struct sprite *s)
struct sprite * create_sprite(int width, int height, struct color *pcolor)
struct sprite * load_gfxnumber(int num)
struct sprite * load_gfxfile(const char *filename, bool svgflag)
const char ** gfx_fileextensions(void)
SDL_Surface * mask_surface(SDL_Surface *src, SDL_Surface *mask, int mask_offset_x, int mask_offset_y)
SDL_Surface * crop_rect_from_surface(SDL_Surface *psource, SDL_Rect *prect)
SDL_Surface * convert_surf(SDL_Surface *surf_in)
static struct sprite * ctor_sprite(SDL_Surface *surf)
#define GET_SURF(m_sprite)
#define GET_SURF_REAL(m_sprite)
#define fc_assert_ret(condition)
#define fc_assert_ret_val(condition, val)
#define log_error(message,...)
struct sprite int int int int struct sprite * mask
struct sprite int int int int struct sprite int int float scale
struct sprite int int int int struct sprite int mask_offset_x
struct sprite int int int int struct sprite int int float bool smooth get_sprite_dimensions
struct sprite int int int int struct sprite int int mask_offset_y
struct SDL_Surface * psurface