summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-01-05Fix: allow input of numbers greater than INT32_MAX for GiveMoney (#8499)Patric Stout
Based on patch by JGR.
2021-01-05Codechange: DC_NO_RAIL_OVERLAP is a remnant of the OldAI. (#8496)Patric Stout
The OldAI was removed in 2009. Pretty sure we can remove this flag now too.
2021-01-05Change: converting town-owned road types now require town rating (#8457)gooball
2021-01-05Fix #8437: Crash when using certain heliports with rotated airportsCharles Pigott
2021-01-05Fix #8437: Planes landing at non-rectangular airports could be drawn at the ↵Charles Pigott
wrong height Only the rotated intercontinental airport, don't get excited
2021-01-05Codechange: consider vehicle co-ordinates when identifying viewport ↵Matt Kimber
candidate as using only the hash generates false positives
2021-01-05Codechange: create MutableSpriteCache to remove the need to cast Vehicle to ↵Matt Kimber
a mutable type in render methods
2021-01-05Codechange: improve performance for complex vehicle chains by resolving ↵Matt Kimber
sprites less often
2021-01-03Revert 4ce53cb8: [OSX] Delayed fullscreen switch is not needed anymore.Michael Lutz
The fix for #8067 solves the real issue, making this workaround unneeded.
2021-01-03Fix #8067: [OSX] Calculate title bar height instead of assuming a fixed value.Michael Lutz
2021-01-03Fix: GetCurveSpeedLimit needs railtype from current tile (#8466)Andy
2021-01-03Fix: [OSX] Quitting in fullscreen mode would loose the original window size.Michael Lutz
This replicates the behaviour on e.g. Windows, which saves the original window size.
2021-01-03Change: [OSX] Hide Dock and menu during fullscreen mode.Michael Lutz
2021-01-03Update: Translations from eintstranslators
spanish (mexican): 14 changes by absay finnish: 32 changes by hpiirai polish: 2 changes by yazalo
2021-01-03Cleanup 9f42358: Make also reliability_start randomised independent of ↵frosch
introduction date.
2021-01-03Cleanup 8139b14: Move a comment back to the line it belongs to, and add a ↵frosch
comment for new code.
2021-01-03Codechange: [OSX] Silence some annoying warnings.Michael Lutz
2021-01-03Cleanup: [OSX] Remove cargo cult back-buffer alpha setting on show/hide and ↵Michael Lutz
instead simply initialise the buffer on allocation.
2021-01-03Change: [OSX] Compiling the Cocoa/Quartz video driver cannot be disabled ↵Michael Lutz
anymore.
2021-01-03Codechange: [OSX] Re-arrange the OSX video driver code by combining all ↵Michael Lutz
drawing code and moving the window/event handling to a different file. This is just a code move/rename, not a functionality change.
2021-01-03Add: always set PERSONAL_DIR "/content_download" in search path (#8481)Patric Stout
This means that if you start OpenTTD with "-c" to indicate another location to store files, it can still read the content you already downloaded from your PERSONAL_DIR. This folder is, however, read-only. This is useful for situations where you downloaded OpenGFX via the content-service, but want to run the regression or want to run with a clean configuration. With this change, you no longer need to download OpenGFX again.
2021-01-03Fix: [OSX] Fonts loaded directly from a file have to be registered with ↵Michael Lutz
CoreText for proper text layout.
2021-01-02Add: use our search-paths to find fonts based on relative filenames tooPatric Stout
This allows "small_font = ./myfont.ttf", with "myfont.ttf" located in "~/.openttd".
2021-01-02Change: Default settings improved for new players2TallTyler
2021-01-02Codechange: Drop libxdg-basedir dependency in favour of finding the ↵Charles Pigott
directories ourselves
2021-01-02Fix: prevent clients making emergency saves twice if server disconnects (#8477)Patric Stout
This was clearly overlooked during the initial implementation.
2021-01-02Update: Translations from eintstranslators
finnish: 3 changes by hpiirai catalan: 29 changes by J0anJosep
2021-01-01Codechange: move some DEBUG-levels and remove some others in saveload ↵Patric Stout
routine (#8474) When running with -dsl=2 it is very easy to miss important information as there was a lot of noise in between too. This tunes the debug levels a bit to be less noisy while keeping the important bits.
2021-01-01Cleanup 2db88953e7: Remove VL_FIRST_SORT as it's uselessglx22
2020-12-31Update: Translations from eintstranslators
finnish: 4 changes by hpiirai french: 1 change by glx22
2020-12-31Change #8325: Make engine reliability independent of introduction date (#8470)SamuXarick
2020-12-30Update: Translations from eintstranslators
spanish (mexican): 42 changes by absay russian: 4 changes by Ln-Wolf finnish: 2 changes by hpiirai french: 35 changes by glx22 polish: 25 changes by yazalo
2020-12-30Fix: Assert fail when using restart command after opening save/load GUIJonathan G Rennison
2020-12-29Update: Translations from eintstranslators
korean: 4 changes by telk5093 german: 84 changes by UnsuspiciousGooball finnish: 4 changes by hpiirai slovak: 7 changes by FuryPapaya
2020-12-28Fix #8297: Infrastructure counters for road tunnels, bridges, depots … (#8454)gooball
The previous fix 887e9481ff0e70df6bf93ce15a3899a03f124c50 only worked for roads and failed to consider a multiplier used for the infrastructure totals for tunnels/bridges. Also, depots and bus/truck stops are counted as 2 road pieces on creation but were only counted as 1 road piece on conversion because the function DiagDirToRoadBits() was used, which only ever returns single-piece road segments. Co-authored-by: A. S <admin-git@sotai.tk>
2020-12-28Update: Translations from eintstranslators
korean: 6 changes by telk5093 finnish: 6 changes by hpiirai slovak: 47 changes by FuryPapaya
2020-12-28Fix #8453: [Script] Don't truncate loan variation to 32bitglx22
2020-12-28Change: Add some style to GameScript question windows depending on the typedP
2020-12-27Doc: Remove some SmallVector references from documentation.J0anJosep
2020-12-27Fix b408fe7: Don't try to construct a std::string from nullptrCharles Pigott
2020-12-27Update: Translations from eintstranslators
russian: 19 changes by lexuslatvia finnish: 1 change by hpiirai latvian: 19 changes by lexuslatvia
2020-12-27Fix 65f65ad2: Missing path separator that fell over a cliff.Michael Lutz
2020-12-27Fix #6452: Reset only editable and visible settings from GUI (#7890)SamuXarick
Also enables the Reset button while in-game for AI configs.
2020-12-27Codechange: Use std::string in file scanners.Michael Lutz
2020-12-27Codechange: Keep filenames of loaded Fio files in std::strings.Michael Lutz
2020-12-27Codechange: Use automatic memory management for language pack reading.Michael Lutz
2020-12-27Codechange: Even more std::string usage in file IO.Michael Lutz
2020-12-27Codechange: Convert some more FIO functions to take std::string.Michael Lutz
2020-12-27Codechange: Use std::string in FIO search path handling.Michael Lutz
2020-12-27Codechange: Store file search paths as std::string.Michael Lutz