skidd13
3ae50673a3
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
2007-11-20 13:35:54 +00:00
skidd13
6801cceda1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
2007-11-19 21:32:20 +00:00
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
2007-11-19 21:02:30 +00:00
skidd13
26224adf78
(svn r11479) -Codechange: Move the BIGMUL functions to the file of their usage
...
-Codechange: Rename the BIGMUL functions to the fitting naming style
2007-11-19 20:18:27 +00:00
skidd13
98f66552be
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
2007-11-19 18:38:10 +00:00
rubidium
c1cf9f3396
(svn r11410) -Codechange: implement random triggers for industries.
2007-11-11 17:56:37 +00:00
truelight
f1df43ec21
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
2007-11-04 22:47:34 +00:00
belugas
e2c0f1faf7
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
2007-11-04 00:08:57 +00:00
rubidium
9a0d2de5cf
(svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as Money supports that now too.
2007-10-21 16:44:19 +00:00
rubidium
eadd6765e1
(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.
2007-10-20 14:51:09 +00:00
rubidium
3d4bc58dc4
(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.
2007-10-14 19:13:38 +00:00
glx
18de82b000
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
2007-09-27 21:39:13 +00:00
rubidium
a28b307c95
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
glx
ccf13f3ccc
(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
2007-09-11 17:42:46 +00:00
rubidium
211b8dea39
(svn r11063) -Codechange: make it possible for people to view the loading indicators of everyone. Patch by SmatZ.
2007-09-08 22:04:49 +00:00
rubidium
d5e3e4c66e
(svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation.
2007-09-02 20:41:46 +00:00
rubidium
6f76bc2449
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
2007-09-01 08:31:36 +00:00
rubidium
766d6d420e
(svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly.
2007-09-01 08:04:08 +00:00
rubidium
0cf6a3f1ef
(svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own company or a bankrupted/non-existant company.
2007-08-31 17:15:46 +00:00
rubidium
235ad4ab6b
(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.
2007-08-30 13:03:56 +00:00
rubidium
d5bc4d8b2a
(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too.
2007-08-26 13:55:36 +00:00
rubidium
8807a47f31
(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.
2007-08-20 20:29:22 +00:00
rubidium
11b7931cb0
(svn r10921) -Fix [FS#1130] (r10323): the company related news messages still thought that companies were described by two parameters instead of one.
2007-08-16 10:10:59 +00:00
truelight
6f68d876b8
(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)
2007-08-11 22:57:23 +00:00
rubidium
b21f29c38f
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
...
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-08-03 19:36:00 +00:00
rubidium
e6c864f26e
(svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :)
2007-07-25 19:36:51 +00:00
rubidium
e8ecf501c0
(svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke.
2007-07-25 19:26:33 +00:00
peter1138
a6aba9c83d
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
2007-07-19 17:28:55 +00:00
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
rubidium
9b105c28bd
(svn r10541) -Fix [FS#1028]: cargo payment rates overflow.
...
-Fix: cargo payment rates diverge from cost rates making it impossible to make any profit after a certain number of years.
Both are solved by stopping the inflation after 170 years; there is absolutely no point in continueing the inflation after that as it only makes the game have overflows at some point that cannot be solved; using larger variables only delays the inevitable.
2007-07-13 12:08:37 +00:00
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
2007-07-11 15:03:29 +00:00
rubidium
95ea8fd2f1
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
2007-07-08 17:40:04 +00:00
rubidium
db16c33194
(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.
2007-07-08 00:25:05 +00:00
rubidium
cd702d049e
(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
2007-07-07 08:53:19 +00:00
rubidium
4c356457e6
(svn r10442) -Codechange: implement the industry production callback.
2007-07-05 05:41:56 +00:00
rubidium
aa04ad59f1
(svn r10441) -Fix (r10440): something went wrong "porting" fixes from one place to another; like compiling the wrong checkout.
2007-07-04 22:24:57 +00:00
rubidium
3a73d47351
(svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets.
2007-07-04 22:18:33 +00:00
rubidium
c0ba3dba9d
(svn r10439) -Codechange: initial steps for customized industry productions.
2007-07-04 18:27:21 +00:00
peter1138
b8927cb1d9
(svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference.
2007-06-30 08:26:34 +00:00
rubidium
0dd445a827
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
2007-06-25 21:15:17 +00:00
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
2007-06-25 13:30:38 +00:00
rubidium
37e3cbb980
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
2007-06-22 22:28:15 +00:00
truelight
80bcbce62b
(svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
2007-06-22 18:28:44 +00:00
rubidium
fc201d4ad8
(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.
2007-06-22 11:58:59 +00:00
rubidium
d0fa4eb9de
(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.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
truelight
66a136be09
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
2007-06-21 16:17:47 +00:00
rubidium
1b27095c83
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
2007-06-21 14:54:51 +00:00
rubidium
0d8e82b7d7
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
2007-06-21 14:32:27 +00:00
rubidium
f765b3d6aa
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
2007-06-19 00:05:26 +00:00
rubidium
8220153e6b
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
2007-06-18 22:49:55 +00:00