Commit Graph

42807 Commits

Author SHA1 Message Date
Patric Stout
97138acc8a Codechange: make date-related variables constexpr (#11129)
This hints the compiler even more to result math-related questions
compile-time.
2023-07-12 13:15:24 +00:00
Jonathan G Rennison
8499e85560 Merge PR #571 into jgrpp 2023-07-11 20:00:03 +01:00
TELK
8af5502af2 Update: Korean translation up to 1b80a1a 2023-07-11 19:12:20 +09:00
TELK
7eaeb7829d Update: Korean translation up to 7ffc9c9 2023-07-11 19:12:20 +09:00
Jonathan G Rennison
1b80a1a99b Fix: Build road/tram stop windows did not set WindowDesc::ini_key
Saved default window sizes were not persisted in the configuration file
2023-07-10 20:45:37 +01:00
Jonathan G Rennison
8c430f6a12 Fix MP desync caused by incorrect FlowStat::ScaleToMonthly scaling
Fixes: 51a66b95
2023-07-10 20:21:27 +01:00
translators
d3181375a4 Update: Translations from eints
danish: 2 changes by bscargo
french: 2 changes by Lishouuu
2023-07-09 18:39:28 +00:00
Jonathan G Rennison
f6e8ea059d Create fio wrapper for rename file 2023-07-09 12:43:21 +01:00
Jonathan G Rennison
29ab21967a Don't mark timetable window dirty after closing it 2023-07-09 12:21:55 +01:00
PeterN
277e80abb5 Fix: GRF Parameters not displayed due to scope issue. (#10911)
Move params so it is still in scope when the text is actually drawn.

(cherry picked from commit a5a3a07005)
2023-07-09 11:48:01 +01:00
Jonathan G Rennison
c6c69fa3da Add setting for long-term autosaves
A second set of autosaves for whenever the main set wraps around to 0
2023-07-09 10:02:57 +01:00
Jonathan G Rennison
688dcc1d74 Add Windows wrapper for rename function 2023-07-09 09:39:24 +01:00
translators
a54c28f2c3 Update: Translations from eints
polish: 3 changes by pAter-exe
2023-07-08 18:39:43 +00:00
Jonathan G Rennison
126b31a744 Improve colouring of restricted signal posts with original TTD graphics 2023-07-08 19:12:39 +01:00
Loïc Guilloux
119ac66c5c Fix: [Bootstrap] don't crash when failing to connect to content server (#11122) 2023-07-08 14:54:39 +00:00
Jonathan G Rennison
0d6940e4ca Disable survey unless survey key is defined 2023-07-08 09:47:46 +01:00
translators
bd91d249ea Update: Translations from eints
dutch: 3 changes by Afoklala
2023-07-07 18:41:15 +00:00
Rubidium
da21772f2d Fix #11108, e2f583a: missing argument for SCC_CARGO_SHORT formatting
(cherry picked from commit 968de827d6)
2023-07-07 17:43:02 +01:00
Jonathan G Rennison
7ffc9c9339 Merge PR #568 into jgrpp 2023-07-07 17:40:28 +01:00
translators
b2ccc19f2d Update: Translations from eints
vietnamese: 2 changes by KhoiCanDev
2023-07-06 18:40:33 +00:00
Rubidium
18a31cca7c Codechange: do not make a string valid in place, to then copy it 2023-07-06 19:59:50 +02:00
Rubidium
b958a343fe Codechange: the templated StrMakeValidInPlace is not in place 2023-07-06 19:59:41 +02:00
Rubidium
968de827d6 Fix #11108, e2f583a: missing argument for SCC_CARGO_SHORT formatting 2023-07-06 19:46:54 +02:00
RoqueDeicide
c57bfa479a [Feature] Added waypoint viewport tooltips. 2023-07-06 14:53:09 +04:00
RoqueDeicide
e612bbeae1 [Fix] Don't show station viewport tooltip when hovering over anything other then a normal station (such as a waypoint). 2023-07-06 14:52:19 +04:00
Jonathan G Rennison
77e1a3b163 Fix using default graphics for all signals when using original TTD baseset 2023-07-06 00:09:30 +01:00
Jonathan G Rennison
ca631b79c2 Fix crash which could occur when reloading NewGRFs on main menu 2023-07-05 23:55:10 +01:00
translators
9f28da4e33 Update: Translations from eints
tamil: 3 changes by merni-ns
2023-07-05 18:42:59 +00:00
Jonathan G Rennison
0f63f9d637 Change length type of BytesToHexString 2023-07-05 08:46:01 +01:00
Jonathan G Rennison
f3adb13e34 Re-arrange translation files 2023-07-04 23:53:23 +01:00
Jonathan G Rennison
b487cb6605 Merge PR #564 into jgrpp 2023-07-04 23:51:33 +01:00
Jonathan G Rennison
3e03cebad1 Simplify industry_tooltip_show_stockpiled setting
See: #564
2023-07-04 23:50:53 +01:00
Jonathan G Rennison
5d7721a2d4 Fix handling of free wagons in depot tooltip
See: #564
2023-07-04 23:49:50 +01:00
Jonathan G Rennison
359ba9de68 String handling adjustments for PR #564 2023-07-04 23:49:50 +01:00
translators
48f25427bc Update: Translations from eints
english (us): 15 changes by 2TallTyler
korean: 2 changes by telk5093
german: 41 changes by Wuzzy2
portuguese (brazilian): 2 changes by pasantoro
2023-07-04 18:43:15 +00:00
Patric Stout
27f305696c Fix: disable hardware acceleration when GPU driver crashed the game last attempt (#10928)
(cherry picked from commit 0e56a73fb8)
2023-07-04 19:01:52 +01:00
Jonathan G Rennison
0cb7e253e9 Change fmt include in debug_fmt.h 2023-07-04 19:01:52 +01:00
Jonathan G Rennison
ee5272dc4e Crashlog: Fix font logging 2023-07-04 19:01:52 +01:00
Koen Bussemaker
381fa36450 Change: Autorail / autoroad tools can start dragging from invalid tiles 2023-07-04 14:08:32 +02:00
RoqueDeicide
84e5aba1d7 [Change] Reworked stockpile settings into 1 dropdown. 2023-07-04 11:11:59 +04:00
RoqueDeicide
cadb2f3afc [Change] Added ability for detailed depot viewport tooltips to show single lines, if possible. Made some suggested adjustments. 2023-07-04 08:49:18 +04:00
RoqueDeicide
f01112f3fe Merge branch 'JGRennison:jgrpp' into jgrpp 2023-07-04 07:59:38 +04:00
Rubidium
978c83e13d Fix: false positive warning in fmt library (backport ef55d4f of upstream fmt)
(cherry picked from commit 10e12154f5)
2023-07-04 00:31:19 +01:00
Niels Martin Hansen
f55027a8f4 Fix: Layouter not taking stripped formatting codes into account when mapping visual coordinates to/from original string
(cherry picked from commit 103d88ee33)
2023-07-04 00:30:21 +01:00
Niels Martin Hansen
1793a5881d Fix: Layouter::GetCharAtPosition counting wrong
Bug introduced in commit 60399e

(cherry picked from commit ed3f14686d)
2023-07-04 00:30:12 +01:00
Rubidium
78d28d432b Codechange: allocate enough memory to layout the strings
(cherry picked from commit 96fef9f643)
2023-07-04 00:30:02 +01:00
Jonathan G Rennison
1e5bc2c12b Merge branch 'master' into jgrpp 2023-07-04 00:26:00 +01:00
Jonathan G Rennison
d75c489466 Add various missing includes 2023-07-03 23:44:54 +01:00
Jonathan G Rennison
c0d47da4a7 Add missing includes to town_type.h, network_survey.h, pool_type.hpp 2023-07-03 23:15:04 +01:00
Jonathan G Rennison
0bf41dc1ff Change gamelog to use std::vector
Move LoadCheckData to its own header
2023-07-03 22:42:59 +01:00