Commit Graph

59005 Commits

Author SHA1 Message Date
Jonathan G Rennison
7b26ec91c6 Sign window: Remove dead code for WID_SIL_FILTER_ENTER_BTN 2024-08-13 00:48:50 +01:00
Jonathan G Rennison
13e13e875c Order window: Clicking selected label order opens edit window 2024-08-13 00:31:07 +01:00
Jonathan G Rennison
157f713388 Departures: Support scheduled dispatch vehicle slot conditionals
Also iterate orders more times when these are present
2024-08-13 00:17:14 +01:00
Jonathan G Rennison
371d7c10d7 Departures: Fix wrong tick in scheduled dispatch evaluation 2024-08-12 23:57:43 +01:00
Jonathan G Rennison
3003f8796e Add conditional order sub-mode for vehicle dispatch slot 2024-08-12 23:57:43 +01:00
Jonathan G Rennison
a2b6363584 Scheduled dispatch: Store vehicle last dispatch records 2024-08-12 23:57:43 +01:00
TELK
0d863bdf0d Update: Korean translation 2024-08-11 11:29:18 +01:00
Jonathan G Rennison
5d62cb361d Debug: Enable debug window for rail waypoints 2024-08-11 10:55:09 +01:00
Jonathan G Rennison
37b129c3c0 Merge branch 'master' into jgrpp
# Conflicts:
#	src/effectvehicle.cpp
#	src/fileio.cpp
#	src/gfx.cpp
#	src/newgrf_commons.h
#	src/road_gui.cpp
#	src/saveload/gamelog_sl.cpp
#	src/saveload/saveload.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/settings_table.cpp
#	src/signs_gui.cpp
#	src/smallmap_gui.cpp
#	src/sortlist_type.h
#	src/table/settings.h.preamble
#	src/table/settings/company_settings.ini
#	src/table/settings/currency_settings.ini
#	src/table/settings/difficulty_settings.ini
#	src/table/settings/economy_settings.ini
#	src/table/settings/game_settings.ini
#	src/table/settings/gui_settings.ini
#	src/table/settings/linkgraph_settings.ini
#	src/table/settings/locale_settings.ini
#	src/table/settings/misc_settings.ini
#	src/table/settings/multimedia_settings.ini
#	src/table/settings/network_private_settings.ini
#	src/table/settings/network_settings.ini
#	src/table/settings/news_display_settings.ini
#	src/table/settings/old_gameopt_settings.ini
#	src/table/settings/pathfinding_settings.ini
#	src/table/settings/script_settings.ini
#	src/table/settings/win32_settings.ini
#	src/table/settings/window_settings.ini
#	src/table/settings/world_settings.ini
#	src/vehicle_gui.cpp
#	src/vehiclelist.cpp
#	src/video/opengl.cpp
#	src/viewport.cpp
2024-08-09 23:16:07 +01:00
Jonathan G Rennison
77c0197216 CMake: Remove -fno-strict-aliasing compiler flag 2024-08-09 23:16:07 +01:00
Jonathan G Rennison
70793de97b Fix type casts for position updates in BufferDeserialisationHelper 2024-08-09 23:15:57 +01:00
Jonathan G Rennison
2a204ea033 cpp-btree: Use union to avoid strict aliasing violation in leaf_fields 2024-08-09 23:15:57 +01:00
Jonathan G Rennison
1c6df3451b Saveload: Improve efficiency of SlReadSimpleGamma 2024-08-09 23:15:57 +01:00
Jonathan G Rennison
22a6dc642d Saveload: Refactor interface for memory dumper raw write functions 2024-08-08 21:36:30 +01:00
Jonathan G Rennison
d0cbc48f7d Saveload: Move AcquireBytes loop out of CheckBytes 2024-08-08 21:00:16 +01:00
Jonathan G Rennison
0ab976e069 Saveload: Refactor interface for read buffer raw read functions 2024-08-08 21:00:16 +01:00
Jonathan G Rennison
cef83e30b5 Saveload: Fix return type of SlReadUint16 2024-08-08 20:28:08 +01:00
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