Mercurial > hg > openttd
changeset 15221:0d1472229334 draft
(svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h
author | smatz <smatz@openttd.org> |
---|---|
date | Tue, 18 May 2010 01:10:23 +0000 |
parents | ef4601cbbb98 |
children | 8cbbf8ae37e9 |
files | src/openttd.cpp src/rail_gui.h src/saveload/afterload.cpp |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -64,6 +64,7 @@ #include "engine_base.h" #include "engine_func.h" #include "core/random_func.hpp" +#include "rail_gui.h" #include "newgrf_commons.h" @@ -87,7 +88,6 @@ extern void SetDifficultyLevel(int mode, DifficultySettings *gm_opt); extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY); extern void ShowOSErrorBox(const char *buf, bool system); -extern void InitializeRailGUI(); /** * Error handling for fatal user errors.
--- a/src/rail_gui.h +++ b/src/rail_gui.h @@ -17,5 +17,6 @@ void ShowBuildRailToolbar(RailType railtype, int button); void ReinitGuiAfterToggleElrail(bool disable); bool ResetSignalVariant(int32 = 0); +void InitializeRailGUI(); #endif /* RAIL_GUI_H */
--- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -51,6 +51,7 @@ #include "../newgrf.h" #include "../engine_base.h" #include "../engine_func.h" +#include "../rail_gui.h" #include "table/strings.h" @@ -60,7 +61,6 @@ extern StringID _switch_mode_errorstr; extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY); -extern void InitializeRailGUI(); /** * Makes a tile canal or water depending on the surroundings.