log src/economy.cpp @ 12443:575fb5207d86 draft

age author description
Sat, 18 Jul 2009 19:54:35 +0000 smatz (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age draft
Thu, 16 Jul 2009 20:40:06 +0000 smatz (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs draft
Thu, 16 Jul 2009 19:00:13 +0000 smatz (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() draft
Mon, 13 Jul 2009 16:37:27 +0000 smatz (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft draft
Mon, 13 Jul 2009 16:35:22 +0000 smatz (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle draft
Sat, 04 Jul 2009 11:26:57 +0000 rubidium (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. draft
Wed, 01 Jul 2009 18:45:05 +0000 smatz (svn r16714) -Codechange: use pool-like accessors for Subsidy draft
Wed, 01 Jul 2009 17:43:26 +0000 smatz (svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies draft
Wed, 01 Jul 2009 09:50:52 +0000 rubidium (svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded. draft
Wed, 01 Jul 2009 09:45:30 +0000 rubidium (svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion. draft
Mon, 29 Jun 2009 19:55:36 +0000 rubidium (svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others: draft
Mon, 29 Jun 2009 19:17:23 +0000 rubidium (svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit. draft
Sun, 28 Jun 2009 15:12:59 +0000 rubidium (svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen. draft
Sun, 28 Jun 2009 14:36:25 +0000 rubidium (svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer draft
Sun, 28 Jun 2009 14:33:10 +0000 rubidium (svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered draft
Sun, 28 Jun 2009 14:29:58 +0000 rubidium (svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station draft
Thu, 25 Jun 2009 15:42:03 +0000 smatz (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made draft
Wed, 24 Jun 2009 17:39:54 +0000 smatz (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() draft
Wed, 10 Jun 2009 22:05:01 +0000 smatz (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible draft
Sat, 06 Jun 2009 16:54:22 +0000 smatz (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check draft
Mon, 01 Jun 2009 11:43:36 +0000 alberth (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. draft
Wed, 27 May 2009 23:37:47 +0000 yexo (svn r16453) -Fix: Move some code around so a company is no longer used after deleting it draft
Sun, 24 May 2009 16:52:42 +0000 frosch (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. draft
Sat, 23 May 2009 19:43:09 +0000 smatz (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted draft
Sat, 23 May 2009 15:46:00 +0000 smatz (svn r16403) -Codechange: move code related to subsidies to separate file draft
Fri, 22 May 2009 22:55:41 +0000 rubidium (svn r16393) -Codechange: move VehicleRail to Train. draft
Tue, 19 May 2009 21:20:14 +0000 rubidium (svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP. draft
Mon, 18 May 2009 16:21:28 +0000 smatz (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() draft
Sun, 17 May 2009 01:00:56 +0000 smatz (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) draft
Sat, 16 May 2009 23:34:14 +0000 smatz (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) draft
Tue, 21 Apr 2009 23:40:56 +0000 rubidium (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. draft
Sun, 15 Mar 2009 16:04:39 +0000 smatz (svn r15726) -Codechange: unify coding style for const pointers draft
Sun, 15 Mar 2009 00:32:18 +0000 rubidium (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too draft
Sat, 14 Mar 2009 18:16:29 +0000 rubidium (svn r15711) -Codechange: lots of whitespace cleanup/fixes draft
Thu, 26 Feb 2009 14:07:42 +0000 smatz (svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts draft
Wed, 25 Feb 2009 00:12:57 +0000 rubidium (svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo draft
Sat, 21 Feb 2009 15:56:02 +0000 frosch (svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs. draft
Mon, 09 Feb 2009 21:20:05 +0000 rubidium (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. draft
Mon, 09 Feb 2009 02:57:15 +0000 rubidium (svn r15428) -Codechange: consistently use colour instead of having both color and colour. draft
Sat, 07 Feb 2009 13:53:38 +0000 smatz (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Mon, 12 Jan 2009 17:11:45 +0000 truebrain (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. draft
Sat, 10 Jan 2009 00:31:47 +0000 rubidium (svn r14949) -Cleanup: pointer coding style draft
Sun, 04 Jan 2009 15:32:25 +0000 smatz (svn r14828) -Codechange: move most of save/load-specific code to separate files draft
Sun, 04 Jan 2009 14:32:30 +0000 rubidium (svn r14825) -Fix: pay the correct amount of interest instead of a few percent too little a year draft
Sat, 03 Jan 2009 16:06:58 +0000 smatz (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Fri, 26 Dec 2008 23:53:07 +0000 smatz (svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID draft
Fri, 26 Dec 2008 21:49:00 +0000 rubidium (svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt. draft
Fri, 26 Dec 2008 21:08:51 +0000 rubidium (svn r14748) -Codechange: unduplicate window updating when deleting vehicles. draft
Fri, 26 Dec 2008 20:45:02 +0000 rubidium (svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types. draft
Wed, 24 Dec 2008 00:25:17 +0000 smatz (svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte draft
Sat, 20 Dec 2008 17:21:22 +0000 frosch (svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle chain to industries before triggering any processing. draft
Sat, 13 Dec 2008 18:25:42 +0000 frosch (svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for aircraft. draft
Sat, 13 Dec 2008 16:16:44 +0000 smatz (svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation draft
Sat, 25 Oct 2008 22:00:51 +0000 frosch (svn r14536) -Fix (r14530): Do not expect uints to become negative. draft
Sat, 25 Oct 2008 14:24:50 +0000 frosch (svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area. draft
Tue, 14 Oct 2008 18:38:51 +0000 rubidium (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. draft