Changeset - r1958:2c1ca22f82aa
[Not reviewed]
master
0 2 0
tron - 19 years ago 2005-06-20 20:08:10
tron@openttd.org
(svn r2464) Move definition of _inclined_tileh out of variables.h
2 files changed with 5 insertions and 4 deletions:
0 comments (0 inline, 0 general)
landscape.c
Show inline comments
 
@@ -43,6 +43,10 @@ const byte _tileh_to_sprite[32] = {
 
	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)
 
{
variables.h
Show inline comments
 
@@ -432,10 +432,7 @@ static inline uint32 GetDParam(uint n)
 

	
 
/* 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];
 

	
0 comments (0 inline, 0 general)