Commit Graph

43235 Commits

Author SHA1 Message Date
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
merni-ns
a8a4737c5b Fix #11096: Increase priority of error and confirmation windows (#11104) 2023-07-03 23:24:44 +02:00
Jonathan G Rennison
5ae5ac3701 Add missing includes to cargo_type.h 2023-07-03 21:21:15 +01:00
Jonathan G Rennison
b8bb0d820a Add missing includes to newgrf_config.h
See: #563
2023-07-03 21:16:20 +01:00
translators
bcaa60612e Update: Translations from eints
portuguese: 3 changes by azulcosta
2023-07-03 18:40:35 +00:00
Rubidium
af9b9327af Codechange: do not keep local variable for temporary string parameters 2023-07-03 18:08:03 +02:00
Rubidium
e04d43f396 Remove: now unused stredup 2023-07-03 18:08:03 +02:00
Rubidium
2ec4ea2b99 Codechange: use the string temporaries for game script strings 2023-07-03 18:08:03 +02:00
Rubidium
3e488465f8 Codechange: allow string temporaries in a StringParameter 2023-07-03 18:08:03 +02:00
Rubidium
78f5d58dc6 Codechange: use std::string without const as return
Otherwise some compilers, e.g. MSVC, do not pick up that these are temporaries
and as such it will pass the temporaries to `const std::string &` instead of
the wanted `std::string &&`
2023-07-03 18:08:03 +02:00
RoqueDeicide
733f53dc9a Merge branch 'tooltip_extension' into jgrpp 2023-07-03 19:59:29 +04:00
RoqueDeicide
736c650b6c [Change] Make town viewport tooltips functionally equivalent to town labels. 2023-07-03 19:14:27 +04:00
Rubidium
b2edf82b69 Cleanup: remove unneeded CopyOutDParam version with StringID 2023-07-03 06:56:08 +02:00
Rubidium
4654b2b0aa Codechange: separate integer and string usage in StringParameters 2023-07-03 06:56:08 +02:00
Jonathan G Rennison
51a66b9590 Link graph: Fix FlowStat::ScaleToMonthly scaling
Fixes: e1cce4d9
2023-07-03 01:14:57 +01:00
Rubidium
8b7c34d7d4 Codechange: use string parameter backps for the text effects 2023-07-03 00:00:12 +02:00
Rubidium
7ed90a859f Codechange: function to check whether string parameters have changed since the backup 2023-07-03 00:00:12 +02:00
Rubidium
05ef3f0998 Cleanup: remove old backup/restore of string parameters 2023-07-02 22:31:01 +02:00
Rubidium
6313b8a4cb Codechange: move errors over to the new StringParameterBackup type 2023-07-02 22:31:01 +02:00
Rubidium
0943402bab Codechange: move news over to the new StringParameterBackup type 2023-07-02 22:31:01 +02:00
Rubidium
f4a3032985 Codechange: move tooltip and query window over to the new StringParameterBackup type 2023-07-02 22:31:01 +02:00
Rubidium
2687704afc Codechange: introduce new type and functions for StringParameter backups 2023-07-02 22:31:01 +02:00
translators
26f3efb419 Update: Translations from eints
english (au): 2 changes by krysclarke
italian: 14 changes by Rivarossi
russian: 2 changes by Ln-Wolf
finnish: 2 changes by hpiirai
tamil: 8 changes by merni-ns
2023-07-02 18:39:30 +00:00