Commit Graph

39971 Commits (6ff8066d34a27839bd4ea71190fcca6e61a36bb8)

Author SHA1 Message Date
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
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
Jonathan G Rennison d8f9641dc9 VarAction2: Remove redundant UMIN operation on already boolean values 2 years ago
Jonathan G Rennison 3c9201ebd5 VarAction2: Fix dead store elimination through randomised sprite groups 2 years ago
Jonathan G Rennison ce98daedce Util: Add a y-combinator template class 2 years ago
Jonathan G Rennison 564d7e5029 Debug: Allow clicking to highlight group in sprite group dump window 2 years ago
Jonathan G Rennison 6d877b5e70 Reduce redundant calls to get current max speed for trains and RVs
Between ShowVisualEffect() and UpdateSpeed()
2 years ago
Jonathan G Rennison af270a63ad Industry: Apply anim tile masking when loading prior version saves 2 years ago
Jonathan G Rennison 42e20d3d99 Industry: Determine which tiles in industry layouts are not animated
Do not set these as animated tiles for new industries
2 years ago
Jonathan G Rennison 220390ed3e Crashlog: Support gdb read when /dev/null is missing 2 years ago
Jonathan G Rennison d83f0d0cda Crashlog: Use a temp file instead of a pipe to read from gdb/lldb 2 years ago
Jonathan G Rennison 4a0fa0cc75 Crashlog: Do not try to read from other executables if /dev/null is missing 2 years ago
Jonathan G Rennison 9d0e3e22b7 Fix being able to add/remove/modify tunnel/bridge signals when occupied 2 years ago
Jonathan G Rennison 304f88dc40 VarAction2: Fix callback result detection in AnalyseEngineCallbacks 2 years ago
Jonathan G Rennison e0581db2a1 VarAction2: Remove dead stores and redundant adjusts in more cases 2 years ago
Jonathan G Rennison 541294e845 Debug: Add misc debug bit for animated tile zoning overlay 2 years ago
Jonathan G Rennison 8eb86fa6c7 GRF: Use access mask when evaluating get nearby tile information variable 2 years ago
Jonathan G Rennison 7207c9330c Tile loop: Add snow line check fast path for tiles well above snow line 2 years ago
Jonathan G Rennison d71e38446e Improve performance of string lookup in AddGRFString 2 years ago
Jonathan G Rennison 9a131a90ca Debug: Fix crash when inspecting train with realistic braking disabled
When realistic braking is otherwise enabled
2 years ago
Jonathan G Rennison 994dc683a2 VarAction2: Fix calculated result groups being incorrectly pruned 2 years ago
Jonathan G Rennison d6015194c1 Allow ctrl-clicking other company trains on own track to start/stop
See: #392
2 years ago
Jonathan G Rennison 74eaa77538 Debug: Add sprite dump button to industry/station tile debug windows 2 years ago
Jonathan G Rennison b102e912b3 VarAction2: Allow temp store dead store elmination with industries 2 years ago
Jonathan G Rennison b74873a2fb Debug: Show industry production sprite group registers/values 2 years ago
Jonathan G Rennison 4687a8c2a4 VarAction2: Prune group ranges for constant values
Add chicken bit to control pruning
2 years ago
Jonathan G Rennison c894d5a86d VarAction2: Add temp store dead store elimination 2 years ago
Jonathan G Rennison d9358efc3d VarAction2: Handle zero adjusts simple case in callback analyser 2 years ago
Jonathan G Rennison c38d0d0458 Debug: Show tile layout sprite group register flags/values 2 years ago
Jonathan G Rennison 4a8b2df108 Util: Add a non-dynamic arena allocator based on DynUniformArenaAllocator 2 years ago
Jonathan G Rennison a8eb52f061 VarAction2: Simplify handling of first adjustment 2 years ago
Jonathan G Rennison a5f5be2dff VarAction2: Detect ops on previous constants which become loads 2 years ago
Jonathan G Rennison 1fec7d6ddb VarAction2: Detect and replace reversed commutative op via temp storage 2 years ago
Jonathan G Rennison 762cfb3df7 VarAction2: Track temp store loads with respect to stores 2 years ago
Jonathan G Rennison 862d955320 Debug: Include var 7E procedures in sprite dump output 2 years ago