summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2010-04-09(svn r19590) -Fix: [NewGRF] setting industry prop 0x24 to 0 caused empty ↵yexo
station names
2010-04-04(svn r19557) -Fix (r19502): Missed conversion to checking temporary data ↵peter1138
broke rail type setting upon changing traction type.
2010-04-02(svn r19547) -Fix [FS#3725]: properties set before prop 08 should be ↵yexo
ignored, not trigger the newgrf to be disabled
2010-04-01(svn r19534) -Add: Keep a list of cargo specifications sorted by cargo class ↵terkhen
/ name.
2010-03-28(svn r19521) -Codechange: Use a IndustryType array to sort industries by ↵terkhen
name instead of a LegendAndColour array.
2010-03-23(svn r19502) -Codechange: During NewGRF loading, store rail type labels in ↵peter1138
temporary data and process after loading has finished. This avoids deactivated rail vehicles being reactivated if the climate property is set after the rail type property.
2010-03-19(svn r19465) -Codechange: support for multi-tile hangarsyexo
2010-03-18(svn r19459) -Feature: make some airport properties modifyable by newgrfsyexo
2010-03-18(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of ↵yexo
airports if a newgrf can't be found
2010-03-10(svn r19378) -Codechange: Rename ReadExtended() to ReadExtendedByte()peter1138
2010-03-05(svn r19325) -Codechange: introduce airport classes and split the default ↵yexo
airports in 4 classes
2010-03-05(svn r19323) -Codechange: copy the AirportSpec original array to an internal ↵yexo
array in AirportSpec
2010-03-03(svn r19307) -Add: Let railtypes specify their own smallmap colour. No ↵peter1138
legend support yet.
2010-03-03(svn r19306) -Change: Railtype cost factor from byte to word valuepeter1138
2010-02-28(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/infoyexo
2010-02-25(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of ↵yexo
subclassing it
2010-02-25(svn r19251) -Codechange: add a contructor to GRFError and use it to ↵yexo
allocating errors more uniform. -Fix: some grf error messages didn't free the previous error messages, creating a memory leak
2010-02-22(svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F ↵frosch
and 11. (Eddi)
2010-02-22(svn r19199) -Codechange: add a 'name'-property to airport tilesyexo
2010-02-22(svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttilesyexo
2010-02-22(svn r19193) -Codechange: increase the maximum number of airport tiles to ↵yexo
256 and introduce AirportTileOverrideManager
2010-02-09(svn r19065) -Fix [FS#3605]: Station offset multiplier was wrong.peter1138
2010-02-08(svn r19063) -Codechange: type in constant name (andythenorth)yexo
2010-02-08(svn r19062) -Codechange: Move smallmap related functions to their own header.terkhen
2010-02-07(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for ↵peter1138
rail types. (To be documented...)
2010-02-07(svn r19053) -Codechange: Add an enum for the special flags of industry ↵frosch
tiles. (based on andythenorth' work)
2010-02-03(svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to ↵peter1138
RailType[Change|Reserve]Info().
2010-02-03(svn r18989) -Codechange: [NewGRF] Initialise rail type map with default ↵peter1138
rail types.
2010-01-31(svn r18972) -Add: [NewGRF] Per-rail type speed limits.peter1138
2010-01-30(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.peter1138
2010-01-27(svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying ↵peter1138
layouts.
2010-01-23(svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader.peter1138
2010-01-22(svn r18886) -Fix (r18884): Spurious castingpeter1138
2010-01-22(svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed ↵peter1138
on error.
2010-01-22(svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data ↵peter1138
reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code.
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-17(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to ↵frosch
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-08(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only ↵frosch
using default sprites.
2010-01-08(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether ↵frosch
an Action 8 was encountered already.
2010-01-08(svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 ↵yexo
and action3 but no action0
2010-01-06(svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf ↵yexo
contains prop 14 after prop 1D
2010-01-03(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly ↵frosch
initialised to zero, and not always checked for valid range.
2009-12-30(svn r18671) -Fix [FS#3452]: [NewGRF] If an action B did not have a 'data' ↵rubidium
string but would print it OpenTTD would segfault
2009-12-17(svn r18527) -Fix: an industry newgrf that defined a too small size for ↵yexo
action0 prop 0A could cause a crash
2009-12-16(svn r18514) -Codechange: make it a bit clearer that for tile layouts ↵rubidium
num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-24(svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum.frosch
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns. If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24(svn r18268) -Feature: [NewGRF] Make price base multipliers related to ↵frosch
vehicles only apply to the GRF locally, if it defines engines of that type itself.