summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
AgeCommit message (Collapse)Author
2021-05-02Codechange: Use std::vector for NewGRF station tile sprite layouts.Peter Nelson
2021-05-02Codechange: Use std::vector for NewGRF station platform layouts.Peter Nelson
This avoids the need to custom memory management and additional members. This also resolves use-after-free if modifying copied layouts, so presumably nobody has ever done that.
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-29Codechange: Remove StationClassIDByte, and drop STAT_CLASS_MAX by oneCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-04-30Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.J0an Josep
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
2017-10-25(svn r27928) -Fix: [NewGRF] While executing random triggers, var 5F should ↵frosch
include the new triggers. -Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shard triggers. This also includes multiple RA2 in the same A123 chain. -Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-11-10(svn r24693) -Doc: Add some doxymentation into the newgrf code.alberth
2012-11-10(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.alberth
2012-11-10(svn r24684) -Codechange: Add resolver classes for stations.alberth
2012-03-15(svn r24031) -Feature: increase the station class limit from 32 to 256yexo
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-07-11(svn r22659) -Add: [NewGRF] Support for the land slope check callback for ↵michi_cc
stations.
2011-06-12(svn r22559) -Codechange: Remove constness from Station in ResolverObject.terkhen
2011-06-12(svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject.terkhen
2011-06-12(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.terkhen
2011-05-14(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for ↵frosch
spritelayouts allocated on the heap, and make use of constructors and destructors.
2011-05-14(svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() ↵frosch
into GetCustomStationRelocation() and only call it if actually needed.
2011-05-14(svn r22453) -Feature(ette): Implement variable 18 for custom station ↵frosch
foundations.
2011-03-03(svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 ↵yexo
twice for the same station id
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-10(svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations.rubidium
2010-08-10(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare ↵rubidium
it for more spritegroups
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-07(svn r20404) -Codechange: remove the need for StationSpec::allocatedrubidium
2010-08-07(svn r20402) -Codechange: rename the airport/station class id to something ↵rubidium
slightly more generic
2010-08-07(svn r20400) -Codechange: let StationSpec use GRFFilePropsBaserubidium
2010-08-02(svn r20318) -Doc: Doxygen additions.alberth
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
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 r18708) -Feature: [NewGRF] Add support for custom station foundation ↵peter1138
graphics.
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-17(svn r16859) -Codechange: split the Station struct into two so parts of it ↵rubidium
can be reused for Waypoints.
2009-05-26(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of ↵rubidium
TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
2009-04-05(svn r15956) -Codechange: Enumorize station spec flags.peter1138
2009-02-09(svn r15436) -Codechange: Return index of station spec within station class ↵peter1138
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...