# HG changeset patch # User tron # Date 1119298090 0 # Node ID 0266bb01a1e67376f47290d85ccc06a89e031977 # Parent 6c3c6ad192d72ed8a1bda763ca8d82e7e1464b4c (svn r2464) Move definition of _inclined_tileh out of variables.h diff -r 6c3c6ad192d7 -r 0266bb01a1e6 landscape.c --- a/landscape.c Mon Jun 20 19:39:49 2005 +0000 +++ b/landscape.c Mon Jun 20 20:08:10 2005 +0000 @@ -43,6 +43,10 @@ 0,0,0,0,0,0,0,16,0,0,0,17,0,15,18,0, }; +const byte _inclined_tileh[] = { + 3, 9, 3, 6, 12, 6, 12, 9 +}; + void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile) { diff -r 6c3c6ad192d7 -r 0266bb01a1e6 variables.h --- a/variables.h Mon Jun 20 19:39:49 2005 +0000 +++ b/variables.h Mon Jun 20 20:08:10 2005 +0000 @@ -432,10 +432,7 @@ /* landscape.c */ extern const byte _tileh_to_sprite[32]; - -static const byte _inclined_tileh[] = { - 3,9,3,6,12,6,12,9, -}; +extern const byte _inclined_tileh[8]; extern const TileTypeProcs * const _tile_type_procs[16];