diff options
Diffstat (limited to 'graphics.h')
| -rw-r--r-- | graphics.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef GRAPHICS_H #define GRAPHICS_H #include <SDL/SDL.h> +#include "defines.h" +#include "hmap.h" #ifdef PIX16 #define PIXELSIZE 2 @@ -40,6 +42,10 @@ extern unsigned cmode; extern SDL_Surface *sdl_scrn; extern int sdl_scale; +extern unsigned char fire_r[YRES/CELL][XRES/CELL]; +extern unsigned char fire_g[YRES/CELL][XRES/CELL]; +extern unsigned char fire_b[YRES/CELL][XRES/CELL]; + pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f); void sdl_blit_1(int x, int y, int w, int h, pixel *src, int pitch); |
