summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Expand)Author
2021-07-09Codechange: Remove FOR_EACH_SET_CARGO_IDglx22
2021-07-09Codechange: Remove FOR_EACH_SET_BITglx22
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-06-12Change: Skip creating a RealSpriteGroup when there is only one result.Peter Nelson
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
2021-05-15Codechange: Use std::string GetString where convenientrubidium42
2021-05-15Change: Use gender-neutral pronounsrubidium42
2021-05-15Codechange: comparison result is always the same due to earlier checkRubidium
2021-05-13Feature: Define refittability of default vehicles using cargo classes.frosch
2021-05-13Fix: Resolve cargo-types of default vehicles via their cargo label.frosch
2021-05-13Codechange: move currency settings to std::stringrubidium42
2021-05-10Fix: memory leak due to assigning result of strdup to a std::stringRubidium
2021-05-08Codechange: let NewGRF make use of SpriteFile instead of most of the FIO slot...Rubidium
2021-05-08Codechange: introduce SpriteFile to be used by the sprite loader instead of t...Rubidium
2021-05-08Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO...Rubidium
2021-05-02Codechange: Validate custom station platform layout tiles are permitted value...Peter Nelson
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
2021-05-02Codechange: Warn if randomaction2 group count is not a power of 2.Peter Nelson
2021-05-02Cleanup: Use std::vector in RandomSpriteGroup.Peter Nelson
2021-05-02Cleanup: Use std::vector in DeterministicSpriteGroup.Peter Nelson
2021-05-02Cleanup: Use std::vector in RealSpriteGroup.Peter Nelson
2021-04-29Codechange: Replace FOR_ALL_CARGOSPECS with range-based for loopsglx22
2021-04-02Fix: Memory leak of airport tile layout in AirportChangeInfo (prop 0A) (#8928)Jonathan G Rennison
2021-03-26Change: rename setting "max_heightlevel" to "map_height_limit"Patric Stout
2021-02-21Fix #8276: Crash when a NewGRF object's size was not setCharles Pigott
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-27Add: [NewGRF] Patch flag to test if inflation is on or off.Michael Lutz
2020-12-15Fix: [NewGRF] Action 7/9 conditions 0x0F to 0x12 failed, if 'param' was 0x88....frosch
2020-12-15Codechange: Make use of the improved C++17 emplace_back function.Michael Lutz
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
2020-05-21Codechange: Use std::string for storing GRF error messages.Michael Lutz
2020-05-21Codechange: Use std::string when translating TTDP NewGRF string codes.Michael Lutz
2020-05-21Codechange: Replace custom linked list for GRF texts with STL vectors and str...Michael Lutz
2020-05-21Codechange: Replace SmallPair with std::pair.Michael Lutz
2020-01-26Feature: NewGRF callback profiling (#7868)Niels Martin Hansen
2019-12-23Fix: Action7/9 conditions 0F..12 reported roadtypes as valid tramtypes and vi...frosch
2019-12-23Cleanup: Properties 12 and 15 do not exist for road/tramtypes.frosch
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-11-23Fix #7836: Check coherency of NewGRF parameter min/max (#7840)glx22
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-19Codechange: Use std::vector for industry tile layoutsNiels Martin Hansen
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByteCharles Pigott
2019-04-20Fix: Bounds check access to railtype_map. (#7529)PeterN
2019-04-13Cleanup: Fix alignment after NULL -> nullptr change.peter1138