summaryrefslogtreecommitdiff
path: root/src/economy.cpp
AgeCommit message (Collapse)Author
2012-05-06(svn r24204) -Fix: If a company is taken over or bankrupts, transfer ↵frosch
exclusive transport rights to the new owner resp. cancel them.
2012-02-11(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total ↵michi_cc
number of all tracks and not independently for each rail type.
2012-01-22(svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated ↵michi_cc
properly on company takeover. And don't count buoys while loading a game either.
2012-01-22(svn r23841) -Fix: Clear NewGRF vehicle cache when their owner changes. ↵frosch
(esp. vehicle var 43)
2012-01-20(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed ↵rubidium
the cargo count of the current quarter instead of the last quarter like the tooltip says
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-10(svn r23485) -Fix: Autorefit failed if the first part of an articulated ↵frosch
vehicle did not carry any cargo.
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
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