summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index 7779b09..3932a2f 100644
--- a/graphics.h
+++ b/graphics.h
@@ -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);