src/economy.cpp
Sun, 08 Jul 2007 17:40:04 +0000 rubidium (svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
Sun, 08 Jul 2007 00:25:05 +0000 rubidium (svn r10473) -Codechange: make the industry "window", the one that shows when you click on an industry, more flexible to allow easier integration with newindustries.
Sat, 07 Jul 2007 08:53:19 +0000 rubidium (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
Thu, 05 Jul 2007 05:41:56 +0000 rubidium (svn r10442) -Codechange: implement the industry production callback.
Wed, 04 Jul 2007 22:24:57 +0000 rubidium (svn r10441) -Fix (r10440): something went wrong "porting" fixes from one place to another; like compiling the wrong checkout.
Wed, 04 Jul 2007 22:18:33 +0000 rubidium (svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets.
Wed, 04 Jul 2007 18:27:21 +0000 rubidium (svn r10439) -Codechange: initial steps for customized industry productions.
Sat, 30 Jun 2007 08:26:34 +0000 peter1138 (svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference.
Mon, 25 Jun 2007 21:15:17 +0000 rubidium (svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
Mon, 25 Jun 2007 13:30:38 +0000 peter1138 (svn r10323) -Codechange: reference company name, number and player (president) name
Fri, 22 Jun 2007 22:28:15 +0000 rubidium (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
Fri, 22 Jun 2007 18:28:44 +0000 truelight (svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
Fri, 22 Jun 2007 11:58:59 +0000 rubidium (svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
Thu, 21 Jun 2007 17:25:17 +0000 rubidium (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
Thu, 21 Jun 2007 16:17:47 +0000 truelight (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
Thu, 21 Jun 2007 14:54:51 +0000 rubidium (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
Thu, 21 Jun 2007 14:32:27 +0000 rubidium (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
Tue, 19 Jun 2007 00:05:26 +0000 rubidium (svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
Mon, 18 Jun 2007 22:49:55 +0000 rubidium (svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
Mon, 18 Jun 2007 22:09:54 +0000 rubidium (svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
Mon, 18 Jun 2007 21:44:47 +0000 rubidium (svn r10208) -Codechange: replace int32 with Money where appropriate.
Mon, 18 Jun 2007 21:00:14 +0000 rubidium (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Tue, 12 Jun 2007 23:35:10 +0000 rubidium (svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
Tue, 12 Jun 2007 22:13:49 +0000 maedhros (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
Tue, 12 Jun 2007 17:10:52 +0000 maedhros (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
Mon, 11 Jun 2007 14:00:16 +0000 maedhros (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
Sun, 10 Jun 2007 20:27:28 +0000 rubidium (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.
Fri, 08 Jun 2007 09:35:39 +0000 peter1138 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
Thu, 07 Jun 2007 14:38:45 +0000 rubidium (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month).
Fri, 01 Jun 2007 12:03:10 +0000 maedhros (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
Sat, 26 May 2007 09:13:59 +0000 rubidium (svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
Sat, 19 May 2007 09:40:18 +0000 rubidium (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
Fri, 18 May 2007 17:55:07 +0000 belugas (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct
Fri, 18 May 2007 00:33:47 +0000 belugas (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead.
Thu, 17 May 2007 20:19:55 +0000 rubidium (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later.
Tue, 15 May 2007 11:28:22 +0000 rubidium (svn r9841) -Codechange: add a little more type strictness to the vehicle types.
Tue, 15 May 2007 06:20:16 +0000 rubidium (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas).
Mon, 14 May 2007 20:12:32 +0000 rubidium (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
Mon, 14 May 2007 16:07:05 +0000 rubidium (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading.
Sun, 13 May 2007 21:24:58 +0000 rubidium (svn r9831) -Codechange: more refactoring of the loading/unloading.
Sat, 12 May 2007 09:09:10 +0000 rubidium (svn r9829) -Codechange: more refactoring of the unloading algorithm.
Tue, 08 May 2007 16:42:48 +0000 rubidium (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits.
Sun, 06 May 2007 14:59:01 +0000 rubidium (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
Wed, 02 May 2007 18:29:11 +0000 rubidium (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
Tue, 01 May 2007 16:45:03 +0000 rubidium (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle.
Fri, 20 Apr 2007 08:00:30 +0000 rubidium (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
Sun, 15 Apr 2007 16:20:35 +0000 peter1138 (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader.
Thu, 12 Apr 2007 19:33:05 +0000 peter1138 (svn r9617) -Codechange: Implement callback for cargo profit calculation
Thu, 12 Apr 2007 13:07:15 +0000 maedhros (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
Fri, 06 Apr 2007 04:10:19 +0000 belugas (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible
Sun, 01 Apr 2007 10:55:31 +0000 celestar (svn r9541) -Codechange: Safeguard the company-buying routines so that the buying player and the bought player need to be two different entities
Sat, 31 Mar 2007 12:19:22 +0000 truelight (svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company.
Sat, 24 Mar 2007 14:42:11 +0000 peter1138 (svn r9427) -Codechange: remove redundant variable
Thu, 22 Mar 2007 03:42:43 +0000 belugas (svn r9400) -Codechange: Use some more representative enum names for landscape types.
Wed, 21 Mar 2007 13:19:01 +0000 peter1138 (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
Fri, 16 Mar 2007 17:40:31 +0000 peter1138 (svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type.
Thu, 08 Mar 2007 21:05:05 +0000 truelight (svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).