Commit Graph

  • 4897fded95 Add hotkey to toggle via state of order Jonathan G Rennison 2022-06-14 19:56:16 +01:00
  • 13fcde9ea0 VarAction2: Add a JZ operation, use for ternary style mul masking Jonathan G Rennison 2022-06-14 02:23:23 +01:00
  • 8687b82dd8 VarAction2: Mark various object variables as expensive Jonathan G Rennison 2022-06-14 01:34:25 +01:00
  • 77963c5e64 Debug: Add misc_debug bit for extra detail in sprite group dump Jonathan G Rennison 2022-06-14 01:23:05 +01:00
  • c0b1f867a3 VarAction2: Prefer tracking store content as clone of another store Jonathan G Rennison 2022-06-14 00:53:26 +01:00
  • 315f12f1e4 Fix spelling error in comment Jonathan G Rennison 2022-06-13 17:19:02 +01:00
  • 7bb0de247d Add GRF feature: New Landscape Jonathan G Rennison 2022-06-13 02:53:27 +01:00
  • 80281daa23 Fix wrong header guard comment in newgrf_newsignals.h Jonathan G Rennison 2022-06-13 02:55:57 +01:00
  • a85492cb58 Documentation: Add section list to NewGRF additions doc Jonathan G Rennison 2022-06-13 02:28:42 +01:00
  • d7eff4b926 Documentation: Add note about action 3 signals cargo types Jonathan G Rennison 2022-06-13 01:38:39 +01:00
  • b6630acc24 Documentation: Fix explanation of road stops terrain type variable Jonathan G Rennison 2022-06-13 01:36:06 +01:00
  • 67104b4dc1 Add a simple 32 bit to 32 bit hash function (MurmurHash3) Jonathan G Rennison 2022-06-13 01:08:03 +01:00
  • 65236bacc7 Debug: Fix crash when dumping null sprite group Jonathan G Rennison 2022-06-13 01:07:16 +01:00
  • c1df524c4b cmake: Don't try to write rev.cpp/etc if no path specified Jonathan G Rennison 2022-06-12 09:18:42 +01:00
  • ba52fbeb91 Signals: Add variable for restriction info, add bit for reserve through Jonathan G Rennison 2022-06-12 09:00:31 +01:00
  • 28724d651d Tracerestrict: Add button to highlight all signals using program Jonathan G Rennison 2022-06-11 23:29:37 +01:00
  • b37209c3af Tracerestrict: Programs maintain a list of signals referencing them Jonathan G Rennison 2022-06-11 22:15:19 +01:00
  • c06acd3c47 Tracerestrict: Avoid double lookup when setting is restricted map bit Jonathan G Rennison 2022-06-11 22:12:43 +01:00
  • ccfcc22c03 Tracerestrict: Return error instead of assert for unknown subcommands Jonathan G Rennison 2022-06-11 20:24:05 +01:00
  • 814c61a321 Update: Translations from eints tamil: 20 changes by Aswn translators 2022-06-11 18:44:50 +00:00
  • 02dabad81e Tracerestrict: Add flag for whether reserve through is always set Jonathan G Rennison 2022-06-11 16:40:32 +01:00
  • 5a02a13885 VarAction2: Add abs() detection to bool/mul adjust combining Jonathan G Rennison 2022-06-11 14:33:02 +01:00
  • e554d7fdfb VarAction2: Generalise bool/mul adjust combining Jonathan G Rennison 2022-06-11 13:38:32 +01:00
  • 3e56837ae6 Fix bec2bf7e: Fix (anti-)commutative store/load re-arrangements Jonathan G Rennison 2022-06-11 09:21:44 +01:00
  • 34cd547325 Debug: Show if action 2s have been modified by action 6 in debug window Jonathan G Rennison 2022-06-11 02:34:08 +01:00
  • 6214d0d20d VarAction2: Add an ABS opcode Jonathan G Rennison 2022-06-11 02:33:09 +01:00
  • 3ca95a63d2 Settings: Fix wrong flags for town max height and min area settings Jonathan G Rennison 2022-06-11 01:42:05 +01:00
  • 7f1b3a965f VarAction2: Allow tracking stores as (inverted) clones of previous store Jonathan G Rennison 2022-06-10 20:28:52 +01:00
  • 8aac0ed639 VarAction2: Shrink size of RandomizedSpriteGroupCompareMode Jonathan G Rennison 2022-06-10 19:31:08 +01:00
  • bec2bf7e85 VarAction2: Initial temp store versioning in 1st pass Jonathan G Rennison 2022-06-10 18:34:25 +01:00
  • 4f3058ee06 VarAction2: Improve handling of variable 7B with a previous constant Jonathan G Rennison 2022-06-10 18:02:35 +01:00
  • 23e6d861fc VarAction2: Ensure that store simplification can't break var 7B Jonathan G Rennison 2022-06-10 17:56:56 +01:00
  • 3bddd55921 VarAction2: Add sprite group flag for if var 1C seen before proc Jonathan G Rennison 2022-06-10 17:45:23 +01:00
  • 470c902bdc Fix #9918: Reset industy last production year on scenario start Niels Martin Hansen 2022-06-09 21:36:55 +02:00
  • 2cdb0cb084 Codechange: Factor out OnStartScenario function Niels Martin Hansen 2022-06-09 21:32:31 +02:00
  • 08726de24c Update: Korean translation up to v0.47.3 TELK 2022-06-09 19:24:08 +09:00
  • 322363b6ea Version: Committing version data for tag: jgrpp-0.47.3 Jonathan G Rennison 2022-06-09 01:08:29 +01:00
  • 16185e817e VarAction2: Merge compatible constant operations Jonathan G Rennison 2022-06-09 00:44:31 +01:00
  • 0343e9d9dd VarAction2: Replace sequences of the form: (var * flag) + (var * !flag) Jonathan G Rennison 2022-06-08 23:04:42 +01:00
  • 4553c22cee Debug: Move DeterministicSpriteGroupAdjust dumping to separate function Jonathan G Rennison 2022-06-08 21:33:34 +01:00
  • e5e984d92f VarAction2: Replace effective SMAX/SMIN sequences in DSE pass Jonathan G Rennison 2022-06-08 21:19:18 +01:00
  • 0484fbf941 VarAction2: Save/restore inference when going back to previous op with side effects Jonathan G Rennison 2022-06-08 21:05:33 +01:00
  • 376b434d53 VarAction2: Re-order commutative skip on zero operation sequences Jonathan G Rennison 2022-06-08 20:29:46 +01:00
  • 0409bd88e8 VarAction2: Simplify tracking of sprite group feature Jonathan G Rennison 2022-06-08 20:22:53 +01:00
  • caebff85f5 VarAction2: Add helper functions for constant comparison adjust types Jonathan G Rennison 2022-06-08 19:40:36 +01:00
  • 249a20e47a VarAction2: Add helper functions for relational comparison ops Jonathan G Rennison 2022-06-08 19:22:00 +01:00
  • 31e96ff5e7 VarAction2: Add helper functions for anti-commutative ops Jonathan G Rennison 2022-06-08 19:15:56 +01:00
  • 5db30e559e VarAction2: Store substitutions can now handle inversions Jonathan G Rennison 2022-06-08 19:07:30 +01:00
  • b95116e4fc VarAction2: Apply XOR bool inversion conversions after DSE Jonathan G Rennison 2022-06-08 18:06:38 +01:00
  • 2bbfa37730 VarAction2: Replace reversed commutative/sub op via temp storage in DSE pass Jonathan G Rennison 2022-06-08 17:53:16 +01:00
  • 9a40b9fbb9 Merge PR #390 into jgrpp Jonathan G Rennison 2022-06-08 17:38:08 +01:00
  • 6f7f80c6cf Merge branch 'master' into jgrpp Jonathan G Rennison 2022-06-08 17:37:08 +01:00
  • 45ac1a89aa VarAction2: Apply XOR with 1 bool logic inversion in more cases Jonathan G Rennison 2022-06-08 02:34:54 +01:00
  • 45798fa533 Debug: Add scroll to sprite number to debug window Jonathan G Rennison 2022-06-08 01:57:10 +01:00
  • 1c1e6a1042 VarAction2: Prune deterministic sprite group children again after DSE Jonathan G Rennison 2022-06-08 00:05:22 +01:00
  • 6e398f9cec VarAction2: DSE now takes into account DSE results from child groups Jonathan G Rennison 2022-06-07 23:53:32 +01:00
  • 65407210a6 VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ Jonathan G Rennison 2022-06-07 22:21:51 +01:00
  • d3dce79d73 VarAction2: Substitute single-use vars through temp storage in DSE pass Jonathan G Rennison 2022-06-07 22:03:02 +01:00
  • 0310692acf VarAction2: Only substitute cheap vars through temp storage in 1st pass Jonathan G Rennison 2022-06-07 20:22:57 +01:00
  • f54530b1b2 VarAction2: Add checks for vars 7B, 7C when getting previous single load Jonathan G Rennison 2022-06-07 19:53:42 +01:00
  • 0d3756818f Update: Translations from eints korean: 1 change by telk5093 translators 2022-06-07 18:48:01 +00:00
  • a8c0e47dd8 VarAction2: If DSE results in a redundant load, remove it Jonathan G Rennison 2022-06-07 19:25:08 +01:00
  • 86324e0fda Debug: Add mode to sprite dump window to show unoptimised Jonathan G Rennison 2022-06-07 18:54:42 +01:00
  • 22e10462dc Debug: Redraw debug window content if line change moves scroll position Jonathan G Rennison 2022-06-07 18:32:46 +01:00
  • a818157c57 Debug: Add button to duplicate debug window Jonathan G Rennison 2022-06-07 17:23:10 +01:00
  • 74681f70d9 VarAction2: Replace inverted OR of bools with AND where this makes sense Jonathan G Rennison 2022-06-06 23:13:09 +01:00
  • e41a5d2f63 VarAction2: Add flags to skip adjust if value is 0 or LSB set Jonathan G Rennison 2022-06-06 23:04:45 +01:00
  • 236cbc4e83 VarAction2: Optimise SAR same as SHR on unsigned inputs Jonathan G Rennison 2022-06-06 22:47:53 +01:00
  • 9d04ebcc90 VarAction2: Remove operations which always do nothing when applied to 0 Jonathan G Rennison 2022-06-06 22:20:16 +01:00
  • 26dd84f931 VarAction2: Optimise OR followed by XOR of same constant Jonathan G Rennison 2022-06-06 22:17:14 +01:00
  • 3aa0ccb97b VarAction2: Optimise OR which always produces 1 Jonathan G Rennison 2022-06-06 22:17:14 +01:00
  • 9b0a7ac85e Debug: Don't unnecessarily show numeric value of adjust operator Jonathan G Rennison 2022-06-06 22:06:52 +01:00
  • dc8465dc68 VarAction2: Shrink enum fields of DeterministicSpriteGroupAdjust Jonathan G Rennison 2022-06-06 21:38:12 +01:00
  • 2663cc3fdc VarAction2: Adjust masking in GetNearbyTileInformation Jonathan G Rennison 2022-06-06 21:10:54 +01:00
  • 4b7288902d VarAction2: Consider industry tile vars 0x60 to 0x62 to be expensive Jonathan G Rennison 2022-06-06 21:10:40 +01:00
  • 3a5902ff77 VarAction2: Reduce cost of RecursiveDisallowDSEForProcedure Jonathan G Rennison 2022-06-06 20:09:48 +01:00
  • 894c8d8b5e NewGRF: Shrink various flags/enum fields Jonathan G Rennison 2022-06-06 20:01:25 +01:00
  • 8cdf303e72 Update: Translations from eints indonesian: 30 changes by indrabagus translators 2022-06-06 18:49:24 +00:00
  • c342b4219b NewGRF: Use per-GRF text ID map in GetGRFStringID Jonathan G Rennison 2022-06-06 19:34:22 +01:00
  • 7a61b5d820 VarAction2: Cache refit capacity callback results which depend only on cargo Jonathan G Rennison 2022-06-06 18:34:30 +01:00
  • fcd9137a9f Change OTTD_PRINTFHEX... defines to uppercase Jonathan G Rennison 2022-06-06 17:54:58 +01:00
  • a9ca89d0f8 VarAction2: Move cb_result_found to a flags var in AnalyseCallbackOperation Jonathan G Rennison 2022-06-06 17:44:47 +01:00
  • f5f48e89dc Debug: Show all sprite groups for vehicles in debug window Jonathan G Rennison 2022-06-06 02:07:21 +01:00
  • 6825ea5e79 Debug: Show name of root sprite group shown in vehicle debug window Jonathan G Rennison 2022-06-06 01:33:27 +01:00
  • c3bc05f7b9 VarAction2: Add access to variable 1A to inline/fast path switch Jonathan G Rennison 2022-06-06 01:27:53 +01:00
  • 3ea1e27fdd Merge branch 'master' into jgrpp Jonathan G Rennison 2022-06-06 01:03:00 +01:00
  • b2d8f3ce43 Add setting to disable water animation depending on zoom level Jonathan G Rennison 2022-06-06 00:15:33 +01:00
  • 5055167c44 Add support for enum client settings Jonathan G Rennison 2022-06-06 00:14:56 +01:00
  • cdbc758dba Documentation: Fix spelling error and redundant text Jonathan G Rennison 2022-06-05 23:23:52 +01:00
  • 1518e4621b Fix unused function warning in crash logger on Emscripten Jonathan G Rennison 2022-06-05 16:10:15 +01:00
  • f05b5163f7 Fix narrowing converison warning Jonathan G Rennison 2022-06-05 16:09:50 +01:00
  • 13bb4fc47b Documentation: Update low level changes document Jonathan G Rennison 2022-06-05 15:54:22 +01:00
  • cf640cc0cf Debug: Add sprite group collapsing to sprite group dump window Jonathan G Rennison 2022-06-04 21:08:35 +01:00
  • bbc1e28b24 VarAction2: Re-use allocated callback result sprite groups Jonathan G Rennison 2022-06-04 20:29:32 +01:00
  • 9c86f90bdd Industry cargoes window: Allow linking only inputs or outputs to smallmap Jonathan G Rennison 2022-06-04 19:42:28 +01:00
  • e49d0b3f29 Add console command to set NewGRF optimiser flags Jonathan G Rennison 2022-06-04 02:04:57 +01:00
  • e5ef888e80 VarAction2: Add variable/constant copy store simplifification Jonathan G Rennison 2022-06-04 01:47:27 +01:00
  • a93b3948b5 VarAction2: Don't change variable masks when disabling procedure DSE Jonathan G Rennison 2022-06-03 23:46:37 +01:00
  • 3d42e36f89 VarAction2: Avoid pessimising DSE when a procedure returns a callback result Jonathan G Rennison 2022-06-03 23:25:23 +01:00
  • 9e414a1eab VarAction2: Move optimiser flags to a separate setting Jonathan G Rennison 2022-06-03 22:01:20 +01:00