Commit Graph

58973 Commits

Author SHA1 Message Date
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
Jonathan G Rennison
19a671cfb8 Only warn about duplicate orders for go to type orders 2024-07-21 22:20:13 +01:00
Jonathan G Rennison
e1aa220981 Saveload: Fix struct/class mismatch for SaveLoadStructHandler 2024-07-20 10:05:02 +01:00
Jonathan G Rennison
0d1e24b8fd Fix 32b8ec34f: Incorrect perm storage dump in debug window
Due to merge conflict resolution error
2024-07-18 17:02:47 +01:00
Jonathan G Rennison
0113bb1f64 Saveload: Use table format for INDY industry chunk 2024-07-17 18:59:12 +01:00
Jonathan G Rennison
aba319e2a9 Saveload: Use upstream chunk handler for ROAD road stops chunk 2024-07-17 18:26:26 +01:00
Jonathan G Rennison
29946e95b2 Fix refit in station when using articulated vehicles and simultaneous unload 2024-07-17 18:02:26 +01:00
Jonathan G Rennison
e6bb811ca9 Saveload: Mark read-only chunks as CH_READONLY 2024-07-17 17:56:02 +01:00
Jonathan G Rennison
78bf7c43e5 TBTR: Fix wrong replacement count when train only differed by refit 2024-07-17 00:19:49 +01:00
Jonathan G Rennison
422bcc3e26 TBTR: Fix minor formatting issues 2024-07-17 00:16:33 +01:00
Jonathan G Rennison
d67a2ea167 Saveload: Use table format for bridge signal style map 2024-07-16 22:00:12 +01:00
Jonathan G Rennison
5aa1c2ee04 Saveload: Add gamma functions to header 2024-07-16 21:57:05 +01:00
Jonathan G Rennison
3c53e9a920 Saveload: Add object ptr param to table object save/load helpers 2024-07-16 21:28:46 +01:00
Jonathan G Rennison
c2e7c67204 Saveload: Use table format for companies chunk 2024-07-16 18:58:15 +01:00
Jonathan G Rennison
34177c70aa Saveload: Simplify load of (vanilla) company settings 2024-07-16 17:59:34 +01:00
Jonathan G Rennison
a24a39a6af Saveload: Tag functions returning SaveLoadTableData with [[nodiscard]] 2024-07-16 17:45:27 +01:00