Commit Graph

298 Commits

Author SHA1 Message Date
Jonathan G Rennison
f7d62a1767 Add road/tram type flag to disallow collisions with trains 2023-02-19 18:05:11 +00:00
Jonathan G Rennison
663a3969a0 Add road/tram type flag to disallow tunnels 2023-02-19 15:21:35 +00:00
Jonathan G Rennison
3497d0dcdb Add road/tram type properties to set road vehicle collision mode 2023-02-19 14:30:21 +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
Michael Lutz
5daaa45e4a Add: [NewGRF] Second vehicle property for additional callback flags.
(cherry picked from commit 2d73076056)
2023-02-05 22:40:03 +00:00
Jonathan G Rennison
1272bec13b Road stops: Add height property for build window preview 2023-02-05 17:40:14 +00:00
Jonathan G Rennison
219e41b5d6 Debug: Enable inspecting non-GRF objects 2023-02-04 11:00:00 +00:00
Jonathan G Rennison
e8dca9f220 Debug: Add time since load/unload to station debug info 2023-02-02 18:48:46 +00:00
Michael Lutz
2d73076056 Add: [NewGRF] Second vehicle property for additional callback flags. 2023-01-30 22:00:56 +01:00
Jonathan G Rennison
f3645cf629 Debug: Dump all station sprite groups, not just current resolved one 2023-01-29 14:14:17 +00:00
Jonathan G Rennison
e816c2416a Debug: Show more road vehicle engine fields in debug window 2023-01-07 00:22:39 +00:00
Jonathan G Rennison
96f790fc7d Debug: Show rail station tile layouts in debug window 2023-01-03 03:55:51 +00:00
Jonathan G Rennison
0093ebe3a7 Debug: Add engine variant ID and extra flags to debug info 2022-12-28 02:17:48 +00:00
Jonathan G Rennison
5bea50c413 Debug: Add rail engine misc flags to debug info 2022-12-27 02:11:41 +00:00
Jonathan G Rennison
8af4ac8a4c GRF: Add road stops variable for road info of nearby plain road tile
See: #464
2022-12-24 18:54:28 +00:00
Jonathan G Rennison
6b8f799a1c Debug: Show engine base introduction date 2022-12-24 17:42:14 +00:00
Jonathan G Rennison
0a9d734ce8 Debug: List new landscape GRFs and their flags in the debug window 2022-12-12 23:25:44 +00:00
Jonathan G Rennison
39277404a2 Add new landscape variable for ground density and snow presence 2022-12-12 23:19:44 +00:00
Jonathan G Rennison
2430a5113e Debug: Add GRF debug window support for new landscape rocks 2022-12-12 19:15:19 +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
afd3004ea0 Debug: Avoid compiler warnings in debug window cargo class printing 2022-11-29 17:58:51 +00:00
Jonathan G Rennison
3d7e5d5369 Avoid unnecessary viewport redraws for unused tile loop house triggers 2022-11-24 02:38:10 +00:00
Jonathan G Rennison
b428c5b58a Debug: Show train engine veh type and power in debug window 2022-11-06 22:27:25 +00:00
Jonathan G Rennison
0bf1c9bb9d Merge tag '13.0-beta1' into jgrpp 2022-11-05 19:12:42 +00:00
Jonathan G Rennison
6ac311d71e Debug: Show type of current order in vehicle debug info 2022-10-30 14:09:50 +00:00
Jonathan G Rennison
669b3f2e04 Debug: Add GRF inspect window support for cargoes 2022-10-08 21:53:56 +01:00
Jonathan G Rennison
a58d910a0b Debug: Include cost multipliers in rail and road type debug info 2022-09-19 19:36:16 +01:00
Jonathan G Rennison
fc5e20719d Fix #423: Max TE/weight should not be shown for maglevs 2022-09-16 12:32:44 +01:00
Jonathan G Rennison
0400f06d9e Debug: Show industry GRF local ID in debug window 2022-09-03 20:48:23 +01:00
Jonathan G Rennison
4e5e85e7aa Debug: Allow inspecting industry specs before industry is built
Add debug box to industry chains window
2022-08-10 21:35:33 +01:00
Jonathan G Rennison
0a99440166 Debug: Always use head for vehicle debug window name in caption 2022-07-31 20:25:32 +01:00
Jonathan G Rennison
cbabbb6db6 Fix train braking behaviour when lookahead is aspect limited
When lookahead end is within the reservation end
2022-07-30 20:39:16 +01:00
Jonathan G Rennison
da57d75165 Debug: Print lookahead approach speeds for stations (using current order) 2022-07-01 23:39:44 +01:00
Jonathan G Rennison
c6ae82b611 Fix 9ff161e4 boosting lookahead braking stats but not actual brake forces 2022-07-01 23:39:02 +01:00
Jonathan G Rennison
78ae295dfe Add combined normal and shunt aspect signal style flag 2022-06-27 18:51:26 +01:00
Jonathan G Rennison
a311f12615 Add signals_style_lookahead_single_signal_only signal style property 2022-06-25 01:29:08 +01:00
Jonathan G Rennison
b5d0c1d493 Debug: Show signalled tunnel/bridge info in debug window 2022-06-22 17:57:20 +01:00
Jonathan G Rennison
175c5d4d50 Add signal style flag to limit lookahead extra aspect 2022-06-19 12:46:56 +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
6e4c4b35e7 Initial implementation of NewGRF custom signal styles 2022-06-19 02:08:38 +01:00
Jonathan G Rennison
4d04a757cc Debug: Add new signals support to GRF debug window 2022-06-15 21:36:55 +01:00
Jonathan G Rennison
7bb0de247d Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.

Currently only for rock tiles
2022-06-13 17:13:48 +01:00
Jonathan G Rennison
7a61b5d820 VarAction2: Cache refit capacity callback results which depend only on cargo 2022-06-06 18:34:30 +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
564d7e5029 Debug: Allow clicking to highlight group in sprite group dump window 2022-06-01 21:31:05 +01:00
Jonathan G Rennison
42e20d3d99 Industry: Determine which tiles in industry layouts are not animated
Do not set these as animated tiles for new industries
2022-06-01 01:13:46 +01:00
Jonathan G Rennison
9a131a90ca Debug: Fix crash when inspecting train with realistic braking disabled
When realistic braking is otherwise enabled
2022-05-30 17:28:15 +01:00
Jonathan G Rennison
74eaa77538 Debug: Add sprite dump button to industry/station tile debug windows 2022-05-30 00:26:52 +01:00
Jonathan G Rennison
381aa04660 Debug: Add sprite dump button to industry debug window 2022-05-27 02:53:35 +01:00
Jonathan G Rennison
502980ba61 Support railtype-dependant GRF train speed limits with realistic braking
See: #389
2022-05-24 21:50:38 +01:00