Commit Graph

53590 Commits

Author SHA1 Message Date
Jonathan G Rennison
ba3bc73676 VarAction2: Fix memory leak of inlinable adjust groups 2022-11-03 20:23:31 +00:00
Jonathan G Rennison
51b39b68b7 VarAction2: Fix technical undefined behaviour advancing iterator
Fixes error when using debug mode containers
2022-11-03 19:54:53 +00:00
Jonathan G Rennison
f4ff9c1d82 strgen: Exit early in LanguageFileWriter::Write if length is 0
Avoids warnings about passing a nullptr to fwrite
2022-11-03 19:18:07 +00:00
Jonathan G Rennison
fb67adbd82 Fix assert macro on Apple/clang when using default cmake build 2022-11-03 19:00:25 +00:00
Jonathan G Rennison
9abc6f9aec Comment out additional include of <cassert>
Reapplies part of 22c3a010
2022-11-03 18:58:24 +00:00
Jonathan G Rennison
206a853a7f Fix WITH_FULL_ASSERTS being defined when all asserts disabled 2022-11-03 18:41:04 +00:00
Jonathan G Rennison
4b08874583 Only show edge level crossing overlays even when safer crossings is off 2022-11-03 00:57:47 +00:00
Jonathan G Rennison
49bda05fb5 Set adjacent crossings setting to false when loading pre v300 trunk savegames 2022-11-03 00:57:47 +00:00
Jonathan G Rennison
652d6c8181 Crashlog: Windows: Handle negative address offsets from BFD symbol 2022-11-03 00:57:47 +00:00
Jonathan G Rennison
60ed858707 Fix handling of printf format specifiers on MinGW
See: #446
2022-11-03 00:57:47 +00:00
Jonathan G Rennison
aba8e88d8c Enable loading of upstream savegames up to version 302 2022-11-02 18:46:24 +00:00
Jonathan G Rennison
94de25ec10 Fix changing town zone settings not updating town zone radii
This could cause MP desyncs
2022-11-01 18:17:27 +00:00
Jonathan G Rennison
95a646d09b Fix #449: Town setting override not being allowed for MP admins
When the setting to enable for clients was not enabled
2022-10-31 18:59:08 +00:00
Jonathan G Rennison
0f697c5501 CheckNextTrainTile should never take action for OT_WAITING orders 2022-10-30 14:11:03 +00:00
Jonathan G Rennison
6ac311d71e Debug: Show type of current order in vehicle debug info 2022-10-30 14:09:50 +00:00
Jonathan G Rennison
0f852c32d6 Merge PR #444 into jgrpp 2022-10-28 20:14:35 +01:00
Jonathan G Rennison
a70efbac03
Merge pull request #445 from telk5093/jgrpp
Update: Korean translation up to 0.49.0
2022-10-28 20:12:28 +01:00
TELK
e564aa81c4 Update: Korean translation up to 0.49.0 2022-10-28 20:05:25 +09:00
pvillaverde
5ee7e35a52 [Feat] Updated Galician translations up to v0.49.0 2022-10-28 08:48:58 +02:00
Jonathan G Rennison
41b9d74280 Version: Committing version data for tag: jgrpp-0.49.0 2022-10-28 00:10:39 +01:00
Jonathan G Rennison
23ef1364d0 Revert "Disable OSX touchbar support, fixes #358"
This reverts commit 29126619a3.
2022-10-27 23:49:12 +01:00
Jonathan G Rennison
bf82ace0c5 Debug: Dump full contents of tile layout sprite groups
Fix parent/child type of register dumping
2022-10-26 23:33:44 +01:00
Jonathan G Rennison
f41624d7b2 VarAction2: Fix parent/child type of sprite register analysis 2022-10-26 23:33:44 +01:00
Tyler Trahan
9feebe72ca Fix a394be2: Spell Maintenance correctly (#10097)
(cherry picked from commit 1e3e30c096)
2022-10-26 21:43:57 +01:00
Jonathan G Rennison
5135e03539 Order window: Add button to toggle order management button 2022-10-24 18:52:23 +01:00
Jonathan G Rennison
c9fd160b7b Change show_order_management_button setting to default off 2022-10-24 18:23:51 +01:00
Jonathan G Rennison
a8361cd608 Allow overriding town settings on a per-town basis
Add a setting for whether this is allowed for non-privileged
multiplayer clients
2022-10-23 22:07:51 +01:00
Jonathan G Rennison
e1defedb2a Remove colour filter assert from FontState::PopColour 2022-10-23 22:01:24 +01:00
Jonathan G Rennison
e6e9a0c2f3 Show cost/income float over end tile of rail or road construction 2022-10-22 19:56:41 +01:00
Jonathan G Rennison
ff0b3ca9be Merge branch 'master' into jgrpp
# Conflicts:
#	src/landscape.cpp
2022-10-22 19:55:03 +01:00
Jonathan G Rennison
29a1e49c28 Change various asserts to not be included in release builds 2022-10-22 12:34:54 +01:00
Jonathan G Rennison
071ac374e8 Add assert macros for asserts not included in release builds 2022-10-22 12:34:49 +01:00
Tyler Trahan
4daad7f348 Change: Don't make wide rivers using original landscape generator 2022-10-22 12:16:56 +02:00
Henry Wilson
a394be2780 Feature: Airport construction GUI displays infrastructure cost 2022-10-22 12:16:46 +02:00
Jonathan G Rennison
38571cf0da Merge branch 'master' into jgrpp
# Conflicts:
#	src/landscape.cpp
#	src/lang/frisian.txt
#	src/lang/korean.txt
#	src/lang/russian.txt
2022-10-22 10:08:16 +01:00
translators
30ff89cac0 Update: Translations from eints
frisian: 33 changes by Bouke
spanish (mexican): 10 changes by absay
english (us): 4 changes by 2TallTyler
korean: 7 changes by telk5093
dutch: 3 changes by Afoklala
2022-10-21 19:00:44 +00:00
Tyler Trahan
664771d085 Feature: Wide rivers 2022-10-20 21:17:35 +02:00
translators
520520c11c Update: Translations from eints
frisian: 82 changes by Bouke
russian: 10 changes by Ln-Wolf
portuguese: 3 changes by azulcosta
2022-10-20 19:08:43 +00:00
glx22
87d1bd895a Fix f6530f3c2: [Actions] set-output was not correctly converted 2022-10-20 19:22:01 +02:00
glx22
8ffe59373f Update: [Actions] use annotation-check v3 2022-10-20 19:22:01 +02:00
Loïc Guilloux
f6530f3c2d
Codechange: [Actions] set-output is deprecated (#10089) 2022-10-19 21:05:11 +02:00
Jonathan G Rennison
4c01fe2e7f Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/russian.txt
#	src/linkgraph/linkgraph_gui.cpp
#	src/news_gui.cpp
#	src/town_cmd.cpp
#	src/town_gui.cpp
2022-10-19 18:35:35 +01:00
Jonathan G Rennison
3e0475b920 Fix crash if GS is removed when GS settings window is open 2022-10-18 22:02:15 +01:00
Nicolas Chappe
864771ca09 Feature: [Linkgraph] Show a tooltip with statistics when hovering a link 2022-10-18 22:03:39 +02:00
Nicolas Chappe
7c79a2a767 Change: Do not generate hover events at each frame 2022-10-18 22:03:39 +02:00
Nicolas Chappe
e660860d4b Codechange: Simplify logic of mouse loop 2022-10-18 22:03:39 +02:00
Nicolas Chappe
65530a76f6 Codechange: Allow use of SetDParam for tooltips 2022-10-18 22:03:39 +02:00
Bouke Haarsma
93d2d4590f Fix #9995: Adjust viewport zoom level for HiDPI displays
On HiDPI screens the zoom level is increased for detailed rendering. This causes hard-coded zoom levels to be off by this adjustment. To fix these default zoom levels, we scale the zoom level based on `_gui_zoom` to get the scaled zoom level.
2022-10-18 22:03:21 +02:00
Tyler Trahan
47a998fb0c Feature: Towns don't build parallel, redundant bridges 2022-10-18 22:02:45 +02:00
translators
252111512f Update: Translations from eints
frisian: 17 changes by Bouke
english (au): 1 change by krysclarke
russian: 1 change by Ln-Wolf
dutch: 4 changes by Bouke
portuguese: 4 changes by azulcosta
2022-10-18 19:05:11 +00:00