Michael Lutz
8bd2349ab6
Fix #8676 , a2c3197f
: GUI-visible settings may not be part of misc settings.
2021-02-17 21:01:21 +01:00
Michael Lutz
00c66e7096
Codechange: Allow early-load settings that are not misc settings.
2021-02-17 21:01:21 +01:00
translators
8f5b8fd769
Update: Translations from eints
...
german: 2 changes by Wuzzy2
slovak: 5 changes by FuryPapaya
dutch: 4 changes by LouisDeconinck
spanish: 1 change by MontyMontana
2021-02-17 18:54:08 +00:00
Patric Stout
6de188d025
Fix 52317bb7
: [SDL2] ensure we don't try to blit out of bounds ( #8684 )
...
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-17 14:06:12 +01:00
Patric Stout
7bdb2e79ed
Fix: framerate window showed a slightly higher rate than actually measured ( #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-16 20:37:58 +01:00
translators
c9bcc12265
Update: Translations from eints
...
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-16 19:01:08 +00:00
translators
db246b82ac
Update: Translations from eints
...
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-15 19:01:52 +00:00
Owen Rudge
d3b50b9c47
Fix: [Actions] Use vcpkg to provide libpng on macOS
2021-02-15 12:10:11 +00:00
glx22
45e8b7a5bd
Add: Allow translation of "(Directory)" and "(Parent directory)"
2021-02-15 00:08:37 +01:00
Tyler Trahan
ce06b03fac
Fix: Stopped ships shouldn't block depots ( #8578 )
2021-02-14 23:42:29 +01:00
dP
91cc414588
Feature: [GS] Allow non-question type windows to have no buttons
2021-02-14 23:21:43 +01:00
milek7
751f595bb6
Fix: VkMapping declarations violated C++ ODR rule.
2021-02-14 23:19:50 +01:00
frosch
5a1fa18509
Change: move the 'road drive side' selection to settings tree, and give it the same 'basic' visibilty as 'signal side'.
2021-02-14 23:14:07 +01:00
frosch
c71d0f5e7f
Change: move townname generator selection to mapgen GUI.
2021-02-14 23:14:07 +01:00
frosch
f513a807db
Codechange: move non-GUI code to non-GUI source files.
2021-02-14 23:14:07 +01:00
frosch
4ce941bbc2
Codechange: turn a constant variable into a real constant.
2021-02-14 23:14:07 +01:00
frosch
d17226910d
Codechange: minor rearrangement of settings in random map and heightmap GUI.
2021-02-14 23:14:07 +01:00
frosch
81e47277e7
Change: move the 'tree placer algorithm' selection to the settings tree window, and give it the same 'basic' visibility as 'in-game tree placement'.
2021-02-14 23:14:07 +01:00
Joan Josep
a18188ae90
Doc: Add labels to landscape grid description. ( #8452 )
2021-02-14 23:09:01 +01:00
translators
6b04b7cf18
Update: Translations from eints
...
slovak: 13 changes by FuryPapaya
catalan: 7 changes by J0anJosep
french: 1 change by arikover
2021-02-14 19:01:09 +00:00
Michael Lutz
8d780e0607
Add: [OSX] Automatic zoom level suggestion for Cocoa video driver.
2021-02-14 14:16:40 +01:00
Michael Lutz
f175e38666
Add: [Win32] Automatic zoom level suggestion for Win32 video driver.
...
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-14 14:16:40 +01:00
Michael Lutz
f137b3057a
Codechange: [Win32] Increase SDK version for 32-bit target.
...
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-14 14:16:40 +01:00
Michael Lutz
33099355b8
Codechange: Re-init GUI zoom only when really changed.
2021-02-14 14:16:40 +01:00
Michael Lutz
22f5aeab07
Feature: Automatic UI and font zoom levels when supported by the OS.
2021-02-14 14:16:40 +01:00
Michael Lutz
a2c3197f42
Codechange: Make the settings for min/max zoom early load settings.
2021-02-14 14:16:40 +01:00
Michael Lutz
f5555a6d26
Fix 9c872192
: [OSX] Clear mouse button emulation flag.
2021-02-14 12:58:45 +01:00
Michael Lutz
e5c3253642
Add: [OSX] Setting to disable HiDPI graphics rendering.
2021-02-14 11:50:18 +01:00
Michael Lutz
0fc763bc55
Change: [OSX] Render screen in full native resolution on HiDPI displays.
2021-02-14 11:50:18 +01:00
Michael Lutz
8906e9e0fd
Codechange: Consistently use screen size and not driver resolution for determining window sizes.
2021-02-14 11:50:18 +01:00
Michael Lutz
b66e977acd
Change: [OSX] When auto-detecting a font, try for sans-serif first.
...
On a display, especially with small fonts or low pixel sizes, sans-serif
fonts are usually easier to read than serif fonts.
2021-02-14 11:48:58 +01:00
Michael Lutz
6755ff63e1
Add: [OSX] Native font rendering without using FreeType.
2021-02-14 11:48:58 +01:00
Michael Lutz
21a2cd7bc3
Codechange: Replace magic numbers by constants.
2021-02-14 11:48:58 +01:00
Charles Pigott
8121706b89
Fix #8620 : Scale spacing between date & news in history window according to font scaling
2021-02-13 22:15:25 +00:00
Charles Pigott
2b08f21625
Fix #8625 : Wrong ending year was displayed in highscore table
2021-02-13 22:15:16 +00:00
Charles Pigott
f1fc083f2b
Change: Make order window hotkeys toggle for load & unload variants
2021-02-13 22:14:58 +00:00
Michael Lutz
acca56b6a5
Cleanup: [OSX] Improve some comments.
2021-02-13 22:21:17 +01:00
Michael Lutz
c78e559e88
Codechange: [OSX] Remove unused 'app active' flag.
2021-02-13 22:21:17 +01:00
Michael Lutz
9c8721922b
Fix: [OSX] An emulated right mouse down event has to be followed by right mouse up.
2021-02-13 22:21:17 +01:00
Michael Lutz
649ff5f9f9
Codechange: [OSX] Use relative mouse handling during scrolling.
2021-02-13 22:21:17 +01:00
Michael Lutz
43326d11d8
Change: [OSX] Use a layer-backed view to speed up drawing.
2021-02-13 22:21:17 +01:00
Michael Lutz
2a8c3a2cf6
Codechange: [OSX] Align backing buffer pitch for a tiny bit performance.
2021-02-13 22:21:17 +01:00
Michael Lutz
94b76ce9a4
Cleanup: [OSX] Move event loop into video driver file.
2021-02-13 22:21:17 +01:00
Michael Lutz
23389e9491
Remove: [OSX] Startup splash screen.
...
It wasn't displayed anyway as it was never copied to the bundle.
2021-02-13 22:21:17 +01:00
Michael Lutz
063b90b97d
Codechange: [OSX] Move key event handling to our view.
2021-02-13 22:21:17 +01:00
Michael Lutz
f4bd54fedd
Codechange: [OSX] Move mouse event handling to our NSView.
2021-02-13 22:21:17 +01:00
Michael Lutz
bd42fc94cc
Codechange: [OSX] Move some things from video driver to our NSView.
2021-02-13 22:21:17 +01:00
Michael Lutz
965ce12947
Codechange: [OSX] Use newer mouse tracking API.
2021-02-13 22:21:17 +01:00
Michael Lutz
42af13c141
Codechange: [OSX] Split drawing into its own subview.
...
This allows the drawing backend code to be independent
of any event or command handling.
2021-02-13 22:21:17 +01:00
Michael Lutz
60f30036f1
Codechange: [OSX] Drain autoreleased objects in each game loop cycle.
2021-02-13 22:21:17 +01:00