Jonathan G Rennison
55f11129c8
Tracerestrict: Add status test for if train is stopping at order destination
...
Station/waypoint of current order
2023-04-11 22:01:51 +01:00
Jonathan G Rennison
6297012ad6
Fix save/load and GUI for locale.units_velocity_nautical setting
2023-04-11 00:29:58 +01:00
Jonathan G Rennison
06e0f39aff
Add text label and departure board via orders
2023-04-09 12:48:50 +01:00
Jonathan G Rennison
3b6f7c09ad
Allow changing colour of orders in order list and timetable windows
2023-04-08 18:13:35 +01:00
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
2023-04-06 01:30:14 +01:00
Jonathan G Rennison
1d05637d45
Add setting for rail depot maximum speed
2023-04-06 01:30:14 +01:00
Jonathan G Rennison
f3841e29c8
Saveload: Adjust formatting of _sl_xv_sub_chunk_infos
2023-03-21 20:19:40 +00:00
Jonathan G Rennison
2028472253
Saveload: Skip VENC/TNNC chunks entirely on non network server saves
2023-03-21 19:18:10 +00:00
Jonathan G Rennison
c2752b31e6
Saveload: Use traditional map chunks for scenario saves
2023-03-21 18:59:11 +00:00
Jonathan G Rennison
4dc846949c
Bump savegame version for multi-cargo ships
2023-03-16 00:35:37 +00:00
Jonathan G Rennison
f44d455adc
Send town zone radii to network clients in new TNNC chunk
2023-03-11 22:23:40 +00:00
Jonathan G Rennison
6aa8997eee
Saveload: Add corresponding upstream version to SLXI chunk
2023-03-07 18:40:53 +00:00
Jonathan G Rennison
796924ec32
Change type of extended feature versions arrays
2023-02-15 23:49:40 +00:00
Jonathan G Rennison
dceafaf2db
GRF: Initial support for > 255 road stop specs per GRF
...
Add new variable for road stop info of nearby tiles
Bump roadstops version
2023-02-12 20:35:18 +00:00
Jonathan G Rennison
43d58ce6c8
GRF: Extend EntityIDMapping/OverrideManagerBase to 16 bit entity IDs
2023-02-11 00:30:40 +00:00
Jonathan G Rennison
05ec32f577
Run water flooding at constant speed at day lengths >= 4
...
See: #482
2023-02-09 21:39:04 +00:00
Jonathan G Rennison
17f1d92072
Template replacement: Allow naming templates
...
See: #481
2023-02-06 23:48:46 +00:00
Jonathan G Rennison
07b7cc5652
Tracerestrict: Add condition whether reservation passes through tile
2023-02-06 19:54:14 +00:00
Jonathan G Rennison
1a5b485b41
Road stops: Use a struct for road stop tile data
2022-12-31 22:51:54 +00:00
Jonathan G Rennison
3877bb31ef
Changing day length or date no longer changes time in minutes
...
Add offset variables for scaled date ticks.
Adjust offset when changing day length or date, such that scaled
date ticks remain the same.
Store _scaled_tick_counter and scaled date ticks offset in the savagame.
2022-12-16 19:15:46 +00:00
Jonathan G Rennison
5c2d5782a4
Fixes incorrect link graph edge travel times with non-unity day length
...
Change vehicle last_loading_tick to be relative to _scaled_tick_counter
2022-12-11 00:27:18 +00:00
Jonathan G Rennison
e647075870
Change LinkGraph::EdgeMatrix to a sparse storage format
...
Use a btree_map instead of a SmallMatrix.
This avoids excessive storage requirements for large graphs,
and overly expensive edge matrix resize operations.
Remove next_edge iteration mechanism.
2022-12-05 18:17:25 +00:00
dP
c91033ac5e
Feature: [GS] Scriptable league tables ( #10001 )
...
(cherry picked from commit 5e14a20b3b
)
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
1e769d050f
Leave PLYP chunk unchanged when loading/saving server saves in non-MP
2022-11-17 00:40:12 +00:00
Jonathan G Rennison
0bf1c9bb9d
Merge tag '13.0-beta1' into jgrpp
2022-11-05 19:12:42 +00:00
Nicolas Chappe
a43a1902bb
Feature: [Linkgraph] Prioritize faster routes for passengers, mail and express cargo
...
Passengers usually prefer fast paths to short paths.
Average travel times of links are updated in real-time for use in Dijkstra's algorithm,
and newer travel times weigh more, just like capacities.
(cherry picked from commit 977604ef08
)
2022-11-05 19:07:35 +00:00
Jonathan G Rennison
a8361cd608
Allow overriding town settings on a per-town basis
...
Add a setting for whether this is allowed for non-privileged
multiplayer clients
2022-10-23 22:07:51 +01:00
Jonathan G Rennison
38c2fa3b66
Add a change counter value special order type
2022-10-13 20:09:20 +01:00
Jonathan G Rennison
0818ce4ae7
Merge branch 'master' into jgrpp (SLV_U64_TICK_COUNTER)
...
# Conflicts:
# src/date.cpp
# src/date_func.h
# src/newgrf.cpp
# src/newgrf_animation_base.h
# src/saveload/gamelog_sl.cpp
# src/saveload/misc_sl.cpp
# src/saveload/saveload.h
# src/stdafx.h
2022-10-03 19:58:31 +01:00
Jonathan G Rennison
12eb23f0ab
Clear old tree counter in map array on load of old savegames
...
See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
Jonathan G Rennison
7c4c75d181
Add tracerestrict conditional on direction of order target from signal
2022-09-07 22:53:03 +01:00
Jonathan G Rennison
5a39734a1c
Allow station cargo histories to record larger values than 64k
...
See: #414
2022-09-06 23:03:46 +01:00
Jonathan G Rennison
23fa7cd239
Improve handling of company sales
...
Avoid conflicts between bankruptcy and manual company sale paths
2022-09-02 18:13:47 +01:00
Jonathan G Rennison
4e8a8a5e0a
Add conditional order to test if last/next dispatch slot is first/last
2022-07-03 15:49:29 +01:00
Jonathan G Rennison
6a69a5495f
Add tracerestrict action to set combined normal/shunt signal mode
...
Add associated conditional to get reservation end tile
2022-06-28 01:16:57 +01:00
Jonathan G Rennison
04da11b668
Store signal style GRF to local map in savegame
...
Update existing signal style IDs as necessary
2022-06-25 14:33:47 +01:00
Jonathan G Rennison
92723d4f5c
Remove tunnel/bridge spacing setting, use usual signal drag spacing
2022-06-19 18:32:47 +01:00
Jonathan G Rennison
22caac6529
Add game setting to limit train lookahead to signal aspect
...
In realistic braking mode when multi-aspect signalling enabled by GRF
2022-06-19 12:44:15 +01:00
Jonathan G Rennison
bdd73a19a1
Add signal style flag for unconditional reserve through
...
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
2022-06-19 04:15:27 +01:00
Jonathan G Rennison
7ae06124ae
Add signal style flag for no aspect increase behaviour (banner repeater)
2022-06-19 02:08:38 +01:00
Jonathan G Rennison
6e4c4b35e7
Initial implementation of NewGRF custom signal styles
2022-06-19 02:08:38 +01:00
Jonathan G Rennison
99ee4b13ce
Realistic braking: Cache train overall z position
...
Refresh cache at a variable rate depending on train length and
weight distribution
2022-06-03 00:41:41 +01:00
Jonathan G Rennison
af270a63ad
Industry: Apply anim tile masking when loading prior version saves
2022-06-01 01:21:58 +01:00
Jonathan G Rennison
92142e5684
Add routing restriction action to make exempt from speed adaptation
2022-03-06 22:39:53 +00:00
Jonathan G Rennison
909b20ee68
Implement train speed adaptation on signalled tunnels/bridges
...
See: #373
2022-02-21 18:57:50 +00:00
Jonathan G Rennison
1084bb8566
Initial support for NewGRF road stops (bus and lorry stops)
2022-02-14 00:31:14 +00:00
Jonathan G Rennison
d4f11eca42
Add NewGRF object properties to set viewport map mode/smallmap tile type
2022-02-07 01:16:45 +00:00
Jonathan G Rennison
dacdb1137a
Add extended feature array with static current version values
2022-02-04 21:29:25 +00:00
Jonathan G Rennison
bffff8e357
Add feature array as parameter to SlXvIsFeaturePresent methods
2022-02-04 21:27:20 +00:00
Jonathan G Rennison
c69ed1711d
Allow road vehicle go to station/waypoint orders to have a direction
2022-01-27 01:30:22 +00:00