summaryrefslogtreecommitdiff
path: root/src/newgrf_railtype.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-06-12Codechange: Deduplicate ResolveReal() for resolvers that don't use real ↵Peter Nelson
sprite groups. This may change behaviour when multiple loading/loaded stages are provided, as the various copies checked in different orders, however only one result is expected in these cases anyway.
2021-05-02Cleanup: Use std::vector in RealSpriteGroup.Peter Nelson
2021-01-10Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile ↵frosch
against a given tracktype.
2020-01-26Feature: NewGRF callback profiling (#7868)Niels Martin Hansen
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Find() with std::find()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
2015-07-26(svn r27342) -Add: Optionally return the number of sprites in the spriteset ↵frosch
from GetCustomRailSprite.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-03(svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject ↵frosch
constructor.
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2012-11-10(svn r24693) -Doc: Add some doxymentation into the newgrf code.alberth
2012-11-10(svn r24685) -Codechange: Add resolver classes for rail types.alberth
2012-11-10(svn r24678) -Codechange: Introduce scope resolver base class and prepare ↵alberth
for adding derived classes.
2012-07-01(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.michi_cc
2012-05-25(svn r24277) -Codechange: Store cargo and railtype translation tables in a ↵frosch
SmallVector.
2012-01-28(svn r23866) -Feature: [NewGRF] Give NewGRF defined level crossings and rail ↵frosch
depots access to the townzone.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-11-08(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-07-04(svn r22633) -Fix: Implement variables 25 and 7F for railtypes.frosch
2011-05-02(svn r22410) -Document: some more bits ;)rubidium
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20420) -Codechange: Add TileContext enum instead of using a bool.frosch
2010-07-22(svn r20203) -Fix: some file "headers" were incorrect, including doxygen ↵rubidium
@file so they wouldn't be picked up by doxygen.
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-16(svn r20165) -Feature: [NewGRF] Information (var 4A) about the current ↵michi_cc
railtype a train is on.
2010-07-11(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of ↵frosch
RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-06-20(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypesyexo
2010-04-24(svn r19707) -Add: helper functions to instantiate/fill ResolverObjectsrubidium
2010-02-25(svn r19235) -Add: [NewGRF] Add 2 bits of pseudo-random data for rail types, ↵peter1138
based on tile location.
2010-02-07(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for ↵peter1138
rail types. (To be documented...)