frosch
46e77ee24f
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-08 17:23:30 +00:00
frosch
1ad7239247
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-08 17:23:30 +00:00
frosch
6eb0ebf7df
(svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??.
2011-11-08 17:22:19 +00:00
frosch
e08a227b53
(svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??.
2011-11-08 17:22:19 +00:00
frosch
bf664cd68d
(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset.
2011-09-11 15:10:09 +00:00
frosch
7f228d6909
(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset.
2011-09-11 15:10:09 +00:00
frosch
bd696a6288
(svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters().
2011-09-11 15:09:13 +00:00
frosch
de27360549
(svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters().
2011-09-11 15:09:13 +00:00
frosch
0f8065fef4
(svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles.
2011-07-04 20:37:20 +00:00
frosch
8930337aae
(svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles.
2011-07-04 20:37:20 +00:00
terkhen
3d96adb03f
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
2011-06-12 20:40:21 +00:00
terkhen
0749c65d74
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
2011-06-12 20:40:21 +00:00
terkhen
ac4f4447e0
(svn r22563) -Codechange: Use a function for storing values inside the persistent storage.
2011-06-12 20:38:46 +00:00
terkhen
dc6218aa49
(svn r22563) -Codechange: Use a function for storing values inside the persistent storage.
2011-06-12 20:38:46 +00:00
frosch
becf6c823f
(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.
2011-05-29 16:56:22 +00:00
frosch
a241a4ce97
(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.
2011-05-29 16:56:22 +00:00
frosch
5ca3ac41f0
(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.
2011-05-14 17:33:26 +00:00
frosch
e55f849a29
(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.
2011-05-14 17:33:26 +00:00
frosch
90337d88dd
(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors.
2011-05-14 17:25:45 +00:00
frosch
7415b9cca2
(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors.
2011-05-14 17:25:45 +00:00
frosch
3de71010d6
(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.
2010-12-22 22:03:57 +00:00
frosch
256fe89b38
(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.
2010-12-22 22:03:57 +00:00
rubidium
878a06dd9a
(svn r21198) -Fix: don't call variables properties in debug messages
2010-11-15 16:43:46 +00:00
rubidium
a6a2fbd937
(svn r21198) -Fix: don't call variables properties in debug messages
2010-11-15 16:43:46 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
frosch
f273f2a656
(svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms.
2010-08-02 23:35:47 +00:00
frosch
1a9d5ae076
(svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms.
2010-08-02 23:35:47 +00:00
frosch
253fd969fd
(svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR.
2010-08-02 23:12:43 +00:00
frosch
0e5c562da4
(svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR.
2010-08-02 23:12:43 +00:00
frosch
d006eff7a9
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
2010-03-21 11:05:39 +00:00
frosch
c049bf3f38
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
2010-03-21 11:05:39 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
frosch
0e39e68794
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
frosch
666c856457
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
frosch
01737c0a52
(svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between procedure and main chain.
...
-Fix (r8075): 'scope' and 'count' are not.
2009-09-30 20:25:59 +00:00
frosch
2fa312aab9
(svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between procedure and main chain.
...
-Fix (r8075): 'scope' and 'count' are not.
2009-09-30 20:25:59 +00:00
frosch
7903e2be91
(svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used anymore.
2009-09-30 18:36:18 +00:00
frosch
d8eec0ebf0
(svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used anymore.
2009-09-30 18:36:18 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
d39f442bd0
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-26 15:46:24 +00:00
rubidium
e3c5bc8d2e
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-26 15:46:24 +00:00
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
rubidium
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
2009-05-23 15:25:52 +00:00
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
2009-05-23 15:25:52 +00:00
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
2009-05-23 12:13:42 +00:00
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
2009-05-23 12:13:42 +00:00
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
rubidium
b27adec700
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
rubidium
10ea72a08e
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
rubidium
f3e0fd7416
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
2009-03-14 18:16:29 +00:00
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
2009-03-14 18:16:29 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
frosch
d54d8bf295
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
2008-07-30 18:23:12 +00:00
frosch
93d0ca8731
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
2008-07-30 18:23:12 +00:00
peter1138
ea965c21e1
(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.
2008-06-17 07:05:17 +00:00
peter1138
26879ce24a
(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.
2008-06-17 07:05:17 +00:00
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
glx
5b1e423889
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
2008-05-04 22:32:25 +00:00
glx
9eb498eb53
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
2008-05-04 22:32:25 +00:00
rubidium
e947fde701
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21 14:33:33 +00:00
rubidium
5ef8c01ce7
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21 14:33:33 +00:00
belugas
d2b55e7afd
(svn r12760) -Fix(r12759): Remove a now useless comment
2008-04-18 03:20:59 +00:00
belugas
6daaf0fc55
(svn r12760) -Fix(r12759): Remove a now useless comment
2008-04-18 03:20:59 +00:00
glx
90616adcb0
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
2008-03-27 21:36:16 +00:00
glx
bbdb831301
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
2008-03-27 21:36:16 +00:00
maedhros
7d2a1e5a69
(svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback.
2008-03-21 11:10:36 +00:00
maedhros
9dffdaca0d
(svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback.
2008-03-21 11:10:36 +00:00
frosch
3eaf7af980
(svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7.
2008-03-11 12:55:41 +00:00
frosch
ec59843136
(svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7.
2008-03-11 12:55:41 +00:00
frosch
c9c870b768
(svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
...
Var 0x7E procedure-results are always 15 bit.
Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
Non-varaction2-calculated callback-results are also affected by the 8bit masking.
2008-03-10 15:31:07 +00:00
frosch
51bbf0c84f
(svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
...
Var 0x7E procedure-results are always 15 bit.
Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
Non-varaction2-calculated callback-results are also affected by the 8bit masking.
2008-03-10 15:31:07 +00:00
peter1138
be47b47507
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
2008-02-14 11:58:36 +00:00
peter1138
859d768bb7
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
2008-02-14 11:58:36 +00:00
frosch
0aece5ed6b
(svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
...
-Fix: Add some variables that were missing in one or both cases.
2008-02-12 15:43:10 +00:00
frosch
c2bad6d22c
(svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
...
-Fix: Add some variables that were missing in one or both cases.
2008-02-12 15:43:10 +00:00
belugas
e5de785e1d
(svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2
2008-02-03 00:24:53 +00:00
belugas
90973cdcef
(svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2
2008-02-03 00:24:53 +00:00
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
rubidium
dc87b05e8c
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +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
skidd13
8be526e499
(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
02a6debc11
(svn r11412) -Fix (r11403): animation was not turned on properly.
...
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-11-11 18:22:06 +00:00
rubidium
21c02fee87
(svn r11412) -Fix (r11403): animation was not turned on properly.
...
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-11-11 18:22:06 +00:00
rubidium
c1cf9f3396
(svn r11410) -Codechange: implement random triggers for industries.
2007-11-11 17:56:37 +00:00
rubidium
af5c2a785f
(svn r11410) -Codechange: implement random triggers for industries.
2007-11-11 17:56:37 +00:00
rubidium
a28b307c95
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
rubidium
08c5765c0b
(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.
2007-09-22 23:55:34 +00:00
rubidium
240285b8d8
(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.
2007-09-22 23:55:34 +00:00
rubidium
3394cbd62a
(svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13.
2007-09-22 20:29:17 +00:00
rubidium
ed2b6f4f72
(svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13.
2007-09-22 20:29:17 +00:00
rubidium
81555c732d
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
2007-09-22 13:56:38 +00:00
rubidium
60f1eb21fa
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
2007-09-22 13:56:38 +00:00
rubidium
ed96cd2711
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
2007-09-22 12:59:43 +00:00
rubidium
c68c83dffa
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
2007-09-22 12:59:43 +00:00
rubidium
92a827800f
(svn r11127) -Fix: truncate the result of 8 bits callbacks.
2007-09-18 20:41:59 +00:00
rubidium
262836a24f
(svn r11127) -Fix: truncate the result of 8 bits callbacks.
2007-09-18 20:41:59 +00:00
rubidium
4e130204ae
(svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs.
2007-09-16 21:34:50 +00:00
rubidium
f3491cb062
(svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs.
2007-09-16 21:34:50 +00:00
rubidium
655b2048e5
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
2dd7a5d296
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
4c356457e6
(svn r10442) -Codechange: implement the industry production callback.
2007-07-05 05:41:56 +00:00
rubidium
86c14c239f
(svn r10442) -Codechange: implement the industry production callback.
2007-07-05 05:41:56 +00:00
peter1138
948100c260
(svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling.
2007-05-14 17:37:34 +00:00
peter1138
b80e11c44c
(svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling.
2007-05-14 17:37:34 +00:00
peter1138
a112455db4
(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array.
2007-04-21 07:27:16 +00:00
peter1138
e5a314399a
(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array.
2007-04-21 07:27:16 +00:00
belugas
691f8578fd
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
2007-03-22 03:42:43 +00:00
belugas
06d3669bb5
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
2007-03-22 03:42:43 +00:00
belugas
8952924c64
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
2007-03-21 03:06:21 +00:00
belugas
dcd510c81f
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
2007-03-21 03:06:21 +00:00
maedhros
94db6aa1a2
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
2007-03-20 13:47:00 +00:00
maedhros
48f2bf9bb1
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
2007-03-20 13:47:00 +00:00
maedhros
209101391a
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
...
the newhouses grf specs, so all newhouses grfs will be playable in the game.
Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
maedhros
73ff939ddb
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
...
the newhouses grf specs, so all newhouses grfs will be playable in the game.
Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
peter1138
32bee79485
(svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the using the existing one. This fixes problems with the object scope setting.
2007-01-12 16:44:08 +00:00
peter1138
4ef8afa9e1
(svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the using the existing one. This fixes problems with the object scope setting.
2007-01-12 16:44:08 +00:00
maedhros
129326425b
(svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138)
2007-01-12 11:20:34 +00:00
maedhros
4ae861880b
(svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138)
2007-01-12 11:20:34 +00:00
peter1138
1670fec525
(svn r8063) -Codechange: When evaluating newgrf varaction2s the 'last value' should start off at 0, and the result of the operation is remembered.
2007-01-11 14:40:12 +00:00
peter1138
8d5a542d9b
(svn r8063) -Codechange: When evaluating newgrf varaction2s the 'last value' should start off at 0, and the result of the operation is remembered.
2007-01-11 14:40:12 +00:00
peter1138
be3e723f51
(svn r8062) -Codechange: change newgrf varaction2 value from signed to unsigned
2007-01-11 14:25:17 +00:00
peter1138
b7e753555d
(svn r8062) -Codechange: change newgrf varaction2 value from signed to unsigned
2007-01-11 14:25:17 +00:00
celestar
582d8701ec
(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX
2007-01-11 12:47:42 +00:00
celestar
8694ad9e0d
(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX
2007-01-11 12:47:42 +00:00
celestar
08de6b082a
(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
2007-01-11 11:05:01 +00:00
celestar
2ac0410767
(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
2007-01-11 11:05:01 +00:00
peter1138
0677847569
(svn r8054) -Codechange: Use a template function instead of a macro for evaluating NewGRF var adjusts
2007-01-11 10:58:53 +00:00
peter1138
7996c9e560
(svn r8054) -Codechange: Use a template function instead of a macro for evaluating NewGRF var adjusts
2007-01-11 10:58:53 +00:00
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00