summaryrefslogtreecommitdiff
path: root/economy.h
diff options
context:
space:
mode:
authorsignde <signde@openttd.org>2004-09-13 22:49:11 +0000
committersignde <signde@openttd.org>2004-09-13 22:49:11 +0000
commitbb2f8d8d1abf3ed4951eea13361d64127e4a6b8c (patch)
tree02ce8b5c8de35962f0c0bf28891aae99421d0ea7 /economy.h
parent9258f81405dd8080737d45fc72b365eac4154749 (diff)
downloadopenttd-bb2f8d8d1abf3ed4951eea13361d64127e4a6b8c.tar.xz
(svn r240) -Fix: desync on subsidy generation
-Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
Diffstat (limited to 'economy.h')
-rw-r--r--economy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/economy.h b/economy.h
index 690fc61fc..c9c043ff1 100644
--- a/economy.h
+++ b/economy.h
@@ -70,6 +70,7 @@ VARDEF Subsidy _subsidies[MAX_PLAYERS];
Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode);
void DeleteSubsidyWithIndustry(byte index);
void DeleteSubsidyWithStation(byte index);
+void RemoteSubsidyAdd(Subsidy *s_new);
int32 GetTransportedGoodsIncome(uint num_pieces, uint dist, byte transit_days, byte cargo_type);
uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount);