mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r25401) -Fix-ish: Add missing includes with prototypes to functions declared in the cpp file.
This commit is contained in:
parent
e4e86620dd
commit
bb308c5e30
|
@ -30,6 +30,7 @@
|
|||
#include "../hotkeys.h"
|
||||
|
||||
#include "ai.hpp"
|
||||
#include "ai_gui.hpp"
|
||||
#include "../script/api/script_log.hpp"
|
||||
#include "ai_config.hpp"
|
||||
#include "ai_info.hpp"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "core/geometry_func.hpp"
|
||||
#include "hotkeys.h"
|
||||
#include "vehicle_func.h"
|
||||
#include "gui.h"
|
||||
|
||||
#include "widgets/airport_widget.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "tilehighlight_func.h"
|
||||
#include "company_base.h"
|
||||
#include "hotkeys.h"
|
||||
#include "gui.h"
|
||||
|
||||
#include "widgets/dock_widget.h"
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "engine_base.h"
|
||||
#include "vehicle_func.h"
|
||||
#include "zoom_func.h"
|
||||
#include "rail_gui.h"
|
||||
|
||||
#include "station_map.h"
|
||||
#include "tunnelbridge_map.h"
|
||||
|
@ -1874,7 +1875,7 @@ static void SetDefaultRailGui()
|
|||
* @param p needed to be called when a setting changes
|
||||
* @return success, needed for settings
|
||||
*/
|
||||
bool ResetSignalVariant(int32 p = 0)
|
||||
bool ResetSignalVariant(int32 p)
|
||||
{
|
||||
SignalVariant new_variant = (_cur_year < _settings_client.gui.semaphore_build_before ? SIG_SEMAPHORE : SIG_ELECTRIC);
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "object.h"
|
||||
#include "hotkeys.h"
|
||||
#include "engine_base.h"
|
||||
#include "terraform_gui.h"
|
||||
|
||||
#include "widgets/terraform_widget.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue