Commit Graph

586 Commits

Author SHA1 Message Date
Anuken
fd00f3fae3 New basic frozen forest tutorial 2026-02-19 22:52:36 -05:00
Cardillan
3f5d963068 No timeout on drop to air (#11068) 2026-02-10 12:13:25 -05:00
Cardillan
b3c8a8ec4f Fix draw image bug with tiled displays. (#11638) 2026-02-09 13:14:42 -05:00
Redstonneur1256
47d28c0d20 Logic sensor (#10795)
* Add `selectedBlock` logic sensor

* Add `buildX`/`buildY`/`building` logic sensors

* Change `building` from boolean to the building

* `breaking`

* Make `breaking`/`building` more consistent

* Allow blocks/content to be null

* Change `selectedBlock` from air to null

* Change `selectedBlock` from air to null

* Make `selectedBlock` SyncLocal

* Add `selectedRotation`
2026-02-07 20:52:33 -05:00
WMF
efb9acce1b New map rule to disable unit control via logic (#11627)
* map rule to disable unit control via logic

* syntaxn't
2026-02-07 20:22:29 -05:00
Anuken
67d3a9feb0 Added field for running logic code upon objective completion 2026-02-06 22:46:17 -05:00
Cardillan
025ac78e27 Clear buffer on drawflush (#11582) 2026-02-04 14:22:55 -05:00
Cardillan
89e89efac6 draw print statement fix (#11604) 2026-02-04 13:55:01 -05:00
Anuken
14fe0a4c85 Fixed #11585 2026-02-04 13:19:17 -05:00
Anuken
f0186853ec Closes Anuken/Mindustry-Suggestions/issues/6060 2026-01-15 00:48:23 -05:00
Cardillan
120fe61980 Zero wait yields (#11561)
* Zero wait yields

* Zero wait yields (fix)
2026-01-14 13:33:58 -05:00
Anuken
42edaceafc Fixed Atolls localization with new tutorial 2026-01-13 00:52:53 -05:00
Anuken
8db5ec0247 TiledFloor and TiledWall implementation classes 2025-12-30 19:19:23 -05:00
Mars
3d91b63f1f Increase operations count even on headless (#11510) 2025-12-29 11:02:20 -05:00
Anuken
8fb7aa34e3 Cleanup 2025-12-27 21:42:22 -05:00
Redstonneur1256
1a89fc9f8e Allow displays on draw image (#11140)
* Display on display drawing

* Update draw image description
2025-12-27 21:38:44 -05:00
Redstonneur1256
59c3b18a6f Allow markers to use content/displays as textures (#11142)
* Allow markers to use content/displays as textures

* Don't process empty commands

* Allow canvases to be used as marker textures

* Proper Json serialization

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-12-27 21:37:03 -05:00
Anuken
a226d98116 Fixed #11487 2025-12-25 19:05:55 -05:00
Anuken
b84d12407f Rule & control for logic unit deconstruction (off by default) 2025-12-19 00:35:41 -05:00
Anuken
f53abd0b3d More sound effects 2025-12-09 00:22:48 -05:00
Anuken
7a5a22389f Fixed #11326 2025-11-01 22:58:07 -04:00
Anuken
c3309bf3a9 Logic insert line button (from foo's client) 2025-10-26 14:04:49 -04:00
WMF
c2c1271a4c use BoostAI for enterPayloadCommand & better onlyDepositCore handling (#11297) 2025-10-18 10:31:47 -04:00
RGBaaa
c99758fe5a update LExecutor (#11271) 2025-10-06 20:53:25 +09:00
Anuken
729f18726f Save version chunks changed to 4-byte lengths 2025-09-12 14:42:22 -04:00
Anuken
e62c414efb Fixed @unit not saving in logic blocks 2025-08-27 18:15:41 -04:00
Anuken
42fb6b7a72 New environmental metal wall blocks 2025-08-23 17:04:57 -04:00
Anuken
e37852f312 Logic read/write cleanup and validity fixes 2025-08-05 10:49:42 +02:00
Anuken
db7aba8ea0 NaN checks for volume (from arc) 2025-08-01 19:50:29 +02:00
Anuken
4a43e963ca Fixed #11085 2025-08-01 19:32:28 +02:00
Anuken
a2dc0cf9f7 Select statement mobile layout fix 2025-08-01 05:14:06 -04:00
Cardillan
13f39b6b57 Make LExecutor.maxInstructions non-final (#11056) 2025-07-25 10:41:46 -04:00
Anuken
b0fe88b119 Closes Anuken/Mindustry-Suggestions/issues/5737 2025-07-21 03:09:41 -04:00
Cardillan
549fa1a065 Setting null to counter should be a no-op (#11012) 2025-07-17 18:45:47 -04:00
Anuken
1283355f30 Renamed bufferUsage -> bufferSize / Removed link name 'memory' 2025-07-10 13:34:46 -04:00
1ue999
26b349e5dd ReadI/WriteI interface for modding (and removal of if/else tree) (#11000)
* progress

* progress

* moar progress

* commits every 5 seconds poggers (done with LogicBuild)

* implement interface

* oop forgor to remove part of the old ReadI

* unnecessary import removed

* who needs a space? i got a spare one

* implement great suggestion by [object Object]

* more of this

* slipped past me

* more consistency
2025-07-09 23:20:35 -04:00
Anuken
b5eba35ed9 Merge branch 'master' of https://github.com/Anuken/Mindustry into wave-pathfind-avoidance 2025-07-06 13:13:55 -04:00
Anuken
b006a2a4f5 Better conditional avoidance system 2025-07-06 01:20:57 -04:00
Anuken
3d3507dec9 Closes Anuken/Mindustry-Suggestions/issues/5703 2025-07-05 18:06:46 -04:00
1ue999
0852a61caa Read from MessageBlocks/Builds (#10981)
* Added ability to read content of messages and sensing the length of the content.

Also some bundle changes for read/write

* this commit will make mindustry unable to compile trust

* oop missed a space
2025-07-03 13:25:22 -04:00
Redstonneur1256
835c8b4a6c Text align (#10804)
* Text/ShapeText marker text alignment

* Allow `draw print` to use a dynamic align

* Highlight currently selected value when possible

* Fix alignment with newlines

* Add `lineAlign`

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-07-02 14:04:43 -04:00
Redstonneur1256
b3050c299d Add select operation (#10798) 2025-07-02 14:02:51 -04:00
DarkJune
a5beafc769 Removed 2 redundant checks in LExecutor.ControlI (#10980) 2025-07-01 19:40:43 -04:00
Cardillan
289889a685 Small canvas read/write fixes (#10955) 2025-06-21 21:20:43 -04:00
The4codeblocks
0185b08ca7 canvas read/write + multiplayer overwrite bug fix (#10899)
* stuff

* Update CanvasBlock.java

* canvas read/write

* updated flag

* dispose on every possible closing condition (back/cancel/ok)

* arraycopy

* hide listener

* partial colons

* fix updated and dedupe closing

* typo?
2025-06-17 12:36:42 -04:00
Redstonneur1256
c27eac9bed Marker outline control (#10931)
* Marker `outline` control

* Text/ShapeText marker outline
2025-06-15 15:28:20 -04:00
Cardillan
981e954c61 Sense number of graphics operations (#10898)
* Sense number of graphics operations

* int to long
2025-06-14 11:21:18 -04:00
Redstonneur1256
ea333a0a63 True modulo and unsigned right shift. (#10885) 2025-06-02 14:05:45 -04:00
Anuken
64305aa8b1 Merge remote-tracking branch 'origin/master' 2025-05-25 12:32:54 -04:00
Anuken
c15d8d15cb Fixed #10846 2025-05-25 12:32:47 -04:00