Commit Graph

53300 Commits

Author SHA1 Message Date
Jonathan G Rennison
3ca95a63d2 Settings: Fix wrong flags for town max height and min area settings 2022-06-11 01:42:05 +01:00
Jonathan G Rennison
7f1b3a965f VarAction2: Allow tracking stores as (inverted) clones of previous store 2022-06-10 20:28:52 +01:00
Jonathan G Rennison
8aac0ed639 VarAction2: Shrink size of RandomizedSpriteGroupCompareMode 2022-06-10 20:07:21 +01:00
Jonathan G Rennison
bec2bf7e85 VarAction2: Initial temp store versioning in 1st pass 2022-06-10 20:07:21 +01:00
Jonathan G Rennison
4f3058ee06 VarAction2: Improve handling of variable 7B with a previous constant 2022-06-10 20:07:21 +01:00
Jonathan G Rennison
23e6d861fc VarAction2: Ensure that store simplification can't break var 7B 2022-06-10 20:06:24 +01:00
Jonathan G Rennison
3bddd55921 VarAction2: Add sprite group flag for if var 1C seen before proc 2022-06-10 20:06:24 +01:00
Niels Martin Hansen
470c902bdc Fix #9918: Reset industy last production year on scenario start 2022-06-09 23:03:25 +02:00
Niels Martin Hansen
2cdb0cb084 Codechange: Factor out OnStartScenario function 2022-06-09 23:03:25 +02:00
TELK
08726de24c Update: Korean translation up to v0.47.3 2022-06-09 19:24:08 +09:00
Jonathan G Rennison
322363b6ea Version: Committing version data for tag: jgrpp-0.47.3 2022-06-09 01:08:29 +01:00
Jonathan G Rennison
16185e817e VarAction2: Merge compatible constant operations 2022-06-09 00:44:31 +01:00
Jonathan G Rennison
0343e9d9dd VarAction2: Replace sequences of the form: (var * flag) + (var * !flag) 2022-06-09 00:27:09 +01:00
Jonathan G Rennison
4553c22cee Debug: Move DeterministicSpriteGroupAdjust dumping to separate function 2022-06-08 21:33:34 +01:00
Jonathan G Rennison
e5e984d92f VarAction2: Replace effective SMAX/SMIN sequences in DSE pass 2022-06-08 21:19:18 +01:00
Jonathan G Rennison
0484fbf941 VarAction2: Save/restore inference when going back to previous op with side effects 2022-06-08 21:05:33 +01:00
Jonathan G Rennison
376b434d53 VarAction2: Re-order commutative skip on zero operation sequences
Such that less expensive variables can be tested first
2022-06-08 20:29:46 +01:00
Jonathan G Rennison
0409bd88e8 VarAction2: Simplify tracking of sprite group feature 2022-06-08 20:22:53 +01:00
Jonathan G Rennison
caebff85f5 VarAction2: Add helper functions for constant comparison adjust types 2022-06-08 19:40:36 +01:00
Jonathan G Rennison
249a20e47a VarAction2: Add helper functions for relational comparison ops 2022-06-08 19:22:00 +01:00
Jonathan G Rennison
31e96ff5e7 VarAction2: Add helper functions for anti-commutative ops 2022-06-08 19:15:56 +01:00
Jonathan G Rennison
5db30e559e VarAction2: Store substitutions can now handle inversions 2022-06-08 19:07:30 +01:00
Jonathan G Rennison
b95116e4fc VarAction2: Apply XOR bool inversion conversions after DSE 2022-06-08 18:06:38 +01:00
Jonathan G Rennison
2bbfa37730 VarAction2: Replace reversed commutative/sub op via temp storage in DSE pass 2022-06-08 17:53:16 +01:00
Jonathan G Rennison
9a40b9fbb9 Merge PR #390 into jgrpp 2022-06-08 17:38:08 +01:00
Jonathan G Rennison
6f7f80c6cf Merge branch 'master' into jgrpp 2022-06-08 17:37:08 +01:00
Jonathan G Rennison
45ac1a89aa VarAction2: Apply XOR with 1 bool logic inversion in more cases
Fixes case of DSE-delayed var substitutions
2022-06-08 02:34:54 +01:00
Jonathan G Rennison
45798fa533 Debug: Add scroll to sprite number to debug window 2022-06-08 01:57:10 +01:00
Jonathan G Rennison
1c1e6a1042 VarAction2: Prune deterministic sprite group children again after DSE 2022-06-08 00:05:22 +01:00
Jonathan G Rennison
6e398f9cec VarAction2: DSE now takes into account DSE results from child groups 2022-06-07 23:53:32 +01:00
Jonathan G Rennison
65407210a6 VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ 2022-06-07 22:21:51 +01:00
Jonathan G Rennison
d3dce79d73 VarAction2: Substitute single-use vars through temp storage in DSE pass 2022-06-07 22:03:02 +01:00
Jonathan G Rennison
0310692acf VarAction2: Only substitute cheap vars through temp storage in 1st pass 2022-06-07 20:22:57 +01:00
Jonathan G Rennison
f54530b1b2 VarAction2: Add checks for vars 7B, 7C when getting previous single load 2022-06-07 19:53:42 +01:00
translators
0d3756818f Update: Translations from eints
korean: 1 change by telk5093
2022-06-07 18:48:01 +00:00
Jonathan G Rennison
a8c0e47dd8 VarAction2: If DSE results in a redundant load, remove it 2022-06-07 19:25:08 +01:00
Jonathan G Rennison
86324e0fda Debug: Add mode to sprite dump window to show unoptimised 2022-06-07 18:54:42 +01:00
Jonathan G Rennison
22e10462dc Debug: Redraw debug window content if line change moves scroll position 2022-06-07 18:32:46 +01:00
Jonathan G Rennison
a818157c57 Debug: Add button to duplicate debug window 2022-06-07 17:23:10 +01:00
Jonathan G Rennison
74681f70d9 VarAction2: Replace inverted OR of bools with AND where this makes sense 2022-06-06 23:13:09 +01:00
Jonathan G Rennison
e41a5d2f63 VarAction2: Add flags to skip adjust if value is 0 or LSB set 2022-06-06 23:04:45 +01:00
Jonathan G Rennison
236cbc4e83 VarAction2: Optimise SAR same as SHR on unsigned inputs 2022-06-06 22:47:53 +01:00
Jonathan G Rennison
9d04ebcc90 VarAction2: Remove operations which always do nothing when applied to 0 2022-06-06 22:20:16 +01:00
Jonathan G Rennison
26dd84f931 VarAction2: Optimise OR followed by XOR of same constant 2022-06-06 22:17:14 +01:00
Jonathan G Rennison
3aa0ccb97b VarAction2: Optimise OR which always produces 1 2022-06-06 22:17:14 +01:00
Jonathan G Rennison
9b0a7ac85e Debug: Don't unnecessarily show numeric value of adjust operator 2022-06-06 22:06:52 +01:00
Jonathan G Rennison
dc8465dc68 VarAction2: Shrink enum fields of DeterministicSpriteGroupAdjust 2022-06-06 21:38:12 +01:00
Jonathan G Rennison
2663cc3fdc VarAction2: Adjust masking in GetNearbyTileInformation 2022-06-06 21:10:54 +01:00
Jonathan G Rennison
4b7288902d VarAction2: Consider industry tile vars 0x60 to 0x62 to be expensive 2022-06-06 21:10:40 +01:00
Jonathan G Rennison
3a5902ff77 VarAction2: Reduce cost of RecursiveDisallowDSEForProcedure
Fix disallowing DSE also disallowing store simplification
2022-06-06 20:09:48 +01:00