Commit Graph

561 Commits

Author SHA1 Message Date
way-zer
08ad8ad7de limit write with @writable 2024-02-18 17:45:18 +08:00
Anuken
54967429fe Fixed #9566 2024-02-17 09:03:09 -05:00
way-zer
33faade426 typo 2024-02-14 16:57:17 +08:00
way-zer
95817a955c amend 2024-02-14 15:50:17 +08:00
WayZer
5e5cbda3be Merge branch 'master' into pr-readwrite 2024-02-14 15:13:31 +08:00
way-zer
4cdd0b9646 Extend logic read and write,support targeting LogicBuild 2024-02-14 14:54:19 +08:00
Anuken
1542f7c28e UI#loadColors moved earlier in init 2024-02-10 17:20:35 -05:00
Anuken
2fd92b8c80 Processor global variable dialog 2024-02-09 18:09:41 -05:00
MEEPofFaith
e1a5484074 Allow mods to add to logic effect map (#9507)
* Allow mods to add to logic effect map

* Switch to being only a single add.
2024-02-01 19:04:51 -05:00
Redstonneur1256
6a429184aa update markers (#9506)
* update markers

* update markers & minimap rendering
2024-01-30 19:35:39 -05:00
Redstonneur1256
b9bf4ee794 Allow markers to be deleted (#9485) 2024-01-23 22:05:14 -05:00
Mythril382
57e317fa3f foror 2024-01-20 23:00:15 +08:00
Mythril382
2b0653bda2 aaaa 2024-01-20 22:59:45 +08:00
Mythril382
1edfd9b0e1 issue 2024-01-20 22:55:32 +08:00
Mythril382
eed30eb2e7 hell 2024-01-20 22:53:14 +08:00
Mythril382
2387963936 hell 2024-01-20 22:50:22 +08:00
Redstonneur1256
9d4f5ff87c Fix wait instruction inconsistency (#9479) 2024-01-20 09:37:18 -05:00
Anuken
944797f8e1 Cleared unit timeouts on reset 2024-01-15 12:59:21 -05:00
BlackDeluxeCat
931c03945d Further Fixed #7310 (#9456) 2024-01-15 12:58:36 -05:00
Anuken
1d894bdacd Objective marker cleanup & optimization 2024-01-14 12:41:20 -05:00
ApsZoldat
8ab37c5ce4 Merge branch 'master' of https://github.com/Anuken/Mindustry into markers-update 2023-12-15 19:39:30 +03:00
ApsZoldat
317a533b5c millimicronanopico setmarker texture fix (object print consistency) 2023-12-13 18:24:08 +03:00
ApsZoldat
5830259e41 Markers draw code refactor, minor text marker control changes 2023-12-12 22:40:33 +03:00
BalaM314
68b06fdea6 Allow fetching unitCount by type, and buildCount without type (#9374)
* Allow fetching unitCount by type, and buildCount without type

* show in processor ui
2023-12-12 08:47:40 -05:00
ApsZoldat
4802076bf8 WIP marker changes, fix server name not appearing for saved hosts in join dialog 2023-12-10 22:44:30 +03:00
ApsZoldat
c20684025e Small git shenanigans to actually (i really hope) revert all the bad stuff 2023-12-07 18:24:51 +03:00
ApsZoldat
cf131696bd Merge remote-tracking branch 'upstream/master' 2023-12-04 22:43:59 +03:00
ApsZoldat
cf02b0f36d Make setmarker ignor null values, remove redundant marker control operations 2023-12-04 22:39:32 +03:00
Anuken
de50b207e5 Revert back to {0}-style format 2023-12-01 21:16:37 -05:00
ApsZoldat
862d3153d9 Map-specific locale bundles system (#9199)
* 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
2023-12-01 21:14:10 -05:00
Anuken
2ad5e37302 Fixed #9325 2023-11-28 15:00:39 -05:00
ApsZoldat
90e40af8c1 Minor setmarker ui statement fix (farming tiny commits?) 2023-11-28 22:24:48 +03:00
ApsZoldat
557f2d4447 Merge branch 'master' of https://github.com/Anuken/Mindustry into markers-update 2023-11-28 22:08:33 +03:00
ApsZoldat
02a53daa58 Marker autoscale now works outside of minimap mode, another yet lmarkercontrol instructions cleanup, fix renderer's draw color breaking after drawing markers 2023-11-28 22:00:08 +03:00
Anuken
120860665d Fixed #9322 2023-11-28 05:31:14 -05:00
Anuken
bc308847f4 Clarify that only ASCII is supported 2023-11-27 20:47:24 -05:00
Anuken
5f06ce0bff Added draw print instruction 2023-11-27 20:37:25 -05:00
ApsZoldat
6ea2188bee Add minimap mode to other objective markers 2023-11-27 22:56:26 +03:00
ApsZoldat
aa018b314d World processor markers: remove toggleVisibility, swap makemarker's type and id arguments for instruction consistency 2023-11-22 22:33:05 +03:00
ApsZoldat
c434e18f8f Add drawing layers to markers 2023-11-13 23:25:44 +03:00
ApsZoldat
c4dc095adb Minor ban/unban instruction and join dialog changes (#9249)
* Make PlacementFragment update after world processor's ban/unban instructions, add buttons in community server list to add server as remote

* Small world processor ban/unban optimization
2023-11-11 09:55:01 -05:00
ApsZoldat
6dff68e7d9 Texture marker implementation 2023-11-07 22:42:42 +03:00
Anuken
1d051b5c16 Add setProp of speed/armor 2023-10-31 12:20:18 -04:00
WayZer
84dc5550ab Optimize wait/message (#9086)
* add `IExecutor.yield` to optimize `wait`

* add MessageType.label. and add outSuccess

* remove `MessageType.label` in support `marks`

* amend

* amend
2023-10-06 13:20:53 -04:00
ApsZoldat
91d87e1dba Add privileged desynced client global variables (#9138)
* 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
2023-10-05 10:56:53 -04:00
Anuken
e9a801bcef Closes Anuken/Mindustry-Suggestions/issues/4703 2023-10-01 18:47:37 -04:00
Anuken
46ed5e05bb Merge remote-tracking branch 'origin/master' 2023-09-29 21:25:20 -04:00
Anuken
177125a616 Fixed #9116 2023-09-29 21:25:12 -04:00
ApsZoldat
93269692ab Fix marker and bridge calculation game crashes, minor marker instruction fixes (#9112)
* Fix text setting in marker control

* Fix marker and bridge calculation game crashes, minor marker instruction code fixes
2023-09-29 10:10:50 -04:00
Anuken
d41b6f219b Markers no longer synced 2023-09-28 18:25:20 -04:00