35 static const char *ext[] = {
79 int mask_offset_x,
int mask_offset_y,
80 float scale,
bool smooth)
struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color * pcolor
struct canvas int int struct sprite int int int width
static GtkWidget * source
const char ** gfx_fileextensions(void)
void gui_free_sprite(struct sprite *s)
struct sprite * gui_load_gfxnumber(int num)
struct sprite * gui_load_gfxfile(const char *filename)
void gui_get_sprite_dimensions(struct sprite *sprite, int *width, int *height)
struct sprite * gui_crop_sprite(struct sprite *source, int x, int y, int width, int height, struct sprite *mask, int mask_offset_x, int mask_offset_y, float scale, bool smooth)
struct sprite * gui_create_sprite(int width, int height, struct color *pcolor)