JMcKiern
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Charles Pigott
69a6c494bf
Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByte
2019-04-29 17:40:22 +01:00
PeterN
be073b46da
Fix: Bounds check access to railtype_map. ( #7529 )
2019-04-20 02:34:25 +01:00
peter1138
4f052fc2a4
Cleanup: Fix alignment after NULL -> nullptr change.
2019-04-13 20:35:10 +01:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
frosch
0cf25e84df
Fix #7447 , 3357cac847: Action 4 has feature 48 'original strings'. ( #7449 )
2019-03-30 19:56:43 +00:00
glx22
66dd7c3879
Fix: MSVC warnings ( #7423 )
2019-03-28 00:09:33 +01:00
Henry Wilson
c01a2e2a81
Codechange: Removed SmallVector completely
2019-03-26 20:15:57 +00:00
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
2019-03-26 20:15:57 +00:00
Henry Wilson
2bc2de9034
Codechange: Replaced SmallVector::Find() with std::find()
2019-03-26 20:15:57 +00:00
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
2019-03-26 20:15:57 +00:00
Henry Wilson
aa7ca7fe64
Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n
2019-03-26 20:15:57 +00:00
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
2019-03-26 20:15:57 +00:00
Henry Wilson
bfd79e59dc
Codechange: Replace SmallVector::Clear() with std::vector::clear()
2019-03-26 20:15:57 +00:00
Peter Nelson
3357cac847
Fix: Bounds check NewGRF feature.
2019-03-21 20:53:36 +00:00
Peter Nelson
054d05b132
Codechange: NewGRF features are documented in hex, so display as hex.
2019-03-21 20:53:36 +00:00
peter1138
fc5f67123a
Fix e66cec8f86: Permit loading of industry production callback with invalid cargo type.
...
It is only an error if the invalid result is actually used. This will be silently ignored at the moment.
It is still an error if a duplicate cargo type is returned.
2019-03-15 17:43:10 +00:00
Eddi-z
1447661d20
Cleanup: spurious TODOs in newgrf.cpp ( #7297 )
2019-02-28 23:00:50 +00:00
Peter Nelson
21dc725762
Fix: Don't consider engines not in the current climate towards used livery classes.
2019-02-01 07:08:55 +00:00
Niels Martin Hansen
48b334cf97
Add: Houses can accept up to 16 different cargo types via NewGRF.
...
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units.
2019-01-21 16:06:25 +01:00
Niels Martin Hansen
e66cec8f86
Add: NewGRF support for 16-in-16-out industries
2018-11-03 21:43:54 +01:00
Charles Pigott
e0c0394e37
Fix: Remove various dead or unnecessary assignments
2018-10-31 12:41:49 +01:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Michael Lutz
4b0b4e0643
Feature: [NewGRF] Increase size of persistent storage to 256.
2018-09-02 21:31:15 +02:00
frosch
6391d49277
Fix: Variable 0x85 had no bounds checks.
2018-09-02 21:15:54 +02:00
Niels Martin Hansen
836d25e738
Codechange: Address some MSVC compiler warnings
2018-06-15 22:36:55 +02:00
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
2018-05-21 22:08:39 +01:00
Patric Stout
88be2413ce
Codechange #6729 : mute bogus GCC 7 warning ( #6733 )
...
We do a memset of (byte - byte), which strictly seen ranges from -254 .. 255, for which GCC warns.
But just before this memset is an if() which says the first byte has to be bigger than the second.
So this is a bogus warning.
2018-04-16 23:48:19 +02:00
frosch
55a503e6f2
(svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases:
...
- nvar=0 is meant to return the calculated result.
- Missing references resolve to NULL and got identified with the default result.
- Missing 'break' broke overlapping cases.
- Splitting into non-overlapping cases could result in more than 256 cases.
2018-03-11 15:08:51 +00:00
frosch
07d841d0ef
(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent.
2018-03-11 13:21:27 +00:00
peter1138
dacd8d87ef
(svn r27974) -Fix (r27907) [FS#6627]: free() called on static airport rotation data (JGR)
2018-03-06 07:48:29 +00:00
adf88
6dec889306
(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant
2017-08-31 06:55:38 +00:00
adf88
b56453f93b
(svn r27907) -Fix: AirportSpec::rotation was memleaking
2017-08-31 06:54:22 +00:00
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
frosch
fa8d85b632
(svn r27769) -Change: [NewGRF] Extend the DCxx range to D800-DFFF.
2017-03-05 14:45:13 +00:00
frosch
5846aa5bfc
(svn r27768) -Codechange: Use if and IsInsideMM instead of switch-case sequences to test for consecutive values.
2017-03-05 14:44:15 +00:00
frosch
b5d1e58b0e
(svn r27767) -Codechange: Industries and houses should just use the default-case in Action 4.
2017-03-05 14:43:21 +00:00
frosch
1a9e1c5e91
(svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in Action 13.
2017-03-05 14:42:41 +00:00
frosch
7b553d255e
(svn r27732) -Change: Turn the message about 'missing baseset sprites' from a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
2017-01-14 18:30:26 +00:00
frosch
1aedadb49b
(svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grf
...
openttd.grf is now always loaded and provides all extra graphics in case the (possibly outdated) baseset does not.
orig_extra.grf contains graphics specific to the original baseset only.
2017-01-14 15:48:19 +00:00
frosch
ec9a920aab
(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum number of NewGRFs in a game.
...
-Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF.
-Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
2017-01-14 13:12:49 +00:00
frosch
a3b356e057
(svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG instead, which does the same in all use-cases.
2017-01-07 21:36:25 +00:00
frosch
5267b60027
(svn r27722) -Fix (r7490): GCF_SYSTEM was never set correctly.
2017-01-07 21:20:02 +00:00
frosch
d9bfe88261
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
2016-11-05 11:53:03 +00:00
matthijs
53982003ee
(svn r27560) -Fix: typos in comments and string
2016-05-11 20:48:46 +00:00
frosch
f6577b6ad7
(svn r27507) -Add: [NewGRF] Allow custom sound IDs in RV property 0x12, ship property 0x10 and aircraft property 0x12.
2016-02-08 21:05:57 +00:00
frosch
df82dcdf35
(svn r27497) -Change: [NewGRF] Allow static NewGRF to enable the second rocky tile set.
2016-01-13 21:55:50 +00:00
frosch
c655847235
(svn r27138) -Fix: [NewGRF] Negative positions in industry layouts were interpreted incorrectly; however since the wrong behaviour is saner, define as the correct behaviour for GRFv8.
2015-02-06 21:56:50 +00:00
frosch
f79ead7125
(svn r27119) -Fix: Action 7/9 condition 0A failed for present, but disabled, NewGRF.
2015-01-17 15:00:02 +00:00
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
2014-10-11 13:22:37 +00:00
rubidium
ddfc8372ee
(svn r26884) -Change: scale the NewGRF's snow line level according to the configured maximum map height
2014-09-21 12:02:03 +00:00
rubidium
2361aaf601
(svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111)
2014-09-21 07:57:45 +00:00
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
e61fe21237
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
2014-04-24 19:51:45 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
bbed2ff956
(svn r26475) -Fix: potentially undefined shifts in NewGRF code
2014-04-20 15:47:50 +00:00
planetmaker
ba42bcdf49
(svn r26458) -Doc: Correct a few spelling mistakes (__ln__)
2014-04-12 15:59:56 +00:00
frosch
ee5c115950
(svn r26245) -Codechange: No need for a map, if a vector suffices.
2014-01-12 18:01:50 +00:00
frosch
00e7ceeca4
(svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there.
2014-01-12 18:01:16 +00:00
rubidium
d2ba772f6a
(svn r26130) -Codechange: add some guards against using invalid image indices
2013-11-26 16:08:58 +00:00
rubidium
cf130ce9d8
(svn r26069) -Fix: missing break in NewGRF object handling
2013-11-23 18:10:06 +00:00
rubidium
c035a9531b
(svn r26067) -Fix: possible NULL dereference when getting NewGRF version
2013-11-23 18:08:15 +00:00
rubidium
ca7dce1fc2
(svn r25961) -Fix [FS#5779]: [NewGRF] A powered rail type implies it is compatible as well, but some NewGRF didn't state that causing the path reservation code to bail out in some cases because there wasn't a compatible path
2013-11-09 10:45:05 +00:00
planetmaker
ed54d39201
(svn r25878) -Feature: [NewGRF] Object property 0x18 to allow specifying the number of objects of that type being placed upon map creation
2013-10-17 21:45:40 +00:00
frosch
1b6ceef086
(svn r25842) -Codechange: Rename MAX_STATIONS to NUM_STATIONS_PER_GRF.
2013-10-12 16:35:18 +00:00
frosch
48d22700ad
(svn r25841) -Codechange: Use NUM_AIRPORTTILES_PER_GRF instead of NUM_AIRPORTTILES to properly distinguish limits per NewGRF and limits of the pool.
...
-Change: [NewGRF] Lower the limit of airport tile 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:34:59 +00:00
frosch
a92b698525
(svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS to properly distinguish limits per NewGRF and limits of the pool.
2013-10-12 16:34:23 +00:00
frosch
cfaa9457a6
(svn r25839) -Codechange: Use NUM_HOUSES_PER_GRF instead of NUM_HOUSES to properly distinguish limits per NewGRF and limits of the pool.
...
-Change: [NewGRF] Lower the limit of house 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:34:04 +00:00
frosch
6a0439a789
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
2013-10-12 16:33:19 +00:00
frosch
ad8b387f9e
(svn r25837) -Codechange: Use NUM_INDUSTRYTILES_PER_GRF instead of NUM_INDUSTRYTILES to properly distinguish limits per NewGRF and limits of the pool.
...
-Change: [NewGRF] Lower the limit of industry tile 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:32:59 +00:00
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
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
13855f0a09
(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)
2013-08-09 18:43:44 +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
163dfdd34a
(svn r25262) -Feature: linkgraph overlay for smallmap
2013-05-19 14:36:35 +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
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
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
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
506132c051
(svn r24919) -Codechange: Remove useless noisy grf debug messages.
2013-01-17 07:53:17 +00:00
peter1138
c00a400cc7
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +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
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
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +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
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
2ab7c82b31
(svn r24395) -Doc: Fixed argument references in @param descriptions.
2012-07-10 18:37:54 +00:00
frosch
d56b5783d1
(svn r24369) -Fix (r24361): Unused stuff is unused.
2012-07-02 16:23:24 +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
5e8151e245
(svn r24278) -Codechange: Deduplicate code to read translation tables.
2012-05-25 21:00:00 +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
b8f6b300d6
(svn r24276) -Codechange: Enhance GRFFile with constructor and destructor.
2012-05-25 20:54:54 +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
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
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
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
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
2007f7affd
(svn r24051) -Fix: Comment.
2012-03-19 22:52:37 +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
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
9101d2e2d2
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
2012-02-15 21:23:48 +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
a16389ab06
(svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF.
2012-02-07 22:48:09 +00:00
frosch
1c84468b5d
(svn r23913) -Fix (r23912): Silly typo in comment.
2012-02-07 22:05:44 +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
6db39410a1
(svn r23887) -Feature: [NewGRF] Support for container version 2.
2012-02-04 13:29:04 +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
12f0e80dad
(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.
2012-02-04 13:28:44 +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
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
fab78a7bf2
(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken
2012-01-15 19:29:49 +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
92700c1262
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
2012-01-15 17:33:35 +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
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
ee0fcb2567
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
2012-01-05 19:40:34 +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
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
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
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
michi_cc
def8e7215b
(svn r23504) -Feature: Aircraft range.
2011-12-13 00:43:35 +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
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
michi_cc
d3b7b89493
(svn r23415) -Feature: Infrastructure maintenance costs.
2011-12-03 23:40:46 +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
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
18a0dc894d
(svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts
2011-11-20 15:17:34 +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
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
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
469450e554
(svn r23159) -Feature: Support for NewGRF version 8.
2011-11-08 17:30:19 +00:00
frosch
e58d6cbc63
(svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium)
2011-11-08 17:29:41 +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
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
7d4568361c
(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead.
2011-11-08 17:28:05 +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
c2cf26b451
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
2011-11-08 17:27:46 +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
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
ae11548b4e
(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.
2011-11-08 17:24:01 +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
fe574b7e0c
(svn r23129) -Add: [NewGRF] Property for the rail type name.
2011-11-07 19:35:02 +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
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
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
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
be5fffd133
(svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly.
2011-11-01 00:26:22 +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
e094d7db62
(svn r23072) -Feature: [NewGRF] House callback 0x148.
2011-10-31 22:31:40 +00:00