Shuttle console + FTL rework (#24430)
* Add shuttle interior drawing back Just do it per-tile she'll be right, at least it's done with 1 draw call. * Revamp shuttle console * Bunch of cleanup work * Lables sortito * dok * Pixel alignment and colours * Fix a bunch of drawing bugs * Shuttle map drawing * Drawing fixes * Map parallax working finally * weh * Commit all my stuff * mic * deez * Update everything * Xamlify everything * uh * Rudimentary blocker range * My enemies have succeeded * Bunch of changes to FTL * Heaps of cleanup * Fix FTL bugs * FTL * weewoo * FTL fallback * wew * weh * Basic FTL working * FTL working * FTL destination fixes * a * Exclusion zones * Fix drawing / FTL * Beacons working * Coordinates drawing * Fix unknown map names * Dorks beginning * State + docking cleanup start * Basic dock drawing * Bunch of drawing fixes * Batching / color fixes * Cleanup and beacons support * weh * weh * Begin pings * First draft at map objects * Map fixup * Faster drawing * Fix perf + FTL * Cached drawing * Fix drawing * Best I got * strips * Back to lists but with caching * Final optimisation * Fix dock bounds * Docking work * stinker * kobolds * Btns * Docking vis working * Fix docking pre-vis * canasses * Helldivers 2 * a * Array life * Fix * Fix TODOs * liltenhead feature club * dorking * Merge artifacts * Last-minute touchup
This commit is contained in:
69
Content.Client/Shuttles/UI/NavScreen.xaml
Normal file
69
Content.Client/Shuttles/UI/NavScreen.xaml
Normal file
@@ -0,0 +1,69 @@
|
||||
<controls:BoxContainer Visible="False"
|
||||
HorizontalExpand="True"
|
||||
xmlns:controls="https://spacestation14.io"
|
||||
xmlns:ui="clr-namespace:Content.Client.Shuttles.UI"
|
||||
xmlns:controls1="clr-namespace:Content.Client.UserInterface.Controls">
|
||||
<ui:ShuttleNavControl Name="NavRadar"
|
||||
MouseFilter="Stop"
|
||||
VerticalAlignment="Stretch"
|
||||
VerticalExpand="True"
|
||||
HorizontalExpand="True"
|
||||
Margin="5 4 10 5"/>
|
||||
<!-- Nav controls -->
|
||||
<controls:BoxContainer Name="RightDisplayNav"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalExpand="True"
|
||||
MinWidth="256"
|
||||
MaxWidth="256"
|
||||
Margin="5 0 5 5"
|
||||
Orientation="Vertical">
|
||||
<controls1:StripeBack
|
||||
MinSize="48 48">
|
||||
<controls:Label Name="NavDisplayLabel" Text="{controls:Loc 'shuttle-console-display-label'}"
|
||||
VerticalExpand="True"
|
||||
HorizontalAlignment="Center"/>
|
||||
</controls1:StripeBack>
|
||||
<controls:GridContainer Columns="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalExpand="True"
|
||||
Margin="3"
|
||||
Name="ReadonlyDisplay">
|
||||
<controls:Label Text="{controls:Loc 'shuttle-console-position'}"/>
|
||||
<controls:Label Name="GridPosition"
|
||||
Text="0.0, 0.0"
|
||||
HorizontalExpand="True"
|
||||
Align="Right"/>
|
||||
<controls:Label Text="{controls:Loc 'shuttle-console-orientation'}"/>
|
||||
<controls:Label Name="GridOrientation"
|
||||
Text="0.0"
|
||||
HorizontalExpand="True"
|
||||
Align="Right"/>
|
||||
<controls:Label Text="{controls:Loc 'shuttle-console-linear-velocity'}"/>
|
||||
<controls:Label Name="GridLinearVelocity"
|
||||
Text="0.0, 0.0"
|
||||
HorizontalExpand="True"
|
||||
Align="Right"/>
|
||||
<controls:Label Text="{controls:Loc 'shuttle-console-angular-velocity'}"/>
|
||||
<controls:Label Name="GridAngularVelocity"
|
||||
Text="0.0"
|
||||
HorizontalExpand="True"
|
||||
Align="Right"/>
|
||||
</controls:GridContainer>
|
||||
<controls1:StripeBack
|
||||
MinSize="48 48">
|
||||
<controls:Label Name="NavSettingsLabel" Text="{controls:Loc 'shuttle-console-nav-settings'}"
|
||||
VerticalExpand="True"
|
||||
HorizontalAlignment="Center"/>
|
||||
</controls1:StripeBack>
|
||||
<controls:Button Name="IFFToggle"
|
||||
Text="{controls:Loc 'shuttle-console-iff-toggle'}"
|
||||
TextAlign="Center"
|
||||
ToggleMode="True"/>
|
||||
<controls:Button Name="DockToggle"
|
||||
Text="{controls:Loc 'shuttle-console-dock-toggle'}"
|
||||
TextAlign="Center"
|
||||
ToggleMode="True"/>
|
||||
</controls:BoxContainer>
|
||||
</controls:BoxContainer>
|
||||
Reference in New Issue
Block a user