Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-31 | Codechange: Remove ship max order distance from script API. | peter1138 | |
2019-03-31 | Fix 6fc60d8c4f: forgot to update API changelog | glx | |
2019-03-30 | Codechange: Check airport layout would fit within map bounds before ↵ | PeterN | |
iterating tiles. (#7429) | |||
2019-03-29 | Codechange: Distance between town and airport has already just been found, ↵ | PeterN | |
so use it. (#7427) Previously the distance was thrown away, only to be expensively recalculated again. | |||
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVector | Henry Wilson | |
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::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: [core] Implement SmallVector using std::vector | Henry Wilson | |
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references. | |||
2019-03-24 | Add: script API functions for build with refit feature | glx | |
2019-03-24 | Feature: When filtering purchase list by cargo type, make buy button perform ↵ | peter1138 | |
a refit if required. | |||
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry 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. | |||
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to. | |||
2019-03-09 | Feature: Non-rectangular sparse station catchment area. | Peter Nelson | |
2019-03-09 | Codechange: Convert StationList from SmallVector to std::set. | peter1138 | |
2019-03-08 | Fix 13962a847, 00d28a500: forgotten squirrel_export run (#7345) | glx22 | |
2019-03-08 | Add: AI API for vehicle group colours (#7336) | PeterN | |
2019-03-03 | Change: Heading for 1.10 now (#7319) | frosch | |
2019-03-03 | Add: Add parent_group_id parameter to CreateGroup() | Peter Nelson | |
2019-03-03 | Add: AI function to get current usage of a group. | Peter Nelson | |
2019-03-03 | Add: AI functions to get/set company colours. | Peter Nelson | |
2019-03-03 | Add: AI functions to get current and last year profit of a group. | Peter Nelson | |
2019-03-03 | Add: AI functions to set/get vehicle group parent. | Peter Nelson | |
2019-02-23 | Change: Framerate window can now scroll and resize | Niels Martin Hansen | |
2019-02-23 | Change: Add scrollbar to cargo legend in cargo payment rates window. | Peter Nelson | |
2019-02-23 | Feature: Add option to adjust font size separately from GUI size. (#7003) | Greg Carlin | |
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad. | |||
2019-02-19 | Doc: [AI] UnshareOrders empties the orders list of the vehicle. | Samu | |
2019-02-15 | Fix #7224: AI could no longer create groups. (#7233) | PeterN | |
2019-02-10 | Fix: line ending issues with MSYS2 | glx | |
2019-02-06 | Fix #7108: Missed generate_widget script run for livery changes. | Peter Nelson | |
2019-02-02 | Change: Allow AI companies to start immediately. | Samu | |
Allow multiple AIs to possibly start in the same tick. start_date = 0 becomes a special case, where random deviation does not occur. If start_date was not already 0, then a minimum value of 1 must apply. | |||
2019-01-31 | Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle ↵ | SamuXarick | |
type (#6988) | |||
2019-01-31 | Feature: Group liveries, and livery window usability enhancements. (#7108) | PeterN | |
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries. | |||
2019-01-28 | Fix #7112, fef8b831a9: incorrect precondition check (#7127) | glx22 | |
2019-01-23 | Add: generate_widget.vbs to allow script_window.hpp enums generation for ↵ | glx | |
users unable to run bash/gawk scripts | |||
2019-01-23 | Fix: keep the line ending when generating widget enums with bash/gawk on windows | glx | |
2019-01-14 | Fix: BSD find used by OSX requires explicit path | glx | |
2019-01-14 | Add: squirrel_export.vbs for users unable to run bash/gawk scripts | glx | |
2019-01-14 | Cleanup: remove svn references in squirrel_export.sh | glx | |
2019-01-14 | Fix: remove manual single file generation in squirrel_export.sh as it's broken | glx | |
2019-01-14 | Fix: keep line endings when running squirrel_export.sh on windows | glx | |
2019-01-05 | Add: Conditional order for max. reliability (patch by Cirdan, #6360) (#7017) | Eddi-z | |
2019-01-05 | Fix 6accbf9: Silence warnings about unused fread() result | Niels Martin Hansen | |
2018-12-29 | Fix #6966: Only allow switching to a valid company. | Alberth | |
2018-12-27 | Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵ | glx | |
macro _WIN32 | |||
2018-12-27 | Fix #6974: Add save-load filter widget to api | Joan Josep | |
2018-11-28 | Fix: Spelling in code comment (#6984) | comicsads | |
2018-11-17 | Fix #6969: Account for BOM when reading script files | Charles Pigott | |