frosch
a521af8cf8
(svn r25836) -Codechange: Use NUM_INDUSTRYTYPES_PER_GRF instead of NUM_INDUSTRYTYPES to properly distinguish limits per NewGRF and limits of the pool.
2013-10-12 16:32:16 +00:00
frosch
2bfa36cc16
(svn r25834) -Codechange: Use NUM_OBJECTS_PER_GRF instead of NUM_OBJECTS to properly distinguish limits per NewGRF and limits of the pool.
...
-Change: [NewGRF] Lower the limit of object types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:31:31 +00:00
frosch
60f483822f
(svn r25834) -Codechange: Use NUM_OBJECTS_PER_GRF instead of NUM_OBJECTS to properly distinguish limits per NewGRF and limits of the pool.
...
-Change: [NewGRF] Lower the limit of object types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:31:31 +00:00
rubidium
c702853917
(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)
2013-08-09 18:43:44 +00:00
rubidium
13855f0a09
(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)
2013-08-09 18:43:44 +00:00
rubidium
2b2706009e
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
rubidium
f292a87dc4
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
rubidium
2a6d21dc80
(svn r25262) -Feature: linkgraph overlay for smallmap
2013-05-19 14:36:35 +00:00
rubidium
163dfdd34a
(svn r25262) -Feature: linkgraph overlay for smallmap
2013-05-19 14:36:35 +00:00
frosch
e514070b80
(svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables.
2013-05-07 12:38:43 +00:00
frosch
71cfe3d474
(svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables.
2013-05-07 12:38:43 +00:00
frosch
789e4a8998
(svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter.
2013-03-22 21:27:13 +00:00
frosch
30f601d685
(svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter.
2013-03-22 21:27:13 +00:00
frosch
2ae1b438ec
(svn r25099) -Fix [FS#5492]: Limit aircraft property 0D to 19, since the conversion result to km-ish/h needs to fit into a byte.
2013-03-17 18:31:35 +00:00
frosch
cf4a2702f8
(svn r25099) -Fix [FS#5492]: Limit aircraft property 0D to 19, since the conversion result to km-ish/h needs to fit into a byte.
2013-03-17 18:31:35 +00:00
planetmaker
7aa0712644
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
2013-03-09 16:16:17 +00:00
planetmaker
c22bbf5293
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
2013-03-09 16:16:17 +00:00
peter1138
a1909c4ccd
(svn r24919) -Codechange: Remove useless noisy grf debug messages.
2013-01-17 07:53:17 +00:00
peter1138
506132c051
(svn r24919) -Codechange: Remove useless noisy grf debug messages.
2013-01-17 07:53:17 +00:00
peter1138
1e10e91fde
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
peter1138
c00a400cc7
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
22b46e265e
(svn r24821) -Add: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics.
2012-12-14 20:38:02 +00:00
frosch
d7e9c8efed
(svn r24821) -Add: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics.
2012-12-14 20:38:02 +00:00
frosch
76fef0843c
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
alberth
6c6abd87db
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
2012-09-21 09:47:21 +00:00
alberth
0849fb8d36
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
2012-09-21 09:47:21 +00:00
frosch
d9037b77a9
(svn r24438) -Fix [FS#5256-ish]: Make (non-refittable) vehicles with invalid default cargo unavailable.
2012-07-27 19:16:01 +00:00
frosch
13bfb09cbb
(svn r24438) -Fix [FS#5256-ish]: Make (non-refittable) vehicles with invalid default cargo unavailable.
2012-07-27 19:16:01 +00:00
alberth
67f599f9db
(svn r24395) -Doc: Fixed argument references in @param descriptions.
2012-07-10 18:37:54 +00:00
alberth
2ab7c82b31
(svn r24395) -Doc: Fixed argument references in @param descriptions.
2012-07-10 18:37:54 +00:00
frosch
ca1bb53d22
(svn r24369) -Fix (r24361): Unused stuff is unused.
2012-07-02 16:23:24 +00:00
frosch
d56b5783d1
(svn r24369) -Fix (r24361): Unused stuff is unused.
2012-07-02 16:23:24 +00:00
frosch
4a3d484a96
(svn r24361) -Fix [FS#5227] (r22926): Apparently ext. A1 did not work at all. (Hirundo)
2012-06-29 15:38:41 +00:00
frosch
37d41d4448
(svn r24361) -Fix [FS#5227] (r22926): Apparently ext. A1 did not work at all. (Hirundo)
2012-06-29 15:38:41 +00:00
frosch
798626ce47
(svn r24278) -Codechange: Deduplicate code to read translation tables.
2012-05-25 21:00:00 +00:00
frosch
5e8151e245
(svn r24278) -Codechange: Deduplicate code to read translation tables.
2012-05-25 21:00:00 +00:00
frosch
166c82915e
(svn r24277) -Codechange: Store cargo and railtype translation tables in a SmallVector.
2012-05-25 20:57:36 +00:00
frosch
522e5ec86b
(svn r24277) -Codechange: Store cargo and railtype translation tables in a SmallVector.
2012-05-25 20:57:36 +00:00
frosch
2463525bf5
(svn r24276) -Codechange: Enhance GRFFile with constructor and destructor.
2012-05-25 20:54:54 +00:00
frosch
b8f6b300d6
(svn r24276) -Codechange: Enhance GRFFile with constructor and destructor.
2012-05-25 20:54:54 +00:00
frosch
e4d3f777ec
(svn r24272) -Fix: [NewGRF] Load cargo- and railtype-translation during both reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes.
2012-05-25 16:52:18 +00:00
frosch
9522dbb1a9
(svn r24272) -Fix: [NewGRF] Load cargo- and railtype-translation during both reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes.
2012-05-25 16:52:18 +00:00
frosch
70b2c96c8b
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
2012-05-01 15:53:51 +00:00
frosch
e1fda49027
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
2012-05-01 15:53:51 +00:00
frosch
d42bd940b2
(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-22 16:27:55 +00:00
frosch
6f4d2160c2
(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-22 16:27:55 +00:00
rubidium
1d95485838
(svn r24063) -Fix [FS#5125]: with certain versions of GCC and compiler flags the compiler could reorder some code badly causing the 32bpp depot flag not working
2012-03-25 18:18:35 +00:00
rubidium
02d9ecde6d
(svn r24063) -Fix [FS#5125]: with certain versions of GCC and compiler flags the compiler could reorder some code badly causing the 32bpp depot flag not working
2012-03-25 18:18:35 +00:00
frosch
91e8aa00b1
(svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into the wrong slots.
2012-03-19 22:55:29 +00:00
frosch
0643a69764
(svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into the wrong slots.
2012-03-19 22:55:29 +00:00
frosch
5fe58a74b3
(svn r24051) -Fix: Comment.
2012-03-19 22:52:37 +00:00
frosch
2007f7affd
(svn r24051) -Fix: Comment.
2012-03-19 22:52:37 +00:00
frosch
f955f38708
(svn r24050) -Fix: Realsprites inside the action 11 block were not skipped correctly.
2012-03-19 22:38:54 +00:00
frosch
ee03cda858
(svn r24050) -Fix: Realsprites inside the action 11 block were not skipped correctly.
2012-03-19 22:38:54 +00:00
frosch
286fad76bf
(svn r23960) -Fix/Change: [NewGRF] Make the properties for always/never refittable cargo types not behave incremental, but reset them on reassignment.
2012-02-16 22:22:45 +00:00
frosch
ed3a9fa239
(svn r23960) -Fix/Change: [NewGRF] Make the properties for always/never refittable cargo types not behave incremental, but reset them on reassignment.
2012-02-16 22:22:45 +00:00
michi_cc
ff73fdb4b0
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
2012-02-15 21:23:48 +00:00
michi_cc
9101d2e2d2
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
2012-02-15 21:23:48 +00:00
frosch
f832dfd555
(svn r23916) -Fix (r23145): When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties.
2012-02-07 22:59:30 +00:00
frosch
d5bc5ddd00
(svn r23916) -Fix (r23145): When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties.
2012-02-07 22:59:30 +00:00
frosch
306528561a
(svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF.
2012-02-07 22:48:09 +00:00
frosch
a16389ab06
(svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF.
2012-02-07 22:48:09 +00:00
frosch
d40cfd1a8a
(svn r23913) -Fix (r23912): Silly typo in comment.
2012-02-07 22:05:44 +00:00
frosch
1c84468b5d
(svn r23913) -Fix (r23912): Silly typo in comment.
2012-02-07 22:05:44 +00:00
frosch
80a8fe4275
(svn r23912) -Fix: When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation.
2012-02-07 22:03:03 +00:00
frosch
306a0967d0
(svn r23912) -Fix: When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation.
2012-02-07 22:03:03 +00:00
michi_cc
14094d00bf
(svn r23887) -Feature: [NewGRF] Support for container version 2.
2012-02-04 13:29:04 +00:00
michi_cc
6db39410a1
(svn r23887) -Feature: [NewGRF] Support for container version 2.
2012-02-04 13:29:04 +00:00
michi_cc
0f4d45e7ab
(svn r23883) -Fix: [NewGRF] It wasn't possible to import sounds from a NewGRF later in the load order.
2012-02-04 13:28:48 +00:00
michi_cc
b4846423ac
(svn r23883) -Fix: [NewGRF] It wasn't possible to import sounds from a NewGRF later in the load order.
2012-02-04 13:28:48 +00:00
michi_cc
ee5e3a0482
(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.
2012-02-04 13:28:44 +00:00
michi_cc
12f0e80dad
(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.
2012-02-04 13:28:44 +00:00
frosch
4cc26a1b86
(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15.
2012-01-28 12:08:03 +00:00
frosch
90c53046c7
(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15.
2012-01-28 12:08:03 +00:00
frosch
b8bbf9a49d
(svn r23836) -Fix (r23145): If a vehicle is not refittable to any cargo in the CTT, then pick the first refittable cargoslot.
2012-01-22 15:53:17 +00:00
frosch
3c85689b72
(svn r23836) -Fix (r23145): If a vehicle is not refittable to any cargo in the CTT, then pick the first refittable cargoslot.
2012-01-22 15:53:17 +00:00
yexo
3557d5a784
(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken
2012-01-15 19:29:49 +00:00
yexo
fab78a7bf2
(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken
2012-01-15 19:29:49 +00:00
frosch
7a7991b469
(svn r23809) -Feature: Enhance some fatal NewGRF errors with the spritenumber that caused the problem.
2012-01-15 18:18:44 +00:00
frosch
64b6d03cd3
(svn r23809) -Feature: Enhance some fatal NewGRF errors with the spritenumber that caused the problem.
2012-01-15 18:18:44 +00:00
frosch
9eebe8b1ae
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
2012-01-15 17:33:35 +00:00
frosch
92700c1262
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
2012-01-15 17:33:35 +00:00
frosch
ecbcd955c4
(svn r23789) -Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information.
2012-01-12 17:46:42 +00:00
frosch
7b0ea17f00
(svn r23789) -Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information.
2012-01-12 17:46:42 +00:00
yexo
5da662f786
(svn r23788) -Fix: failure to load newgrf files that use action 0 general prop 15 with a missing language file
2012-01-12 17:44:20 +00:00
yexo
ec54f39db5
(svn r23788) -Fix: failure to load newgrf files that use action 0 general prop 15 with a missing language file
2012-01-12 17:44:20 +00:00
michi_cc
64b7bc557f
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
2012-01-05 19:40:34 +00:00
michi_cc
ee0fcb2567
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
2012-01-05 19:40:34 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
truebrain
8ca67aae5d
(svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often
2012-01-01 16:38:38 +00:00
truebrain
da460f6928
(svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often
2012-01-01 16:38:38 +00:00
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
michi_cc
957b643ae6
(svn r23504) -Feature: Aircraft range.
2011-12-13 00:43:35 +00:00
michi_cc
def8e7215b
(svn r23504) -Feature: Aircraft range.
2011-12-13 00:43:35 +00:00
yexo
38102a96b9
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
2011-12-11 12:55:04 +00:00
yexo
7a7d9a7b6b
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
2011-12-11 12:55:04 +00:00
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
michi_cc
fc8633e1ac
(svn r23415) -Feature: Infrastructure maintenance costs.
2011-12-03 23:40:46 +00:00
michi_cc
d3b7b89493
(svn r23415) -Feature: Infrastructure maintenance costs.
2011-12-03 23:40:46 +00:00
rubidium
d765d3ac2e
(svn r23391) -Feature: [NewGRF] Allow translating multiple languages with Action 13 in GRFv8
2011-12-01 19:42:51 +00:00
rubidium
42c92be121
(svn r23391) -Feature: [NewGRF] Allow translating multiple languages with Action 13 in GRFv8
2011-12-01 19:42:51 +00:00
michi_cc
2579f5b17d
(svn r23291) -Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask. (peter1138)
2011-11-21 22:39:59 +00:00
michi_cc
d86af7639c
(svn r23291) -Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask. (peter1138)
2011-11-21 22:39:59 +00:00
rubidium
a799efbbb2
(svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts
2011-11-20 15:17:34 +00:00
rubidium
18a0dc894d
(svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts
2011-11-20 15:17:34 +00:00
rubidium
b6d3db762d
(svn r23232) -Change: move the "default" overrides out of the baseset in order to ensure they all use the same values
2011-11-15 20:30:58 +00:00
rubidium
88aaeb4092
(svn r23232) -Change: move the "default" overrides out of the baseset in order to ensure they all use the same values
2011-11-15 20:30:58 +00:00
rubidium
33d71b45fe
(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
2011-11-12 13:00:29 +00:00
rubidium
7fd1e1df81
(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
2011-11-12 13:00:29 +00:00
michi_cc
5e87f4efa9
(svn r23166) -Change: [NewGRF v8] Don't override rail type prop 1B with prop 09.
2011-11-08 19:23:56 +00:00
michi_cc
aca5f7ccf5
(svn r23166) -Change: [NewGRF v8] Don't override rail type prop 1B with prop 09.
2011-11-08 19:23:56 +00:00
frosch
777b188cd5
(svn r23159) -Feature: Support for NewGRF version 8.
2011-11-08 17:30:19 +00:00
frosch
469450e554
(svn r23159) -Feature: Support for NewGRF version 8.
2011-11-08 17:30:19 +00:00
frosch
a47dadf2d2
(svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium)
2011-11-08 17:29:41 +00:00
frosch
e58d6cbc63
(svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium)
2011-11-08 17:29:41 +00:00
frosch
8bfc1ebf9f
(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.
2011-11-08 17:28:52 +00:00
frosch
5aaecae6e2
(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.
2011-11-08 17:28:52 +00:00
frosch
e40dabc868
(svn r23152) -Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels.
2011-11-08 17:28:42 +00:00
frosch
0f28b20a73
(svn r23152) -Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels.
2011-11-08 17:28:42 +00:00
frosch
4301936fb1
(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead.
2011-11-08 17:28:05 +00:00
frosch
7d4568361c
(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead.
2011-11-08 17:28:05 +00:00
frosch
93f12ad71e
(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead.
2011-11-08 17:27:55 +00:00
frosch
8dcbd673cf
(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead.
2011-11-08 17:27:55 +00:00
frosch
8bd5d079c5
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
2011-11-08 17:27:46 +00:00
frosch
c2cf26b451
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
2011-11-08 17:27:46 +00:00
frosch
7a5754106c
(svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table.
2011-11-08 17:25:51 +00:00
frosch
b374b92bfb
(svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table.
2011-11-08 17:25:51 +00:00
frosch
b243d70bd7
(svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table.
2011-11-08 17:25:42 +00:00
frosch
48f75a6a8d
(svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table.
2011-11-08 17:25:42 +00:00
frosch
8999f6b73c
(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.
2011-11-08 17:24:01 +00:00
frosch
ae11548b4e
(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.
2011-11-08 17:24:01 +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
michi_cc
23bf62c77a
(svn r23129) -Add: [NewGRF] Property for the rail type name.
2011-11-07 19:35:02 +00:00
michi_cc
fe574b7e0c
(svn r23129) -Add: [NewGRF] Property for the rail type name.
2011-11-07 19:35:02 +00:00
rubidium
a70fdbcf2f
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
2011-11-04 10:25:58 +00:00
rubidium
69162621d8
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
2011-11-04 10:25:58 +00:00
frosch
a5ddc39bad
(svn r23079) -Fix (r23077): Retain original behaviour in a silly corner case, which saves us making the specs even more convoluted.
2011-11-01 16:18:28 +00:00
frosch
e802dc66b9
(svn r23079) -Fix (r23077): Retain original behaviour in a silly corner case, which saves us making the specs even more convoluted.
2011-11-01 16:18:28 +00:00
yexo
3c789abdf4
(svn r23078) -Fix (r23077): default ships carrying passengers and oil were suddenly only able to carry coal
2011-11-01 12:15:33 +00:00
yexo
a95e7982f0
(svn r23078) -Fix (r23077): default ships carrying passengers and oil were suddenly only able to carry coal
2011-11-01 12:15:33 +00:00
frosch
abcc90e15c
(svn r23077) -Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines.
2011-11-01 00:29:05 +00:00
frosch
1d1c9f44a1
(svn r23077) -Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines.
2011-11-01 00:29:05 +00:00
frosch
86553b5ab5
(svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly.
2011-11-01 00:26:22 +00:00
frosch
be5fffd133
(svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly.
2011-11-01 00:26:22 +00:00
frosch
ad38f27242
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
2011-11-01 00:23:41 +00:00
frosch
acc3c75951
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
2011-11-01 00:23:41 +00:00
michi_cc
f0ffa534de
(svn r23072) -Feature: [NewGRF] House callback 0x148.
2011-10-31 22:31:40 +00:00
michi_cc
e094d7db62
(svn r23072) -Feature: [NewGRF] House callback 0x148.
2011-10-31 22:31:40 +00:00
yexo
878554ffab
(svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930
2011-10-27 20:28:18 +00:00
yexo
481b1191ef
(svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930
2011-10-27 20:28:18 +00:00
yexo
eb30e74578
(svn r23036) -Fix (r22970): swapped parameters resulted in wrong vehicle names
2011-10-17 20:28:56 +00:00
yexo
743050a9e0
(svn r23036) -Fix (r22970): swapped parameters resulted in wrong vehicle names
2011-10-17 20:28:56 +00:00
planetmaker
8e5d6c34cd
(svn r23005) -Fix (r23004): Of course there's still the 16-sprite version for shore tiles... we should continue to handle it.
2011-10-05 17:39:12 +00:00
planetmaker
824f17215e
(svn r23005) -Fix (r23004): Of course there's still the 16-sprite version for shore tiles... we should continue to handle it.
2011-10-05 17:39:12 +00:00
planetmaker
03ed9dc97b
(svn r23004) -Feature [FS#4795]: Allow to use offsets for all types of action5 except sea shores
2011-10-05 17:07:43 +00:00
planetmaker
162b98faa5
(svn r23004) -Feature [FS#4795]: Allow to use offsets for all types of action5 except sea shores
2011-10-05 17:07:43 +00:00
michi_cc
e07c107eb1
(svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on NewGRF indication.
2011-10-04 21:35:52 +00:00
michi_cc
71bd681d87
(svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on NewGRF indication.
2011-10-04 21:35:52 +00:00
rubidium
27644093c2
(svn r22970) -Fix [FS#4769]: strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name
2011-10-01 20:31:21 +00:00
rubidium
7de22e25da
(svn r22970) -Fix [FS#4769]: strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name
2011-10-01 20:31:21 +00:00
frosch
b3f7f5124b
(svn r22926) -Feature: [NewGRF] Extended Action1 format to define arbitrary spriteset IDs.
2011-09-11 15:11:23 +00:00
frosch
4738cd9652
(svn r22926) -Feature: [NewGRF] Extended Action1 format to define arbitrary spriteset IDs.
2011-09-11 15:11:23 +00:00
frosch
4cc46d5d6b
(svn r22925) -Feature: [NewGRF] Allow referencing spritesets from different Action1 in a single Action2.
2011-09-11 15:10:56 +00:00
frosch
1683a91afa
(svn r22925) -Feature: [NewGRF] Allow referencing spritesets from different Action1 in a single Action2.
2011-09-11 15:10:56 +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
64e03ee136
(svn r22922) -Codechange: Use wrapper methods to access and register spritesets.
2011-09-11 15:08:17 +00:00
frosch
b4d7919f8a
(svn r22922) -Codechange: Use wrapper methods to access and register spritesets.
2011-09-11 15:08:17 +00:00
planetmaker
dff9faa3f4
(svn r22919) -Doc: Some doxygen sprinkles
2011-09-11 11:14:22 +00:00
planetmaker
07077dc56e
(svn r22919) -Doc: Some doxygen sprinkles
2011-09-11 11:14:22 +00:00
planetmaker
3582ec8be2
(svn r22918) -Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified
2011-09-11 09:31:57 +00:00
planetmaker
3b70f697e1
(svn r22918) -Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified
2011-09-11 09:31:57 +00:00
rubidium
af80e9106e
(svn r22826) -Codechange: pass sub directory to NewGRF loading functions
2011-08-24 13:48:29 +00:00
rubidium
8e5f433b22
(svn r22826) -Codechange: pass sub directory to NewGRF loading functions
2011-08-24 13:48:29 +00:00
rubidium
26788cf363
(svn r22825) -Codechange: pass subdir to FioOpenFile
2011-08-24 13:42:06 +00:00
rubidium
2a12c9df2f
(svn r22825) -Codechange: pass subdir to FioOpenFile
2011-08-24 13:42:06 +00:00
frosch
acb0713622
(svn r22802) -Fix (r22781): Coding style.
2011-08-21 14:59:05 +00:00
frosch
cb93a7a824
(svn r22802) -Fix (r22781): Coding style.
2011-08-21 14:59:05 +00:00
frosch
702e983a73
(svn r22784) -Fix: Move Action 2 references from GRFFile to GrfProcessingState, and reset them after each loading stage.
2011-08-21 12:07:15 +00:00
frosch
236075e944
(svn r22784) -Fix: Move Action 2 references from GRFFile to GrfProcessingState, and reset them after each loading stage.
2011-08-21 12:07:15 +00:00
frosch
8345ffbe07
(svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage.
2011-08-21 12:06:54 +00:00
frosch
bb57e0934a
(svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage.
2011-08-21 12:06:54 +00:00
frosch
1d156c6abc
(svn r22782) -Fix: Add GrfProcessingState::ClearDataForNextFile() to clear temporary data at a specific spot, esp. clear 'data_blocks' now.
2011-08-21 12:06:24 +00:00
frosch
7bd7324b30
(svn r22782) -Fix: Add GrfProcessingState::ClearDataForNextFile() to clear temporary data at a specific spot, esp. clear 'data_blocks' now.
2011-08-21 12:06:24 +00:00
frosch
9cedd178ad
(svn r22781) -Codechange: Group global variables temporarily used during GRF loading into a struct.
2011-08-21 12:05:47 +00:00
frosch
6963ce6665
(svn r22781) -Codechange: Group global variables temporarily used during GRF loading into a struct.
2011-08-21 12:05:47 +00:00
alberth
73c88aa019
(svn r22760) -Fix (r19459): Also free allocated depot tables.
2011-08-19 20:44:22 +00:00
alberth
f1b792cd01
(svn r22760) -Fix (r19459): Also free allocated depot tables.
2011-08-19 20:44:22 +00:00
frosch
5e11550e8f
(svn r22724) -Codechange: Reduce number of realloc calls when loading VarAct2s.
2011-08-06 13:55:52 +00:00
frosch
9e2c2490eb
(svn r22724) -Codechange: Reduce number of realloc calls when loading VarAct2s.
2011-08-06 13:55:52 +00:00
michi_cc
d25840978c
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
2011-08-03 20:55:08 +00:00