summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
2011-11-08(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 ↵frosch
instead.
2011-11-08(svn r23148) -Change: [NewGRF] Check the results of various callbacks for ↵frosch
validness.
2011-11-04(svn r23111) -Fix: Keep subtype when automatically choosing the cargo for ↵michi_cc
auto-refitting.
2011-11-04(svn r23109) -Fix: Subtract auto-refit costs from the vehicle profit.michi_cc
2011-11-04(svn r23087) -Feature: Auto-refitting of vehicles during loading at a ↵michi_cc
station when the vehicle allows it.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-10-30(svn r23067) -Fix [FS#4812]: updating the group statistics got more strict ↵rubidium
checks, so there was some trouble moving a vehicles and groups from one company to another
2011-10-15(svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction ↵rubidium
between bankruptcy and manual removal of companies even though the API suggested that
2011-10-03(svn r22985) -Feature: Display autoreplace status in group GUI.frosch
2011-10-03(svn r22981) -Add: GroupStatistics for the ALL_GROUP.frosch
2011-10-03(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.frosch
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.