Commit Graph

58736 Commits

Author SHA1 Message Date
Jonathan G Rennison
7ddcf901f5 Saveload: Add a label tag field to SaveLoad 2024-07-14 20:54:57 +01:00
Jonathan G Rennison
159e68c4dc Saveload: Remove intermediate copy in map individual chunk save/load 2024-07-14 00:32:30 +01:00
Jonathan G Rennison
f739710ad3 Saveload: Use table format for CAPA chunk 2024-07-13 12:03:58 +01:00
Jonathan G Rennison
acfe8909b4 Saveload: Add NamedSaveLoad to saveload_common.h 2024-07-13 11:53:18 +01:00
Jonathan G Rennison
e57a7ad273 Saveload: Bump savegame version for cheats 2024-07-13 11:24:58 +01:00
Jonathan G Rennison
e9bf53d0b1 Saveload: Use table format for cheats 2024-07-13 00:51:08 +01:00
Jonathan G Rennison
10c136f039 Saveload: Add mechanism for custom handling of missing table fields 2024-07-13 00:49:37 +01:00
Jonathan G Rennison
07afb0e00b Saveload: Remove incorrect table mode check in Save_DBGD 2024-07-13 00:18:42 +01:00
Qwest8K
cac020b7e6
Update: Russian translation up to v0.60.2 (#715) 2024-07-11 23:16:37 +01:00
Jonathan G Rennison
14afaf8108 Sound: Changes to enable building xaudio2 driver on MinGW 2024-07-11 23:08:13 +01:00
Jonathan G Rennison
651610cd2a Saveload: Fix sign and narrowing conversion warnings calculating list sizes 2024-07-11 01:43:18 +01:00
Jonathan G Rennison
2de0dd17c2 Version: Committing version data for tag: jgrpp-0.60.2 2024-07-11 01:15:20 +01:00
Jonathan G Rennison
a71f8b6703 Github: Temporarily disable vcpkg caching for linux generic builds
To avoid problems where dependencies downloaded via apt change,
causing the cache contents to be incorrect
2024-07-11 01:13:45 +01:00
Jonathan G Rennison
93ecef7de2 Fix parameter forwarding in Rail90DegTurnDisallowed helpers 2024-07-10 22:15:59 +01:00
Jonathan G Rennison
9ae96d2fdb Fix YAPF not considering signalled tunnel/bridges as safe waiting tiles
In search for any safe waiting tile mode
2024-07-10 22:15:31 +01:00
Jonathan G Rennison
7152f534e8 Tunnel/bridge: Fix comments for some map accessor functions 2024-07-10 21:59:38 +01:00
Jonathan G Rennison
a07b02ebe4 Saveload: Use table format for new signal style mapping chunk 2024-07-08 19:37:27 +01:00
Jonathan G Rennison
94e5555419 Extend description text for station cargo distribution setting 2024-07-08 19:22:04 +01:00
Jonathan G Rennison
c2a4ddea7e Saveload: Use table format for XBSS chunk 2024-07-08 19:12:20 +01:00
Jonathan G Rennison
2bf05321bb Saveload: Use table format for tunnel chunk 2024-07-08 18:48:37 +01:00
Jonathan G Rennison
3035b91b5c Saveload: Use table format for speed adaptation chunk 2024-07-08 18:48:25 +01:00
Jonathan G Rennison
3202fc2ce3 Saveload: Change type of read-only chunks to CH_READONLY 2024-07-08 18:23:22 +01:00
Jonathan G Rennison
8d9c988767 Saveload: Rename CH_UNUSED to CH_READONLY 2024-07-08 18:20:30 +01:00
Jonathan G Rennison
cf573d4bf8 Saveload: Use table format for tracerestrict chunks 2024-07-08 18:00:59 +01:00
Jonathan G Rennison
724c6800c9 Saveload: Fix table chunk array type length headers 2024-07-08 17:50:37 +01:00
Jonathan G Rennison
d6b3ba6045 Saveload: Use table format for debug info
No longer add wrapper text around config
2024-07-07 16:11:22 +01:00
Jonathan G Rennison
61f920138f Saveload: Add helper to skip chunk contents 2024-07-07 15:34:09 +01:00
Jonathan G Rennison
0dc4be2aa0 Fix minor code style issue 2024-07-07 15:00:50 +01:00
Jonathan G Rennison
95245d5a57 Fix crash opening landscape window when there are no available objects
See: #713
2024-07-06 18:45:41 +01:00
Jonathan G Rennison
15f4e62936 Merge branch 'master' into jgrpp
# Conflicts:
#	src/network/network.cpp
#	src/pathfinder/yapf/yapf.h
#	src/pathfinder/yapf/yapf_ship.cpp
#	src/saveload/afterload.cpp
#	src/ship_cmd.cpp
#	src/station_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_gui.cpp
2024-07-06 18:24:53 +01:00
Jonathan G Rennison
21793af8dd Fix accel/braking percentage setting changes not updating running trains 2024-07-06 16:41:15 +01:00
Jonathan G Rennison
61b39296e1 Fix crash when replacing recolour sprite with normal sprite
See: #712
2024-07-06 13:34:44 +01:00
Jonathan G Rennison
18ef0741e7 Use hash map instead of btree for SpritePointerHolder cache 2024-07-06 13:18:59 +01:00
Qwest8K
3fd71b2821 Update russian.txt 2024-07-05 22:52:02 +01:00
Jonathan G Rennison
2d6c9c2f90 Fix 05915b21: One-way behaviour of signalled bridge exit applied to bypassing track 2024-07-05 22:42:34 +01:00
Jonathan G Rennison
b3e20ec9b6 Version: Committing version data for tag: jgrpp-0.60.1 2024-07-03 22:12:02 +01:00
Jonathan G Rennison
ae516b4a86 Fix text truncation in Win32 help dialog 2024-07-03 22:04:39 +01:00
TELK
dcd4295d4e
Update: Korean translation up to 0.60.0 (#710) 2024-07-03 18:08:25 +01:00
Jonathan G Rennison
5dc0bb61ea Test: Check that game packet ID to string mappings are correct/complete 2024-07-03 17:52:20 +01:00
Jonathan G Rennison
7c569b2c83 Fix PACKET_SERVER_MAP_DONE prepending with packet encryption
Also fix logging of sent encrypted packets
2024-07-03 02:32:57 +01:00
Jonathan G Rennison
06718b632d Fix TCP game packet ID to string mapping 2024-07-03 02:07:39 +01:00
Jonathan G Rennison
28c115fc33 Fix false positive cache check error on MinGW/GCC 10 builds
Due to incorrect default operator== on structs with C arrays.

See: #709
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94924
2024-07-03 00:25:16 +01:00
Jonathan G Rennison
5f34407ce1 Command line: Fix truncation of help text
Use std::string
2024-07-03 00:19:38 +01:00
Jonathan G Rennison
ffaa36c8d2 Command line: Fix -Z option 2024-07-03 00:04:55 +01:00
Jonathan G Rennison
27a847633c Version: Committing version data for tag: jgrpp-0.60.0 2024-07-02 22:21:40 +01:00
Jonathan G Rennison
3a1f1e12bc Fix Linux compilation issues in settingsgen 2024-07-02 22:21:04 +01:00
Jonathan G Rennison
ace441d5ea Fix GrfMsg logging in ChangeGRFFeatureTestName 2024-07-02 19:48:24 +01:00
Peter Nelson
92b6e06ba2 Fix #12832: Sanitise strings from NewGRF before logging them in Debug output.
NewGRF strings may not be UTF-8 encoded, which causes issues on Windows.

(cherry picked from commit b08e465c8d4df48d42fb603c867a7c756ce18a74)
2024-07-02 19:48:24 +01:00
Jonathan G Rennison
a99e6b5082 Delay vehicle cache init to after map upgrades in load
Split AfterLoadVehicles into two functions.
Vehicle cache init and other functionality requiring an upgraded and
valid map is now performed later in the load process.

Re-order load update for SLV_139, it is no longer required to be
performed before the first phase of vehicle updates
2024-07-02 00:45:07 +01:00
Jonathan G Rennison
f5b0874c1c Do not unnecessarily update town label if local rating unchanged 2024-07-01 20:39:32 +01:00