Jonathan G Rennison
|
5718730d68
|
VarAction2: Add support for more varaction2 types
Add CB failure and deterministic relative types
|
2 years ago |
Jonathan G Rennison
|
57c5cc32d0
|
VarAction2: Improve handling of feature changes with parent scopes
|
2 years ago |
Jonathan G Rennison
|
0e5a09974a
|
VarAction2: Fix detection of callback handlers which don't inspect var C
|
2 years ago |
Jonathan G Rennison
|
6459e62fff
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/lang/english.txt
# src/map_type.h
# src/network/network_command.cpp
# src/object_cmd.cpp
# src/rail_cmd.cpp
# src/road_cmd.cpp
# src/road_func.h
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/settings_gui.cpp
# src/string.cpp
# src/table/road_land.h
# src/table/settings/game_settings.ini
# src/table/settings/world_settings.ini
# src/tbtr_template_gui_main.h
# src/train_cmd.cpp
|
2 years ago |
PeterN
|
f24286a1ae
|
Fix: Ensure 31-bit shifts are unsigned. (#10128)
Shifting a signed 32-bit integer by 31 bits is undefined behaviour.
A few more than necessary are switched to unsigned for consistentency.
|
2 years ago |
Jonathan G Rennison
|
7e6f7ebba6
|
VarAction2: Remove umax operations with constant 0
|
2 years ago |
Jonathan G Rennison
|
419c356f30
|
VarAction2: Remove mul and div operations with constant 1
|
2 years ago |
Jonathan G Rennison
|
c2ede2af54
|
VarAction2: Allow inlining trivial procedures
|
2 years ago |
Jonathan G Rennison
|
602ac717aa
|
Initial support for DSE and jumping over procedures with child groups
|
2 years ago |
Jonathan G Rennison
|
173f867e1a
|
VarAction2: Save calculated_result in shadow group struct
|
2 years ago |
Jonathan G Rennison
|
14de8c7f34
|
VarAction2: Add quick exit case to last-level callback groups if possible
|
2 years ago |
Jonathan G Rennison
|
e584ef7bba
|
Move NewGRF analysis to separate files
|
2 years ago |
Jonathan G Rennison
|
9ed5b6e65c
|
Debug: Change sprite group indentation handling
|
2 years ago |
Jonathan G Rennison
|
41f2e92f5c
|
VarAction2: Add a NOOP operator
|
2 years ago |
Jonathan G Rennison
|
9a4c31b0da
|
VarAction2: Add last_value variants of JZ/JNZ ops
|
2 years ago |
Jonathan G Rennison
|
cbc6199542
|
VarAction2: Add a JNZ op analogous to JZ for OR ops
|
2 years ago |
Jonathan G Rennison
|
229613b06a
|
VarAction2: Resolve jumps in advance to avoid needing to track nesting
|
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
|
13fcde9ea0
|
VarAction2: Add a JZ operation, use for ternary style mul masking
|
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
|
8aac0ed639
|
VarAction2: Shrink size of RandomizedSpriteGroupCompareMode
|
2 years ago |
Jonathan G Rennison
|
3bddd55921
|
VarAction2: Add sprite group flag for if var 1C seen before proc
|
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
|
45798fa533
|
Debug: Add scroll to sprite number to debug window
|
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
|
86324e0fda
|
Debug: Add mode to sprite dump window to show unoptimised
|
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
|
9d04ebcc90
|
VarAction2: Remove operations which always do nothing when applied to 0
|
2 years ago |
Jonathan G Rennison
|
dc8465dc68
|
VarAction2: Shrink enum fields of DeterministicSpriteGroupAdjust
|
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 |
Jonathan G Rennison
|
7a61b5d820
|
VarAction2: Cache refit capacity callback results which depend only on cargo
|
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
|
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
|
db7f29b07c
|
VarAction2: Deduplicate loads from expensive uncached variables
Currently only some vehicle variables
|
2 years ago |
Jonathan G Rennison
|
263a87f5da
|
VarAction2: Add adjust types for combined (in)equality with constant
|
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
|
564d7e5029
|
Debug: Allow clicking to highlight group in sprite group dump window
|
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
|
304f88dc40
|
VarAction2: Fix callback result detection in AnalyseEngineCallbacks
|
2 years ago |
Jonathan G Rennison
|
994dc683a2
|
VarAction2: Fix calculated result groups being incorrectly pruned
|
2 years ago |
Jonathan G Rennison
|
a5f5be2dff
|
VarAction2: Detect ops on previous constants which become loads
|
2 years ago |