summaryrefslogtreecommitdiff
path: root/includes/graphics.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-06-09 16:53:41 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-06-09 16:53:41 (GMT)
commit1effdb052a0b952d1390109bed67b3371046ccb7 (patch)
treefef81cd5f965947ed152caa19f8e7c39463f3b47 /includes/graphics.h
parent74f613962e1090e3ad2db186e555a29c12c03941 (diff)
downloadpowder-1effdb052a0b952d1390109bed67b3371046ccb7.zip
powder-1effdb052a0b952d1390109bed67b3371046ccb7.tar.gz
Image for server saving
Diffstat (limited to 'includes/graphics.h')
-rw-r--r--includes/graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index 2d55638..d228e83 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -48,6 +48,8 @@ extern unsigned int fire_alpha[CELL*3][CELL*3];
extern pixel *fire_bg;
extern pixel *pers_bg;
+void draw_rgba_image(pixel *vid, unsigned char *data, int x, int y, float a);
+
void *ptif_pack(pixel *src, int w, int h, int *result_size);
pixel *ptif_unpack(void *datain, int size, int *w, int *h);