Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-13 | Codechange: Remove all remaining uses of cpp_offset. | Michael Lutz | |
2021-02-13 | Codechange: Don't use cpp_offsetof in the save/load code. | Michael Lutz | |
Many of the member variables that are used in save/load are inside types that are not standard layout types. Using pointer arithmetics to determine addresses of members inside types that are not standard layout is generally undefined behaviour. If we'd use C++17, it is conditionally supported, which means each compiler may or may not support it. And even then using it for individual array elements is syntactically not supported the the standard offsetof function. Unfortunately, the trickery employed for saving linkgraph settings causes quite some clutter in the settings ini files. | |||
2021-02-13 | Fix: Desert/rainforest data coordinate 'y' is off by 1 when their 'x' ↵ | SamuXarick | |
coordinate is negative | |||
2021-01-14 | Feature: Choose a sensible window size on a fresh OTTD config file. (#8536) | Michael Lutz | |
2021-01-11 | Add: [NewGRF] new GUI sprites for 'rename' and 'go to location'. | frosch | |
2021-01-10 | Fix: add missing variables to NewGRF inspect window. | frosch | |
2021-01-10 | Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile ↵ | frosch | |
against a given tracktype. | |||
2021-01-08 | Change: Remove disable_unsuitable_building setting | Charles Pigott | |
This setting is no longer useful, as you can now always build roads, canals, etc. | |||
2021-01-08 | Fix 2fd871e2af5: load correct ending-year for old (pre 0.7) savegames | Patric Stout | |
Despite what it looked like, you could never really change the ending-year (it was always reset to 2050 on start-up). See commit 683b65ee1 for details. As a side-effect, the variable that was suppose to store the ending-year was just zero, never containing a real ending-year. | |||
2021-01-08 | Fix #8050: ending-year of 5000000 allows you to get to year 5000001 and beyond | Patric Stout | |
MAX_YEAR is set to 5000000, but having an ending-year set to the same meant you could bypass this, and play till the uint32 wrapped. The game can either show highscore or wrap year, not both. When you would do both, every year you get the highscore dialog. By changing the maximum value of ending-year to 4999999 we prevent this issue. | |||
2021-01-07 | Feature: option to auto remove signals when in the way during rail ↵ | Kuhnovic | |
construction (#8274) | |||
2021-01-02 | Change: Default settings improved for new players | 2TallTyler | |
2020-12-27 | Codechange: Use automatic memory management for language pack reading. | Michael Lutz | |
2020-12-27 | Codechange: Replace assert_compile macro with static_assert | Charles Pigott | |
2020-12-27 | Change: Disable changing the inflation setting in network games. | Michael Lutz | |
2020-12-25 | Change: Remove the LAN/Internet combobox from the server list in favour of ↵ | frosch | |
adding two separate search buttons. | |||
2020-12-25 | Feature: Add an option to disable tree growth completely (#8415) | Pavel Stupnikov | |
2020-12-21 | Cleanup: Rework the CargoSpec macro for improved readability. | Xaroth Brook | |
2020-12-16 | Change: extend the allowed range for max loan setting (#8386) | Pavel Stupnikov | |
2020-12-15 | Change: set the default setting for autorenew to on for new games (#8352) | Tyler Trahan | |
2020-12-15 | Feature: new velocity unit "tiles/day" (#8278) | jostephd | |
2020-12-14 | Add: new economy "frozen" that stops production changes and industry ↵ | Pavel Stupnikov | |
closures (#8282) | |||
2020-12-14 | Codechange: use \u to indicate unicode chars in strings (#8379) | Patric Stout | |
With \x, we sometimes had to do the "" trick, as the length is not predefined. With C++11 bringing \u to the specs, which has a preset length, we no longer need the "" trick. We set the strings to u8, to ensure all compilers use UTF-8 encoding for the \u characters. This was triggered by newer CLangs, which start to warn if you use "" in the middle of a string, wondering if that was your intention. It is a good question. And this is our answer :) | |||
2020-12-04 | Fix: [CMake] cross-compiling requires native tools | glx22 | |
2020-06-27 | Feature: Increase max possible distance from border for oil refineries and rigs | dP | |
2020-06-05 | Add: introduce CMake for project management | Patric Stout | |
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc. | |||
2020-06-05 | Cleanup: Add note explaining how settings.h is generated from source. | TechGeekNZ | |
2020-06-05 | Cleanup: Fix typo in settings.h.preamble. | TechGeekNZ | |
2020-05-21 | Codechange: Use std::string in the driver and blitter selection code. | Michael Lutz | |
2020-05-21 | Codechange: Store base set related texts in std::strings. | Michael Lutz | |
2020-02-07 | Fix #7525: Move autorenew setting to Basic category | Niels Martin Hansen | |
2020-01-29 | Add: [NewGRF] Station variable 6A, querying GRFID of nearby station tiles ↵ | kiwitreekor | |
(#7956) | |||
2020-01-04 | Feature: Show the name of the NewGRF in the build vehicle window. | stormcone | |
2019-12-28 | Feature: Configurable game ending year | Niels Martin Hansen | |
Functionally reverts 683b65ee1 | |||
2019-12-23 | Fix: Snowline height interval is now 1, in both World Generation and ↵ | Samu | |
Settings windows - Previously, it was 1 in World Gen window, but 5 in Settings window | |||
2019-12-21 | Fix: Custom sea level default value is now equal to minimum value, not lower | Samu | |
Custom sea level default value was lower than the minimum | |||
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-10-25 | Fix: Solved helicopter takeoff issue with international airports | Jack McKiernan | |
Helicopters can now take off from just outside the hangars. | |||
2019-10-25 | Codechange: Replaced 255's with an enum entry TERMGROUP | Jack McKiernan | |
2019-10-25 | Codechange: Replaced 0's in heading field with TO_ALL | Jack McKiernan | |
2019-10-25 | Fix #6219: Allow taking off from hangar in commuter airport | Jack McKiernan | |
Previously, a helicopter in the hangar of a commuter airport would have to wait until HELIPAD2 was free before it could takeoff. Now, a helicopter in the hangar can takeoff from just outside the hangar. | |||
2019-10-19 | Fix: add savegame version to trading age setting | Jack Baron | |
2019-10-19 | Feature: Configure minimum share trading years | Jack Baron | |
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-14 | Codechange: Refactor the Freetype font cache into a generic part that does ↵ | Michael Lutz | |
not depend on Freetype and into one that does. This makes it easier to add other TrueType font rendering engines. | |||
2019-05-11 | Change: Limit memory allocations for each Squirrel instance | Niels Martin Hansen | |
This can avoid out-of-memory situations due to single scripts using up the entire address space. Instead, scripts that go above the maximum are killed. The maximum is default 1 GB per script, but can be configured by a setting. | |||
2019-05-11 | Fix #7463: Promote scroll mode setting to basic category. | Michael Lutz | |
2019-05-09 | Fix #7565: Incorrect cursor used for placing road/tram tunnels. | peter1138 | |
2019-05-05 | Change: Set default setting in server browser of "Advertised" to "Yes". (#7568) | Corns McGowan | |