Commit Graph

50515 Commits (48498969eb65b049549be3cf68eedca6179619e0)
 

Author SHA1 Message Date
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.
4 years ago
TELK 7e3ca2163d Update: Korean translation for v0.40.2 4 years ago
Jonathan G Rennison 66b9e80315 Version: Committing version data for tag: jgrpp-0.40.2 4 years ago
Yourself 310bb876a2 Add: new town council "indifferent" attitude
Closes: #184
4 years ago
Jonathan G Rennison ed9410aba9 Debug: Add house population and mail generation to debug window 4 years ago
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.
4 years ago
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
4 years ago
Jonathan G Rennison 5cd3136170 Fix: Autorenew failure advice due to bad refit being shown to all companies 4 years ago
Jonathan G Rennison 0d385c9688 Use 3rd party optional wrapper, always use local verison on Apple 4 years ago
Jonathan G Rennison 6089347833 Revert "Cleanup: src/3rdparty/optional was removed, also remove its licensing note. (#8567)"
This reverts commit 516e863395.
4 years ago
Jonathan G Rennison aaeba6887c Revert "Cleanup: use std::optional instead of custom implementation."
This reverts commit 484ea62a62.
4 years ago
Jonathan G Rennison cb5cd11b9a Fix AddressSanitizer complaining about LanguagePack deleter
See: 024a3f62
4 years ago
Jonathan G Rennison 84eef99eaa MinGW std:🧵 suppress redundancy warning for non-debug builds
See: #216
4 years ago
Jonathan G Rennison 73be35340d Fix refreshing of vehicle panel from vehicle updates
Regression from vehicle grouping changes
4 years ago
Jonathan G Rennison 667ca4d0a7 Add help info for gfx_debug and viewport_debug console commands 4 years ago
Joan Josep b7a1750863 Doc: Add labels to landscape grid description. (#8452)
(cherry picked from commit a18188ae90)
4 years ago
Jonathan G Rennison 8fc4f13672 Fix train speed not being set to 0 for timetabled wait at waypoint orders 4 years ago
Jonathan G Rennison efe382b35a If realistic braking can't be enabled, show an extra viewport on the blocking signal 4 years ago
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
4 years ago
Owen Rudge d3b50b9c47 Fix: [Actions] Use vcpkg to provide libpng on macOS 4 years ago
Jonathan G Rennison aa85ebe51e Show warning icon in order window if there are timetable warnings 4 years ago
glx22 45e8b7a5bd Add: Allow translation of "(Directory)" and "(Parent directory)" 4 years ago
Tyler Trahan ce06b03fac
Fix: Stopped ships shouldn't block depots (#8578) 4 years ago
dP 91cc414588 Feature: [GS] Allow non-question type windows to have no buttons 4 years ago
milek7 751f595bb6 Fix: VkMapping declarations violated C++ ODR rule. 4 years ago
frosch 5a1fa18509 Change: move the 'road drive side' selection to settings tree, and give it the same 'basic' visibilty as 'signal side'. 4 years ago
frosch c71d0f5e7f Change: move townname generator selection to mapgen GUI. 4 years ago
frosch f513a807db Codechange: move non-GUI code to non-GUI source files. 4 years ago
frosch 4ce941bbc2 Codechange: turn a constant variable into a real constant. 4 years ago
frosch d17226910d Codechange: minor rearrangement of settings in random map and heightmap GUI. 4 years ago
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'. 4 years ago
Joan Josep a18188ae90
Doc: Add labels to landscape grid description. (#8452) 4 years ago
Jonathan G Rennison 2a0acd9d91 Fix viewport order lines with unconditional jump orders 4 years ago
Loïc Guilloux f06c16fda0 Fix 81d335b081: Use non-pulsating red highlight for coverage (#8622)
(cherry picked from commit b927da73c1)
4 years ago
translators 6b04b7cf18 Update: Translations from eints
slovak: 13 changes by FuryPapaya
catalan: 7 changes by J0anJosep
french: 1 change by arikover
4 years ago
Jonathan G Rennison f11dcb8478 Fix crash if AI attempts to set order flags of invalid vehicle's order
Fixes: 4c8b358f
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
Jonathan G Rennison fdeb75e3c8 Fix upgrading road bridge with opposite road/tram type producing broken ramp road bits 4 years ago