summaryrefslogtreecommitdiff
path: root/src/newgrf.h
AgeCommit message (Collapse)Author
2021-05-08Codechange: let NewGRF make use of SpriteFile instead of most of the FIO ↵Rubidium
slot functions
2021-05-08Codechange: introduce SpriteFile to be used by the sprite loader instead of ↵Rubidium
the global FIO slot functionality
2020-06-01Codechange: remove has_newindustries globalYexo
2020-06-01Codechange: remove has_newhouses globalYexo
2020-06-01Fix #8166: don't crash on loading an invalid roadtype newgrfYexo
Initialization code for GRFFile::roadtype_map was copied from railtype_map. But while RailType is a byte-sized enum and could thus be initialized via memset, RoadType doesn't have a defined size.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove RailTypeByte typeCharles Pigott
2019-04-15Fix: Typos. (#7517)stormcone
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2017-01-14(svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grffrosch
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-07(svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG ↵frosch
instead, which does the same in all use-cases.
2015-03-20(svn r27200) -Feature/Fix [FS#6260]: [NewGRF] Add Misc. GRF Feature Flag 6 ↵frosch
to enable the second rocky tile set.
2014-02-22(svn r26364) -Fix [FS#5892]: writing out of the bounds of the rail type maprubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-05-25(svn r24277) -Codechange: Store cargo and railtype translation tables in a ↵frosch
SmallVector.
2012-05-25(svn r24276) -Codechange: Enhance GRFFile with constructor and destructor.frosch
2012-02-04(svn r23887) -Feature: [NewGRF] Support for container version 2.michi_cc
2012-01-01(svn r23703) -Codechange: allow a compiler to inline a wrapper function, ↵truebrain
avoiding creation of a function stack, massively increasing its speed, for a function that is called often
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-11-08(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.frosch
2011-11-04(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.michi_cc
2011-10-02(svn r22973) -Add: support for replacing the buoy via action123rubidium
2011-09-11(svn r22918) -Fix: [NewGRF] Properties for feature 0x05 were not zeroed for ↵planetmaker
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-08-24(svn r22826) -Codechange: pass sub directory to NewGRF loading functionsrubidium
2011-08-21(svn r22784) -Fix: Move Action 2 references from GRFFile to ↵frosch
GrfProcessingState, and reset them after each loading stage.
2011-08-21(svn r22783) -Fix: Move Action 1 references from GRFFile to ↵frosch
GrfProcessingState, and reset them after each loading stage.
2011-07-29(svn r22693) -Fix [FS#4691]: The override managers were not reset in some ↵frosch
cases like creating a new scenario.
2011-05-01(svn r22408) -Cleanup: remove unused variable GRFFile::sprite_offsetyexo
2010-11-16(svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case ↵rubidium
and gender names
2010-09-25(svn r20848) -Add: _loaded_newgrf_features.used_liveries to keep track which ↵frosch
liveries are used by some vehicle resp. which are not used at all.
2010-09-06(svn r20758) -Fix: when leaving the program, current newgrf config would ↵smatz
leak, causing valgrind warnings
2010-08-28(svn r20654) -Codechange: implement reading action0 of objectsrubidium
2010-08-08(svn r20409) -Codechange: reduce the number of includes needed by newgrf.hrubidium
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-24(svn r19708) -Add: NewGRF "debugging" window and data tables; should be a ↵rubidium
useful tool for NewGRF developers to get some insights into the value of some variables
2010-04-24(svn r19704) -Codechange: unify the style of GSF enums; now they're plural ↵rubidium
instead of mixed
2010-04-20(svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect ↵yexo
properties from other newgrfs
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-03-18(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of ↵yexo
airports if a newgrf can't be found
2010-02-22(svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttilesyexo
2010-01-30(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.peter1138
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-03(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly ↵frosch
initialised to zero, and not always checked for valid range.
2009-12-15(svn r18506) -Fix [FS#3368]: no error message was created for the first ↵rubidium
fatal NewGRF error.
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.