Anuken
c5f3d584f0
Fixed #10801
2025-05-14 10:29:05 -04:00
Anuken
2b4c87fb22
Merge remote-tracking branch 'origin/master'
2025-05-11 21:25:53 -04:00
Anuken
9730bbd58d
Sign logic op
2025-05-11 21:25:45 -04:00
Redstonneur1256
159813a7fd
Logic color unpacking ( #10794 )
...
* `unpackcolor`
* Add description
2025-05-11 10:43:37 -04:00
Cardillan
34151f13d6
Prevent setting counter to null using write instruction ( #10774 )
...
* Prevent setting counter to null using write instruction
* Reset isobj flag on counter on every instruction
2025-05-07 23:26:30 -04:00
Cardillan
80047eb4db
QoL: provide easy way to restart processor ( #10743 )
2025-04-30 12:46:18 -04:00
Cardillan
0fca48b627
Allow Integer.MIN_VALUE to be parsed as an unsigned bin or hex literal ( #10720 )
...
* Allow Integer.MIN_VALUE to be parsed in two's complement form
* Removed misleading FIXME comments: Long.MIN_VALUE cannot be parsed at all
* Avoid casting invalidNum representation to double
2025-04-28 12:21:46 -04:00
Anuken
5fce09c66e
Fixed #10697
2025-04-20 15:43:38 -04:00
The4codeblocks
757188b270
named colors in %<color> ( #10682 )
...
* named colors in %<color>
* bad copying + needs closing bracket
* fix formatt
* some other (now fixed) bug gave me trouble, now I can remove this
* shouldn't need access to Pal now
2025-04-19 11:03:22 -04:00
Cardillan
c3e2bcf2e7
Adds LAccess.bufferUsage, fixes wrong property names for displayWidth and displayHeight ( #10679 )
...
* Adds LAccess.bufferUsage - sensable property returning number of unprocessed commands in the graphics buffer of a display.
Fixes wrong property keys (lacess.* -> laccess.*) of the recently added displayWidth and displayHeight properties.
* Revert unnecessary bundle updates
2025-04-18 10:05:56 -04:00
Anuken
264d13f827
Closes Anuken/Mindustry-Suggestions/issues/5537, partially implements Anuken/Mindustry-Suggestions/issues/5535
2025-04-17 16:28:56 -04:00
Anuken
1a00264902
Merge branch 'master' of https://github.com/Anuken/Mindustry into tileable-logic-displays
...
# Conflicts:
# core/assets/icons/icons.properties
# core/assets/logicids.dat
2025-04-14 22:50:47 -04:00
Anuken
62585a32b3
Fixed #10647
2025-04-13 22:26:00 -04:00
1ue999
ba21959c15
Read Length of Strings ( #10611 )
...
* added ability to sense length of charsequences
* documentation
* Update core/assets/bundles/bundle.properties
Co-authored-by: Jason <131086642+JasonP01@users.noreply.github.com >
---------
Co-authored-by: Anuken <arnukren@gmail.com >
Co-authored-by: Jason <131086642+JasonP01@users.noreply.github.com >
2025-04-08 11:48:11 -04:00
Anuken
cb49d13d75
Made built-in variables viewable in editor
2025-04-06 15:15:40 -04:00
Anuken
c9b5b60c6d
Frontier re-added with T2 tutorial; overgrowth moved
2025-04-06 15:07:56 -04:00
1ue999
11b60ed39f
Read from string return null out of bounds ( #10596 )
...
* reading charcodes from strings as inverse of printchar
* made it actually work and tested it
* make reading invalid index of string return null instead of 0
2025-04-05 10:50:41 -04:00
ApsZoldat
212be01571
Minor editor/world processor fixes and tweaks ( #10505 )
...
* Rules search and info button tweaks
* Tweak spawnunit and some searching (again)
* Just revert a condition removal
2025-04-04 13:49:35 -04:00
1ue999
923a668631
read from string ( #10531 )
...
* reading charcodes from strings as inverse of printchar
* made it actually work and tested it
2025-04-04 13:47:29 -04:00
Cardillan
6a21b12b11
Adds LAccess.memoryCapacity - sensable property returning the size of a memory block ( #10589 )
2025-04-04 13:26:41 -04:00
Anuken
c2de9170dd
Closes #10562
2025-04-04 13:18:15 -04:00
camelStyleUser
bd0436bbff
Fix Integer.MIN_VALUE not getting parsed correctly and add [-+]0[xb] ( #10586 )
...
* Fix Integer.MIN_VALUE not getting parsed correctly and add [-+]0[xb]
* Handle number parsing edgecases
* Revert "Handle number parsing edgecases"
This reverts commit 6b7b01e636 .
* Fix formatting
2025-04-04 13:12:03 -04:00
Anuken
0d5d0fdc9b
Fixed #10558
2025-04-04 12:54:13 -04:00
Anuken
b7dbe54d76
Merging changes from private branch
2025-04-04 11:47:35 -04:00
Anuken
9507292107
LCanvas cleanup
2025-02-11 11:07:51 -05:00
Anuken
5622b295e6
Logic canvas fixes
2025-02-10 16:21:51 -05:00
Anuken
9a9e4611cd
Logic jump PR cleanup
2025-02-10 15:51:02 -05:00
Anuken
7a6222aa18
Revert "Allow markers to be used as light sources ( #9733 )" ( #10490 )
...
This reverts commit 8626082068 .
2025-02-10 14:24:46 -05:00
Redstonneur1256
8626082068
Allow markers to be used as light sources ( #9733 )
...
* Allow markers to be used as light sources
* Better light source markers
* Move PointMarker drawLight to LightMarker
* Add a rule for unit lights
* Optimize marker rendering
* Update core/assets/bundles/bundle.properties
---------
Co-authored-by: Anuken <arnukren@gmail.com >
2025-02-09 12:10:45 -05:00
Anuken
44cd05f8b6
Privileged read/write fix
2025-02-09 00:40:29 -05:00
Anuken
b0f27c94bc
Merge branch 'master' into pr-readwrite
2025-02-09 00:38:18 -05:00
Anuken
ebaf88e80d
Fixed logic IDs not loading / Accelerator animation tweaks
2025-02-08 16:04:04 -05:00
BlackDeluxeCat
108b101669
Logic sensor accesses more infos of payload ( #8766 )
...
* Added Logic Sense Payload
* Update UnitComp.java
---------
Co-authored-by: Anuken <arnukren@gmail.com >
2025-02-05 19:36:26 -05:00
router
9801dbdfd2
Add canGameOver to logic rules, fix trailing spaces ( #10403 )
2025-02-05 18:49:07 -05:00
Anuken
d01bc95c05
Allow team lookup
2025-02-05 11:54:07 -05:00
1ue999
c4e25e312f
Printchar ( #10451 )
...
* Added PrintChar operation
* Added 1ue999 to contributors
* Added PrintChar description, and improved the design of it.
* Ok intellij, removing the int cast
* Added capability to print content icons (@flare or @router)
https://github.com/Anuken/Mindustry/pull/10451#discussion_r1941282280
* Formatting changes (hopefully all of them)
* Update core/src/mindustry/logic/LStatements.java
* Update core/src/mindustry/logic/LStatements.java
---------
Co-authored-by: Anuken <arnukren@gmail.com >
2025-02-04 19:39:33 -05:00
JeanJPNM
66b4c79f38
fix spawnwave ui when natural is a variable ( #10307 )
...
Previously you couldn't set the x and y parameters of the
spawnwave instruction if the value for the "natural"
parameter was not exactly "false", now you can set them
with "false" and any other variable name, except "true".
2025-02-04 13:58:44 -05:00
SomeonesShade
a2f196a50e
Unit Mine Speed Game Rule Implementation and World Processor Set Rule for Unit Mine Speed ( #10318 )
...
* unitMineSpeedMultiplier Creation
added unitMineSpeedMultiplier
added unitMineSpeed(Team team)
* World Proccesor: SetRuleI unitMineSpeed Implemented
* World Processor: SetRuleI unitCrashDamage Implemented
* Revert "World Processor: SetRuleI unitCrashDamage Implemented"
This reverts commit 1b7187b046 .
* Forgor to add, unitMineSpeedMultiplier is now editable per team
2025-02-04 13:52:25 -05:00
Anuken
d414a65cbb
Fixed #10394
2025-01-12 10:16:04 -05:00
Anuken
7fbf4cacad
Pruned server_v7.json to fix iOS server ping crash
2025-01-11 21:11:48 -05:00
Anuken
a24dfedb68
Tileable displays nobody asked for
2025-01-08 17:10:05 -05:00
Anuken
a91729aa27
Scaled logic explosions
2024-12-15 23:09:14 -05:00
Anuken
1dacb7989e
Status apply statement cleanup
2024-12-11 14:14:08 -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
way-zer
116798e328
OC: fix slow of LCanvas
2024-09-23 22:38:36 +07:00
code-explorer786
a5de131711
Trapezoidal jumps
...
I haven't checked this yet, but it seems like it also reduces the
complexity (runtime) from ≈O(n^2) to ≈O(k^2 + n)
(n = number of jump curves)
(k = number of unique destinations)
The worst case, that is k = n, is still O(n^2) but generally it's much
more (scalably) performant.
Thanks Arkanic for suggesting this!
https://discord.com/channels/391020510269669376/663854113418641429/1256161815503704104
Co-authored-by: Arkanic <50847107+Arkanic@users.noreply.github.com >
2024-09-23 22:31:21 +07:00
Ilya246
c5b8133ff9
optimise jump colors and attempt to space them apart
2024-09-23 22:26:11 +07:00