Commit Graph

53087 Commits

Author SHA1 Message Date
Jonathan G Rennison
1518e4621b Fix unused function warning in crash logger on Emscripten 2022-06-05 16:10:15 +01:00
Jonathan G Rennison
f05b5163f7 Fix narrowing converison warning 2022-06-05 16:09:50 +01:00
Jonathan G Rennison
13bb4fc47b Documentation: Update low level changes document 2022-06-05 15:54:22 +01:00
Jonathan G Rennison
cf640cc0cf Debug: Add sprite group collapsing to sprite group dump window 2022-06-04 21:08:35 +01:00
Jonathan G Rennison
bbc1e28b24 VarAction2: Re-use allocated callback result sprite groups 2022-06-04 20:31:09 +01:00
Jonathan G Rennison
9c86f90bdd Industry cargoes window: Allow linking only inputs or outputs to smallmap 2022-06-04 19:42:28 +01:00
Jonathan G Rennison
e49d0b3f29 Add console command to set NewGRF optimiser flags 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
e5ef888e80 VarAction2: Add variable/constant copy store simplifification 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
a93b3948b5 VarAction2: Don't change variable masks when disabling procedure DSE 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
3d42e36f89 VarAction2: Avoid pessimising DSE when a procedure returns a callback result 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
9e414a1eab VarAction2: Move optimiser flags to a separate setting 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
6ff8066d34 VarAction2: Ensure that a temp store var can't reference a clobbered var 2022-06-04 02:12:23 +01:00
Jonathan G Rennison
fe6ab0f19f VarAction2: Don't track var copies through temporary storage for stations
Except for copies of other temporary storage vars
2022-06-03 23:28:43 +01:00
Jonathan G Rennison
db7f29b07c VarAction2: Deduplicate loads from expensive uncached variables
Currently only some vehicle variables
2022-06-03 20:14:30 +01:00
Jonathan G Rennison
6a17f00a27 VarAction2: Ensure dead store elimination doesn't break variable 0x7B 2022-06-03 19:13:07 +01:00
Jonathan G Rennison
813146a78f VarAction2: Track value inferences through temp storage in more cases 2022-06-03 16:04:57 +01:00
Jonathan G Rennison
ccef3646db VarAction2: Set value inferences for operations with eq/neq adjust types 2022-06-03 16:04:44 +01:00
Jonathan G Rennison
04a9c73ec2 VarAction2: Combine RST, UMIN sequence to load with neq 0 adjust 2022-06-03 15:34:50 +01:00
Jonathan G Rennison
9116ca6bb0 VarAction2: Track copies of variables through temporary storage 2022-06-03 15:23:33 +01:00
Jonathan G Rennison
263a87f5da VarAction2: Add adjust types for combined (in)equality with constant 2022-06-03 14:17:15 +01:00
Jonathan G Rennison
1e52e51ce1 VarAction2: Add bounds checks to previous adjust accesses 2022-06-03 14:00:00 +01:00
Jonathan G Rennison
c2fde53495 VarAction2: Remove redundant variable loads 2022-06-03 12:51:58 +01:00
Jonathan G Rennison
4660169b1f Do not emit screenshots for desync and inconsistency events 2022-06-03 10:43:52 +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
c238bd5012 Debug: Add temp store highlighting to sprite group dump window
Add tooltip
2022-06-02 20:07:18 +01:00
translators
0a3d5f5ff8 Update: Translations from eints
italian: 1 change by Rivarossi
2022-06-02 18:51:19 +00:00
Jonathan G Rennison
6d4da8afd4 Add setting to ignore object introduction dates 2022-06-02 14:06:21 +01:00
Jonathan G Rennison
6fce46304a Add setting to disable object expiry after a given year 2022-06-02 13:29:03 +01:00
Jonathan G Rennison
30f74c5b74 Sprite group: Add getter function for sprite groups 2022-06-01 23:47:03 +01:00
Jonathan G Rennison
d8f9641dc9 VarAction2: Remove redundant UMIN operation on already boolean values 2022-06-01 23:01:50 +01:00
Jonathan G Rennison
3c9201ebd5 VarAction2: Fix dead store elimination through randomised sprite groups 2022-06-01 22:36:04 +01:00
Jonathan G Rennison
ce98daedce Util: Add a y-combinator template class 2022-06-01 22:34:06 +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
6d877b5e70 Reduce redundant calls to get current max speed for trains and RVs
Between ShowVisualEffect() and UpdateSpeed()
2022-06-01 20:05:45 +01:00
glx22
aeeee9f18e Fix #9909, 13528bf: Left-over unused parameter breaks overload resolution 2022-06-01 19:24:48 +02:00
Jonathan G Rennison
af270a63ad Industry: Apply anim tile masking when loading prior version saves 2022-06-01 01:21:58 +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
220390ed3e Crashlog: Support gdb read when /dev/null is missing 2022-05-31 22:58:16 +01:00
glx22
675cf7a8ee Fix 6fe445e: [Script] Respect joining adjacent when building an airport 2022-05-31 23:14:47 +02:00
Jonathan G Rennison
d83f0d0cda Crashlog: Use a temp file instead of a pipe to read from gdb/lldb 2022-05-31 22:01:52 +01:00
Jonathan G Rennison
4a0fa0cc75 Crashlog: Do not try to read from other executables if /dev/null is missing 2022-05-31 21:38:02 +01:00
Jonathan G Rennison
9d0e3e22b7 Fix being able to add/remove/modify tunnel/bridge signals when occupied 2022-05-31 21:18:30 +01:00
translators
9fca8af586 Update: Translations from eints
spanish (mexican): 7 changes by absay
2022-05-31 18:49:21 +00:00
Jonathan G Rennison
304f88dc40 VarAction2: Fix callback result detection in AnalyseEngineCallbacks 2022-05-31 17:41:35 +01:00
Jonathan G Rennison
e0581db2a1 VarAction2: Remove dead stores and redundant adjusts in more cases 2022-05-31 03:26:45 +01:00
Jonathan G Rennison
541294e845 Debug: Add misc debug bit for animated tile zoning overlay 2022-05-31 01:32:48 +01:00
Jonathan G Rennison
8eb86fa6c7 GRF: Use access mask when evaluating get nearby tile information variable 2022-05-31 01:32:18 +01:00
Jonathan G Rennison
7207c9330c Tile loop: Add snow line check fast path for tiles well above snow line 2022-05-30 23:53:04 +01:00
Jonathan G Rennison
d71e38446e Improve performance of string lookup in AddGRFString 2022-05-30 23:51:44 +01:00
translators
a59c19c6c2 Update: Translations from eints
chinese (traditional): 24 changes by Tetrapod1206
italian: 6 changes by Rivarossi
2022-05-30 18:48:34 +00:00