Jonathan G Rennison
|
0ed30d0200
|
Avoid maybe unintialised warning in struct UniscribeRun
See: #394
|
2 years ago |
Jonathan G Rennison
|
96df13a032
|
Merge pull request #400 from telk5093/jgrpp
Update: Korean translation up to 10b415b
|
2 years ago |
Jonathan G Rennison
|
2f7664fc93
|
Move signal style mask variables into a single struct
|
2 years ago |
Jonathan G Rennison
|
c1b54f1c31
|
Fix missing includes in newgrf_newsignals.h
See: #401
|
2 years ago |
TELK
|
9c81951cef
|
Update: Korean translation up to 10b415b
|
2 years ago |
Jonathan G Rennison
|
a311f12615
|
Add signals_style_lookahead_single_signal_only signal style property
|
2 years ago |
Jonathan G Rennison
|
24e965061c
|
Fix limit train lookahead to signal aspect when starting
From depot and within signal sighting distance (e.g. reverse)
|
2 years ago |
translators
|
ffd3c11ba7
|
Update: Translations from eints
italian: 8 changes by Rivarossi
spanish: 19 changes by MontyMontana
|
2 years ago |
Jonathan G Rennison
|
10b415bf10
|
Level crossings: Clarify adjacent blocked crossing track status handler
Avoid unnecessary adjacent tile checks if crossing is not blocked
|
2 years ago |
translators
|
68257e0d7d
|
Update: Translations from eints
turkish: 1 change by jnmbk
spanish: 12 changes by MontyMontana
|
2 years ago |
Jonathan G Rennison
|
fcae909839
|
Add signal style flag for drawing on the opposite side
|
2 years ago |
Jonathan G Rennison
|
ff064e06b8
|
Fix race between network client disconnect and network window deletion
|
2 years ago |
Jonathan G Rennison
|
ccef4baea6
|
Remove header prototypes for non-existent functions
|
2 years ago |
Jonathan G Rennison
|
3a064f127b
|
Fix SetTrainReservationLookaheadEnd moving end nearer
|
2 years ago |
Jonathan G Rennison
|
96cf0f95bf
|
Adjust tunnel/bridge signal spacing to prefer a signal in the middle
|
2 years ago |
Jonathan G Rennison
|
b5d0c1d493
|
Debug: Show signalled tunnel/bridge info in debug window
|
2 years ago |
Jonathan G Rennison
|
229613b06a
|
VarAction2: Resolve jumps in advance to avoid needing to track nesting
|
2 years ago |
Jonathan G Rennison
|
b6e099121a
|
Fix limit train lookahead to signal aspect within signalled tunnel/bridges
|
2 years ago |
translators
|
f64cf8679d
|
Update: Translations from eints
chinese (traditional): 6 changes by wpi3
italian: 2 changes by Rivarossi
turkish: 1 change by jnmbk
|
2 years ago |
translators
|
278c1d06cf
|
Update: Translations from eints
italian: 6 changes by Rivarossi
turkish: 37 changes by jnmbk
|
2 years ago |
Jonathan G Rennison
|
387e646439
|
VarAction2: Add group flag for whether to run jump insert pass
|
2 years ago |
Jonathan G Rennison
|
3714fad790
|
VarAction2: Fix jump insertion using mul with bool as last value
|
2 years ago |
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
|
2 years ago |
translators
|
79af42e992
|
Update: Translations from eints
czech: 9 changes by LubosKolouch
|
2 years ago |
Jonathan G Rennison
|
9ff161e453
|
Boost realistic braking stats of trains affected by the freight multiplier
|
2 years ago |
Jonathan G Rennison
|
92723d4f5c
|
Remove tunnel/bridge spacing setting, use usual signal drag spacing
|
2 years ago |
Jonathan G Rennison
|
191f710c40
|
Add custom signal style properties to set electric/semaphore enabled types
|
2 years ago |
Jonathan G Rennison
|
175c5d4d50
|
Add signal style flag to limit lookahead extra aspect
|
2 years ago |
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
|
2 years ago |
Jonathan G Rennison
|
bdd73a19a1
|
Add signal style flag for unconditional reserve through
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
|
2 years ago |
Jonathan G Rennison
|
7ae06124ae
|
Add signal style flag for no aspect increase behaviour (banner repeater)
|
2 years ago |
Jonathan G Rennison
|
6e4c4b35e7
|
Initial implementation of NewGRF custom signal styles
|
2 years ago |
Jonathan G Rennison
|
4acccc232a
|
Fix #9925: Industry tile layout validation for layouts of only one tile
|
2 years ago |
Jonathan G Rennison
|
098bb74ed2
|
Fix industry tile layout validation when the layout has only one tile
See: https://github.com/OpenTTD/OpenTTD/issues/9925
|
2 years ago |
Jonathan G Rennison
|
9870f2db3a
|
Fix #399: Removing non-rectangular airports clearing non-airport tiles
Merge-conflict resolution error in 0b0d1547
|
2 years ago |
Jonathan G Rennison
|
4d04a757cc
|
Debug: Add new signals support to GRF debug window
|
2 years ago |
Jonathan G Rennison
|
41117a52d2
|
Signals: Add variable for signal context (track, tunnel, bridge, etc)
|
2 years ago |
Jonathan G Rennison
|
cf5eef515e
|
Signals: Add GRF restriction info bit for may reverse
|
2 years ago |
Jonathan G Rennison
|
9cf33efe18
|
Merge pull request #393 from telk5093/jgrpp
Update: Korean translation up to v0.47.3
|
2 years ago |
Jonathan G Rennison
|
4897fded95
|
Add hotkey to toggle via state of order
See: #398
|
2 years ago |
Jonathan G Rennison
|
13fcde9ea0
|
VarAction2: Add a JZ operation, use for ternary style mul masking
|
2 years ago |
Jonathan G Rennison
|
8687b82dd8
|
VarAction2: Mark various object variables as expensive
|
2 years ago |
Jonathan G Rennison
|
77963c5e64
|
Debug: Add misc_debug bit for extra detail in sprite group dump
|
2 years ago |
Jonathan G Rennison
|
c0b1f867a3
|
VarAction2: Prefer tracking store content as clone of another store
|
2 years ago |
Jonathan G Rennison
|
315f12f1e4
|
Fix spelling error in comment
|
2 years ago |
Jonathan G Rennison
|
7bb0de247d
|
Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.
Currently only for rock tiles
|
2 years ago |
Jonathan G Rennison
|
80281daa23
|
Fix wrong header guard comment in newgrf_newsignals.h
|
2 years ago |
Jonathan G Rennison
|
67104b4dc1
|
Add a simple 32 bit to 32 bit hash function (MurmurHash3)
|
2 years ago |
Jonathan G Rennison
|
65236bacc7
|
Debug: Fix crash when dumping null sprite group
|
2 years ago |
Jonathan G Rennison
|
ba52fbeb91
|
Signals: Add variable for restriction info, add bit for reserve through
|
2 years ago |
Jonathan G Rennison
|
28724d651d
|
Tracerestrict: Add button to highlight all signals using program
|
2 years ago |
Jonathan G Rennison
|
b37209c3af
|
Tracerestrict: Programs maintain a list of signals referencing them
|
2 years ago |
Jonathan G Rennison
|
c06acd3c47
|
Tracerestrict: Avoid double lookup when setting is restricted map bit
|
2 years ago |
Jonathan G Rennison
|
ccfcc22c03
|
Tracerestrict: Return error instead of assert for unknown subcommands
|
2 years ago |
translators
|
814c61a321
|
Update: Translations from eints
tamil: 20 changes by Aswn
|
2 years ago |
Jonathan G Rennison
|
02dabad81e
|
Tracerestrict: Add flag for whether reserve through is always set
|
2 years ago |
Jonathan G Rennison
|
5a02a13885
|
VarAction2: Add abs() detection to bool/mul adjust combining
|
2 years ago |
Jonathan G Rennison
|
e554d7fdfb
|
VarAction2: Generalise bool/mul adjust combining
|
2 years ago |
Jonathan G Rennison
|
3e56837ae6
|
Fix bec2bf7e: Fix (anti-)commutative store/load re-arrangements
|
2 years ago |
Jonathan G Rennison
|
34cd547325
|
Debug: Show if action 2s have been modified by action 6 in debug window
|
2 years ago |
Jonathan G Rennison
|
6214d0d20d
|
VarAction2: Add an ABS opcode
|
2 years ago |
Jonathan G Rennison
|
3ca95a63d2
|
Settings: Fix wrong flags for town max height and min area settings
|
2 years ago |
Jonathan G Rennison
|
7f1b3a965f
|
VarAction2: Allow tracking stores as (inverted) clones of previous store
|
2 years ago |
Jonathan G Rennison
|
8aac0ed639
|
VarAction2: Shrink size of RandomizedSpriteGroupCompareMode
|
2 years ago |
Jonathan G Rennison
|
bec2bf7e85
|
VarAction2: Initial temp store versioning in 1st pass
|
2 years ago |
Jonathan G Rennison
|
4f3058ee06
|
VarAction2: Improve handling of variable 7B with a previous constant
|
2 years ago |
Jonathan G Rennison
|
23e6d861fc
|
VarAction2: Ensure that store simplification can't break var 7B
|
2 years ago |
Jonathan G Rennison
|
3bddd55921
|
VarAction2: Add sprite group flag for if var 1C seen before proc
|
2 years ago |
Niels Martin Hansen
|
470c902bdc
|
Fix #9918: Reset industy last production year on scenario start
|
2 years ago |
Niels Martin Hansen
|
2cdb0cb084
|
Codechange: Factor out OnStartScenario function
|
2 years ago |
TELK
|
08726de24c
|
Update: Korean translation up to v0.47.3
|
2 years ago |
Jonathan G Rennison
|
16185e817e
|
VarAction2: Merge compatible constant operations
|
2 years ago |
Jonathan G Rennison
|
0343e9d9dd
|
VarAction2: Replace sequences of the form: (var * flag) + (var * !flag)
|
2 years ago |
Jonathan G Rennison
|
4553c22cee
|
Debug: Move DeterministicSpriteGroupAdjust dumping to separate function
|
2 years ago |
Jonathan G Rennison
|
e5e984d92f
|
VarAction2: Replace effective SMAX/SMIN sequences in DSE pass
|
2 years ago |
Jonathan G Rennison
|
0484fbf941
|
VarAction2: Save/restore inference when going back to previous op with side effects
|
2 years ago |
Jonathan G Rennison
|
376b434d53
|
VarAction2: Re-order commutative skip on zero operation sequences
Such that less expensive variables can be tested first
|
2 years ago |
Jonathan G Rennison
|
0409bd88e8
|
VarAction2: Simplify tracking of sprite group feature
|
2 years ago |
Jonathan G Rennison
|
caebff85f5
|
VarAction2: Add helper functions for constant comparison adjust types
|
2 years ago |
Jonathan G Rennison
|
249a20e47a
|
VarAction2: Add helper functions for relational comparison ops
|
2 years ago |
Jonathan G Rennison
|
31e96ff5e7
|
VarAction2: Add helper functions for anti-commutative ops
|
2 years ago |
Jonathan G Rennison
|
5db30e559e
|
VarAction2: Store substitutions can now handle inversions
|
2 years ago |
Jonathan G Rennison
|
b95116e4fc
|
VarAction2: Apply XOR bool inversion conversions after DSE
|
2 years ago |
Jonathan G Rennison
|
2bbfa37730
|
VarAction2: Replace reversed commutative/sub op via temp storage in DSE pass
|
2 years ago |
Jonathan G Rennison
|
9a40b9fbb9
|
Merge PR #390 into jgrpp
|
2 years ago |
Jonathan G Rennison
|
6f7f80c6cf
|
Merge branch 'master' into jgrpp
|
2 years ago |
Jonathan G Rennison
|
45ac1a89aa
|
VarAction2: Apply XOR with 1 bool logic inversion in more cases
Fixes case of DSE-delayed var substitutions
|
2 years ago |
Jonathan G Rennison
|
45798fa533
|
Debug: Add scroll to sprite number to debug window
|
2 years ago |
Jonathan G Rennison
|
1c1e6a1042
|
VarAction2: Prune deterministic sprite group children again after DSE
|
2 years ago |
Jonathan G Rennison
|
6e398f9cec
|
VarAction2: DSE now takes into account DSE results from child groups
|
2 years ago |
Jonathan G Rennison
|
65407210a6
|
VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ
|
2 years ago |
Jonathan G Rennison
|
d3dce79d73
|
VarAction2: Substitute single-use vars through temp storage in DSE pass
|
2 years ago |
Jonathan G Rennison
|
0310692acf
|
VarAction2: Only substitute cheap vars through temp storage in 1st pass
|
2 years ago |
Jonathan G Rennison
|
f54530b1b2
|
VarAction2: Add checks for vars 7B, 7C when getting previous single load
|
2 years ago |
translators
|
0d3756818f
|
Update: Translations from eints
korean: 1 change by telk5093
|
2 years ago |
Jonathan G Rennison
|
a8c0e47dd8
|
VarAction2: If DSE results in a redundant load, remove it
|
2 years ago |
Jonathan G Rennison
|
86324e0fda
|
Debug: Add mode to sprite dump window to show unoptimised
|
2 years ago |
Jonathan G Rennison
|
22e10462dc
|
Debug: Redraw debug window content if line change moves scroll position
|
2 years ago |
Jonathan G Rennison
|
a818157c57
|
Debug: Add button to duplicate debug window
|
2 years ago |
Jonathan G Rennison
|
74681f70d9
|
VarAction2: Replace inverted OR of bools with AND where this makes sense
|
2 years ago |
Jonathan G Rennison
|
e41a5d2f63
|
VarAction2: Add flags to skip adjust if value is 0 or LSB set
|
2 years ago |
Jonathan G Rennison
|
236cbc4e83
|
VarAction2: Optimise SAR same as SHR on unsigned inputs
|
2 years ago |
Jonathan G Rennison
|
9d04ebcc90
|
VarAction2: Remove operations which always do nothing when applied to 0
|
2 years ago |
Jonathan G Rennison
|
26dd84f931
|
VarAction2: Optimise OR followed by XOR of same constant
|
2 years ago |
Jonathan G Rennison
|
3aa0ccb97b
|
VarAction2: Optimise OR which always produces 1
|
2 years ago |
Jonathan G Rennison
|
9b0a7ac85e
|
Debug: Don't unnecessarily show numeric value of adjust operator
|
2 years ago |
Jonathan G Rennison
|
dc8465dc68
|
VarAction2: Shrink enum fields of DeterministicSpriteGroupAdjust
|
2 years ago |
Jonathan G Rennison
|
2663cc3fdc
|
VarAction2: Adjust masking in GetNearbyTileInformation
|
2 years ago |
Jonathan G Rennison
|
4b7288902d
|
VarAction2: Consider industry tile vars 0x60 to 0x62 to be expensive
|
2 years ago |
Jonathan G Rennison
|
3a5902ff77
|
VarAction2: Reduce cost of RecursiveDisallowDSEForProcedure
Fix disallowing DSE also disallowing store simplification
|
2 years ago |
Jonathan G Rennison
|
894c8d8b5e
|
NewGRF: Shrink various flags/enum fields
|
2 years ago |
translators
|
8cdf303e72
|
Update: Translations from eints
indonesian: 30 changes by indrabagus
|
2 years ago |
Jonathan G Rennison
|
c342b4219b
|
NewGRF: Use per-GRF text ID map in GetGRFStringID
|
2 years ago |
Jonathan G Rennison
|
7a61b5d820
|
VarAction2: Cache refit capacity callback results which depend only on cargo
|
2 years ago |
Jonathan G Rennison
|
fcd9137a9f
|
Change OTTD_PRINTFHEX... defines to uppercase
|
2 years ago |
Jonathan G Rennison
|
a9ca89d0f8
|
VarAction2: Move cb_result_found to a flags var in AnalyseCallbackOperation
|
2 years ago |
Jonathan G Rennison
|
f5f48e89dc
|
Debug: Show all sprite groups for vehicles in debug window
|
2 years ago |
Jonathan G Rennison
|
6825ea5e79
|
Debug: Show name of root sprite group shown in vehicle debug window
|
2 years ago |
Jonathan G Rennison
|
c3bc05f7b9
|
VarAction2: Add access to variable 1A to inline/fast path switch
|
2 years ago |
Jonathan G Rennison
|
3ea1e27fdd
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/spanish_MX.txt
# src/lang/traditional_chinese.txt
# src/script/api/script_airport.cpp
# src/script/api/script_rail.cpp
|
2 years ago |
Jonathan G Rennison
|
b2d8f3ce43
|
Add setting to disable water animation depending on zoom level
|
2 years ago |
Jonathan G Rennison
|
5055167c44
|
Add support for enum client settings
|
2 years ago |
Jonathan G Rennison
|
1518e4621b
|
Fix unused function warning in crash logger on Emscripten
|
2 years ago |
Jonathan G Rennison
|
f05b5163f7
|
Fix narrowing converison warning
|
2 years ago |
Jonathan G Rennison
|
cf640cc0cf
|
Debug: Add sprite group collapsing to sprite group dump window
|
2 years ago |
Jonathan G Rennison
|
bbc1e28b24
|
VarAction2: Re-use allocated callback result sprite groups
|
2 years ago |
Jonathan G Rennison
|
9c86f90bdd
|
Industry cargoes window: Allow linking only inputs or outputs to smallmap
|
2 years ago |
Jonathan G Rennison
|
e49d0b3f29
|
Add console command to set NewGRF optimiser flags
|
2 years ago |
Jonathan G Rennison
|
e5ef888e80
|
VarAction2: Add variable/constant copy store simplifification
|
2 years ago |
Jonathan G Rennison
|
a93b3948b5
|
VarAction2: Don't change variable masks when disabling procedure DSE
|
2 years ago |
Jonathan G Rennison
|
3d42e36f89
|
VarAction2: Avoid pessimising DSE when a procedure returns a callback result
|
2 years ago |
Jonathan G Rennison
|
9e414a1eab
|
VarAction2: Move optimiser flags to a separate setting
|
2 years ago |
Jonathan G Rennison
|
6ff8066d34
|
VarAction2: Ensure that a temp store var can't reference a clobbered var
|
2 years ago |
Jonathan G Rennison
|
fe6ab0f19f
|
VarAction2: Don't track var copies through temporary storage for stations
Except for copies of other temporary storage vars
|
2 years ago |
Jonathan G Rennison
|
db7f29b07c
|
VarAction2: Deduplicate loads from expensive uncached variables
Currently only some vehicle variables
|
2 years ago |
Jonathan G Rennison
|
6a17f00a27
|
VarAction2: Ensure dead store elimination doesn't break variable 0x7B
|
2 years ago |
Jonathan G Rennison
|
813146a78f
|
VarAction2: Track value inferences through temp storage in more cases
|
2 years ago |
Jonathan G Rennison
|
ccef3646db
|
VarAction2: Set value inferences for operations with eq/neq adjust types
|
2 years ago |
Jonathan G Rennison
|
04a9c73ec2
|
VarAction2: Combine RST, UMIN sequence to load with neq 0 adjust
|
2 years ago |
Jonathan G Rennison
|
9116ca6bb0
|
VarAction2: Track copies of variables through temporary storage
|
2 years ago |
Jonathan G Rennison
|
263a87f5da
|
VarAction2: Add adjust types for combined (in)equality with constant
|
2 years ago |
Jonathan G Rennison
|
1e52e51ce1
|
VarAction2: Add bounds checks to previous adjust accesses
|
2 years ago |
Jonathan G Rennison
|
c2fde53495
|
VarAction2: Remove redundant variable loads
|
2 years ago |
Jonathan G Rennison
|
4660169b1f
|
Do not emit screenshots for desync and inconsistency events
|
2 years ago |
Jonathan G Rennison
|
99ee4b13ce
|
Realistic braking: Cache train overall z position
Refresh cache at a variable rate depending on train length and
weight distribution
|
2 years ago |
Jonathan G Rennison
|
c238bd5012
|
Debug: Add temp store highlighting to sprite group dump window
Add tooltip
|
2 years ago |
translators
|
0a3d5f5ff8
|
Update: Translations from eints
italian: 1 change by Rivarossi
|
2 years ago |
Jonathan G Rennison
|
6d4da8afd4
|
Add setting to ignore object introduction dates
|
2 years ago |
Jonathan G Rennison
|
6fce46304a
|
Add setting to disable object expiry after a given year
|
2 years ago |
Jonathan G Rennison
|
30f74c5b74
|
Sprite group: Add getter function for sprite groups
|
2 years ago |