changeset 1958:046d9900d788 draft

(svn r2464) Move definition of _inclined_tileh out of variables.h
author tron <tron@openttd.org>
date Mon, 20 Jun 2005 20:08:10 +0000
parents c841602fecf4
children 67078ce9f9ba
files landscape.c variables.h
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/landscape.c
+++ b/landscape.c
@@ -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)
 {
--- a/variables.h
+++ b/variables.h
@@ -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];