* 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".
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).
* 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>
* Pluh
* Pluh
* Update LExecutor.java
* fixed the null
* Update LExecutor.java
* I will point your null exception
* is it null or nah
* it is nah
* Update LExecutor.java
* Update LExecutor.java
* null zero
* Weather sense
Honestly, doesn't seem game changing enough to warrant privileged restriction.
* Weather set
* Rename "snow" to "snowing"
Fix conflict with the snow floor block, though I don't know if this'll have negative repercussions on saves.
* Don't last forever
* Cleanup and bundle
* add space
* Fix text setting in marker control
* Fix marker and bridge calculation game crashes, minor marker instruction code fixes
* Add privileged desynced client constant global variables
* Remove broken attempt to not initialize client vars on server
* Make @clientLocale variable non-constant, make @server and @client privileged
* WIP Implementation of map-specific locale bundles
* Progress on map locale bundles: add locale data to saves, make objectives use map locales if possible
* Add print formatting and map locale printing to world processors
* 🗿
* Minor map locales dialog ui changes
* Make map locale bundles load when joining multiplayer server
* Remove static declaration of current locale in MapLocales to fix tests failing
* Unify name of localeprint instruction, minor instruction description change, fix map locales incorrectly loading from clipboard
* Fix locale bundles not saving in game state, add global var, make objective markers use map locale bundles and .mobile properties on mobile devices
* Even more map locales dialog improvements
* Fix english locale picking (when property isn't presented in current locale but english version has it) not working
* Add icon pasting to map locales dialog, minor ui changes
* Fix inconsistent game crash with null text in objectives, define player.locale on game loading (for clientLocale var)
* Change format instruction placeholders to backslash, fix map locales system incorrectly handling default locale
* understood
* Basic implementation of world processor marker control
* Add line marker, some marker control fixes
* Add remote for setting markers, add marker writer/reader to TypeIO
* Add sides cap to ShapeTextMarker's draw() method
* Marker instruction code refactor, revert accident auto-formatting, fix marker control bugs
* Cleanup LMarkerControl.java
* Remove deleted marker controls from MapObjectives
* Marker control method refactor, fix minimap marker rendering
* Refactor, proper double comparsion in MapObjectives
* Fix line marker's color not changing through world processors