mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-09 15:30:42 +02:00
Allow building with Visual Studio, at the loss of some functionality, also, updates to version number
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
#define PATH_SEP "/"
|
#define PATH_SEP "/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SAVE_VERSION 44
|
#define SAVE_VERSION 45
|
||||||
#define MINOR_VERSION 7
|
#define MINOR_VERSION 0
|
||||||
#define IDENT_VERSION "G" //Change this if you're not Simon! It should be a single letter.
|
#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"
|
#define SERVER "powdertoy.co.uk"
|
||||||
|
|
||||||
|
@@ -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)
|
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 cx = 0;
|
||||||
int cy = 0;
|
int cy = 0;
|
||||||
unsigned tpmap[area_h][area_w];
|
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)
|
void clear_area(int area_x, int area_y, int area_w, int area_h)
|
||||||
|
Reference in New Issue
Block a user