--- a/smallmap_gui.c Wed Nov 24 12:47:25 2004 +0000
+++ b/smallmap_gui.c Wed Nov 24 13:19:48 2004 +0000
@@ -221,7 +221,7 @@
};
#if defined(TTD_ALIGNMENT_4)
- static INLINE void WRITE_PIXELS(void *dst, uint32 val)
+ static inline void WRITE_PIXELS(void *dst, uint32 val)
{
byte *d = (byte*)dst;
# if defined(TTD_BIG_ENDIAN)
@@ -238,7 +238,7 @@
}
/* need to use OR, otherwise we will overwrite the wrong pixels at the edges :( */
- static INLINE void WRITE_PIXELS_OR(void *dst, uint32 val)
+ static inline void WRITE_PIXELS_OR(void *dst, uint32 val)
{
byte *d = (byte*)dst;
# if defined(TTD_BIG_ENDIAN)
@@ -328,7 +328,7 @@
{MKCOLOR(0x00D7D700),MKCOLOR(0xFF0000FF)},
};
-static uint32 INLINE GetSmallMapCountoursPixels(uint tile)
+static inline uint32 GetSmallMapCountoursPixels(uint tile)
{
uint t;
@@ -358,7 +358,7 @@
}
-static uint32 INLINE GetSmallMapVehiclesPixels(uint tile)
+static inline uint32 GetSmallMapVehiclesPixels(uint tile)
{
uint t;
@@ -411,7 +411,7 @@
15, 15, 15, 15, 15, 15, 15,
};
-static uint32 INLINE GetSmallMapIndustriesPixels(uint tile)
+static inline uint32 GetSmallMapIndustriesPixels(uint tile)
{
int t;
@@ -443,7 +443,7 @@
} while (xc++,yc++,dst+=pitch,--reps != 0);
}
-static uint32 INLINE GetSmallMapRoutesPixels(uint tile)
+static inline uint32 GetSmallMapRoutesPixels(uint tile)
{
int t;
uint32 bits;
@@ -499,7 +499,7 @@
MKCOLOR(0x54545454),
};
-static uint32 INLINE GetSmallMapVegetationPixels(uint tile)
+static inline uint32 GetSmallMapVegetationPixels(uint tile)
{
int i,t;
uint32 bits;
@@ -545,7 +545,7 @@
static uint32 *_owner_colors;
-static uint32 INLINE GetSmallMapOwnerPixels(uint tile)
+static inline uint32 GetSmallMapOwnerPixels(uint tile)
{
int t;
@@ -601,7 +601,7 @@
184, 191, 152, 15, 215, 184
};
-static INLINE uint32 dup_byte32(byte b) {
+static inline uint32 dup_byte32(byte b) {
return b + (b << 8) + (b << 16) + (b << 24);
}