Allow building with Visual Studio, at the loss of some functionality, also, updates to version number

This commit is contained in:
Simon 2010-12-19 18:39:39 +00:00
parent e380237cbc
commit 314e937ec8
2 changed files with 6 additions and 3 deletions

View File

@ -7,10 +7,10 @@
#define PATH_SEP "/"
#endif
#define SAVE_VERSION 44
#define MINOR_VERSION 7
#define SAVE_VERSION 45
#define MINOR_VERSION 0
#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter.
//#define BETA
#define BETA
#define SERVER "powdertoy.co.uk"

View File

@ -5482,6 +5482,8 @@ void update_particles(pixel *vid)
void rotate_area(int area_x, int area_y, int area_w, int area_h, int invert)
{
//TODO: MSCC doesn't like arrays who's size is determined at runtime.
#if !(defined(WIN32) && !defined(__GNUC__))
int cx = 0;
int cy = 0;
unsigned tpmap[area_h][area_w];
@ -5544,6 +5546,7 @@ void rotate_area(int area_x, int area_y, int area_w, int area_h, int invert)
}
}
}
#endif
}
void clear_area(int area_x, int area_y, int area_w, int area_h)