Commit Graph

56932 Commits

Author SHA1 Message Date
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
Loïc Guilloux
5f2246eabf Fix 021c45c: [CMake] detection and use of nlohmann-json for emscripten (#11113) 2023-07-06 11:49:06 +02: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
a0666e31ed Merge pull request #567 from James103/patch-2
Fix a minor typo in the README.md
2023-07-05 09:16:17 +01:00
Jonathan G Rennison
0f63f9d637 Change length type of BytesToHexString 2023-07-05 08:46:01 +01:00
James103
7f123aaa22 Fix a minor typo in the README.md 2023-07-04 18:45:17 -05: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
Patric Stout
83b6512032 Fix d5a72193: [CI] downloading single artifact doesn't add folder to it (#11107) 2023-07-04 20:53:46 +00: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
Patric Stout
bc83974b38 Fix: [Emscripten] switch to URL for content-service that supports WebSocket (#11106)
In the old days, content.openttd.org and bananas-server.openttd.org
ended up on the same route. But with a recent migration, they do not.
content.openttd.org only serves the custom TCP protocol, and
bananas-server.openttd.org only serves the HTTP(S).

Websockets use HTTPS, and as such, should be routed via the latter.
2023-07-04 12:39:55 +00: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
merni-ns
96da5581ce Doc: Link to coding style in the repository itself and add Discord link in addition to IRC 2023-07-03 23:17:04 +02:00
merni-ns
f1a6f91235 Doc: Remove redundant <pre> 2023-07-03 23:17:04 +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