mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h
This commit is contained in:
parent
0f17755f95
commit
0449d7d5b9
@ -64,6 +64,7 @@
|
|||||||
#include "engine_base.h"
|
#include "engine_base.h"
|
||||||
#include "engine_func.h"
|
#include "engine_func.h"
|
||||||
#include "core/random_func.hpp"
|
#include "core/random_func.hpp"
|
||||||
|
#include "rail_gui.h"
|
||||||
|
|
||||||
#include "newgrf_commons.h"
|
#include "newgrf_commons.h"
|
||||||
|
|
||||||
@ -87,7 +88,6 @@ void CallWindowTickEvent();
|
|||||||
extern void SetDifficultyLevel(int mode, DifficultySettings *gm_opt);
|
extern void SetDifficultyLevel(int mode, DifficultySettings *gm_opt);
|
||||||
extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
|
extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
|
||||||
extern void ShowOSErrorBox(const char *buf, bool system);
|
extern void ShowOSErrorBox(const char *buf, bool system);
|
||||||
extern void InitializeRailGUI();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Error handling for fatal user errors.
|
* Error handling for fatal user errors.
|
||||||
|
@ -17,5 +17,6 @@
|
|||||||
void ShowBuildRailToolbar(RailType railtype, int button);
|
void ShowBuildRailToolbar(RailType railtype, int button);
|
||||||
void ReinitGuiAfterToggleElrail(bool disable);
|
void ReinitGuiAfterToggleElrail(bool disable);
|
||||||
bool ResetSignalVariant(int32 = 0);
|
bool ResetSignalVariant(int32 = 0);
|
||||||
|
void InitializeRailGUI();
|
||||||
|
|
||||||
#endif /* RAIL_GUI_H */
|
#endif /* RAIL_GUI_H */
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
#include "../newgrf.h"
|
#include "../newgrf.h"
|
||||||
#include "../engine_base.h"
|
#include "../engine_base.h"
|
||||||
#include "../engine_func.h"
|
#include "../engine_func.h"
|
||||||
|
#include "../rail_gui.h"
|
||||||
|
|
||||||
#include "table/strings.h"
|
#include "table/strings.h"
|
||||||
|
|
||||||
@ -60,7 +61,6 @@
|
|||||||
|
|
||||||
extern StringID _switch_mode_errorstr;
|
extern StringID _switch_mode_errorstr;
|
||||||
extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
|
extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
|
||||||
extern void InitializeRailGUI();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Makes a tile canal or water depending on the surroundings.
|
* Makes a tile canal or water depending on the surroundings.
|
||||||
|
Loading…
Reference in New Issue
Block a user