Commit Graph

53430 Commits

Author SHA1 Message Date
Jonathan G Rennison
4d04a757cc Debug: Add new signals support to GRF debug window 2022-06-15 21:36:55 +01:00
Jonathan G Rennison
41117a52d2 Signals: Add variable for signal context (track, tunnel, bridge, etc) 2022-06-15 19:03:13 +01:00
Jonathan G Rennison
cf5eef515e Signals: Add GRF restriction info bit for may reverse 2022-06-15 17:49:54 +01:00
Jonathan G Rennison
9cf33efe18
Merge pull request #393 from telk5093/jgrpp
Update: Korean translation up to v0.47.3
2022-06-14 20:08:48 +01:00
Jonathan G Rennison
4897fded95 Add hotkey to toggle via state of order
See: #398
2022-06-14 19:56:16 +01:00
Jonathan G Rennison
13fcde9ea0 VarAction2: Add a JZ operation, use for ternary style mul masking 2022-06-14 02:23:23 +01:00
Jonathan G Rennison
8687b82dd8 VarAction2: Mark various object variables as expensive 2022-06-14 01:34:25 +01:00
Jonathan G Rennison
77963c5e64 Debug: Add misc_debug bit for extra detail in sprite group dump 2022-06-14 01:23:05 +01:00
Jonathan G Rennison
c0b1f867a3 VarAction2: Prefer tracking store content as clone of another store 2022-06-14 00:53:26 +01:00
Jonathan G Rennison
315f12f1e4 Fix spelling error in comment 2022-06-13 17:19:02 +01:00
Jonathan G Rennison
7bb0de247d Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.

Currently only for rock tiles
2022-06-13 17:13:48 +01:00
Jonathan G Rennison
80281daa23 Fix wrong header guard comment in newgrf_newsignals.h 2022-06-13 17:13:48 +01:00
Jonathan G Rennison
a85492cb58 Documentation: Add section list to NewGRF additions doc 2022-06-13 02:28:42 +01:00
Jonathan G Rennison
d7eff4b926 Documentation: Add note about action 3 signals cargo types 2022-06-13 01:40:09 +01:00
Jonathan G Rennison
b6630acc24 Documentation: Fix explanation of road stops terrain type variable 2022-06-13 01:36:06 +01:00
Jonathan G Rennison
67104b4dc1 Add a simple 32 bit to 32 bit hash function (MurmurHash3) 2022-06-13 01:08:03 +01:00
Jonathan G Rennison
65236bacc7 Debug: Fix crash when dumping null sprite group 2022-06-13 01:07:16 +01:00
Jonathan G Rennison
c1df524c4b cmake: Don't try to write rev.cpp/etc if no path specified 2022-06-12 09:18:42 +01:00
Jonathan G Rennison
ba52fbeb91 Signals: Add variable for restriction info, add bit for reserve through 2022-06-12 09:00:31 +01:00
Jonathan G Rennison
28724d651d Tracerestrict: Add button to highlight all signals using program 2022-06-11 23:29:37 +01:00
Jonathan G Rennison
b37209c3af Tracerestrict: Programs maintain a list of signals referencing them 2022-06-11 22:15:19 +01:00
Jonathan G Rennison
c06acd3c47 Tracerestrict: Avoid double lookup when setting is restricted map bit 2022-06-11 22:12:43 +01:00
Jonathan G Rennison
ccfcc22c03 Tracerestrict: Return error instead of assert for unknown subcommands 2022-06-11 20:24:05 +01:00
translators
814c61a321 Update: Translations from eints
tamil: 20 changes by Aswn
2022-06-11 18:44:50 +00:00
Jonathan G Rennison
02dabad81e Tracerestrict: Add flag for whether reserve through is always set 2022-06-11 16:40:32 +01:00
Jonathan G Rennison
5a02a13885 VarAction2: Add abs() detection to bool/mul adjust combining 2022-06-11 14:33:02 +01:00
Jonathan G Rennison
e554d7fdfb VarAction2: Generalise bool/mul adjust combining 2022-06-11 14:28:32 +01:00
Jonathan G Rennison
3e56837ae6 Fix bec2bf7e: Fix (anti-)commutative store/load re-arrangements 2022-06-11 09:21:44 +01:00
Jonathan G Rennison
34cd547325 Debug: Show if action 2s have been modified by action 6 in debug window 2022-06-11 02:34:08 +01:00
Jonathan G Rennison
6214d0d20d VarAction2: Add an ABS opcode 2022-06-11 02:33:09 +01:00
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