(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.

This commit is contained in:
rubidium
2007-12-21 22:50:51 +00:00
parent 1b53dbf9cc
commit 6a9e77e079
56 changed files with 268 additions and 204 deletions

View File

@@ -5,6 +5,8 @@
#ifndef LANDSCAPE_H
#define LANDSCAPE_H
#include "gfx.h"
enum {
SNOW_LINE_MONTHS = 12,
SNOW_LINE_DAYS = 32,
@@ -47,13 +49,6 @@ void DrawFoundation(TileInfo *ti, Foundation f);
void DoClearSquare(TileIndex tile);
void RunTileLoop();
uint32 GetTileTrackStatus(TileIndex tile, TransportType mode, uint sub_mode);
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac);
void ChangeTileOwner(TileIndex tile, PlayerID old_player, PlayerID new_player);
void AnimateTile(TileIndex tile);
void ClickTile(TileIndex tile);
void GetTileDesc(TileIndex tile, TileDesc *td);
void InitializeLandscape();
void GenerateLandscape(byte mode);