summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
committerrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
commit480af9c9171badb7db906d2cc05856f4c2d87b73 (patch)
tree2a3621a92a3d30384ea51e0898d08f035a559915 /landscape.c
parent5f4dbbd52264b986efc248a6ccb02dbde4ca6c0e (diff)
downloadopenttd-480af9c9171badb7db906d2cc05856f4c2d87b73.tar.xz
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/landscape.c b/landscape.c
index a1d5e2c4c..4926c4e6d 100644
--- a/landscape.c
+++ b/landscape.c
@@ -50,13 +50,13 @@ const TileTypeProcs * const _tile_type_procs[16] = {
/* landscape slope => sprite */
const byte _tileh_to_sprite[32] = {
- 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,0,
- 0,0,0,0,0,0,0,16,0,0,0,17,0,15,18,0,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0,
+ 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 17, 0, 15, 18, 0,
};
const byte _inclined_tileh[] = {
- SLOPE_SW, SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE, SLOPE_SE, SLOPE_NE, SLOPE_NW,
- SLOPE_E, SLOPE_N, SLOPE_W, SLOPE_S,
+ SLOPE_SW, SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE, SLOPE_SE, SLOPE_NE, SLOPE_NW,
+ SLOPE_E, SLOPE_N, SLOPE_W, SLOPE_S,
SLOPE_NWS, SLOPE_WSE, SLOPE_SEN, SLOPE_ENW
};
@@ -445,8 +445,8 @@ void ConvertGroundTilesIntoWaterTiles(void)
}
}
-static const byte _genterrain_tbl_1[5] = { 10, 22, 33, 37, 4 };
-static const byte _genterrain_tbl_2[5] = { 0, 0, 0, 0, 33 };
+static const byte _genterrain_tbl_1[5] = { 10, 22, 33, 37, 4 };
+static const byte _genterrain_tbl_2[5] = { 0, 0, 0, 0, 33 };
static void GenerateTerrain(int type, int flag)
{