summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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.
2009-11-23(svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a ↵frosch
SmallVector.
2009-11-10(svn r18036) -Fix (r17999): Always two they are.frosch
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-11-08(svn r18016) -Codechange: Move the arbitrary basecost multiplier offset (8) ↵frosch
to newgrf loading and make the internal state zero-based instead.
2009-11-08(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 ↵frosch
'running cost factor'.
2009-11-08(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price ↵frosch
enum some more.
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-07(svn r18004) -Codechange: Deduplicate some magic.frosch
2009-11-07(svn r17999) -Fix: [NewGRF] Improve parsing of RIFF data. Skip unknown ↵frosch
chunks and check chunk sizes.
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h