4 extern SDL_Texture
*tiles
;
5 extern SDL_Texture
*uibg
;
6 extern SDL_Texture
*large_font
;
7 extern SDL_Texture
*mid_font
;
8 extern SDL_Texture
*small_font
;
11 extern SDL_Color white
;
12 extern SDL_Color black
;
13 extern SDL_Color magenta
;
15 extern SDL_Color reds
[16];
17 /* Hardcoded locations on the tileset */
19 #define TILE_BUILD_X 20
20 #define TILE_BUILD_Y 0
29 #define TILE_STAT_Y 18
32 #define TILE_UICO_Y 16
34 #define TILE_BALOON_X 5
35 #define TILE_BALOON_Y 17
43 #define TILE_BUTTON_X 5
44 #define TILE_BUTTON_Y 20
47 #define TILE_FLAG_Y 24
50 extern void draw_particles(SDL_Renderer
*target
, Uint32 bx
, Uint32 by
);
53 extern void prepare_colors();
54 extern void draw_tile(SDL_Renderer
*screen
, Uint8 id
, Uint8 frame
, Uint32 x
, Uint32 y
);
56 extern void draw_ui(SDL_Renderer
*screen
);
57 extern void draw_screen(SDL_Renderer
*screen
);
59 extern int rprintf(SDL_Renderer
*renderer
, Uint32 x
, Uint32 y
, const char *fmt
, ...);