mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-07 06:39:08 +00:00
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
This commit is contained in:
parent
a8b992f4fd
commit
be59c90e86
@ -53,7 +53,6 @@ void GamelogGRFCompatible(const GRFIdentifier *newg);
|
|||||||
|
|
||||||
void GamelogTestRevision();
|
void GamelogTestRevision();
|
||||||
void GamelogTestMode();
|
void GamelogTestMode();
|
||||||
void GamelogTestGRF();
|
|
||||||
|
|
||||||
bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
|
bool GamelogGRFBugReverse(uint32 grfid, uint16 internal_id);
|
||||||
|
|
||||||
|
@ -126,9 +126,6 @@ void PlantRandomFarmField(const Industry *i);
|
|||||||
|
|
||||||
void ReleaseDisastersTargetingIndustry(IndustryID);
|
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_FROM(var, start) FOR_ALL_ITEMS_FROM(Industry, industry_index, var, start)
|
||||||
#define FOR_ALL_INDUSTRIES(var) FOR_ALL_INDUSTRIES_FROM(var, 0)
|
#define FOR_ALL_INDUSTRIES(var) FOR_ALL_INDUSTRIES_FROM(var, 0)
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ void NetworkReboot();
|
|||||||
void NetworkDisconnect(bool blocking = false);
|
void NetworkDisconnect(bool blocking = false);
|
||||||
void NetworkGameLoop();
|
void NetworkGameLoop();
|
||||||
void NetworkUDPGameLoop();
|
void NetworkUDPGameLoop();
|
||||||
void NetworkUDPCloseAll();
|
|
||||||
void ParseConnectionString(const char **company, const char **port, char *connection_string);
|
void ParseConnectionString(const char **company, const char **port, char *connection_string);
|
||||||
void NetworkStartDebugLog(NetworkAddress address);
|
void NetworkStartDebugLog(NetworkAddress address);
|
||||||
void NetworkPopulateCompanyStats(NetworkCompanyStats *stats);
|
void NetworkPopulateCompanyStats(NetworkCompanyStats *stats);
|
||||||
|
@ -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 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);
|
void NetworkGetClientName(char *clientname, size_t size, const NetworkClientSocket *cs);
|
||||||
uint NetworkCalculateLag(const NetworkClientSocket *cs);
|
uint NetworkCalculateLag(const NetworkClientSocket *cs);
|
||||||
byte NetworkGetCurrentLanguageIndex();
|
|
||||||
NetworkClientSocket *NetworkFindClientStateFromClientID(ClientID client_id);
|
NetworkClientSocket *NetworkFindClientStateFromClientID(ClientID client_id);
|
||||||
StringID GetNetworkErrorMsg(NetworkErrorCode err);
|
StringID GetNetworkErrorMsg(NetworkErrorCode err);
|
||||||
bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]);
|
bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]);
|
||||||
|
@ -36,9 +36,6 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro
|
|||||||
|
|
||||||
bool HasStationInUse(StationID station, bool include_company, CompanyID company);
|
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);
|
void DeleteOilRig(TileIndex t);
|
||||||
|
|
||||||
/* Check if a rail station tile is traversable. */
|
/* Check if a rail station tile is traversable. */
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
||||||
void DeleteSubsidyWith(SourceType type, SourceID index);
|
void DeleteSubsidyWith(SourceType type, SourceID index);
|
||||||
bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st);
|
bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st);
|
||||||
void SubsidyMonthlyHandler();
|
|
||||||
void RebuildSubsidisedSourceAndDestinationCache();
|
void RebuildSubsidisedSourceAndDestinationCache();
|
||||||
void DeleteSubsidy(struct Subsidy *s);
|
void DeleteSubsidy(struct Subsidy *s);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user