Image for server saving

This commit is contained in:
Simon Robertshaw
2011-06-09 17:53:41 +01:00
parent 74f613962e
commit 1effdb052a
4 changed files with 56 additions and 3 deletions

View File

@@ -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);

29
includes/images.h Normal file

File diff suppressed because one or more lines are too long