summaryrefslogtreecommitdiff
path: root/includes/graphics.h
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-02-19 15:34:04 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2011-02-19 15:41:44 (GMT)
commita2091ede7646388e9bfd9d679d90bdb70affd507 (patch)
tree3e24791faab4318722607d070ac787f631499f4c /includes/graphics.h
parent32f8e85d504e1510682cf60666b3bb10c52cf58e (diff)
downloadpowder-a2091ede7646388e9bfd9d679d90bdb70affd507.zip
powder-a2091ede7646388e9bfd9d679d90bdb70affd507.tar.gz
Move reset code to own function
Also clear persistent view when loading a save or clearing the screen.
Diffstat (limited to 'includes/graphics.h')
-rw-r--r--includes/graphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index a5de71a..4d4d438 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -46,6 +46,7 @@ extern unsigned char fire_b[YRES/CELL][XRES/CELL];
extern unsigned int fire_alpha[CELL*3][CELL*3];
extern pixel *fire_bg;
+extern pixel *pers_bg;
pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f);