* 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>
* 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>
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".
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.
Note that this is very incomplete, for two different reasons:
- it's O(n^2) or potentially worse
- it makes the GC work hard (it invokes `new` in
`LCanvas.DragLayout.layout()`)
For the second reason this does not clearly fit the criteria of
CONTRIBUTING.md, but I have yet to figure out ways to work around this
(or make the algorithm more efficient).
Original canvas.jumps is now a reference to canvas.statements.jumps.
Please remove canvas.jumps in favour of canvas.statements.jumps in a
future release. Thanks!
* fix the index used to get the sfx substring
* handle cases where the sxf variable is not a built-in
This prevents a crash that happened whenever the sfx
variable's name had less than 5 characters (4 before this
pr), since the substring method was called regardless of
the name's size.
* allow global sound to play more than once per frame
might need an arc pr for the positional
* carhash
* thing
* extra field
* change "check frame" to "limit"
* description
* Update core/assets/bundles/bundle.properties
---------
Co-authored-by: Anuken <arnukren@gmail.com>