Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-26 | Feature: 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-12-23 | Fix: Action7/9 conditions 0F..12 reported roadtypes as valid tramtypes and ↵ | frosch | |
vice versa. | |||
2019-12-23 | Cleanup: Properties 12 and 15 do not exist for road/tramtypes. | frosch | |
2019-12-21 | Codechange: Replace FOR_ALL_ENGINES with range-based for loops | glx | |
2019-11-23 | Fix #7836: Check coherency of NewGRF parameter min/max (#7840) | glx22 | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-10-19 | Codechange: Use std::vector for industry tile layouts | Niels Martin Hansen | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-05-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-04-29 | Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByte | Charles Pigott | |
2019-04-20 | Fix: Bounds check access to railtype_map. (#7529) | PeterN | |
2019-04-13 | Cleanup: Fix alignment after NULL -> nullptr change. | peter1138 | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-30 | Fix #7447, 3357cac847: Action 4 has feature 48 'original strings'. (#7449) | frosch | |
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Find() with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-21 | Fix: Bounds check NewGRF feature. | Peter Nelson | |
2019-03-21 | Codechange: NewGRF features are documented in hex, so display as hex. | Peter Nelson | |
2019-03-15 | Fix e66cec8f86: Permit loading of industry production callback with invalid ↵ | peter1138 | |
cargo type. It is only an error if the invalid result is actually used. This will be silently ignored at the moment. It is still an error if a duplicate cargo type is returned. | |||
2019-02-28 | Cleanup: spurious TODOs in newgrf.cpp (#7297) | Eddi-z | |
2019-02-01 | Fix: Don't consider engines not in the current climate towards used livery ↵ | Peter Nelson | |
classes. | |||
2019-01-21 | Add: Houses can accept up to 16 different cargo types via NewGRF. | Niels Martin Hansen | |
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units. | |||
2018-11-03 | Add: NewGRF support for 16-in-16-out industries | Niels Martin Hansen | |
2018-10-31 | Fix: Remove various dead or unnecessary assignments | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-09-02 | Feature: [NewGRF] Increase size of persistent storage to 256. | Michael Lutz | |
2018-09-02 | Fix: Variable 0x85 had no bounds checks. | frosch | |
2018-06-15 | Codechange: Address some MSVC compiler warnings | Niels Martin Hansen | |
2018-05-21 | Change: Add CargoTypes type for cargo masks. (#6790) | PeterN | |
2018-04-16 | Codechange #6729: mute bogus GCC 7 warning (#6733) | Patric Stout | |
We do a memset of (byte - byte), which strictly seen ranges from -254 .. 255, for which GCC warns. But just before this memset is an if() which says the first byte has to be bigger than the second. So this is a bogus warning. | |||
2018-03-11 | (svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases: | frosch | |
- nvar=0 is meant to return the calculated result. - Missing references resolve to NULL and got identified with the default result. - Missing 'break' broke overlapping cases. - Splitting into non-overlapping cases could result in more than 256 cases. | |||
2018-03-11 | (svn r27985) -Codechange: Convert VA2 switches into ones with ↵ | frosch | |
non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent. | |||
2018-03-06 | (svn r27974) -Fix (r27907) [FS#6627]: free() called on static airport ↵ | peter1138 | |
rotation data (JGR) | |||
2017-08-31 | (svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be ↵ | adf88 | |
sure that they are really constant | |||
2017-08-31 | (svn r27907) -Fix: AirportSpec::rotation was memleaking | adf88 | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-03-05 | (svn r27769) -Change: [NewGRF] Extend the DCxx range to D800-DFFF. | frosch | |
2017-03-05 | (svn r27768) -Codechange: Use if and IsInsideMM instead of switch-case ↵ | frosch | |
sequences to test for consecutive values. | |||
2017-03-05 | (svn r27767) -Codechange: Industries and houses should just use the ↵ | frosch | |
default-case in Action 4. | |||
2017-03-05 | (svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in ↵ | frosch | |
Action 13. | |||
2017-01-14 | (svn r27732) -Change: Turn the message about 'missing baseset sprites' from ↵ | frosch | |
a popup into a static message that only shows in non-release versions, just like the 'missing translations' message. | |||
2017-01-14 | (svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grf | frosch | |
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-14 | (svn r27729) -Codechange: Do not count static NewGRF when checking for the ↵ | frosch | |
maximum number of NewGRFs in a game. -Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF. -Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs. | |||
2017-01-07 | (svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG ↵ | frosch | |
instead, which does the same in all use-cases. |