diff --git a/Content.Client/Humanoid/MarkingPicker.xaml b/Content.Client/Humanoid/MarkingPicker.xaml index 18182a6fe4..6528641d81 100644 --- a/Content.Client/Humanoid/MarkingPicker.xaml +++ b/Content.Client/Humanoid/MarkingPicker.xaml @@ -6,7 +6,7 @@ - + + + + diff --git a/Content.Client/Lobby/UI/CharacterSetupGui.xaml.cs b/Content.Client/Lobby/UI/CharacterSetupGui.xaml.cs index 4579916132..8fb0e12d5a 100644 --- a/Content.Client/Lobby/UI/CharacterSetupGui.xaml.cs +++ b/Content.Client/Lobby/UI/CharacterSetupGui.xaml.cs @@ -63,6 +63,18 @@ namespace Content.Client.Lobby.UI StatsButton.OnPressed += _ => new PlaytimeStatsWindow().OpenCentered(); + //WWDP EDIT START + profileEditor.CharacterSpriteView = CharacterSpriteView; + CharacterSpriteView.SetEntity(profileEditor.PreviewDummy); + PreviewRotateRightButton.OnPressed += args => + CharacterSpriteView.OverrideDirection = + (Direction)(((int)(CharacterSpriteView.OverrideDirection ?? Direction.South) + 2) % 8); + + PreviewRotateLeftButton.OnPressed += args => + CharacterSpriteView.OverrideDirection = + (Direction)(((int)(CharacterSpriteView.OverrideDirection ?? Direction.South) + 6) % 8); + //WWDP EDIT END + _cfg.OnValueChanged(CCVars.SeeOwnNotes, p => AdminRemarksButton.Visible = p, true); } diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml index 495db66cf0..97cd590bcf 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml @@ -5,6 +5,7 @@ xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls" xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client" xmlns:controls="clr-namespace:Content.Client._White.UserInterface.Controls" + xmlns:loadouts="clr-namespace:Content.Client._White.Loadouts" HorizontalExpand="True"> @@ -180,6 +181,22 @@ + + + + + + + + + + - - -