mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Visual Studio and MinGW comapatbility
This commit is contained in:
@@ -391,25 +391,25 @@ int try_move(int i, int x, int y, int nx, int ny);
|
||||
|
||||
void kill_part(int i);
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
extern _inline int create_part(int p, int x, int y, int t);
|
||||
#else
|
||||
extern inline int create_part(int p, int x, int y, int t);
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
extern _inline void delete_part(int x, int y);
|
||||
#else
|
||||
extern inline void delete_part(int x, int y);
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
extern _inline int is_wire(int x, int y);
|
||||
#else
|
||||
extern inline int is_wire(int x, int y);
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
extern _inline int is_wire_off(int x, int y);
|
||||
#else
|
||||
extern inline int is_wire_off(int x, int y);
|
||||
@@ -417,7 +417,7 @@ extern inline int is_wire_off(int x, int y);
|
||||
|
||||
void set_emap(int x, int y);
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
_inline int parts_avg(int ci, int ni);
|
||||
#else
|
||||
int parts_avg(int ci, int ni);
|
||||
|
Reference in New Issue
Block a user