Make transform_save work with new save functions

Conflicts:

	src/powder.c
This commit is contained in:
jacksonmj
2012-01-14 17:46:38 +00:00
committed by Simon Robertshaw
parent 15310d0165
commit 16ea042bab
4 changed files with 142 additions and 119 deletions

View File

@@ -1,6 +1,8 @@
#ifndef SAVE_H
#define SAVE_H
void *transform_save(void *odata, int *size, matrix2d transform, vector2d translate);
void *build_thumb(int *size, int bzip2);
pixel *prerender_save(void *save, int size, int *width, int *height);
@@ -22,4 +24,4 @@ void *build_save_PSv(int *size, int orig_x0, int orig_y0, int orig_w, int orig_h
int parse_save_PSv(void *save, int size, int replace, int x0, int y0, unsigned char bmap[YRES/CELL][XRES/CELL], float fvx[YRES/CELL][XRES/CELL], float fvy[YRES/CELL][XRES/CELL], sign signs[MAXSIGNS], void* partsptr, unsigned pmap[YRES][XRES]);
#endif
#endif