Changeset - r20388:7a2f2cbf65ab
[Not reviewed]
master
0 5 0
frosch - 11 years ago 2013-06-15 15:05:54
frosch@openttd.org
(svn r25401) -Fix-ish: Add missing includes with prototypes to functions declared in the cpp file.
5 files changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_gui.cpp
Show inline comments
 
@@ -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"
src/airport_gui.cpp
Show inline comments
 
@@ -27,6 +27,7 @@
 
#include "core/geometry_func.hpp"
 
#include "hotkeys.h"
 
#include "vehicle_func.h"
 
#include "gui.h"
 

	
 
#include "widgets/airport_widget.h"
 

	
src/dock_gui.cpp
Show inline comments
 
@@ -25,6 +25,7 @@
 
#include "tilehighlight_func.h"
 
#include "company_base.h"
 
#include "hotkeys.h"
 
#include "gui.h"
 

	
 
#include "widgets/dock_widget.h"
 

	
src/rail_gui.cpp
Show inline comments
 
@@ -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);
 

	
src/terraform_gui.cpp
Show inline comments
 
@@ -31,6 +31,7 @@
 
#include "object.h"
 
#include "hotkeys.h"
 
#include "engine_base.h"
 
#include "terraform_gui.h"
 

	
 
#include "widgets/terraform_widget.h"
 

	
0 comments (0 inline, 0 general)