(svn r12145) -Codechange: includes should be at the top of the source file

-Codechange: undefine a defined macro once work is finished, just in case
replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
belugas 17 years ago
parent ac5433a924
commit 65a13a3022

@ -45,6 +45,7 @@
#include "table/sprites.h" #include "table/sprites.h"
#include "table/strings.h" #include "table/strings.h"
#include "table/railtypes.h" #include "table/railtypes.h"
#include "table/track_land.h"
const byte _track_sloped_sprites[14] = { const byte _track_sloped_sprites[14] = {
14, 15, 22, 13, 14, 15, 22, 13,
@ -1398,8 +1399,6 @@ static CommandCost ClearTile_Track(TileIndex tile, byte flags)
} }
} }
#include "table/track_land.h"
/** /**
* Get surface height in point (x,y) * Get surface height in point (x,y)
* On tiles with halftile foundations move (x,y) to a save point wrt. track * On tiles with halftile foundations move (x,y) to a save point wrt. track

@ -50,3 +50,7 @@ static const DrawTileSprites _waypoint_gfx_table[] = {
{ SPR_RAIL_TRACK_X, PAL_NONE, _waypoint_gfx_X }, { SPR_RAIL_TRACK_X, PAL_NONE, _waypoint_gfx_X },
{ SPR_RAIL_TRACK_Y, PAL_NONE, _waypoint_gfx_Y } { SPR_RAIL_TRACK_Y, PAL_NONE, _waypoint_gfx_Y }
}; };
#undef TILE_SEQ_LINE
#undef TILE_SEQ_END

Loading…
Cancel
Save