GPS, suit storage, and tank dispenser tgui-next (#47480)

* gps, suit storage, tank dispenser tgui-next

gps work

Final gps

suit storage + tank dispenser

* Improve GPS with direction arrows

- Added some collection manipulation functions
- Table is 100% wide by default

* Clamp GPS window height to safe range

* Calculate distance using vector maths on client side

* Remove logging

* More robust keying for GPS signal rows

- Protects from sorting glitches

* rebuild

* rebuild
This commit is contained in:
Rob Bailey
2019-11-06 10:28:35 -08:00
committed by AnturK
parent 78cd79ed91
commit 13abb720b5
16 changed files with 532 additions and 46 deletions

View File

@@ -29,6 +29,7 @@ import { Crayon } from './interfaces/Crayon';
import { CrewConsole } from './interfaces/CrewConsole';
import { Cryo } from './interfaces/Cryo';
import { DisposalUnit } from './interfaces/DisposalUnit';
import { Gps } from './interfaces/Gps';
import { LanguageMenu } from './interfaces/LanguageMenu';
import { Mint } from './interfaces/Mint';
import { OperatingComputer } from './interfaces/OperatingComputer';
@@ -40,6 +41,8 @@ import { ShuttleManipulator } from './interfaces/ShuttleManipulator';
import { SmartVend } from './interfaces/SmartVend';
import { SMES } from './interfaces/SMES';
import { SolarControl } from './interfaces/SolarControl';
import { SuitStorageUnit } from './interfaces/SuitStorageUnit';
import { TankDispenser } from './interfaces/TankDispenser';
import { ThermoMachine } from './interfaces/ThermoMachine';
import { VaultController } from './interfaces/VaultController';
import { Wires } from './interfaces/Wires';
@@ -173,6 +176,10 @@ const ROUTES = {
component: () => DisposalUnit,
scrollable: false,
},
gps: {
component: () => Gps,
scrollable: true,
},
language_menu: {
component: () => LanguageMenu,
scrollable: true,
@@ -217,6 +224,14 @@ const ROUTES = {
component: () => SolarControl,
scrollable: false,
},
suit_storage_unit: {
component: () => SuitStorageUnit,
scrollable: false,
},
tank_dispenser: {
component: () => TankDispenser,
scrollable: false,
},
thermomachine: {
component: () => ThermoMachine,
scrollable: false,