19#ifdef SDL2_PLAIN_INCLUDE
24#include <SDL2/SDL_image.h>
47 static const char *
ext[] = {
78 log_error(
_(
"load_gfxfile: Unable to load graphic file %s!"), filename);
149 0x0000FF00, 0x00FF0000,
150 0xFF000000, 0x000000FF);
153 0x00FF0000, 0x0000FF00,
154 0x000000FF, 0xFF000000);
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
static bool is_bigendian(void)