mirror of https://github.com/OpenTTD/OpenTTD
(svn r2464) Move definition of _inclined_tileh out of variables.h
parent
e9115f28c9
commit
0be5b38286
|
@ -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,
|
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)
|
void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile)
|
||||||
{
|
{
|
||||||
|
|
|
@ -432,10 +432,7 @@ static inline uint32 GetDParam(uint n)
|
||||||
|
|
||||||
/* landscape.c */
|
/* landscape.c */
|
||||||
extern const byte _tileh_to_sprite[32];
|
extern const byte _tileh_to_sprite[32];
|
||||||
|
extern const byte _inclined_tileh[8];
|
||||||
static const byte _inclined_tileh[] = {
|
|
||||||
3,9,3,6,12,6,12,9,
|
|
||||||
};
|
|
||||||
|
|
||||||
extern const TileTypeProcs * const _tile_type_procs[16];
|
extern const TileTypeProcs * const _tile_type_procs[16];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue