Commit Graph

365 Commits

Author SHA1 Message Date
frosch dd74536bef (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 2011-10-03 17:23:41 +00:00
frosch 5be8f73204 (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 2011-10-03 17:22:56 +00:00
frosch a2cbae88b0 (svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5. 2011-08-14 13:47:14 +00:00
frosch da0ee75a70 (svn r22745) -Fix: [NewGRF] SAT_CARGO_TAKEN and AAT_STATION_CARGO_TAKEN shall only be triggered when all cargo was taken. 2011-08-14 13:45:36 +00:00
frosch 99a045d5f0 (svn r22744) -Codechange: Clarify the scope of variables in LoadUnloadVehicle(). 2011-08-14 13:43:27 +00:00
frosch 536fc42461 (svn r22707) -Codechange: Simplify applying the difficulty settings to prices, and reduce computational errors. (Eddi) 2011-07-31 14:13:01 +00:00
frosch 63d3d8505e (svn r22624) -Fix [FS#4654]: When closing an AI company the local player cheated to, we need to cheat him to another company. 2011-07-02 19:31:01 +00:00
frosch 0b33df7a8f (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. 2011-07-02 19:07:47 +00:00
frosch a3ede3cea1 (svn r22622) -Fix: When closing down companies their shares in other companies must be sold even if share trading is disabled at that point of time. 2011-07-02 19:05:42 +00:00
terkhen 8e00fa39b2 (svn r22542) -Add: Store cargo acceptance stats for stations. 2011-06-04 21:21:00 +00:00
terkhen 5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 2011-06-04 21:17:07 +00:00
frosch ebb4f0513a (svn r22479) -Codechange/Fix: Months != quarters. (xi) 2011-05-19 21:03:23 +00:00
rubidium ff143c6708 (svn r22413) -Document: even more stuff 2011-05-02 20:59:54 +00:00
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 2011-02-14 19:52:26 +00:00
smatz b4273bcd35 (svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment before we actually try to do so
-Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
2011-02-08 18:27:21 +00:00
rubidium 3745ff7338 (svn r22015) -Codechange: move yet another pair of methods from functions.h 2011-02-07 22:22:20 +00:00
rubidium 50d646ca7b (svn r21970) -Fix [FS#4464]: Crash when a multiplayer company goes bankrupt with 'you' in it 2011-02-05 10:38:31 +00:00
rubidium 4c5ca17486 (svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it 2011-02-04 15:13:20 +00:00
rubidium 732a0d069a (svn r21952) -Codechange: unify the company clearing code for bankruptcy with the command to remove companies 2011-02-04 10:31:40 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium cea92937eb (svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed 2010-12-29 18:20:19 +00:00
rubidium e2a7ecbcae (svn r21605) -Fix [FS#4324]: crash due to cargo payments belonging to an non-existing company 2010-12-23 07:17:00 +00:00
terkhen 48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
rubidium 0d32cd3cc8 (svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations in while loading/unloading vehicles. It is only needed when at least one vehicle is loading; all other times it is a waste of effort. Roughly halves the time it takes to perform loading/unloading of vehicles (fonsinchen) 2010-12-11 11:00:42 +00:00
alberth 43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
rubidium 67d071d033 (svn r21145) -Fix: station list wasn't updated when a new cargo got a rating 2010-11-11 10:34:44 +00:00
terkhen 18e3a3ddfc (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 2010-11-06 13:05:11 +00:00
terkhen 25d1b2f54b (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 2010-11-06 13:03:17 +00:00
terkhen c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 2010-11-06 12:53:31 +00:00
terkhen cfac2ced69 (svn r21095) -Codechange: Use a function to convert aircraft speed to old units. 2010-11-06 12:47:12 +00:00
rubidium ae20cb4f3d (svn r20970) -Add: company change notification to remote admins (dihedral) 2010-10-17 17:37:45 +00:00
smatz 77fe95f552 (svn r20860) -Cleanup: remove some unused functions and variables 2010-10-01 16:42:28 +00:00
michi_cc 12133ffb31 (svn r20843) -Fix [FS#2534] (r20506): Make sure (gradual) loading is properly terminated for consists with multiple cargo types. Don't stop loading if the timetabled wait is not over yet. (Steve-N) 2010-09-25 12:48:33 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium e2e26190d5 (svn r20623) -Codechange: unify the storing of animation related information 2010-08-26 15:31:40 +00:00
michi_cc a994c1ef71 (svn r20506) -Change: Vehicles will now stop loading after a load cycle that loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in. 2010-08-15 22:37:30 +00:00
rubidium 3da3d131c6 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
yexo e80f339086 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 2010-08-07 20:11:27 +00:00
alberth 3536357cc6 (svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles. 2010-08-06 20:28:16 +00:00
alberth 422a1ad242 (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 2010-08-06 20:26:01 +00:00
rubidium 92ac2e485b (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 2010-08-03 12:36:40 +00:00
alberth 0e900039f3 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 2010-08-02 20:47:27 +00:00
alberth 4781f1fa92 (svn r20319) -Codechange: Align comments, add indent to a function call. 2010-08-02 20:37:32 +00:00
alberth 5556955960 (svn r20318) -Doc: Doxygen additions. 2010-08-02 20:32:39 +00:00
alberth 73f45d16d1 (svn r20317) -Codechange: Move variable declaration to their first use. 2010-08-02 20:19:10 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth dc6ed2c2c0 (svn r20279) -Doc: Doxygen additions/improvements. 2010-08-01 17:45:53 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth 3f62ee6355 (svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures. 2010-07-31 19:45:48 +00:00