diff options
Diffstat (limited to 'includes/defines.h')
| -rw-r--r-- | includes/defines.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/includes/defines.h b/includes/defines.h index a611486..9bf2029 100644 --- a/includes/defines.h +++ b/includes/defines.h @@ -7,10 +7,10 @@ #define PATH_SEP "/" #endif -#define SAVE_VERSION 46 -#define MINOR_VERSION 4 -#define IDENT_VERSION "D" //Change this if you're not Simon! It should be a single letter. -//#define BETA +#define SAVE_VERSION 47 +#define MINOR_VERSION 0 +#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter. +#define BETA #define SERVER "powdertoy.co.uk" @@ -18,6 +18,10 @@ //#define pyconsole +#ifndef M_PI +#define M_PI 3.14159265f +#endif + #define IMGCONNS 3 #define TIMEOUT 100 #define HTTP_TIMEOUT 10 @@ -182,8 +186,10 @@ void thumb_cache_inval(char *id); void thumb_cache_add(char *id, void *thumb, int size); int thumb_cache_find(char *id, void **thumb, int *size); void *build_thumb(int *size, int bzip2); -void *build_save(int *size, int x0, int y0, int w, int h); -int parse_save(void *save, int size, int replace, int x0, int y0); +void *build_save(int *size, int x0, int y0, int w, int h, unsigned char bmap[YRES/CELL][XRES/CELL], float fvx[YRES/CELL][XRES/CELL], float fvy[YRES/CELL][XRES/CELL], sign signs[MAXSIGNS], void* partsptr); +int parse_save(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]); +void clear_sim(void); void del_stamp(int d); void sdl_seticon(void); +//int process_command(pixel *vid_buf, char *console, char *console_error, PyObject *pfunc); #endif |
