diff options
author | peter1138 <peter1138@openttd.org> | 2005-09-29 19:59:57 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-09-29 19:59:57 +0000 |
commit | e33faa5ed5d015bfdc56bc3a98ac866dbf887daf (patch) | |
tree | 3361291e4860244e86ac05a4850f57669b721cc4 /functions.h | |
parent | 3a964862f7b14c214a38689ad646924c96a34f95 (diff) | |
download | openttd-e33faa5ed5d015bfdc56bc3a98ac866dbf887daf.tar.xz |
(svn r2997) -Codechange: Split road drawing code off from DrawTile_Road into a separate function to be used elsewhere.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 8bbd67ac1..7afcd6244 100644 --- a/functions.h +++ b/functions.h @@ -229,6 +229,7 @@ Town *ClosestTownFromTile(TileIndex tile, uint threshold); void ChangeTownRating(Town *t, int add, int max); uint GetRoadBitsByTile(TileIndex tile); +void DrawRoadBits(TileInfo *ti, byte road, byte ground_type, bool snow, bool flat); int GetTownRadiusGroup(const Town *t, TileIndex tile); void ShowNetworkChatQueryWindow(byte desttype, byte dest); void ShowNetworkGiveMoneyWindow(byte player); |