mirror of https://github.com/OpenTTD/OpenTTD
(svn r22209) -Codechange: Move function declarations from settings.h.preamble to the ini file that uses it.
parent
db6121f361
commit
02bf850d95
|
@ -7,6 +7,9 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
[pre-amble]
|
[pre-amble]
|
||||||
|
static bool CheckInterval(int32 p1);
|
||||||
|
static bool InvalidateDetailsWindow(int32 p1);
|
||||||
|
|
||||||
static const SettingDesc _company_settings[] = {
|
static const SettingDesc _company_settings[] = {
|
||||||
[post-amble]
|
[post-amble]
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,48 +9,8 @@
|
||||||
|
|
||||||
/** @file table/settings.h Settings to save in the savegame and config file. */
|
/** @file table/settings.h Settings to save in the savegame and config file. */
|
||||||
|
|
||||||
/* Begin - Callback Functions for the various settings */
|
/* Callback function used in _settings[] as well as _company_settings[] */
|
||||||
static bool v_PositionMainToolbar(int32 p1);
|
|
||||||
static bool v_PositionStatusbar(int32 p1);
|
|
||||||
static bool PopulationInLabelActive(int32 p1);
|
|
||||||
static bool RedrawScreen(int32 p1);
|
|
||||||
static bool RedrawSmallmap(int32 p1);
|
|
||||||
static bool InvalidateDetailsWindow(int32 p1);
|
|
||||||
static bool InvalidateStationBuildWindow(int32 p1);
|
|
||||||
static bool InvalidateBuildIndustryWindow(int32 p1);
|
|
||||||
static bool CloseSignalGUI(int32 p1);
|
|
||||||
static bool InvalidateTownViewWindow(int32 p1);
|
|
||||||
static bool DeleteSelectStationWindow(int32 p1);
|
|
||||||
static bool UpdateConsists(int32 p1);
|
|
||||||
static bool CheckInterval(int32 p1);
|
|
||||||
static bool TrainAccelerationModelChanged(int32 p1);
|
|
||||||
static bool RoadVehAccelerationModelChanged(int32 p1);
|
|
||||||
static bool TrainSlopeSteepnessChanged(int32 p1);
|
|
||||||
static bool RoadVehSlopeSteepnessChanged(int32 p1);
|
|
||||||
static bool DragSignalsDensityChanged(int32);
|
|
||||||
static bool TownFoundingChanged(int32 p1);
|
|
||||||
static bool DifficultyReset(int32 level);
|
|
||||||
static bool DifficultyChange(int32);
|
|
||||||
static bool DifficultyNoiseChange(int32 i);
|
|
||||||
static bool MaxNoAIsChange(int32 i);
|
|
||||||
static bool CheckRoadSide(int p1);
|
|
||||||
static int32 ConvertLandscape(const char *value);
|
static int32 ConvertLandscape(const char *value);
|
||||||
static bool CheckFreeformEdges(int32 p1);
|
|
||||||
static bool ChangeDynamicEngines(int32 p1);
|
|
||||||
static bool StationCatchmentChanged(int32 p1);
|
|
||||||
static bool InvalidateVehTimetableWindow(int32 p1);
|
|
||||||
static bool InvalidateCompanyLiveryWindow(int32 p1);
|
|
||||||
static bool InvalidateNewGRFChangeWindows(int32 p1);
|
|
||||||
static bool InvalidateIndustryViewWindow(int32 p1);
|
|
||||||
static bool RedrawTownAuthority(int32 p1);
|
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
|
||||||
static bool UpdateClientName(int32 p1);
|
|
||||||
static bool UpdateServerPassword(int32 p1);
|
|
||||||
static bool UpdateRconPassword(int32 p1);
|
|
||||||
static bool UpdateClientConfigValues(int32 p1);
|
|
||||||
#endif /* ENABLE_NETWORK */
|
|
||||||
/* End - Callback Functions for the various settings */
|
|
||||||
|
|
||||||
|
|
||||||
/****************************
|
/****************************
|
||||||
|
|
|
@ -7,6 +7,46 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
[pre-amble]
|
[pre-amble]
|
||||||
|
/* Begin - Callback Functions for the various settings */
|
||||||
|
static bool v_PositionMainToolbar(int32 p1);
|
||||||
|
static bool v_PositionStatusbar(int32 p1);
|
||||||
|
static bool PopulationInLabelActive(int32 p1);
|
||||||
|
static bool RedrawScreen(int32 p1);
|
||||||
|
static bool RedrawSmallmap(int32 p1);
|
||||||
|
static bool InvalidateStationBuildWindow(int32 p1);
|
||||||
|
static bool InvalidateBuildIndustryWindow(int32 p1);
|
||||||
|
static bool CloseSignalGUI(int32 p1);
|
||||||
|
static bool InvalidateTownViewWindow(int32 p1);
|
||||||
|
static bool DeleteSelectStationWindow(int32 p1);
|
||||||
|
static bool UpdateConsists(int32 p1);
|
||||||
|
static bool TrainAccelerationModelChanged(int32 p1);
|
||||||
|
static bool RoadVehAccelerationModelChanged(int32 p1);
|
||||||
|
static bool TrainSlopeSteepnessChanged(int32 p1);
|
||||||
|
static bool RoadVehSlopeSteepnessChanged(int32 p1);
|
||||||
|
static bool DragSignalsDensityChanged(int32);
|
||||||
|
static bool TownFoundingChanged(int32 p1);
|
||||||
|
static bool DifficultyReset(int32 level);
|
||||||
|
static bool DifficultyChange(int32);
|
||||||
|
static bool DifficultyNoiseChange(int32 i);
|
||||||
|
static bool MaxNoAIsChange(int32 i);
|
||||||
|
static bool CheckRoadSide(int p1);
|
||||||
|
static bool CheckFreeformEdges(int32 p1);
|
||||||
|
static bool ChangeDynamicEngines(int32 p1);
|
||||||
|
static bool StationCatchmentChanged(int32 p1);
|
||||||
|
static bool InvalidateVehTimetableWindow(int32 p1);
|
||||||
|
static bool InvalidateCompanyLiveryWindow(int32 p1);
|
||||||
|
static bool InvalidateNewGRFChangeWindows(int32 p1);
|
||||||
|
static bool InvalidateIndustryViewWindow(int32 p1);
|
||||||
|
static bool RedrawTownAuthority(int32 p1);
|
||||||
|
|
||||||
|
#ifdef ENABLE_NETWORK
|
||||||
|
static bool UpdateClientName(int32 p1);
|
||||||
|
static bool UpdateServerPassword(int32 p1);
|
||||||
|
static bool UpdateRconPassword(int32 p1);
|
||||||
|
static bool UpdateClientConfigValues(int32 p1);
|
||||||
|
#endif /* ENABLE_NETWORK */
|
||||||
|
/* End - Callback Functions for the various settings */
|
||||||
|
|
||||||
/* Some settings do not need to be synchronised when playing in multiplayer.
|
/* Some settings do not need to be synchronised when playing in multiplayer.
|
||||||
* These include for example the GUI settings and will not be saved with the
|
* These include for example the GUI settings and will not be saved with the
|
||||||
* savegame.
|
* savegame.
|
||||||
|
|
Loading…
Reference in New Issue