Commit Graph

58938 Commits

Author SHA1 Message Date
Jonathan G Rennison
89d2cf3a16 Fix 77f27e08: Crash due to incorrect use of AirportSpec::GetIndex 2024-08-08 19:06:11 +01:00
Jonathan G Rennison
e4bd353d12 Saveload: Avoid redundant loads of map pointer in map chunk saves 2024-08-08 01:18:39 +01:00
Jonathan G Rennison
b16db11e02 Saveload: Improve codegen in WriteBytesFromHandler
-fno-strict-aliasing is enabled, so don't rely on the compiler
being able to elide obvious accesses
2024-08-08 01:17:48 +01:00
Jonathan G Rennison
f66521e62e Saveload: Avoid redundant loads of map pointer in map chunk loads 2024-08-08 00:57:20 +01:00
Jonathan G Rennison
a57be2bebd Saveload: Improve codegen in ReadBytesToHandler
-fno-strict-aliasing is enabled, so don't rely on the compiler
being able to elide obvious accesses
2024-08-08 00:45:41 +01:00
Jonathan G Rennison
406965677c Fix speed of excessively fast ships on aqueducts 2024-08-07 19:05:42 +01:00
Jonathan G Rennison
56fc3ec6ce Fix f7248539: Cargo reserved count not set in station goods entry save 2024-08-05 19:15:59 +01:00
Jonathan G Rennison
8450747010 Saveload: Fix minor formatting issues 2024-08-05 19:15:20 +01:00
Jonathan G Rennison
e554cb9d62 NewGRF: Add extended house variables to get uncapped building counts, other IDs 2024-08-05 18:41:47 +01:00
Jonathan G Rennison
49972e56a1 Fix incorrect lang string code 2024-08-04 15:31:05 +01:00
Qwest8K
4c31e0cdfd
Update: Russian translation - Day length factor (#716) 2024-08-04 15:29:43 +01:00
TELK
94a7e6ba26 Fix: Korean translation 2024-08-04 15:28:30 +01:00
Jonathan G Rennison
318b86083b NewGRF: Add extended house variables to get uncapped building counts 2024-08-04 15:04:29 +01:00
Jonathan G Rennison
3f5e10ab38 Debug: Show house min/max years 2024-08-04 14:21:44 +01:00
Jonathan G Rennison
eb9d71ab2a Debug: Fix formatting of object intro/expiry dates 2024-08-04 14:21:29 +01:00
Jonathan G Rennison
1dd8890a8f Saveload: Use table format for pending speed restrictions chunk 2024-08-03 14:09:27 +01:00
Jonathan G Rennison
da53196399 Saveload: Move vehicle current order extra data to sub-chunk 2024-08-03 13:41:39 +01:00
Jonathan G Rennison
8471f9b625 Saveload: Move train lookahead to sub-chunk 2024-08-03 13:25:38 +01:00
Jonathan G Rennison
43e1036786 Saveload: Move vehicle unbunching state to sub-chunk 2024-08-03 12:55:33 +01:00
Jonathan G Rennison
711f594464 Saveload: Use table format for vehicles chunk 2024-08-03 12:30:37 +01:00
Jonathan G Rennison
66c0d4c20d Saveload: Fix handling of chunk table/non-table mode in SlPrepareNamedSaveLoadTableForPtrOrNull 2024-08-03 11:56:13 +01:00
Jonathan G Rennison
6af9b4b2ae Saveload: Add NSL_STRUCT wrapper
For use with pointer fix/null
2024-08-03 11:53:53 +01:00
Jonathan G Rennison
aef51c08cf Saveload: De-duplicate save load struct handler factory lambda 2024-08-03 11:43:05 +01:00
Jonathan G Rennison
3e1b0f76f4 Fix handing of sprites in action A which are rejected due to GRM misuse 2024-08-03 08:55:15 +01:00
Jonathan G Rennison
177b75af77 Fix train unit ID allocation when moving engine to new train, reaching train limit
See: #725
2024-08-02 20:46:51 +01:00
Jonathan G Rennison
da0010241f Fix f7248539: Invalid get of pointer into empty vector 2024-08-02 00:49:41 +01:00
Jonathan G Rennison
94caf0f407 Allow changing industry event rate setting at any time 2024-08-01 23:16:36 +01:00
reldred
f30338e73b Initial commit, allow setting rate of industry events that occur 2024-08-01 23:16:36 +01:00
Jonathan G Rennison
b1e538a94b Saveload: Fix narrowing conversion warnings 2024-08-01 23:12:50 +01:00
Jonathan G Rennison
f88568eba1 Merge branch 'master' into jgrpp
# Conflicts:
#	src/cargotype.cpp
#	src/company_base.h
#	src/company_gui.cpp
#	src/core/pool_func.hpp
#	src/core/pool_type.hpp
#	src/graph_gui.cpp
#	src/industry_gui.cpp
#	src/ini_load.cpp
#	src/landscape.cpp
#	src/linkgraph/linkgraph_gui.cpp
#	src/network/core/packet.cpp
#	src/network/core/udp.cpp
#	src/newgrf.cpp
#	src/newgrf_gui.cpp
#	src/newgrf_station.cpp
#	src/order_base.h
#	src/order_cmd.cpp
#	src/order_gui.cpp
#	src/os/unix/unix.cpp
#	src/rail_gui.cpp
#	src/saveload/industry_sl.cpp
#	src/saveload/station_sl.cpp
#	src/screenshot.cpp
#	src/settings_gui.cpp
#	src/sl/oldloader_sl.cpp
#	src/station_cmd.cpp
#	src/station_gui.cpp
#	src/town.h
#	src/town_cmd.cpp
#	src/town_gui.cpp
#	src/vehicle_gui.cpp
#	src/viewport.cpp
#	src/viewport_sprite_sorter_sse4.cpp
#	src/waypoint_gui.cpp
2024-08-01 22:31:53 +01:00
Jonathan G Rennison
662cae111c Saveload: Use table format for link graph chunks 2024-07-31 18:22:36 +01:00
Jonathan G Rennison
4a12c79c5c Saveload: Add SaveLoadStructHandler handler for post table header save 2024-07-30 18:53:28 +01:00
Jonathan G Rennison
f724853985 Saveload: Use table format for station/waypoint chunk 2024-07-30 01:24:00 +01:00
Jonathan G Rennison
a192485ce9 Fix formatting issue in FlowStat 2024-07-30 00:26:09 +01:00
Jonathan G Rennison
7d77f8acf4 Saveload: Add table header only save load struct handler helper 2024-07-30 00:22:46 +01:00
Jonathan G Rennison
daf77f5ab1 Saveload: Add SaveLoadStructHandler handler for table header load 2024-07-29 17:40:18 +01:00
Jonathan G Rennison
b2c0a9c22e Saveload: Simplify use of custom tags in SaveLoadTags 2024-07-29 17:26:11 +01:00
pvillaverde
6b4ce10ac4 🌐 Translations up to July 28th 2024-07-28 21:27:33 +01:00
Jonathan G Rennison
937c1d394d Saveload: Fix forward declaration const mismatch 2024-07-28 21:24:15 +01:00
Jonathan G Rennison
642c82e6ff Add unset hotkeys for duplicate and change jump target in order window 2024-07-25 22:55:40 +01:00
Jonathan G Rennison
8e31cfc4c0 Add unset hotkey for refit in order window 2024-07-25 22:40:19 +01:00
Jonathan G Rennison
d1f453833b Add helper to get whether widget active in window layout 2024-07-25 22:39:50 +01:00
Jonathan G Rennison
c47b401402 Progsig: Fix various formatting issues 2024-07-25 22:34:47 +01:00
Jonathan G Rennison
a52db2113c Progsig: Fix overly lax validation of target signal in commands 2024-07-25 22:21:47 +01:00
Jonathan G Rennison
df1a83610c Progsig: Fix multiplayer desync when using copy program 2024-07-25 22:18:59 +01:00
Jonathan G Rennison
41613b7eea Move MAX_RV_PF_TILES check for YAPF road pathfinder
See: #723
2024-07-23 18:59:59 +01:00
Jonathan G Rennison
8bc0e01330 Fix crash in YAPF for road vehicles when tile limit exceeded
See: #723
2024-07-23 18:28:26 +01:00
Jonathan G Rennison
ce84b8995a Saveload: Use table format for order chunks 2024-07-23 18:27:07 +01:00
Jonathan G Rennison
a6d0a37386 Saveload: Fix missing braces warning with clang 2024-07-23 17:36:45 +01:00
Jonathan G Rennison
767873d10f Rename day length factor setting to economy speed reduction factor 2024-07-22 17:12:29 +01:00