summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-06Fix #8168: allow relocating of HQ partial over existing HQ (#8510)Patric Stout
Just in case you want to move it SLIGHTLY to the right.
2021-01-06Change: towns can now bridge 4 rails (up from 3)Patric Stout
Having 4 rails is a pretty common design, and towns now couldn't bridge out of this common design.
2021-01-06Feature: Make maximum length of town bridges depend on population.Didac Perez Parera
2021-01-06Update: Translations from eintstranslators
polish: 7 changes by yazalo
2021-01-05Change: move "give money" from client-list to company windowPatric Stout
This is a much better location for this button, as you send money from one company to another company, not from player to player. This is based on work done by JGRPP in: https://github.com/JGRennison/OpenTTD-patches/commit/f82054339124cc6b89c5f4f9dac2d9da62f0108b and surrounding commits, which took the work from estys: https://www.tt-forums.net/viewtopic.php?p=1183311#p1183311 We did modify it to fix several bugs and clean up the code while here anyway. The callback was removed, as it meant a modified client could prevent anyone from seeing money was transfered. The message is now generated in the command itself, making that impossible.
2021-01-05Fix: make the "password" button the same size as the other buttons in ↵Patric Stout
Company window Currently password-lock icon + button was the same size, but this looks really weird. Now they are in sync, even with other fonts and languages.
2021-01-05Codechange: fix alignment of Company GUIPatric Stout
Code acted as if WWT_TEXT starts a scope; it does not.
2021-01-05Fix: change all Company planes on paint, not only the first that needs changingPatric Stout
Otherwise it can take a few OnPaint() calls before all planes are set correctly when switching companies.
2021-01-05Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497)Patric Stout
When a vehicle is cleaned up, all news that points to the news is also removed. This was a bit evil, as it would also remove any news related to crashed, acting like the crash never happened. This left players a bit in the dark what was going on exactly.
2021-01-05Update: Translations from eintstranslators
persian: 24 changes by alisaffari97
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] CMake source group for OSX files.Michael Lutz
This separates the OSX specific files into a proper folder when generating Xcode project files.
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-02Doc: indicate where to find an excellent tutorial on using CMake (#8475)Patric Stout
2021-01-02Change: Default settings improved for new players2TallTyler
2021-01-02Add: [CMake] Explicitly support txz for Arch LinuxCharles Pigott
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-02Codechange: [OSX] Prevent the compiler from using SSE4 instructions unless ↵Michael Lutz
we want to. This improves compatibility on older systems. We don't need to disable anything older, as there are no SSE2-only Macs.
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