* 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>
* 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>
* 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>
* formatIcons
* Smarter end check
I think it's smarter?
* unecessary
* oop
* Update UI.java
* Just don't check for adjacent colons.
The hasUnicodeStr already checks for validity
* Copy from I18NBundle
* Revert "Copy from I18NBundle"
This reverts commit ac660fcd9f.
* If get and format refer to parent, then just set the existing bundle as parent
* Test with Ground Zero objectives
* Update MBundle.java
* That didn't work
* Slip the method into reasonable places like objectives and chat
* Check for Icons as well
* More testing with objective text
* Apply to hints
* Optimized formatIcons
No longer scans through every character
* TIME UPDATE THE BUNDLES YIPPEEEEEEEEEEE
* residual
* Apply to message blocks
* IntelliJ lied
* Suggestions
* Format before sending
* 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