Commit Graph

51 Commits

Author SHA1 Message Date
Cardillan
80047eb4db QoL: provide easy way to restart processor (#10743) 2025-04-30 12:46:18 -04:00
Anuken
cb49d13d75 Made built-in variables viewable in editor 2025-04-06 15:15:40 -04:00
Anuken
9a9e4611cd Logic jump PR cleanup 2025-02-10 15:51:02 -05:00
Anuken
d414a65cbb Fixed #10394 2025-01-12 10:16:04 -05:00
Cardillan
18955d6604 Properly rounding numbers for display - fix for negative numbers (#10355) 2024-11-30 10:09:15 -05:00
Cardillan
a3110fde21 Properly rounding numbers for display (#10354) 2024-11-29 11:59:17 -05:00
Anuken
84beffd3b0 Mobile search fixes 2024-11-09 13:12:18 -05:00
Anuken
e4aa633982 Instruction type search bar + add hotkeys in logic dialog 2024-11-09 13:11:12 -05:00
code-explorer786
282d21db05 Update jump heights only when necessary.
This method uses signaling (through a boolean) and I feel like it's
extremely hacky, but I tested this and it (kind of?) works.
Unfortunately I found this to potentially lag when resizing.

I am not sure if this is guaranteed to work (as in, produce correct
behaviour) or not, but to my understanding only LogicDialog uses LCanvas
(grep out "LCanvas\|canvas" and see) so it will most likely work?

I tested this and accidentally found an unrelated issue related to
LCanvas.maxJumpsDrawn, but I hope this will be fixed in the near future.
2024-09-23 21:04:45 +07:00
Anuken
e1759adcfe Fixed #10173 2024-09-04 21:44:45 -04:00
Redstonneur1256
9f92a5ac06 Logic Refactor (#9940)
* Replace logic variable indexes

* Fix `draw print`'s align

* Update core/src/mindustry/logic/LExecutor.java

Co-authored-by: Anuken <arnukren@gmail.com>

* Remove duplicated variables

* Update core/src/mindustry/world/blocks/logic/LogicBlock.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-06-16 00:37:04 -04:00
Anuken
37dc449471 Processor list bugfixes 2024-05-24 22:02:37 -04:00
Anuken
b4b6b9fa44 World processor list in editor 2024-05-24 21:46:15 -04:00
Anuken
2fd92b8c80 Processor global variable dialog 2024-02-09 18:09:41 -05:00
Anuken
f1172d45eb Pathfinding bugfixes / Logic dialog hiding "unfixed" 2023-08-09 13:05:19 -04:00
Anuken
19f34c14a0 Fixed #8904 2023-08-08 09:29:20 -04:00
Anuken
7f37b97861 Removed serverPaused 2022-11-01 08:47:00 -04:00
Anuken
c97a6b2f39 Fixed #7403 2022-08-20 11:54:49 -04:00
JniTrRny
51a42ae4f5 I kid you not (#7119) 2022-07-03 16:15:36 -04:00
JniTrRny
0201e08ac9 generation UI fix + other miniscule ui fix (#7117) 2022-07-03 13:54:30 -04:00
JniTrRny
a2513493df better generation UI (#7078) 2022-06-26 11:51:17 -04:00
Goobrr
625f7e9936 LStatement categories + improved UI (#7046)
* LStatement categories + improved UI

Co-authored-by: code-explorer786 <68312688+code-explorer786@users.noreply.github.com>

* annihilate LStatement#color

Co-authored-by: code-explorer786 <68312688+code-explorer786@users.noreply.github.com>
2022-06-19 10:57:49 -04:00
JniTrRny
849d0b6223 newline for those unfortunate mobile players (#6828) 2022-05-11 14:28:04 -04:00
Anuken
93d299716c WIP style refactoring 2022-05-04 20:24:59 -04:00
Anuken
a80e1d86a1 Logic-related color functions 2022-02-10 11:00:27 -05:00
Anuken
38c0284bbe Functional world processors 2022-02-08 12:18:48 -05:00
Anuken
717a620ff4 Unpause game in logic variable dialog if necessary 2021-10-16 14:51:53 -04:00
Anuken
290450de5b Fixed deconstructor not accepting direct unit payloads 2021-10-16 13:01:03 -04:00
Anuken
b7f030eb13 Added logic variable display window 2021-10-16 12:30:00 -04:00
Anuken
e22fccf5b1 Logic hint tooltips 2021-02-09 14:52:23 -05:00
Anuken
c658865907 Dynamic lightning damage tweaks 2021-01-25 17:21:12 -05:00
Anuken
c4d72eef39 Don't configure processor when no changes are made 2021-01-02 14:40:08 -05:00
Anuken
f0c4ebfd31 Removed LCategory 2020-11-10 08:57:30 -05:00
DeltaNedas
cda6a6973d make logic stuff public, cleanup 2020-11-01 19:35:22 +00:00
Anuken
b5e2812d0b Bugfixes 2020-10-31 16:25:50 -04:00
Anuken
7088ae89b3 Logic unit control 2020-10-05 15:42:37 -04:00
Anuken
d9a067b4d2 Small sprite tweaks & bugfixes 2020-09-08 21:40:50 -04:00
Anuken
90aed50ca8 Many various fixes 2020-09-03 14:04:30 -04:00
Anuken
90b8910935 Merged UnaryOp and BinaryOp 2020-08-23 10:14:04 -04:00
Anuken
92764c8389 Fixed #2408 2020-08-23 09:40:06 -04:00
Anuken
9a48028508 Fixed #2363 2020-08-17 09:35:12 -04:00
Anuken
67e32ce880 arc 2020-08-14 10:48:47 -04:00
Anuken
ffb2d6eeaa Better logic UI 2020-08-14 10:48:29 -04:00
Anuken
eb4a2a2da1 arc 2020-08-09 18:27:11 -04:00
Anuken
73d9348c83 Clipboard export / Conditional jumps / Saving of state 2020-08-09 18:26:54 -04:00
Anuken
4efba475de functional scrolling 2020-08-09 15:35:52 -04:00
Anuken
ec99daaefb logic 2 2020-08-07 00:24:14 -04:00
Anuken
176e4a3bb9 Many things 2020-08-06 20:00:02 -04:00
Anuken
75eed2926a Start of work on logic stuff 2020-08-04 23:37:12 -04:00
Anuken
a375dd3fc2 Cleanup 2020-05-26 19:39:50 -04:00