Jonathan G Rennison
5e8266ac7d
Fix value of payment algorithm setting when loading new vanilla saves
1 year ago
Jonathan G Rennison
3cbd1a5a76
Add conditional order test for whether slot is empty/not empty
1 year ago
Jonathan G Rennison
4ed0c23644
Add text to warning dialog when overwriting a non-extended version save
1 year ago
Jonathan G Rennison
b089b561a5
Add departure board via order subtype to remove via for prior terminus
1 year ago
Jonathan G Rennison
7aaf703bf2
Saveload: Use heap instead of stack for save filter write buffers
1 year ago
Jonathan G Rennison
e26bea6ce4
Add setting to select cargo payment algorithm
...
See: #506
1 year ago
Jonathan G Rennison
211c1ba61d
Allow naming scheduled dispatch schedules
1 year ago
Jonathan G Rennison
c89079a210
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/cargopacket_sl.cpp
# src/saveload/saveload.h
# src/strings.cpp
# src/vehicle.cpp
1 year ago
Jonathan G Rennison
9521e7ef2b
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/elrail.cpp
# src/ground_vehicle.hpp
# src/landscape.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/tile_cmd.h
# src/town_cmd.cpp
# src/tunnelbridge_cmd.cpp
1 year ago
Jonathan G Rennison
55f11129c8
Tracerestrict: Add status test for if train is stopping at order destination
...
Station/waypoint of current order
1 year ago
Jonathan G Rennison
cfc6b1b302
Debug: Log values when VENC chunk vehicle cache mismatch detected
1 year ago
Jonathan G Rennison
6297012ad6
Fix save/load and GUI for locale.units_velocity_nautical setting
2 years ago
PeterN
ce046f6d17
Fix: Abort loading savegame if road vehicle is on invalid road type. ( #10622 )
...
This can happen if NewGRFs are missing so that engine or road type definitions are wrong.
2 years ago
Charles Pigott
ce24709576
Add: Some additional debugging information when chunk sizes are incorrect
2 years ago
Charles Pigott
8aea13a85b
Codechange: Use fmt for SlErrorCorruptFmt
2 years ago
Jonathan G Rennison
82803b98e0
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/game/game_gui.cpp
# src/graph_gui.cpp
# src/linkgraph/linkgraph_gui.h
# src/newgrf.cpp
# src/order_gui.cpp
# src/saveload/engine_sl.cpp
# src/saveload/saveload.h
# src/script/api/script_text.cpp
# src/script/script_gui.cpp
# src/settings_table.cpp
# src/strings.cpp
# src/table/settings/economy_settings.ini
# src/table/settings/locale_settings.ini
# src/timetable_gui.cpp
2 years ago
dP
e2f1cd44dc
Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )
...
Co-authored-by: Michael Lutz <michi@icosahedron.de>
2 years ago
PeterN
078e27bd84
Fix #10619 : Crash loading linkgraph for older savegames. ( #10620 )
2 years ago
Rubidium
9d2a0f3d0b
Change: make GetPartialZ consistent, meaning Z of adjacent slopes continue
...
Previously, on a straight line of a one corner up slope with the adjacent
steep sloop the Z would increase one step every two sub pixels, except for one
case where one sub pixel is skipped. Similarly, a steep slope with two
adjacent one corner up slopes, would have a bump in the height line along the
diagonal whenever it enters/leaves the steep slope tile.
2 years ago
Rubidium
e8af8daa68
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
...
Previously it checked the position in non-driving direction to "guess" whether
a ground vehicle was using the function, so on tunnels/bridges it could either
return the Z of the (virtual) ground compared to the Z of the path the vehicle
would take.
2 years ago
Jonathan G Rennison
06e0f39aff
Add text label and departure board via orders
2 years ago
Jonathan G Rennison
3b6f7c09ad
Allow changing colour of orders in order list and timetable windows
2 years ago
PeterN
f1144de509
Feature: Separate rail/road and sea/air velocity units, and add knots. ( #10594 )
...
This is achieved by packing vehicle type along with the velocity so that
the string system can decode and pick the appropriate unit.
2 years ago
Peter Nelson
65e0b0dcb7
Codechange: Be consistent with how company masks are set to all.
2 years ago
Jonathan G Rennison
c9c0436e58
Add company setting for remain at station if next order for same station
...
Set value on load for whether the save version had this enabled for trains
2 years ago
Jonathan G Rennison
1d05637d45
Add setting for rail depot maximum speed
2 years ago
Jonathan G Rennison
1707f74d60
TBTR: Refactor template replacement code
...
Adjust conditions for re-using existing engines in depot
Reduce cost of searching for existing engines in depot
Reduce cost of vehicle chain membership tests
Improve replacement command error handling
Tidy up code in general
2 years ago
Jonathan G Rennison
f3841e29c8
Saveload: Adjust formatting of _sl_xv_sub_chunk_infos
2 years ago
Jonathan G Rennison
2028472253
Saveload: Skip VENC/TNNC chunks entirely on non network server saves
2 years ago
Jonathan G Rennison
c2752b31e6
Saveload: Use traditional map chunks for scenario saves
2 years ago
Jonathan G Rennison
a57a909deb
Saveload: Add special proc op for whether to save chunk
2 years ago
Jonathan G Rennison
b4f32e44d9
Saveload: Change result type of ChunkSaveLoadSpecialProc
2 years ago
Jonathan G Rennison
6cdf67f38a
Saveload: Add save flag for if this is a scenario save
2 years ago
Jonathan G Rennison
b7cb4099a6
Add missing cast in Save_TNNC()
2 years ago
Jonathan G Rennison
2716217775
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/saveload.h
2 years ago
Tyler Trahan
e5438891e2
Cleanup: Keep spacing saveload versions by groups of five ( #10576 )
2 years ago
Jonathan G Rennison
5dd285b0d9
Don't save TNNC chunk if there are no town zone callback handlers
2 years ago
Jonathan G Rennison
4dc846949c
Bump savegame version for multi-cargo ships
2 years ago
Jonathan G Rennison
211fdd62b2
Initial support for multi-part (pseudo-articulated) ships
2 years ago
Jonathan G Rennison
2e77754c04
Fix comment for XSCF_EXTRA_DATA_PRESENT flag
2 years ago
Jonathan G Rennison
f44d455adc
Send town zone radii to network clients in new TNNC chunk
2 years ago
Jonathan G Rennison
f13f8cd740
Tracerestrict: Improve program validator
...
Check all instruction subtypes and valid enum values
Return failure instead of asserting for invalid instruction subtypes
Identify which instruction triggered validation failure
2 years ago
Jonathan G Rennison
57437e7068
Saveload: Fix upstream version handling of league table chunks
2 years ago
Jonathan G Rennison
6aa8997eee
Saveload: Add corresponding upstream version to SLXI chunk
2 years ago
Jonathan G Rennison
2acc00ab13
Saveload: Fix upstream chunk load state not be cleared before load
2 years ago
Jonathan G Rennison
8dca681c8c
Use btree_multimap for pending speed restrictions
...
Avoid unnecessary iteration when saving VESR chunk
2 years ago
Jonathan G Rennison
2ea1766677
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/commit-checker.yml
# src/industry_cmd.cpp
# src/industry_gui.cpp
# src/landscape.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/order_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/league_sl.cpp
# src/saveload/saveload.h
# src/script/api/script_object.hpp
# src/script/squirrel_helper.hpp
# src/settings_table.cpp
# src/station_cmd.cpp
# src/table/settings.h.preamble
# src/tree_cmd.cpp
# src/tree_map.h
# src/vehicle.cpp
# src/waypoint_cmd.cpp
2 years ago
Jonathan G Rennison
4ec6a99dd8
Add GetTileTrackStatus wrapper for when red signals part is not needed
2 years ago
Rubidium
580d0a6343
Codechange: make use of Tile in for all direct map accesses
2 years ago
Rubidium
0fb0469e47
Codechange: introduce iterator to iterate over the Tiles of a Map
...
Note: this version is using TileIndex, but that changes later
2 years ago