From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 15 Nov 2023 02:23:40 +0000 (+1100) Subject: Gateway destinations (#21040) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=816ee2e1ab51b05a3e24c064dfbc4171588481b5;p=space-station-14.git Gateway destinations (#21040) * Gateway generation * Gateway stuff * gatewehs * mercenaries * play area * Range fixes and tweaks * weh * Gateway UI polish * Lots of fixes * Knock some items off * Fix dungeon spawning Realistically we should probably be using a salvage job. * wahwah * wehvs * expression * weh * eee * a * a * WEH * frfr * Gatwey * Fix gateway windows * Fix gateway windows * a * a * Better layer masking * a * a * Noise fixes * a * Fix fractal calculations * a * More fixes * Fixes * Add layers back in * Fixes * namespaces and ftl * Other TODO * Fix distance * Cleanup * Fix test --- diff --git a/Content.Client/Gateway/UI/GatewayBoundUserInterface.cs b/Content.Client/Gateway/UI/GatewayBoundUserInterface.cs index 78e0060e9c..fdb3cdbc01 100644 --- a/Content.Client/Gateway/UI/GatewayBoundUserInterface.cs +++ b/Content.Client/Gateway/UI/GatewayBoundUserInterface.cs @@ -17,7 +17,8 @@ public sealed class GatewayBoundUserInterface : BoundUserInterface { base.Open(); - _window = new GatewayWindow(); + _window = new GatewayWindow(EntMan.GetNetEntity(Owner)); + _window.OpenPortal += destination => { SendMessage(new GatewayOpenPortalMessage(destination)); diff --git a/Content.Client/Gateway/UI/GatewayWindow.xaml b/Content.Client/Gateway/UI/GatewayWindow.xaml index 49e6bb679b..7650850a70 100644 --- a/Content.Client/Gateway/UI/GatewayWindow.xaml +++ b/Content.Client/Gateway/UI/GatewayWindow.xaml @@ -3,11 +3,26 @@ Title="{Loc 'gateway-window-title'}" MinSize="800 360"> - - - + + + +