(svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.

-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process.  Makes less magic around.
This commit is contained in:
belugas
2008-02-14 02:57:38 +00:00
parent fe48d0be21
commit 81b47a628f
4 changed files with 12 additions and 29 deletions

View File

@@ -106,7 +106,7 @@ void SetFiosType(const byte fiostype);
extern const TextColour _fios_colors[];
/* bridge_gui.cpp */
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte type);
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType Transport_type, byte type);
void ShowBuildIndustryWindow();
void ShowMusicWindow();