summaryrefslogtreecommitdiff
path: root/src/table
AgeCommit message (Collapse)Author
2021-02-20Change: [Win32] Remove force_full_redraw and display_hz settingsPatric Stout
These were special settings only for the win32-drivers, and introduced in the very first version we track. Time kinda had caught up with those variables, so it is time to say farewell. force_full_redraw was most likely a debug functionality "in case our dirty-rect fails". This should no longer be needed. display_hz was cute, as it had a max of 120. That is kinda out-dated information, but I also doubt anyone was really using this.
2021-02-19Feature: configurable refresh-rate and change default to 60fpsPatric Stout
Most modern games run on 60 fps, and for good reason. This gives a much smoother experiences. As some people have monitors that can do 144Hz or even 240Hz, allow people to configure the refresh rate. Of course, the higher you set the value, the more time the game spends on drawing pixels instead of simulating the game, which has an effect on simulation speed. The simulation will still always run at 33.33 fps, and is not influences by this setting.
2021-02-18Fix cc39fa9: New orders are non-stop by default (#8689)Tyler Trahan
2021-02-17Fix #8676, a2c3197f: GUI-visible settings may not be part of misc settings.Michael Lutz
2021-02-17Codechange: Allow early-load settings that are not misc settings.Michael Lutz
2021-02-14Change: move the 'road drive side' selection to settings tree, and give it ↵frosch
the same 'basic' visibilty as 'signal side'.
2021-02-14Change: move the 'tree placer algorithm' selection to the settings tree ↵frosch
window, and give it the same 'basic' visibility as 'in-game tree placement'.
2021-02-14Feature: Automatic UI and font zoom levels when supported by the OS.Michael Lutz
2021-02-14Codechange: Make the settings for min/max zoom early load settings.Michael Lutz
2021-02-14Add: [OSX] Setting to disable HiDPI graphics rendering.Michael Lutz
2021-02-13Codechange: Remove all remaining uses of cpp_offset.Michael Lutz
2021-02-13Codechange: 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-13Fix: Desert/rainforest data coordinate 'y' is off by 1 when their 'x' ↵SamuXarick
coordinate is negative
2021-01-14Feature: Choose a sensible window size on a fresh OTTD config file. (#8536)Michael Lutz
2021-01-11Add: [NewGRF] new GUI sprites for 'rename' and 'go to location'.frosch
2021-01-10Fix: add missing variables to NewGRF inspect window.frosch
2021-01-10Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile ↵frosch
against a given tracktype.
2021-01-08Change: Remove disable_unsuitable_building settingCharles Pigott
This setting is no longer useful, as you can now always build roads, canals, etc.
2021-01-08Fix 2fd871e2af5: load correct ending-year for old (pre 0.7) savegamesPatric 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-08Fix #8050: ending-year of 5000000 allows you to get to year 5000001 and beyondPatric 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-07Feature: option to auto remove signals when in the way during rail ↵Kuhnovic
construction (#8274)
2021-01-02Change: Default settings improved for new players2TallTyler
2020-12-27Codechange: Use automatic memory management for language pack reading.Michael Lutz
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-27Change: Disable changing the inflation setting in network games.Michael Lutz
2020-12-25Change: Remove the LAN/Internet combobox from the server list in favour of ↵frosch
adding two separate search buttons.
2020-12-25Feature: Add an option to disable tree growth completely (#8415)Pavel Stupnikov
2020-12-21Cleanup: Rework the CargoSpec macro for improved readability.Xaroth Brook
2020-12-16Change: extend the allowed range for max loan setting (#8386)Pavel Stupnikov
2020-12-15Change: set the default setting for autorenew to on for new games (#8352)Tyler Trahan
2020-12-15Feature: new velocity unit "tiles/day" (#8278)jostephd
2020-12-14Add: new economy "frozen" that stops production changes and industry ↵Pavel Stupnikov
closures (#8282)
2020-12-14Codechange: 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-04Fix: [CMake] cross-compiling requires native toolsglx22
2020-06-27Feature: Increase max possible distance from border for oil refineries and rigsdP
2020-06-05Add: introduce CMake for project managementPatric 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-05Cleanup: Add note explaining how settings.h is generated from source.TechGeekNZ
2020-06-05Cleanup: Fix typo in settings.h.preamble.TechGeekNZ
2020-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-05-21Codechange: Store base set related texts in std::strings.Michael Lutz
2020-02-07Fix #7525: Move autorenew setting to Basic categoryNiels Martin Hansen
2020-01-29Add: [NewGRF] Station variable 6A, querying GRFID of nearby station tiles ↵kiwitreekor
(#7956)
2020-01-04Feature: Show the name of the NewGRF in the build vehicle window.stormcone
2019-12-28Feature: Configurable game ending yearNiels Martin Hansen
Functionally reverts 683b65ee1
2019-12-23Fix: 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-21Fix: Custom sea level default value is now equal to minimum value, not lowerSamu
Custom sea level default value was lower than the minimum
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-25Fix: Solved helicopter takeoff issue with international airportsJack McKiernan
Helicopters can now take off from just outside the hangars.
2019-10-25Codechange: Replaced 255's with an enum entry TERMGROUPJack McKiernan
2019-10-25Codechange: Replaced 0's in heading field with TO_ALLJack McKiernan