diff options
| author | Simon <simon@hardwired.org.uk> | 2010-12-19 18:39:39 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-12-19 18:39:39 (GMT) |
| commit | 314e937ec864e7481d0c1e07f027d8221f607180 (patch) | |
| tree | 93a410da6c0b73df159b09f1de5be694fc5a842e /src | |
| parent | e380237cbc87ed97b16955b40807b0f2427818e9 (diff) | |
| download | powder-314e937ec864e7481d0c1e07f027d8221f607180.zip powder-314e937ec864e7481d0c1e07f027d8221f607180.tar.gz | |
Allow building with Visual Studio, at the loss of some functionality, also, updates to version number
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c index 11e1b14..f881804 100644 --- a/src/powder.c +++ b/src/powder.c @@ -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) |
