19#ifdef SDL2_PLAIN_INCLUDE
24#include <SDL2/SDL_ttf.h>
83 SDL_SetSurfaceBlendMode(store->
surf, SDL_BLENDMODE_NONE);
90 int src_x,
int src_y,
int dest_x,
int dest_y,
int width,
94 SDL_Rect dest_rect = {dest_x, dest_y,
width,
height};
180 enum line_type ltype,
int start_x,
int start_y,
190 enum line_type ltype,
int start_x,
int start_y,
239 ptext->
bgcol = (SDL_Color) {0, 0, 0, 0};
struct canvas int int struct sprite bool int int fog_y canvas_fill_sprite_area
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 bool int fog_x
struct canvas int int canvas_y
struct canvas int canvas_x
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color int int canvas_y canvas_put_curved_line
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color int int canvas_y struct canvas struct color enum line_type ltype int start_x int start_y int dx int dy enum client_font
struct canvas int int struct sprite int int int width
struct canvas int int struct sprite * psprite
struct canvas int int struct sprite int int offset_y
struct canvas int int struct sprite int offset_x
struct canvas int int struct sprite bool fog
void canvas_put_rectangle(struct canvas *pcanvas, struct color *pcolor, int canvas_x, int canvas_y, int width, int height)
void canvas_put_sprite_full(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *sprite)
void canvas_set_zoom(struct canvas *store, float zoom)
void canvas_mapview_init(struct canvas *store)
void get_text_size(int *width, int *height, enum client_font font, const char *text)
void canvas_free(struct canvas *store)
bool has_zoom_support(void)
void canvas_put_line(struct canvas *pcanvas, struct color *pcolor, enum line_type ltype, int start_x, int start_y, int dx, int dy)
void canvas_copy(struct canvas *dest, struct canvas *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
struct canvas * canvas_create(int width, int height)
void create_line(SDL_Surface *dest, Sint16 x0, Sint16 y0, Sint16 x1, Sint16 y1, SDL_Color *pcolor)
int alphablit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, unsigned char alpha_mod)
int blit_entire_src(SDL_Surface *psrc, SDL_Surface *pdest, Sint16 dest_x, Sint16 dest_y)
SDL_Surface * create_surf(int width, int height, Uint32 flags)
int * client_font_sizes[FONT_COUNT]
#define GET_SURF(m_sprite)
void utf8_str_size(utf8_str *pstr, SDL_Rect *fill)
utf8_str * copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars)
SDL_Surface * create_text_surf_from_utf8(utf8_str *pstr)
utf8_str * create_utf8_str(char *in_text, size_t n_alloc, Uint16 ptsize)
#define FREEUTF8STR(pstr)
#define fc_assert(condition)