log src/economy.cpp @ 7832:1f9fb5d427f9 draft

age author description
Sun, 04 Nov 2007 22:47:34 +0000 truelight (svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13) draft
Sun, 04 Nov 2007 00:08:57 +0000 belugas (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call. draft
Sun, 21 Oct 2007 16:44:19 +0000 rubidium (svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as Money supports that now too. draft
Sat, 20 Oct 2007 14:51:09 +0000 rubidium (svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo. draft
Sun, 14 Oct 2007 19:13:38 +0000 rubidium (svn r11258) -Fix [FS#1325]: if a Load Amount callback returns 0, it means (according to TTDP's source code, not "the" specs) that it should take the "default" one. draft
Thu, 27 Sep 2007 21:39:13 +0000 glx (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C draft
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform. draft
Tue, 11 Sep 2007 17:42:46 +0000 glx (svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation draft
Sat, 08 Sep 2007 22:04:49 +0000 rubidium (svn r11063) -Codechange: make it possible for people to view the loading indicators of everyone. Patch by SmatZ. draft
Sun, 02 Sep 2007 20:41:46 +0000 rubidium (svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation. draft
Sat, 01 Sep 2007 08:31:36 +0000 rubidium (svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas. draft
Sat, 01 Sep 2007 08:04:08 +0000 rubidium (svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly. draft
Fri, 31 Aug 2007 17:15:46 +0000 rubidium (svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own company or a bankrupted/non-existant company. draft
Thu, 30 Aug 2007 13:03:56 +0000 rubidium (svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that. draft
Sun, 26 Aug 2007 13:55:36 +0000 rubidium (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. draft
Mon, 20 Aug 2007 20:29:22 +0000 rubidium (svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when there were already two stations with a "more than default" rating as no cargo would be moved to the station to be picked up. draft
Thu, 16 Aug 2007 10:10:59 +0000 rubidium (svn r10921) -Fix [FS#1130] (r10323): the company related news messages still thought that companies were described by two parameters instead of one. draft
Sat, 11 Aug 2007 22:57:23 +0000 truelight (svn r10857) -Fix: feeder-income was broken; substract the feeder-costs from the vehicle-income, not from the route-income (tnx to RichK for all the info) draft
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct. draft
Wed, 25 Jul 2007 19:36:51 +0000 rubidium (svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :) draft
Wed, 25 Jul 2007 19:26:33 +0000 rubidium (svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke. draft
Thu, 19 Jul 2007 17:28:55 +0000 peter1138 (svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way. draft
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h draft
Fri, 13 Jul 2007 12:08:37 +0000 rubidium (svn r10541) -Fix [FS#1028]: cargo payment rates overflow. draft
Wed, 11 Jul 2007 15:03:29 +0000 rubidium (svn r10508) -Codechange: allow customizable animation schemes for industries. draft
Sun, 08 Jul 2007 17:40:04 +0000 rubidium (svn r10477) -Codechange: add some callbacks to customise the acceptance of industries. draft
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. draft
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. draft
Thu, 05 Jul 2007 05:41:56 +0000 rubidium (svn r10442) -Codechange: implement the industry production callback. draft
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. draft
Wed, 04 Jul 2007 22:18:33 +0000 rubidium (svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets. draft
Wed, 04 Jul 2007 18:27:21 +0000 rubidium (svn r10439) -Codechange: initial steps for customized industry productions. draft
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. draft
Mon, 25 Jun 2007 21:15:17 +0000 rubidium (svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations. draft
Mon, 25 Jun 2007 13:30:38 +0000 peter1138 (svn r10323) -Codechange: reference company name, number and player (president) name draft
Fri, 22 Jun 2007 22:28:15 +0000 rubidium (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler... draft
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 draft
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. draft
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. draft
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) draft
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. draft
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. draft
Tue, 19 Jun 2007 00:05:26 +0000 rubidium (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. draft
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. draft
Mon, 18 Jun 2007 22:09:54 +0000 rubidium (svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit draft
Mon, 18 Jun 2007 21:44:47 +0000 rubidium (svn r10208) -Codechange: replace int32 with Money where appropriate. draft
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. draft
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. draft
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. draft
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. draft
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. draft
Tue, 12 Jun 2007 17:10:52 +0000 maedhros (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as draft
Mon, 11 Jun 2007 14:00:16 +0000 maedhros (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for draft
Sun, 10 Jun 2007 20:27:28 +0000 rubidium (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed. draft
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. draft
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). draft
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. draft
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. draft
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. draft
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 draft