Commit Graph

55517 Commits

Author SHA1 Message Date
Jonathan G Rennison
fdcfa7318b Version: Committing version data for tag: jgrpp-0.54.1 2023-06-11 17:59:47 +01:00
Jonathan G Rennison
d9e7d2a7fd MacOS: Fix OSX deployment target in CMake and ci-build 2023-06-11 17:58:41 +01:00
Jonathan G Rennison
7a9cf87ff8 Windows: Add fallback for DoOSAbort implementation 2023-06-11 17:04:15 +01:00
Jonathan G Rennison
aa8b60da15 Crashlog: Fix crash log when font caches not initialised 2023-06-11 16:48:01 +01:00
Jonathan G Rennison
417abcccff Windows: Handle abort exception in VectoredExceptionHandler
To make sure that it is definitely handled
2023-06-11 16:47:01 +01:00
Jonathan G Rennison
cca7c0ef0a Windows: Don't call abort, use RaiseException directly 2023-06-11 16:46:12 +01:00
Jonathan G Rennison
cb6f6f94e6 Fix string handling error in OTTDStringCompare Windows implementation
See: #542
2023-06-11 15:26:54 +01:00
Jonathan G Rennison
b7ffa1e0fb Unconditionally use custom handler for asserts 2023-06-11 14:34:54 +01:00
Jonathan G Rennison
e4d97c10c7 Version: Committing version data for tag: jgrpp-0.54.0 2023-06-11 12:34:33 +01:00
Jonathan G Rennison
ec4d9e8459 Merge PR #532 into jgrpp 2023-06-11 10:57:22 +01:00
TELK
afccf11bfa Update: Korean translation up to dd69339 2023-06-11 09:36:23 +09:00
TELK
7a203a52ea Update: Korean translation for 2a5a9c2 2023-06-11 09:36:23 +09:00
TELK
7e3e95d1aa Update: Korean translation for 61e9c30 2023-06-11 09:36:23 +09:00
TELK
07c4ed3f18 Update: Korean translation up to 5615cee 2023-06-11 09:36:23 +09:00
Jonathan G Rennison
7084b97a5d Add NewGRF extension feature for more stations per GRF 2023-06-11 00:10:26 +01:00
translators
dd69339bc7 Update upstream language files to 2097719f 2023-06-10 17:10:37 +01:00
PeterN
1696ef6446 Fix: Don't restore backed up vehicle name if it's no longer unique. (#10979)
(cherry picked from commit 2097719f26)
2023-06-10 16:42:22 +01:00
merni-ns
e1cb4d2397 Fix #10975: Clear a non-head engine's name (#10976)
(cherry picked from commit 1be668c2e4)
2023-06-10 16:42:22 +01:00
Patric Stout
2618179664 Fix: Wayland crash on startup due to Pango also using FontConfig (#10916)
Basically, we haven't been a good neighbour. Turns out you shouldn't
actually call FcFini when you are done, as some library might still
want to use FontConfig. And they use a shared instance for their
administration.

The idea is that you call FcInit once, and use FcConfigReference
after that to get an instance, you can release. This entry is
ref-counted, and things happen automatically based on that.

At least, I think.

(cherry picked from commit cd751a598a)
2023-06-10 16:42:22 +01:00
PeterN
ed3759eef7 Fix: Land info window maximum width was not scaled. (#10894)
(cherry picked from commit 1ff0dc11d8)
2023-06-10 16:42:22 +01:00
Patric Stout
19a6846cb6 Codechange: initialize all values of ICURun on construction (#10892)
(cherry picked from commit 0302e6f168)
2023-06-10 16:42:22 +01:00
Loïc Guilloux
391b80d59a Fix: Check max member count in squirrel classes (#10883)
Manual cherry-pick from 23a0620658

(cherry picked from commit c880157518)
2023-06-10 16:42:22 +01:00
PeterN
8034609368 Fix: Ask FontConfig for the face index when opening fonts. (#10878)
This allows selection of the correct face in truetype fonts containing
multiple faces.

(cherry picked from commit 876871157f)
2023-06-10 16:42:22 +01:00
PeterN
ac420f208c Change: Cargo flow legend only shows defined cargo. (#10872)
This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.

(cherry picked from commit 702194cfef)
2023-06-10 16:42:22 +01:00
Jonathan G Rennison
08030e1b8a Add hotkey for convert rail type by track piece 2023-06-10 10:21:33 +01:00
Jonathan G Rennison
ccdca8ae52 Add setting to increase size of main toolbar 2023-06-09 19:21:28 +01:00
Jonathan G Rennison
36e1c28173 Fix trains ascending a sloped bridge ramp having incorrect z in wormhole
z one larger than the correct value due to an extra increment on the
transition frame
2023-06-08 22:47:01 +01:00
Jonathan G Rennison
f8301f735f Delivered cargo graph: Add missing overrides, remove unused variable 2023-06-08 00:14:44 +01:00
Jonathan G Rennison
ac2f9a21e8 Move upstream saveload to src/saveload/, move jgrpp saveload to src/sl/
Leave afterload in src/saveload/
2023-06-08 00:01:40 +01:00
Jonathan G Rennison
3c9ce6f9a5 Implement waypoint build window text filter for road waypoints 2023-06-08 00:01:39 +01:00
Jonathan G Rennison
02549c5224 Merge branch 'master' into jgrpp
# Conflicts:
#	cmake/CompileFlags.cmake
#	src/cargomonitor.cpp
#	src/core/CMakeLists.txt
#	src/economy.cpp
#	src/landscape.cpp
#	src/linkgraph/flowmapper.cpp
#	src/linkgraph/linkgraph_gui.cpp
#	src/linkgraph/linkgraphschedule.cpp
#	src/misc_gui.cpp
#	src/newgrf_generic.cpp
#	src/newgrf_storage.cpp
#	src/rail_gui.cpp
#	src/saveload/afterload.cpp
#	src/saveload/station_sl.cpp
#	src/script/script_gui.cpp
#	src/station_cmd.cpp
#	src/station_gui.cpp
#	src/string_func.h
#	src/terraform_cmd.cpp
2023-06-08 00:01:38 +01:00
Jonathan G Rennison
d3fbe88a9c Add setting for departure boards duration when using minutes
Default to 24 hours
2023-06-07 02:20:32 +01:00
Jonathan G Rennison
f3116eedcf Support 64 bit values in the give money and change bank balance commands
See: #535
2023-06-06 22:09:01 +01:00
Jonathan G Rennison
3151751eda Allow using the money cheat with values greater than 32 bits
See: #536
2023-06-06 21:49:30 +01:00
Jonathan G Rennison
d03465db59 Set default values for DoCommandPEx optional parameters 2023-06-06 21:48:24 +01:00
Jonathan G Rennison
bc00753996 NewGRF stations: Remove extended version of varuiable 68 2023-06-06 21:35:39 +01:00
Jonathan G Rennison
1d8df99c83 Fix upstream savegame load for versions 311 and later 2023-06-06 21:09:06 +01:00
Jonathan G Rennison
57762ce9f6 Enable upstream load for build object limit settings 2023-06-06 21:08:23 +01:00
Jonathan G Rennison
fa0771979f Add upstream savegame load support for versions 315 2023-06-06 20:18:58 +01:00
Jonathan G Rennison
929dd46fcf Add upstream savegame load support for versions 313 and 314 2023-06-06 19:48:59 +01:00
Michael Lutz
e5654a0414 Codechange: Use a dedicated variable for disaster vehicle action state. (#10798)
(cherry picked from commit 72c7536325)
2023-06-06 19:59:10 +01:00
Jonathan G Rennison
2c91866831 Adjust spacing of buttons in cargo payments rate graph 2023-06-06 19:32:16 +01:00
Jonathan G Rennison
2a5a9c2f9d Add by cargo mode to company delivered cargo history graph 2023-06-06 19:31:59 +01:00
Jonathan G Rennison
f09dfc79bd Add cargo type filters to company delivered cargo window
Adapted from Citymania
2023-06-06 18:19:19 +01:00
Loïc Guilloux
115241a052 Fix: disable "redundant move" warnings for GCC (#10803)
GCC warns about redundant std::move while clang warns when they are missing, so we silence the less harmful one

(cherry picked from commit 3c59b8e9ec)
2023-06-05 22:24:22 +01:00
Jonathan G Rennison
43c1b42a2c Revert "Revert "Codechange: Explicitly move a few variables to avoid a copy constructor (fixes warning from clang)""
This reverts commit a99418cb69.
2023-06-05 22:05:51 +01:00
Jonathan G Rennison
ce3707fbbf MacOS: Bump deployment target to 10.13 2023-06-05 21:26:41 +01:00
Jonathan G Rennison
bc07331056 Remove src/3rdparty/optional 2023-06-05 21:26:41 +01:00
PeterN
ab83725d73 Add: NewGRF string code "9A 21" to display force from textstack. (#10782)
(cherry picked from commit 61516627ad)
2023-06-05 21:07:55 +01:00
PeterN
98788e865f Fix #10502: Refit engine before attaching free wagons. (#10926)
Caused by incorrect order of operations when buying a train engine with refit and attaching free wagons.

(cherry picked from commit ee2d0745e9)
2023-06-05 20:47:58 +01:00