]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Admin playerlist antag presentation rework (#35538)
authorErrant <35878406+Errant-4@users.noreply.github.com>
Tue, 25 Mar 2025 16:03:59 +0000 (17:03 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Mar 2025 16:03:59 +0000 (17:03 +0100)
commit72141abf8a3b39f57c6c3746307fe626982accea
treed81167953fc44b270636042bf0f9e50ae9992c69
parent1b74de6dbbe8b76ca2a5984093cf33f43aba8a3e
Admin playerlist antag presentation rework (#35538)

* refactor(src): Minor refactor of Draw in "AdminNameOverlay. And new info about playtime player

* fix(src): Add configure classic admin owerlay

* fix

* antag status indication rework

* the cvars are free, you can just take them

* update playerlist on cvar change

* more overlay options

* tweak(src): Use _antagLabelClassic and tweak style

* tweak(src): Add config display overlay for startingJob and playTime

* tweak(src): Vector2 is replaced by var

* tweak(src): return to the end of the list

* add new option checkboxes

* passing ConfigurationManager through constructor, some format changes

* made sorting values more futureproof

* comments

* labels

* no point commenting this out when the overlay stack PR will uncomment it again anyway

* sorting prototype

* localize symbols because why not

* symmetry

* Revert "localize symbols because why not"

This reverts commit 922d4030300285a45777d62fcfd9c74b25fe7a60.

* layout and formatting stuff

* fix errant space

---------

Co-authored-by: Schrödinger <132720404+Schrodinger71@users.noreply.github.com>
19 files changed:
Content.Client/Administration/AdminNameOverlay.cs
Content.Client/Administration/Systems/AdminSystem.Overlay.cs
Content.Client/Administration/UI/Tabs/PlayerTab/PlayerTab.xaml.cs
Content.Client/Administration/UI/Tabs/PlayerTab/PlayerTabEntry.xaml
Content.Client/Administration/UI/Tabs/PlayerTab/PlayerTabEntry.xaml.cs
Content.Client/Administration/UI/Tabs/PlayerTab/PlayerTabHeader.xaml
Content.Client/Administration/UI/Tabs/PlayerTab/PlayerTabHeader.xaml.cs
Content.Client/Options/UI/Tabs/AdminOptionsTab.xaml
Content.Client/Options/UI/Tabs/AdminOptionsTab.xaml.cs
Content.Server/Administration/Systems/AdminSystem.cs
Content.Shared/Administration/PlayerInfo.cs
Content.Shared/CCVar/CCVars.Interface.cs
Content.Shared/Mind/RoleTypePrototype.cs
Content.Shared/Roles/MindRoleComponent.cs
Content.Shared/Roles/SharedRoleSystem.cs
Resources/Locale/en-US/administration/ui/tabs/player-tab.ftl
Resources/Locale/en-US/escape-menu/ui/options-menu.ftl
Resources/Prototypes/Roles/MindRoles/mind_roles.yml
Resources/Prototypes/Roles/role_types.yml