Commit Graph

53360 Commits

Author SHA1 Message Date
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
24e965061c Fix limit train lookahead to signal aspect when starting
From depot and within signal sighting distance (e.g. reverse)
2022-06-25 01:17:24 +01:00
translators
ffd3c11ba7 Update: Translations from eints
italian: 8 changes by Rivarossi
spanish: 19 changes by MontyMontana
2022-06-24 18:48:39 +00:00
Jonathan G Rennison
10b415bf10 Level crossings: Clarify adjacent blocked crossing track status handler
Avoid unnecessary adjacent tile checks if crossing is not blocked
2022-06-23 21:16:00 +01:00
translators
68257e0d7d Update: Translations from eints
turkish: 1 change by jnmbk
spanish: 12 changes by MontyMontana
2022-06-23 18:50:06 +00:00
Jonathan G Rennison
fcae909839 Add signal style flag for drawing on the opposite side 2022-06-22 23:45:44 +01:00
Jonathan G Rennison
ff064e06b8 Fix race between network client disconnect and network window deletion 2022-06-22 19:23:20 +01:00
Jonathan G Rennison
ccef4baea6 Remove header prototypes for non-existent functions 2022-06-22 19:06:06 +01:00
Jonathan G Rennison
3a064f127b Fix SetTrainReservationLookaheadEnd moving end nearer 2022-06-22 18:50:41 +01:00
Jonathan G Rennison
96cf0f95bf Adjust tunnel/bridge signal spacing to prefer a signal in the middle 2022-06-22 18:00:07 +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
229613b06a VarAction2: Resolve jumps in advance to avoid needing to track nesting 2022-06-22 02:09:13 +01:00
Jonathan G Rennison
b6e099121a Fix limit train lookahead to signal aspect within signalled tunnel/bridges 2022-06-22 00:24:13 +01:00
translators
f64cf8679d Update: Translations from eints
chinese (traditional): 6 changes by wpi3
italian: 2 changes by Rivarossi
turkish: 1 change by jnmbk
2022-06-21 18:47:23 +00:00
translators
278c1d06cf Update: Translations from eints
italian: 6 changes by Rivarossi
turkish: 37 changes by jnmbk
2022-06-20 18:48:32 +00:00
Jonathan G Rennison
387e646439 VarAction2: Add group flag for whether to run jump insert pass 2022-06-20 18:46:31 +01:00
Jonathan G Rennison
3714fad790 VarAction2: Fix jump insertion using mul with bool as last value 2022-06-20 18:41:09 +01:00
Jonathan G Rennison
4af3022c45 VarAction2: Fix last variable read annotations being incorrect
This is because DSE variable substitutions/etc were applied afterwards
This broke jump insertion
2022-06-20 18:23:52 +01:00
translators
79af42e992 Update: Translations from eints
czech: 9 changes by LubosKolouch
2022-06-19 18:45:14 +00:00
Jonathan G Rennison
9ff161e453 Boost realistic braking stats of trains affected by the freight multiplier 2022-06-19 18:57:40 +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
191f710c40 Add custom signal style properties to set electric/semaphore enabled types 2022-06-19 17:43:46 +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
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
4acccc232a Fix #9925: Industry tile layout validation for layouts of only one tile 2022-06-18 22:02:08 +02:00
Jonathan G Rennison
098bb74ed2 Fix industry tile layout validation when the layout has only one tile
See: https://github.com/OpenTTD/OpenTTD/issues/9925
2022-06-18 11:08:13 +01:00
Jonathan G Rennison
9870f2db3a Fix #399: Removing non-rectangular airports clearing non-airport tiles
Merge-conflict resolution error in 0b0d1547
2022-06-16 17:31:24 +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
41117a52d2 Signals: Add variable for signal context (track, tunnel, bridge, etc) 2022-06-15 19:03:13 +01:00
Jonathan G Rennison
cf5eef515e Signals: Add GRF restriction info bit for may reverse 2022-06-15 17:49:54 +01:00
Jonathan G Rennison
9cf33efe18
Merge pull request #393 from telk5093/jgrpp
Update: Korean translation up to v0.47.3
2022-06-14 20:08:48 +01:00
Jonathan G Rennison
4897fded95 Add hotkey to toggle via state of order
See: #398
2022-06-14 19:56:16 +01:00
Jonathan G Rennison
13fcde9ea0 VarAction2: Add a JZ operation, use for ternary style mul masking 2022-06-14 02:23:23 +01:00
Jonathan G Rennison
8687b82dd8 VarAction2: Mark various object variables as expensive 2022-06-14 01:34:25 +01:00
Jonathan G Rennison
77963c5e64 Debug: Add misc_debug bit for extra detail in sprite group dump 2022-06-14 01:23:05 +01:00
Jonathan G Rennison
c0b1f867a3 VarAction2: Prefer tracking store content as clone of another store 2022-06-14 00:53:26 +01:00
Jonathan G Rennison
315f12f1e4 Fix spelling error in comment 2022-06-13 17:19:02 +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
80281daa23 Fix wrong header guard comment in newgrf_newsignals.h 2022-06-13 17:13:48 +01:00
Jonathan G Rennison
a85492cb58 Documentation: Add section list to NewGRF additions doc 2022-06-13 02:28:42 +01:00
Jonathan G Rennison
d7eff4b926 Documentation: Add note about action 3 signals cargo types 2022-06-13 01:40:09 +01:00
Jonathan G Rennison
b6630acc24 Documentation: Fix explanation of road stops terrain type variable 2022-06-13 01:36:06 +01:00
Jonathan G Rennison
67104b4dc1 Add a simple 32 bit to 32 bit hash function (MurmurHash3) 2022-06-13 01:08:03 +01:00
Jonathan G Rennison
65236bacc7 Debug: Fix crash when dumping null sprite group 2022-06-13 01:07:16 +01:00
Jonathan G Rennison
c1df524c4b cmake: Don't try to write rev.cpp/etc if no path specified 2022-06-12 09:18:42 +01:00
Jonathan G Rennison
ba52fbeb91 Signals: Add variable for restriction info, add bit for reserve through 2022-06-12 09:00:31 +01:00
Jonathan G Rennison
28724d651d Tracerestrict: Add button to highlight all signals using program 2022-06-11 23:29:37 +01:00