Commit Graph

52973 Commits (8eb86fa6c72f45f6478403024dfc33a52e627978)
 

Author SHA1 Message Date
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
Jonathan G Rennison 6953150898 VarAction2: Move optimisation pass to separate function
Simplify logic slightly
2 years ago
Jonathan G Rennison 57c0ce1270 Fix public roads when traversing level crossings and other non-normal road 2 years ago
Jonathan G Rennison 145536e1fd VarAction2: Detect and replace reverse subtract via temp storage 2 years ago
Jonathan G Rennison 381aa04660 Debug: Add sprite dump button to industry debug window 2 years ago
Jonathan G Rennison dd2e1fe956 Add chicken bit to disable varact2 optimisation 2 years ago
Jonathan G Rennison 72e2ee882e Fix 1a38cbde7: Ship viewport hash not updated on rotation 2 years ago
Jonathan G Rennison f0a0b2e200 VarAction2: Flatten constant operations on constants in more cases 2 years ago
Jonathan G Rennison 2360b3e93e VarAction2: Detect and replace scaled reads of train/RV/ship current speed 2 years ago
Jonathan G Rennison 730b84e262 Fix load check of a savegame with realistic braking enabled triggering signal checks on current game 2 years ago
Jonathan G Rennison 13cdef2a2d VarAction2: Remove redundant and with 1 when value is already bool 2 years ago
Jonathan G Rennison 2f09eff404 VarAction2: Convert boolean, invert sequence to ternary 2 years ago
Jonathan G Rennison 90a2aa57fc VarAction2: Detect and replace signed relational comparisons 2 years ago
Jonathan G Rennison e732042785 VarAction2: Remove redundant constant loads 2 years ago
Jonathan G Rennison 74e1a40f7c VarAction2: Remove trivially resolvable deterministic sprite groups 2 years ago
Jonathan G Rennison 3b5eede3fc VarAction2: Detect and replace operations which always produce 0 2 years ago
Jonathan G Rennison a21ae12c90 VarAction2: Remove redundant temp store loads after stores 2 years ago
Jonathan G Rennison db5be4f92e VarAction2: Remove constant parameter redirection via variable 7B 2 years ago
Jonathan G Rennison 08b83352bf Fix truncation of variable mapping A2VM->VPRM params wider than 8 bits
And remapped variables via variable 7B
2 years ago
Jonathan G Rennison da629e4cfa VarAction2: Replace divs of powers of 2 with shifts where possible 2 years ago
Jonathan G Rennison fad5973161 VarAction2: Reduce shift right and mask ops into adjust shift/mask 2 years ago
Jonathan G Rennison 012d73ef34 VarAction2: Detect equality comparisons
Remove redundant equality with 0 comparison before ternary
2 years ago
Jonathan G Rennison 7283825638 VarAction2: Detect and replace ternary operator pattern 2 years ago
Jonathan G Rennison e3df522111 VarAction2: Delete provably zero adjustment operations 2 years ago
Jonathan G Rennison 502980ba61 Support railtype-dependant GRF train speed limits with realistic braking
See: #389
2 years ago
Jonathan G Rennison aeac77e012 Fix engine callbacks not being analysed in newly generated games 2 years ago
Jonathan G Rennison 1a38cbde74 Fix ships not always updating in viewport map mode
Adjust sprite_seq_bounds to plausible value matching current rotation
to fix viewport update region missing vehicle tile
2 years ago
Jonathan G Rennison cf3ea7b6af Debug: Include x_offs/y_offs in vehicle debug window 2 years ago
Jonathan G Rennison 0ac96a0da3 Show vehicle inspect window when ctrl-shift clicking in group list window 2 years ago
Jonathan G Rennison 6107aa9e5c Render an overlay of the measurement tool area in viewport map mode
See: #388
2 years ago
Jonathan G Rennison 981104e308 Add a functor fill mode to GfxFillPolygon 2 years ago
Jonathan G Rennison 9fddfdeccf Fix viewport map scrolling box blend over vehicles on animated blitters 2 years ago