src/economy.cpp
Fri, 21 Dec 2007 22:50:51 +0000 rubidium (svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places.
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions.
Wed, 19 Dec 2007 19:44:29 +0000 rubidium (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
Tue, 27 Nov 2007 16:02:13 +0000 belugas (svn r11533) -Codechange: Rename some unclear clear_x prices member names.
Sun, 25 Nov 2007 15:35:25 +0000 skidd13 (svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
Sat, 24 Nov 2007 10:38:43 +0000 skidd13 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
Tue, 20 Nov 2007 13:35:54 +0000 skidd13 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Mon, 19 Nov 2007 21:32:20 +0000 skidd13 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Mon, 19 Nov 2007 20:18:27 +0000 skidd13 (svn r11479) -Codechange: Move the BIGMUL functions to the file of their usage
Mon, 19 Nov 2007 18:38:10 +0000 skidd13 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
Sun, 11 Nov 2007 17:56:37 +0000 rubidium (svn r11410) -Codechange: implement random triggers for industries.
Sun, 04 Nov 2007 22:47:34 +0000 truelight (svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
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.
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.
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.
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.
Thu, 27 Sep 2007 21:39:13 +0000 glx (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform.
Tue, 11 Sep 2007 17:42:46 +0000 glx (svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
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.
Sun, 02 Sep 2007 20:41:46 +0000 rubidium (svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation.
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.
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.
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.
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.
Sun, 26 Aug 2007 13:55:36 +0000 rubidium (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too.
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.
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.
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)
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
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 :)
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.
Thu, 19 Jul 2007 17:28:55 +0000 peter1138 (svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
Fri, 13 Jul 2007 12:08:37 +0000 rubidium (svn r10541) -Fix [FS#1028]: cargo payment rates overflow.
Wed, 11 Jul 2007 15:03:29 +0000 rubidium (svn r10508) -Codechange: allow customizable animation schemes for industries.
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.