mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
finally fixed visual studio compiling, yay
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
|
||||
#include "powder.h"
|
||||
#include "misc.h"
|
||||
#include "math.h"
|
||||
|
||||
#endif
|
||||
|
@@ -837,9 +837,9 @@ extern inline int is_wire_off(int x, int y);
|
||||
void set_emap(int x, int y);
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
_inline int parts_avg(int ci, int ni, int t);
|
||||
extern _inline int parts_avg(int ci, int ni, int t);
|
||||
#else
|
||||
int parts_avg(int ci, int ni, int t);
|
||||
extern int parts_avg(int ci, int ni, int t);
|
||||
#endif
|
||||
|
||||
int nearest_part(int ci, int t);
|
||||
|
Reference in New Issue
Block a user