summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-28 20:15:45 +0000
committeralberth <alberth@openttd.org>2010-08-28 20:15:45 +0000
commitbe59c90e86edd2d07bcffeba0900f17deee2ed6b (patch)
tree26c7970302b273b061c21be3515249ca6824cdb7
parenta8b992f4fd93429dad018ac77056bf5672c97528 (diff)
downloadopenttd-be59c90e86edd2d07bcffeba0900f17deee2ed6b.tar.xz
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
-rw-r--r--src/gamelog.h1
-rw-r--r--src/industry.h3
-rw-r--r--src/network/network_func.h1
-rw-r--r--src/network/network_internal.h1
-rw-r--r--src/station_func.h3
-rw-r--r--src/subsidy_func.h1
6 files changed, 0 insertions, 10 deletions
diff --git a/src/gamelog.h b/src/gamelog.h
index 379189e04..3bb698697 100644
--- a/src/gamelog.h
+++ b/src/gamelog.h
@@ -53,7 +53,6 @@ void GamelogGRFCompatible(const GRFIdentifier *newg);
void GamelogTestRevision();
void GamelogTestMode();
-void GamelogTestGRF();
bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
diff --git a/src/industry.h b/src/industry.h
index 919584589..c6ca6aa5c 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -126,9 +126,6 @@ void PlantRandomFarmField(const Industry *i);
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)
diff --git a/src/network/network_func.h b/src/network/network_func.h
index 70fe3afb7..061635338 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -41,7 +41,6 @@ void NetworkReboot();
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);
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index 7cb30e23d..2532a630e 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -170,7 +170,6 @@ NetworkRecvStatus NetworkCloseClient(NetworkClientSocket *cs, NetworkRecvStatus
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]);
diff --git a/src/station_func.h b/src/station_func.h
index 245aa8f63..0fe5b2f84 100644
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -36,9 +36,6 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro
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. */
diff --git a/src/subsidy_func.h b/src/subsidy_func.h
index 31eb315cc..2e53e14d7 100644
--- 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);