forked from mirror/OpenTTD
Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
This commit is contained in:
committed by
Niels Martin Hansen
parent
97592c4093
commit
716c883737
@@ -241,11 +241,11 @@ static inline TileIndexDiff ToTileIndexDiff(TileIndexDiffC tidc)
|
||||
* @param y Another tile to add
|
||||
* @return The resulting tile(index)
|
||||
*/
|
||||
#define TILE_ADD(x, y) ((x) + (y))
|
||||
# define TILE_ADD(x, y) ((x) + (y))
|
||||
#else
|
||||
extern TileIndex TileAdd(TileIndex tile, TileIndexDiff add,
|
||||
const char *exp, const char *file, int line);
|
||||
#define TILE_ADD(x, y) (TileAdd((x), (y), #x " + " #y, __FILE__, __LINE__))
|
||||
# define TILE_ADD(x, y) (TileAdd((x), (y), #x " + " #y, __FILE__, __LINE__))
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user