summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2011-08-14(svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5.frosch
2011-08-14(svn r22745) -Fix: [NewGRF] SAT_CARGO_TAKEN and AAT_STATION_CARGO_TAKEN ↵frosch
shall only be triggered when all cargo was taken.
2011-08-14(svn r22744) -Codechange: Clarify the scope of variables in LoadUnloadVehicle().frosch
2011-07-31(svn r22707) -Codechange: Simplify applying the difficulty settings to ↵frosch
prices, and reduce computational errors. (Eddi)
2011-07-02(svn r22624) -Fix [FS#4654]: When closing an AI company the local player ↵frosch
cheated to, we need to cheat him to another company.
2011-07-02(svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ↵frosch
ChangeOwnershipOfCompanyItems() already does that and it does it better.
2011-07-02(svn r22622) -Fix: When closing down companies their shares in other ↵frosch
companies must be sold even if share trading is disabled at that point of time.
2011-06-04(svn r22542) -Add: Store cargo acceptance stats for stations.terkhen
2011-06-04(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.terkhen
2011-05-19(svn r22479) -Codechange/Fix: Months != quarters. (xi)frosch
2011-05-02(svn r22413) -Document: even more stuffrubidium
2011-02-14(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few ↵planetmaker
existing comments
2011-02-08(svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment ↵smatz
before we actually try to do so -Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
2011-02-07(svn r22015) -Codechange: move yet another pair of methods from functions.hrubidium
2011-02-05(svn r21970) -Fix [FS#4464]: Crash when a multiplayer company goes bankrupt ↵rubidium
with 'you' in it
2011-02-04(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less ↵rubidium
useless; just don't use depot orders or timetabling if you don't want to use it
2011-02-04(svn r21952) -Codechange: unify the company clearing code for bankruptcy ↵rubidium
with the command to remove companies
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-29(svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly ↵rubidium
invalidated when payment changed
2010-12-23(svn r21605) -Fix [FS#4324]: crash due to cargo payments belonging to an ↵rubidium
non-existing company
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-11(svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations ↵rubidium
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-11-13(svn r21156) -Codechange: Introduce EconomyIsInRecession().alberth
2010-11-11(svn r21145) -Fix: station list wasn't updated when a new cargo got a ratingrubidium
2010-11-06(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.terkhen
2010-10-17(svn r20970) -Add: company change notification to remote admins (dihedral)rubidium
2010-10-01(svn r20860) -Cleanup: remove some unused functions and variablessmatz
2010-09-25(svn r20843) -Fix [FS#2534] (r20506): Make sure (gradual) loading is ↵michi_cc
properly terminated for consists with multiple cargo types. Don't stop loading if the timetabled wait is not over yet. (Steve-N)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-15(svn r20506) -Change: Vehicles will now stop loading after a load cycle that ↵michi_cc
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-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20396) -Codechange: introduce a helper function to test whether an ↵yexo
industry temporarily refues to accept some cargo
2010-08-06(svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get ↵alberth
too many vehicles.
2010-08-06(svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd ↵alberth
get too many vehicles.
2010-08-03(svn r20341) -Codechange: pass the tile of the HQ instead of the company to ↵rubidium
UpdateCompanyHQ
2010-08-02(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed ↵alberth
addition.
2010-08-02(svn r20319) -Codechange: Align comments, add indent to a function call.alberth
2010-08-02(svn r20318) -Doc: Doxygen additions.alberth
2010-08-02(svn r20317) -Codechange: Move variable declaration to their first use.alberth
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20279) -Doc: Doxygen additions/improvements.alberth
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-31(svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment ↵alberth
the data structures.
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-16(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as ↵rubidium
"base" unit for aircraft speeds