summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-17Fix 52317bb7: [SDL2] ensure we don't try to blit out of bounds (#8684)Patric Stout
During resizing, there can still be dirty-rects ready to blit based on the old dimensions. X11 with shared memory enabled crashes if you try to do this. So, instead, if we resize, reset the dirty-rects. This is fine, as moments later we mark the whole (new) screen as dirty anyway.
2021-02-16Fix: framerate window showed a slightly higher rate than actually measured ↵Patric Stout
(#8682) The first point was counted, but also initialized as "last". As such, it didn't add to "total", but did add to "count", which made the "count" 1 more than the total actually represents.
2021-02-16Update: Translations from eintstranslators
korean: 2 changes by telk5093 indonesian: 11 changes by dimaspaf14 russian: 2 changes by Ln-Wolf finnish: 3 changes by hpiirai french: 4 changes by glx22
2021-02-15Update: Translations from eintstranslators
korean: 2 changes by telk5093 german: 56 changes by Wuzzy2 finnish: 2 changes by hpiirai catalan: 2 changes by J0anJosep polish: 9 changes by yazalo
2021-02-15Fix: [Actions] Use vcpkg to provide libpng on macOSOwen Rudge
2021-02-15Add: Allow translation of "(Directory)" and "(Parent directory)"glx22
2021-02-14Fix: Stopped ships shouldn't block depots (#8578)Tyler Trahan
2021-02-14Feature: [GS] Allow non-question type windows to have no buttonsdP
2021-02-14Fix: VkMapping declarations violated C++ ODR rule.milek7
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 townname generator selection to mapgen GUI.frosch
2021-02-14Codechange: move non-GUI code to non-GUI source files.frosch
2021-02-14Codechange: turn a constant variable into a real constant.frosch
2021-02-14Codechange: minor rearrangement of settings in random map and heightmap GUI.frosch
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-14Doc: Add labels to landscape grid description. (#8452)Joan Josep
2021-02-14Update: Translations from eintstranslators
slovak: 13 changes by FuryPapaya catalan: 7 changes by J0anJosep french: 1 change by arikover
2021-02-14Add: [OSX] Automatic zoom level suggestion for Cocoa video driver.Michael Lutz
2021-02-14Add: [Win32] Automatic zoom level suggestion for Win32 video driver.Michael Lutz
The zoom level suggestion is based on the DPI scaling set in Windows. We use 150% scaling as the threshold for 2X zoom and 300% scaling as the threshold for 4X zoom.
2021-02-14Codechange: [Win32] Increase SDK version for 32-bit target.Michael Lutz
Use the same Windows XP target as for 64-bit. Current MSVC version will not produce a binary that works on anything earlier anyway.
2021-02-14Codechange: Re-init GUI zoom only when really changed.Michael Lutz
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-14Fix 9c872192: [OSX] Clear mouse button emulation flag.Michael Lutz
2021-02-14Add: [OSX] Setting to disable HiDPI graphics rendering.Michael Lutz
2021-02-14Change: [OSX] Render screen in full native resolution on HiDPI displays.Michael Lutz
2021-02-14Codechange: Consistently use screen size and not driver resolution for ↵Michael Lutz
determining window sizes.
2021-02-14Change: [OSX] When auto-detecting a font, try for sans-serif first.Michael Lutz
On a display, especially with small fonts or low pixel sizes, sans-serif fonts are usually easier to read than serif fonts.
2021-02-14Add: [OSX] Native font rendering without using FreeType.Michael Lutz
2021-02-14Codechange: Replace magic numbers by constants.Michael Lutz
2021-02-13Fix #8620: Scale spacing between date & news in history window according to ↵Charles Pigott
font scaling
2021-02-13Fix #8625: Wrong ending year was displayed in highscore tableCharles Pigott
2021-02-13Change: Make order window hotkeys toggle for load & unload variantsCharles Pigott
2021-02-13Cleanup: [OSX] Improve some comments.Michael Lutz
2021-02-13Codechange: [OSX] Remove unused 'app active' flag.Michael Lutz
2021-02-13Fix: [OSX] An emulated right mouse down event has to be followed by right ↵Michael Lutz
mouse up.
2021-02-13Codechange: [OSX] Use relative mouse handling during scrolling.Michael Lutz
2021-02-13Change: [OSX] Use a layer-backed view to speed up drawing.Michael Lutz
2021-02-13Codechange: [OSX] Align backing buffer pitch for a tiny bit performance.Michael Lutz
2021-02-13Cleanup: [OSX] Move event loop into video driver file.Michael Lutz
2021-02-13Remove: [OSX] Startup splash screen.Michael Lutz
It wasn't displayed anyway as it was never copied to the bundle.
2021-02-13Codechange: [OSX] Move key event handling to our view.Michael Lutz
2021-02-13Codechange: [OSX] Move mouse event handling to our NSView.Michael Lutz
2021-02-13Codechange: [OSX] Move some things from video driver to our NSView.Michael Lutz
2021-02-13Codechange: [OSX] Use newer mouse tracking API.Michael Lutz
2021-02-13Codechange: [OSX] Split drawing into its own subview.Michael Lutz
This allows the drawing backend code to be independent of any event or command handling.
2021-02-13Codechange: [OSX] Drain autoreleased objects in each game loop cycle.Michael Lutz
2021-02-13Codechange: [OSX] Split Window and back buffer creation in Cocoa video driver.Michael Lutz
2021-02-13Cleanup: [OSX] Doxygen comment style in video driver.Michael Lutz
2021-02-13Codechange: [OSX] Inline some functions that are used in only one place.Michael Lutz