diff options
| author | Simon <simon@hardwired.org.uk> | 2010-08-26 13:46:56 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-08-26 13:46:56 (GMT) |
| commit | bb88587d9dd932c9f67add15f2ca7c83b02a5371 (patch) | |
| tree | 5457555797fafc6e5a00918c5daab1512df922f1 /graphics.h | |
| parent | f426ee42e7170260088b78a1091bba43713822fe (diff) | |
| download | powder-bb88587d9dd932c9f67add15f2ca7c83b02a5371.zip powder-bb88587d9dd932c9f67add15f2ca7c83b02a5371.tar.gz | |
More rearrangement, particle drawing in own function
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); |
