changeset 15986:1446cdc9ea36 draft

(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
author alberth <alberth@openttd.org>
date Sat, 28 Aug 2010 20:15:45 +0000
parents a0d57736b4be
children 4433ecd1dc47
files src/gamelog.h src/industry.h src/network/network_func.h src/network/network_internal.h src/station_func.h src/subsidy_func.h
diffstat 6 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/gamelog.h
+++ b/src/gamelog.h
@@ -53,7 +53,6 @@
 
 void GamelogTestRevision();
 void GamelogTestMode();
-void GamelogTestGRF();
 
 bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
 
--- a/src/industry.h
+++ b/src/industry.h
@@ -126,9 +126,6 @@
 
 void ReleaseDisastersTargetingIndustry(IndustryID);
 
-/* industry_cmd.cpp */
-void SetIndustryDailyChanges();
-
 #define FOR_ALL_INDUSTRIES_FROM(var, start) FOR_ALL_ITEMS_FROM(Industry, industry_index, var, start)
 #define FOR_ALL_INDUSTRIES(var) FOR_ALL_INDUSTRIES_FROM(var, 0)
 
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -41,7 +41,6 @@
 void NetworkDisconnect(bool blocking = false);
 void NetworkGameLoop();
 void NetworkUDPGameLoop();
-void NetworkUDPCloseAll();
 void ParseConnectionString(const char **company, const char **port, char *connection_string);
 void NetworkStartDebugLog(NetworkAddress address);
 void NetworkPopulateCompanyStats(NetworkCompanyStats *stats);
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -170,7 +170,6 @@
 void NetworkTextMessage(NetworkAction action, ConsoleColour colour, bool self_send, const char *name, const char *str = "", int64 data = 0);
 void NetworkGetClientName(char *clientname, size_t size, const NetworkClientSocket *cs);
 uint NetworkCalculateLag(const NetworkClientSocket *cs);
-byte NetworkGetCurrentLanguageIndex();
 NetworkClientSocket *NetworkFindClientStateFromClientID(ClientID client_id);
 StringID GetNetworkErrorMsg(NetworkErrorCode err);
 bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]);
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -36,9 +36,6 @@
 
 bool HasStationInUse(StationID station, bool include_company, CompanyID company);
 
-RoadStop *GetRoadStopByTile(TileIndex tile, RoadStopType type);
-uint GetNumRoadStops(const Station *st, RoadStopType type);
-
 void DeleteOilRig(TileIndex t);
 
 /* Check if a rail station tile is traversable. */
--- a/src/subsidy_func.h
+++ b/src/subsidy_func.h
@@ -20,7 +20,6 @@
 Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
 void DeleteSubsidyWith(SourceType type, SourceID index);
 bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st);
-void SubsidyMonthlyHandler();
 void RebuildSubsidisedSourceAndDestinationCache();
 void DeleteSubsidy(struct Subsidy *s);