Commit Graph

261 Commits

Author SHA1 Message Date
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
5b5c5d0365 Fixed off-by-one team sprite in editor 2023-11-02 22:46:15 -04:00
Anuken
fedad1e0d0 Fixed #8813 2023-07-23 15:49:12 -04:00
Anuken
e630bcf41e Fixed #8764 2023-06-27 14:45:11 -04:00
Anuken
7e23272668 Do not crash when reading null planets 2023-06-17 20:39:52 -04:00
Anuken
038994a95f Fixed #8667 2023-06-03 11:47:19 -04:00
Anuken
88c201559f Fixed #8658 2023-06-03 00:30:29 -04:00
Anuken
dde7b77de6 Closes Anuken/Mindustry-Suggestions/issues/4457 2023-06-02 12:06:06 -04:00
JniTrRny
c84ec75c53 Improvements to the Schematics UI (#8605)
* schematics UI improvements

* better edit tags UI

* visual tweaks

* cleanup

inline obsession
cleanup again...
another little bit of cleanup
a little bit of cleanup
minor cleanup
2023-06-02 11:37:15 -04:00
[Error_27]
fc0f48e13d Fix Scaling on Objective Dialogs (#8646) 2023-05-27 16:26:24 -04:00
JniTrRny
23f1d24c45 Search bar for wave UI (#8501)
* wave search + other editor things

* everything but wave search
2023-05-07 10:42:45 -04:00
Anuken
cdf14bb381 Fixed objectives disappearing for no reason 2023-04-08 21:55:20 -04:00
Anuken
72b456fca2 Optimized imports 2023-04-06 10:46:52 -04:00
Anuken
e27f7c8332 Fixed #8131 2023-01-08 10:24:55 -05:00
Prosta4okua
574a10e5f8 🍉🍉🍉 Watermelons have deployed. Prepare yourself for new Ukrainian translation for v7 release (#7885)
* hehe

* Finished translation. Need to proofread. Added 2 missing entries.

* Fixes

* Fixes #2

* Added button Random to translations and fixed error

* Fixes from @1stvaliduser

* fixes

* fixes

* будівль -> будівель
2023-01-07 14:42:27 -05:00
Anuken
9f0a1d863e Fixed #7815 2022-11-04 08:59:24 -04:00
Anuken
e19af8cc98 Fixed map shift field limiting to 3 characters 2022-10-15 16:30:47 -04:00
Anuken
357d46a425 Map objective canvas bounds reworked 2022-10-10 08:58:49 -04:00
hortiSquash
1d971231ca Support of mods with textures in different resolution (HD or low-res) (#7602)
* HDustry - scl() & private map

Co-Authored-By: citrusMarmelade <20476281+citrusMarmelade@users.noreply.github.com>

* MEEP stop doing stuff when i work

<3 <3

* Replaced Draw.scl

Co-authored-by: citrusMarmelade <20476281+citrusMarmelade@users.noreply.github.com>
Co-authored-by: Anuken <arnukren@gmail.com>
2022-09-23 16:21:53 -04:00
Anuken
39ebc046ad Fixed objectives dialog scaling 2022-08-06 14:06:24 -04:00
Anuken
32f3190762 Less stacking in objectives dialog 2022-08-06 13:38:31 -04:00
Goobrr
764ec34ff5 Objective Editor UI Rework, Part 1 (#7179)
* Objective tile ui

* Fancier connectors

* New ninepatches

* Button styles
2022-07-17 09:21:31 -04:00
Anuken
926cf7e0fa Fixed some messed-up objectives 2022-07-15 16:56:34 -04:00
Anuken
f1917fea3e Misc formatting 2022-07-15 16:18:11 -04:00
GlennFolker
695c19d0b0 Tree-like objective node structure (#7152)
* overall structure

* overall layout

* field interpreter

* less bloated UI

* scroll pan't

* strip off the 'Marker' suffix

* e

* all (hopefully all...) interpreters finished.

* onset

* two, four

* i don't understand how icon mappings work.

* separate remover and indexer

* some cleanups

* untested mobile support

* contrib

* ok anuke

* fix conflicts 2

* hidden
2022-07-15 10:41:18 -04:00
Anuken
64a30adb9b Fixed #7143 2022-07-07 11:09:01 -04:00
JniTrRny
0201e08ac9 generation UI fix + other miniscule ui fix (#7117) 2022-07-03 13:54:30 -04:00
Anuken
3f6ab92fcb Map objective editor fixes 2022-06-26 14:07:58 -04:00
Anuken
02e46a9909 Merge remote-tracking branch 'origin/master' 2022-06-26 12:10:02 -04:00
Anuken
b25ca6ff33 WIP objective marker editing + Mobile factory output tap 2022-06-26 12:09:58 -04:00
JniTrRny
a2513493df better generation UI (#7078) 2022-06-26 11:51:17 -04:00
Anuken
d84b981d24 Faster sound loading 2022-06-26 08:35:08 -04:00
Anuken
cc26a0eeb3 WIP objective editor progress 2022-06-24 21:18:04 -04:00
Anuken
ac47d22ea1 Map resize dialog shift options 2022-06-23 17:10:44 -04:00
Anuken
a39fe2cb37 WIP map info dialog changes 2022-06-23 16:32:37 -04:00
JniTrRny
b199379e1d 4x4 map grid (#6929) 2022-06-09 12:38:19 -04:00
Anuken
c56666b104 Removed inaccessible planets from generate dialog 2022-06-08 16:07:44 -04:00
Anuken
c969749163 Fixed #6898 2022-06-08 09:43:42 -04:00
Anuken
668b09e955 Misc bugfixes 2022-05-08 17:07:06 -04:00
Anuken
a7ecdf8aab crash fix? 2022-05-08 13:57:52 -04:00
Anuken
a9d4e56e66 Crash fix 2022-05-07 21:20:12 -04:00
Anuken
e81438a7a9 Styles documented 2022-05-04 22:31:53 -04:00
Anuken
93d299716c WIP style refactoring 2022-05-04 20:24:59 -04:00
Anuken
03a469e56f malis team swap 2022-04-24 13:24:14 -04:00
Anuken
14dcd71819 Faction color changes again 2022-04-24 12:50:33 -04:00
Anuken
bfdf07d0eb Fixed override issue 2022-04-21 11:10:36 -04:00
Anuken
e5f8eb3a30 Burst drill stat fix 2022-04-21 11:06:42 -04:00
Anuken
5d8fb01710 Removed something pointless 2022-04-18 00:02:22 -04:00
Anuken
b5b4edcb67 Misc polish stuff 2022-04-17 17:12:01 -04:00
Anuken
95c34996af Minor workshop fixes 2022-04-17 11:08:51 -04:00