Changeset - r14481:d4666a76d6a1
[Not reviewed]
master
0 7 1
terkhen - 14 years ago 2010-02-08 21:19:41
terkhen@openttd.org
(svn r19062) -Codechange: Move smallmap related functions to their own header.
8 files changed with 29 insertions and 3 deletions:
0 comments (0 inline, 0 general)
projects/openttd_vs80.vcproj
Show inline comments
 
@@ -1320,6 +1320,10 @@
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\smallmap_gui.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\sound\sdl_s.h"
 
				>
 
			</File>
projects/openttd_vs90.vcproj
Show inline comments
 
@@ -1317,6 +1317,10 @@
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\smallmap_gui.h"
 
				>
 
			</File>
 
			<File
 
				RelativePath=".\..\src\sound\sdl_s.h"
 
				>
 
			</File>
source.list
Show inline comments
 
@@ -239,6 +239,7 @@ roadstop_base.h
 
roadveh.h
 
screenshot.h
 
sdl.h
 
smallmap_gui.h
 
sound/sdl_s.h
 
video/sdl_v.h
 
settings_func.h
src/gui.h
Show inline comments
 
@@ -64,7 +64,6 @@ void ShowSubsidiesList();
 
void ShowEstimatedCostOrIncome(Money cost, int x, int y);
 
void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, int x, int y, bool no_timeout = false);
 

	
 
void ShowSmallMap();
 
void ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE);
 

	
 
void BuildFileList();
src/industry.h
Show inline comments
 
@@ -84,8 +84,6 @@ void PlantRandomFarmField(const Industry
 

	
 
void ReleaseDisastersTargetingIndustry(IndustryID);
 

	
 
/* smallmap_gui.cpp */
 
void BuildIndustriesLegend();
 
/* industry_cmd.cpp */
 
void SetIndustryDailyChanges();
 

	
src/newgrf.cpp
Show inline comments
 
@@ -45,6 +45,7 @@
 
#include <map>
 
#include "core/alloc_type.hpp"
 
#include "core/mem_func.hpp"
 
#include "smallmap_gui.h"
 

	
 
#include "table/strings.h"
 
#include "table/build_industry.h"
src/smallmap_gui.h
Show inline comments
 
new file 100644
 
/* $Id$ */
 

	
 
/*
 
 * This file is part of OpenTTD.
 
 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
 
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file smallmap_gui.h Smallmap GUI functions, used at newgrf.cpp and toolbar_gui.cpp. */
 

	
 
#ifndef SMALLMAP_GUI_H
 
#define SMALLMAP_GUI_H
 

	
 
void BuildIndustriesLegend();
 
void ShowSmallMap();
 

	
 
#endif /* SMALLMAP_GUI_H */
src/toolbar_gui.cpp
Show inline comments
 
@@ -41,6 +41,7 @@
 
#include "rail.h"
 
#include "widgets/dropdown_type.h"
 
#include "company_base.h"
 
#include "smallmap_gui.h"
 

	
 
#include "network/network.h"
 
#include "network/network_gui.h"
0 comments (0 inline, 0 general)