translators
6b04b7cf18
Update: Translations from eints
...
slovak: 13 changes by FuryPapaya
catalan: 7 changes by J0anJosep
french: 1 change by arikover
4 years ago
Michael Lutz
8d780e0607
Add: [OSX] Automatic zoom level suggestion for Cocoa video driver.
4 years ago
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.
4 years ago
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.
4 years ago
Michael Lutz
33099355b8
Codechange: Re-init GUI zoom only when really changed.
4 years ago
Michael Lutz
22f5aeab07
Feature: Automatic UI and font zoom levels when supported by the OS.
4 years ago
Michael Lutz
a2c3197f42
Codechange: Make the settings for min/max zoom early load settings.
4 years ago
Michael Lutz
f5555a6d26
Fix 9c872192: [OSX] Clear mouse button emulation flag.
4 years ago
Michael Lutz
e5c3253642
Add: [OSX] Setting to disable HiDPI graphics rendering.
4 years ago
Michael Lutz
0fc763bc55
Change: [OSX] Render screen in full native resolution on HiDPI displays.
4 years ago
Michael Lutz
8906e9e0fd
Codechange: Consistently use screen size and not driver resolution for determining window sizes.
4 years ago
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.
4 years ago
Michael Lutz
6755ff63e1
Add: [OSX] Native font rendering without using FreeType.
4 years ago
Michael Lutz
21a2cd7bc3
Codechange: Replace magic numbers by constants.
4 years ago
Charles Pigott
8121706b89
Fix #8620 : Scale spacing between date & news in history window according to font scaling
4 years ago
Charles Pigott
2b08f21625
Fix #8625 : Wrong ending year was displayed in highscore table
4 years ago
Charles Pigott
f1fc083f2b
Change: Make order window hotkeys toggle for load & unload variants
4 years ago
Michael Lutz
acca56b6a5
Cleanup: [OSX] Improve some comments.
4 years ago
Michael Lutz
c78e559e88
Codechange: [OSX] Remove unused 'app active' flag.
4 years ago
Michael Lutz
9c8721922b
Fix: [OSX] An emulated right mouse down event has to be followed by right mouse up.
4 years ago
Michael Lutz
649ff5f9f9
Codechange: [OSX] Use relative mouse handling during scrolling.
4 years ago
Michael Lutz
43326d11d8
Change: [OSX] Use a layer-backed view to speed up drawing.
4 years ago
Michael Lutz
2a8c3a2cf6
Codechange: [OSX] Align backing buffer pitch for a tiny bit performance.
4 years ago
Michael Lutz
94b76ce9a4
Cleanup: [OSX] Move event loop into video driver file.
4 years ago
Michael Lutz
23389e9491
Remove: [OSX] Startup splash screen.
...
It wasn't displayed anyway as it was never copied to the bundle.
4 years ago
Michael Lutz
063b90b97d
Codechange: [OSX] Move key event handling to our view.
4 years ago
Michael Lutz
f4bd54fedd
Codechange: [OSX] Move mouse event handling to our NSView.
4 years ago
Michael Lutz
bd42fc94cc
Codechange: [OSX] Move some things from video driver to our NSView.
4 years ago
Michael Lutz
965ce12947
Codechange: [OSX] Use newer mouse tracking API.
4 years ago
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.
4 years ago
Michael Lutz
60f30036f1
Codechange: [OSX] Drain autoreleased objects in each game loop cycle.
4 years ago
Michael Lutz
8aaf4ea098
Codechange: [OSX] Split Window and back buffer creation in Cocoa video driver.
4 years ago
Michael Lutz
0eff7de659
Cleanup: [OSX] Doxygen comment style in video driver.
4 years ago
Michael Lutz
8ced72ab10
Codechange: [OSX] Inline some functions that are used in only one place.
4 years ago
Michael Lutz
13134f9d64
Codechange: [OSX] Replace #define with modern code.
4 years ago
Michael Lutz
88f6c7a9f3
Codechange: [OSX] Fold remaining Cocoa video subdriver into the main driver.
4 years ago
Michael Lutz
e6bea3961f
Change: [OSX] Replace screen resolution list with suggested window sizes.
...
We never change the real screen resolution on OSX. As such, offering a list
of resolutions is pointless. Instead of that, offer the user a list of
commonly used window sizes up to the current screen size.
4 years ago
Michael Lutz
4db7837d06
Codechange: [OSX] There is only one subdriver left, remove virtual dispatch.
4 years ago
Michael Lutz
63ed3f3575
Codechange: Move Fontconfig-specific code to a seperate file.
4 years ago
Michael Lutz
f2294851e6
Codechange: [OSX] Move OSX-specific font code to a separate file.
4 years ago
Michael Lutz
c6af8f16f6
Codechange: [Win32] Move Win32-specific font code to a seperate file.
4 years ago
Michael Lutz
5ad1640984
Codechange: Make OS font handle of the FontCache read-only.
4 years ago
Michael Lutz
2b0200d429
Codechange: OS-specific data for font search is not used outside of searching.
4 years ago
Michael Lutz
84636fc2af
Codechange: Remove all remaining uses of cpp_offset.
4 years ago
Michael Lutz
7845434270
Codechange: Don't use cpp_offsetof in the save/load code.
...
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.
4 years ago
Michael Lutz
9c9292949f
Codechange: Don't use cpp_offsetof in the TTO/TTD savegame loader.
...
Many of the member variables that are used in the oldloader 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.
4 years ago
translators
0f621b4956
Update: Translations from eints
...
portuguese (brazilian): 36 changes by AKANexus
4 years ago
SamuXarick
36ab9c64ef
Fix: Desert/rainforest data coordinate 'y' is off by 1 when their 'x' coordinate is negative
4 years ago
Charles Pigott
d9df20d102
Change: Use a more specific error message when attempting to bulldoze your own HQ
4 years ago
glx22
348f322df1
Fix f1f281b31: [Win32] MinGW doesn't know timeapi.h
4 years ago