Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream sync #2534

Merged
merged 230 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
303b5c8
Air alarms check sensors upon power returning
osjarw Jul 9, 2024
967f7f7
bagel update (#31342)
Emisse Aug 23, 2024
783ef11
packed update (#31343)
Emisse Aug 23, 2024
73a9a75
omega update (#31344)
Emisse Aug 23, 2024
9b289c3
box update (#31345)
Emisse Aug 23, 2024
7b5c6be
Make AI overlay use vis1 (#31348)
metalgearsloth Aug 23, 2024
61a1e89
Add codeword highlighting (#30092)
SlamBamActionman Aug 23, 2024
17cf71d
Automatic changelog update
PJBot Aug 23, 2024
14567a1
fix metal pitcher name (#31351)
lzk228 Aug 23, 2024
9ee43ee
Add Galoshes slowdown over slippery surfaces (#30967)
SlamBamActionman Aug 23, 2024
390e310
Automatic changelog update
PJBot Aug 23, 2024
7f91253
very smol emergency boxes cleanup (#31355)
lzk228 Aug 23, 2024
8bf05ec
cleanup bakery weapons (#31356)
lzk228 Aug 23, 2024
01a211a
Increased Chest Marking Points for Reptilian Race (#30786)
Coolsurf6 Aug 23, 2024
2fcefec
Automatic changelog update
PJBot Aug 23, 2024
64630ee
Update Core (#31353)
UbaserB Aug 23, 2024
b396996
Fix server crash on shutdown due to DB notifications (#31379)
PJB3005 Aug 23, 2024
a2025e8
new boxer figurine voicelines (#31382)
FATFSAAM2 Aug 24, 2024
b7ec4f9
Automatic changelog update
PJBot Aug 24, 2024
9f5d972
Fix the folded chair damage inspection (#31378)
Winkarst-cpu Aug 24, 2024
8c55057
Automatic changelog update
PJBot Aug 24, 2024
8f4ee7a
Make storage implant closable using the action again (#31381)
slarticodefast Aug 24, 2024
c31ffff
add new salv loot into the vgroid procgen (#31290)
EmoGarbage404 Aug 24, 2024
907411d
Automatic changelog update
PJBot Aug 24, 2024
b52686e
Add space debris to salvage magnet (#31113)
EmoGarbage404 Aug 24, 2024
65423e4
Automatic changelog update
PJBot Aug 24, 2024
b410f4b
Stop nanotrasen sign from rotating (#31388)
Magicalus Aug 24, 2024
56eed8e
Cog update (AI ready) (#31384)
Spessmann Aug 24, 2024
551d319
fland update (#31391)
Emisse Aug 24, 2024
95b3d05
Change anomaly sign to have the same m as the other ones (#31394)
achookh Aug 24, 2024
00247a0
Make holding down an arrow key traverse the pointer in chat (#31380)
Winkarst-cpu Aug 24, 2024
06bf0ca
Automatic changelog update
PJBot Aug 24, 2024
1f623ae
ID Change to Dinnerware Vending Machine (#31225)
erohrs2 Aug 24, 2024
938af4d
Automatic changelog update
PJBot Aug 24, 2024
6538687
Line 44, story-generation.ftl: "chrisp" is spelled as "crisp" (#31401)
adeinitas Aug 24, 2024
2d05be3
Make component fields datafields
Aug 22, 2024
608a179
Add Vox atmosphere marker, vents, and air alarms
Aug 22, 2024
fedb7c8
"LV" is an acronym (#31402)
PJB3005 Aug 24, 2024
9e113dd
Add atmos stuff for mapping Vox environments (#31320)
Partmedia Aug 24, 2024
4a335b1
Moths can now eat all bandanas (#31405)
DevilishMilk Aug 24, 2024
303fa07
Automatic changelog update
PJBot Aug 24, 2024
1ef67e0
Update Credits (#31409)
github-actions[bot] Aug 25, 2024
059c84c
Replace obsolete code in GasPortableSystem (#31407)
Mervill Aug 25, 2024
c1aee02
Change `Resave` Permission Requirement to Host (#31397)
PursuitInAshes Aug 25, 2024
a1ab4a3
Automatic changelog update
PJBot Aug 25, 2024
b0375f1
Remove client state from server AirAlarmComponent (#31236)
eoineoineoin Aug 25, 2024
d15869f
Fix ChemVend jugs again (#31398)
PJB3005 Aug 25, 2024
d7bbb94
Automatic changelog update
PJBot Aug 25, 2024
60b34b5
Fix dungeon spawn + ftl overlap (#31413)
metalgearsloth Aug 25, 2024
759b9e7
Automatic changelog update
PJBot Aug 25, 2024
c46a78b
Fix firelockedge rotation (#31371)
themias Aug 25, 2024
647ca1f
Automatic changelog update
PJBot Aug 25, 2024
3b0d7e7
Update Oasis (#31415)
IProduceWidgets Aug 25, 2024
5472305
Automatic changelog update
PJBot Aug 25, 2024
7fe5f72
marathon update (#31421)
Emisse Aug 25, 2024
60cf24d
Give sec cadets jackboots instead of combat boots (#31419)
PopGamer45 Aug 25, 2024
0ced72d
Automatic changelog update
PJBot Aug 25, 2024
0adb28e
meta update (#31423)
Emisse Aug 25, 2024
adea4c9
Adds the Head of Greytide stamp (#30189)
ArtisticRoomba Aug 25, 2024
cc710fa
Automatic changelog update
PJBot Aug 25, 2024
7cb6b5e
Verb tweaks (#31309)
metalgearsloth Aug 25, 2024
f03fc58
Add ContainerComp (#31311)
metalgearsloth Aug 25, 2024
85b7d18
Blueprints (#31138)
EmoGarbage404 Aug 25, 2024
42865ae
Automatic changelog update
PJBot Aug 25, 2024
e1df251
decouple ItemToggle from PowerCellDraw (#31392)
deltanedas Aug 25, 2024
3d14587
Automatic changelog update
PJBot Aug 25, 2024
a89d4c7
Power stuff (#31314)
metalgearsloth Aug 25, 2024
c0a0761
ItemToggle + slots stuff (#31312)
metalgearsloth Aug 25, 2024
948bb72
Run actions on press (#31191)
metalgearsloth Aug 25, 2024
f96dddd
Automatic changelog update
PJBot Aug 25, 2024
2e029a7
Action stuff (#31305)
metalgearsloth Aug 25, 2024
ae31087
Update submodule to 231.0.0 (#31430)
metalgearsloth Aug 25, 2024
ff412a6
Weather fix (#30857)
TheShuEd Aug 25, 2024
ae4c7ad
ContainerComp fix (#31434)
metalgearsloth Aug 25, 2024
5131835
togglelight updates (#31435)
metalgearsloth Aug 25, 2024
bec832f
Increase (SUPER)PACMAN ramp rate/tolerance (#31403)
PJB3005 Aug 25, 2024
19b67cf
Automatic changelog update
PJBot Aug 25, 2024
453c28f
Make space scanning T1 technology (#31321)
Blackern5000 Aug 25, 2024
2d70c7d
Automatic changelog update
PJBot Aug 25, 2024
5c0753b
Add a bool to disable buckling on InteractHand (#30001)
ShadowCommander Aug 25, 2024
d067e80
Automatic changelog update
PJBot Aug 25, 2024
cf6f783
fix(FieldGenerators): Don't show nonsense popup (#30469)
Brandon-Huu Aug 25, 2024
2d87d65
bagel update (#31440)
Emisse Aug 25, 2024
ff3d797
Fix-Resprite emote icons (#31447)
lzk228 Aug 26, 2024
2871e69
Moff cooking. Part one. (#30668)
lzk228 Aug 26, 2024
5e8cee7
Automatic changelog update
PJBot Aug 26, 2024
dd7c395
Cog update (#31458)
Spessmann Aug 26, 2024
2e1b486
Add BUI ctor tests (#31463)
metalgearsloth Aug 26, 2024
83ec967
Predict EmitSoundOnUIOpen (#31464)
metalgearsloth Aug 26, 2024
569b081
Bots now make sound when they speak (#31471)
Moomoobeef Aug 26, 2024
93829ec
Automatic changelog update
PJBot Aug 26, 2024
982a172
Change the science radio channel color (#31319)
Winkarst-cpu Aug 26, 2024
84caaec
Automatic changelog update
PJBot Aug 26, 2024
2d85b4e
Move OnGhostAttempt to GhostSystem (#31445)
Winkarst-cpu Aug 26, 2024
082deb9
Fix energy sword visuals (#31478)
slarticodefast Aug 26, 2024
6c66e8f
Automatic changelog update
PJBot Aug 26, 2024
c6d2919
Replace obsolete code in shuttle systems. (#31408)
Mervill Aug 26, 2024
4dc750a
Replaces small fans on most shuttles with directional fans. (#31495)
QueerNB Aug 26, 2024
f65f57e
Automatic changelog update
PJBot Aug 26, 2024
e85c25a
Replace obsolete functions in NPC systems (#31448)
Mervill Aug 26, 2024
367cdfd
Make guidebook remember where you left off (#31375)
12rabbits Aug 26, 2024
7789b07
Automatic changelog update
PJBot Aug 26, 2024
76223e8
Remove double-iteration from the mime wall code (#31420)
Winkarst-cpu Aug 27, 2024
e345aa3
fix method OnEntityEnter in DamageContactsSystem (#31494)
Dimastra Aug 27, 2024
43ae135
Automatic changelog update
PJBot Aug 27, 2024
e300905
Make Gas Miners indestructable, anchorable, and pullable. (#31370)
JIPDawg Aug 27, 2024
54bfaa1
Automatic changelog update
PJBot Aug 27, 2024
2f4e297
bagel update (#31502)
Emisse Aug 27, 2024
55771ca
Minor fixes to character profile editor save/reset buttons (#31505)
eoineoineoin Aug 27, 2024
af65af8
Centcom & FTLDestination cleanup (#30226)
IProduceWidgets Aug 27, 2024
517aace
Fix swapped around Safety Moth poster graphics (#31507)
SaphireLattice Aug 27, 2024
292eccc
Automatic changelog update
PJBot Aug 27, 2024
ef18b31
Mark explosives as a contraband (#31508)
Winkarst-cpu Aug 27, 2024
e689892
Automatic changelog update
PJBot Aug 27, 2024
e9cc93c
Mark the syndicate raid helmet as a Syndicate contraband (#31512)
Winkarst-cpu Aug 27, 2024
c8d30a9
Automatic changelog update
PJBot Aug 27, 2024
28d6e6d
Add title to multitool door-access-configuration window (#31504)
eoineoineoin Aug 27, 2024
4f3c247
Restrict the explorer gas mask to cargo (#31514)
Winkarst-cpu Aug 27, 2024
7a4fc39
Automatic changelog update
PJBot Aug 27, 2024
3492ca1
Fix stray pixel in officer beersky barsign (#31517)
lzk228 Aug 27, 2024
8ffae8d
Scale text in admin player overlay (#31503)
eoineoineoin Aug 27, 2024
250628f
New Health Analyzer UI (#30834)
Aeshus Aug 27, 2024
4b91f1f
Automatic changelog update
PJBot Aug 27, 2024
d304123
Disable Arrivals message for Cryosleep (#30888)
Aeshus Aug 27, 2024
bf7653e
Automatic changelog update
PJBot Aug 27, 2024
e59b9c5
Remove glibc from devshell (#28842)
stellar-novas Aug 27, 2024
f92ef41
Automated whitelists (#23985)
Simyon264 Aug 27, 2024
3adb4bc
Make nukie plushie a non-contraband item (#31516)
Winkarst-cpu Aug 27, 2024
9b8ed01
Automatic changelog update
PJBot Aug 27, 2024
2aea194
fix uncapitalized "S" in Salvage Specialist (#31529)
saintmuntzer Aug 27, 2024
ef634a1
Make AKMS security restricted (#31519)
Winkarst-cpu Aug 27, 2024
6c1027b
Automatic changelog update
PJBot Aug 27, 2024
46fe7bc
bagel update (#31535)
Emisse Aug 27, 2024
3a4affd
Update submodule to 231.1.0 (#31536)
metalgearsloth Aug 27, 2024
afd0618
Station AI (#30944)
metalgearsloth Aug 28, 2024
14b3e0c
Bagel station ai (#31537)
Emisse Aug 28, 2024
99a41a1
Fix PostMapInit tests not considering job containerspawns (#31538)
metalgearsloth Aug 28, 2024
5261f01
AI whitelist fix (#31542)
metalgearsloth Aug 28, 2024
842b242
cog update (#31540)
Spessmann Aug 28, 2024
b4a3408
AI radio fix (#31547)
metalgearsloth Aug 28, 2024
a06d9a5
Storage BUI bandaid (#31506)
metalgearsloth Aug 28, 2024
6038515
Fix puddle context menu (#31555)
metalgearsloth Aug 28, 2024
af79603
Update AI holo sprite to camera (#31558)
metalgearsloth Aug 28, 2024
d1839ed
Add AI warp points (#31559)
metalgearsloth Aug 28, 2024
1f4c9b5
Automatic changelog update
PJBot Aug 28, 2024
9149a44
Fix AI being ejectable (#31561)
metalgearsloth Aug 28, 2024
8321031
Automatic changelog update
PJBot Aug 28, 2024
678320f
Fix whitelist (#31563)
metalgearsloth Aug 28, 2024
d93fc73
Automatic changelog update
PJBot Aug 28, 2024
ed6649b
bagel update (#31562)
Emisse Aug 28, 2024
783621b
Add some more stuff to AI whitelist (#31564)
metalgearsloth Aug 28, 2024
a270afa
Automatic changelog update
PJBot Aug 28, 2024
c4b1e18
Meta - Med disposals and chem room extra pipe fix (#31467)
JustCone14 Aug 28, 2024
1a85de5
bagel hotfix (#31566)
Emisse Aug 28, 2024
a02bdd0
update AI job icon to 8x8 (#31565)
lunarcomets Aug 28, 2024
2a28a05
Automatic changelog update
PJBot Aug 28, 2024
4d4a10d
Update ClothingSpeedModifierSystem.cs (#29994)
Errant-4 Aug 28, 2024
512d27c
Add black suspenders (#29055)
lzk228 Aug 28, 2024
c0c534b
Automatic changelog update
PJBot Aug 28, 2024
d8dbfa9
recolor riot helmet (#31530)
saintmuntzer Aug 28, 2024
460e587
Automatic changelog update
PJBot Aug 28, 2024
91eb0c2
added wide-spectrum anomaly locator to anomaly cyborg module (#31427)
coolboy911 Aug 28, 2024
24e9dc6
Automatic changelog update
PJBot Aug 28, 2024
8d38897
Add Robust.Xaml.csproj to the solution (#31573)
Winkarst-cpu Aug 28, 2024
6808558
add construction for carp statue (#31261)
deltanedas Aug 28, 2024
386733e
Automatic changelog update
PJBot Aug 28, 2024
f5a8be8
fix spelling error silicon jobs (#31581)
lzk228 Aug 28, 2024
c2ccf2b
Fixes shuttles not being able to FTL onto/near station (#31569)
PopGamer45 Aug 28, 2024
d088c8a
Automatic changelog update
PJBot Aug 28, 2024
721f7bf
Merge remote-tracking branch 'refs/remotes/wizards/master' into upstr…
Morb0 Aug 28, 2024
0f2c42f
Fix defibs draining battery when turned off (#31593)
themias Aug 28, 2024
daba76d
Bagel - LV cable wasn't connected (#31591)
JustCone14 Aug 28, 2024
f7f255a
Marathon - Names a singular camera (#31590)
JustCone14 Aug 28, 2024
693fc75
Automatic changelog update
PJBot Aug 28, 2024
b2edae8
Reach - Scientist added to map's prototype (#31567)
JustCone14 Aug 28, 2024
98680ce
Change my copyright (#31599)
lzk228 Aug 28, 2024
6398f5b
Remove random cyrillic letters (#31600)
lzk228 Aug 28, 2024
af35c2b
escape pod tiny fan (#31601)
Emisse Aug 28, 2024
bea7210
Fix nuke disk erroneously being marked 'left behind' (#31602)
themias Aug 28, 2024
a4d58a5
Automatic changelog update
PJBot Aug 28, 2024
7454c77
bagel update (#31603)
Emisse Aug 28, 2024
50791db
Add rings (Salvage loot real)! (#31372)
beck-thompson Aug 28, 2024
d540f27
Automatic changelog update
PJBot Aug 28, 2024
604025e
bagel update (#31605)
Emisse Aug 28, 2024
26ba991
Sec Webbing Icon Resprite and Rename (#29599)
DieselMohawk Aug 29, 2024
d9b1369
Cherry (#28962)
RumiTiger Aug 29, 2024
d0aafae
Automatic changelog update
PJBot Aug 29, 2024
ff5acf7
Add Command Glasses (#30447)
SlamBamActionman Aug 29, 2024
a268ede
Automatic changelog update
PJBot Aug 29, 2024
6a52de8
Added plastitanium walls and windows (#31178)
Unisol Aug 29, 2024
a9602cb
Check air alarm sensors when repowering (#29857)
Partmedia Aug 29, 2024
b6391e1
Automatic changelog update
PJBot Aug 29, 2024
b3036de
Make railings render over tables (#31589)
Winkarst-cpu Aug 29, 2024
df392c7
Automatic changelog update
PJBot Aug 29, 2024
d921684
Update submodule to 232.0.0 (#31616)
metalgearsloth Aug 29, 2024
2fd57c2
Automatic changelog update
PJBot Aug 29, 2024
a312df9
Merge remote-tracking branch 'refs/remotes/wizards/master' into upstr…
Morb0 Aug 29, 2024
f0615ec
Fixup playerspawn stuff (#31546)
metalgearsloth Aug 29, 2024
c6a8d87
strange pill tweaks (#30524)
MisterMecky Aug 29, 2024
7a2892b
Automatic changelog update
PJBot Aug 29, 2024
a799d4a
Fix openable visuals (#31484)
beck-thompson Aug 29, 2024
3bdd2e3
reduce lathe recipe copy pasta (#31515)
deltanedas Aug 29, 2024
46329a9
cog update (#31631)
Spessmann Aug 29, 2024
572392b
Fix energy shield visuals (#31619)
slarticodefast Aug 30, 2024
3c28f83
Automatic changelog update
PJBot Aug 30, 2024
bdfc57c
Added Armband Onto Back Sprite of Security Jumpsuit (#31635)
DieselMohawk Aug 30, 2024
37b7354
Automatic changelog update
PJBot Aug 30, 2024
2adc49f
Update locale
Morb0 Aug 30, 2024
1293a50
Merge remote-tracking branch 'refs/remotes/wizards/master' into upstr…
Morb0 Aug 30, 2024
dce0ce4
Add SpriteFadeComponent to potted plants (#31628)
Winkarst-cpu Aug 30, 2024
4655919
Automatic changelog update
PJBot Aug 30, 2024
72832bf
Meteor rock debuff (#31651)
AutoOtter Aug 30, 2024
9183c50
Automatic changelog update
PJBot Aug 30, 2024
849d3d9
Fix test threading (#31669)
metalgearsloth Aug 31, 2024
9685abe
Fix revenant being blocked by walls (#31670)
slarticodefast Aug 31, 2024
f5f777b
Automatic changelog update
PJBot Aug 31, 2024
8ca4337
Update submodule to 233.0.0 (#31673)
metalgearsloth Aug 31, 2024
2d43bb6
Fix broken tests directly mutating entities from wrong thread. (#31647)
PJB3005 Aug 31, 2024
18f5a0d
Fix AI singulo shenanigans (#31556)
metalgearsloth Aug 31, 2024
2ae23bc
Update submodule to 233.0.1 (#31676)
metalgearsloth Aug 31, 2024
f22db1f
Automatic changelog update
PJBot Aug 31, 2024
99db9ea
Fix suicide logs (#31661)
nikthechampiongr Aug 31, 2024
5ab065f
Automatic changelog update
PJBot Aug 31, 2024
494024d
More ItemTogglePointLight fixes (#31655)
slarticodefast Aug 31, 2024
4435ccd
Automatic changelog update
PJBot Aug 31, 2024
9a63144
Allow for respawn and erase verb to be used on offline players. Also …
nikthechampiongr Aug 31, 2024
8dbaca3
Automatic changelog update
PJBot Aug 31, 2024
85a4a7c
Merge branch 'refs/heads/master' into upstream-sync
Morb0 Aug 31, 2024
0670981
Merge remote-tracking branch 'refs/remotes/wizards/master' into upstr…
Morb0 Aug 31, 2024
fbb9301
Update locale
Morb0 Aug 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 0 additions & 6 deletions Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,6 @@ public void TriggerAction(EntityUid actionId, BaseActionComponent action)

if (action.ClientExclusive)
{
if (instantAction.Event != null)
{
instantAction.Event.Performer = user;
instantAction.Event.Action = actionId;
}

PerformAction(user, actions, actionId, instantAction, instantAction.Event, GameTiming.CurTime);
}
else
Expand Down
20 changes: 12 additions & 8 deletions Content.Client/Administration/AdminNameOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
using Content.Client.Administration.Systems;
using Robust.Client.Graphics;
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface;
using Robust.Shared;
using Robust.Shared.Enums;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Configuration;

namespace Content.Client.Administration;

Expand All @@ -15,14 +15,16 @@ internal sealed class AdminNameOverlay : Overlay
private readonly IEntityManager _entityManager;
private readonly IEyeManager _eyeManager;
private readonly EntityLookupSystem _entityLookup;
private readonly IUserInterfaceManager _userInterfaceManager;
private readonly Font _font;

public AdminNameOverlay(AdminSystem system, IEntityManager entityManager, IEyeManager eyeManager, IResourceCache resourceCache, EntityLookupSystem entityLookup)
public AdminNameOverlay(AdminSystem system, IEntityManager entityManager, IEyeManager eyeManager, IResourceCache resourceCache, EntityLookupSystem entityLookup, IUserInterfaceManager userInterfaceManager)
{
_system = system;
_entityManager = entityManager;
_eyeManager = eyeManager;
_entityLookup = entityLookup;
_userInterfaceManager = userInterfaceManager;
ZIndex = 200;
_font = new VectorFont(resourceCache.GetResource<FontResource>("/Fonts/NotoSans/NotoSans-Regular.ttf"), 10);
}
Expand Down Expand Up @@ -57,16 +59,18 @@ protected override void Draw(in OverlayDrawArgs args)
continue;
}

var lineoffset = new Vector2(0f, 11f);
var uiScale = _userInterfaceManager.RootControl.UIScale;
var lineoffset = new Vector2(0f, 11f) * uiScale;
var screenCoordinates = _eyeManager.WorldToScreen(aabb.Center +
new Angle(-_eyeManager.CurrentEye.Rotation).RotateVec(
aabb.TopRight - aabb.Center)) + new Vector2(1f, 7f);
if (playerInfo.Antag)
{
args.ScreenHandle.DrawString(_font, screenCoordinates + (lineoffset * 2), "ANTAG", Color.OrangeRed);
args.ScreenHandle.DrawString(_font, screenCoordinates + (lineoffset * 2), "ANTAG", uiScale, Color.OrangeRed);
;
}
args.ScreenHandle.DrawString(_font, screenCoordinates+lineoffset, playerInfo.Username, playerInfo.Connected ? Color.Yellow : Color.White);
args.ScreenHandle.DrawString(_font, screenCoordinates, playerInfo.CharacterName, playerInfo.Connected ? Color.Aquamarine : Color.White);
args.ScreenHandle.DrawString(_font, screenCoordinates+lineoffset, playerInfo.Username, uiScale, playerInfo.Connected ? Color.Yellow : Color.White);
args.ScreenHandle.DrawString(_font, screenCoordinates, playerInfo.CharacterName, uiScale, playerInfo.Connected ? Color.Aquamarine : Color.White);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Content.Client.Administration.Managers;
using Robust.Client.Graphics;
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface;
using Robust.Shared.Configuration;

namespace Content.Client.Administration.Systems
{
Expand All @@ -11,6 +13,7 @@ public sealed partial class AdminSystem
[Dependency] private readonly IClientAdminManager _adminManager = default!;
[Dependency] private readonly IEyeManager _eyeManager = default!;
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
[Dependency] private readonly IUserInterfaceManager _userInterfaceManager = default!;

private AdminNameOverlay _adminNameOverlay = default!;

Expand All @@ -19,7 +22,7 @@ public sealed partial class AdminSystem

private void InitializeOverlay()
{
_adminNameOverlay = new AdminNameOverlay(this, EntityManager, _eyeManager, _resourceCache, _entityLookup);
_adminNameOverlay = new AdminNameOverlay(this, EntityManager, _eyeManager, _resourceCache, _entityLookup, _userInterfaceManager);
_adminManager.AdminStatusUpdated += OnAdminStatusUpdated;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Network;
using Robust.Shared.Utility;
using Robust.Shared.Timing;
using Robust.Shared.Configuration;
using Robust.Shared.Utility;

namespace Content.Client.Administration.UI.Bwoink
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Numerics;
using Content.Client.UserInterface.Controls;
using Content.Shared.Roles;
using Robust.Client.AutoGenerated;
using Robust.Client.Console;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ protected override void Open()
_window.AirAlarmModeChanged += OnAirAlarmModeChanged;
_window.AutoModeChanged += OnAutoModeChanged;
_window.ResyncAllRequested += ResyncAllDevices;
_window.AirAlarmTabChange += OnTabChanged;
}

private void ResyncAllDevices()
Expand Down Expand Up @@ -63,11 +62,6 @@ private void OnThresholdChanged(string address, AtmosMonitorThresholdType type,
SendMessage(new AirAlarmUpdateAlarmThresholdMessage(address, type, threshold, gas));
}

private void OnTabChanged(AirAlarmTab tab)
{
SendMessage(new AirAlarmTabSetMessage(tab));
}

protected override void UpdateState(BoundUserInterfaceState state)
{
base.UpdateState(state);
Expand Down
8 changes: 0 additions & 8 deletions Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public sealed partial class AirAlarmWindow : FancyWindow
public event Action<AirAlarmMode>? AirAlarmModeChanged;
public event Action<bool>? AutoModeChanged;
public event Action? ResyncAllRequested;
public event Action<AirAlarmTab>? AirAlarmTabChange;

private RichTextLabel _address => CDeviceAddress;
private RichTextLabel _deviceTotal => CDeviceTotal;
Expand Down Expand Up @@ -80,11 +79,6 @@ public AirAlarmWindow()
_tabContainer.SetTabTitle(1, Loc.GetString("air-alarm-ui-window-tab-scrubbers"));
_tabContainer.SetTabTitle(2, Loc.GetString("air-alarm-ui-window-tab-sensors"));

_tabContainer.OnTabChanged += idx =>
{
AirAlarmTabChange!((AirAlarmTab) idx);
};

_resyncDevices.OnPressed += _ =>
{
_ventDevices.RemoveAllChildren();
Expand Down Expand Up @@ -117,8 +111,6 @@ public void UpdateState(AirAlarmUIState state)
{
UpdateDeviceData(addr, dev);
}

_tabContainer.CurrentTab = (int) state.Tab;
}

public void UpdateModeSelector(AirAlarmMode mode)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Content.Shared.CrewManifest;
using Content.Client.CrewManifest.UI;
using Content.Shared.CrewManifest;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Text="{Loc 'news-read-ui-next-text'}"
ToolTip="{Loc 'news-read-ui-next-tooltip'}"/>
</BoxContainer>
<controls:StripeBack Name="АrticleNameContainer">
<controls:StripeBack Name="ArticleNameContainer">
<PanelContainer>
<Label Name="PageNum" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="4,0,0,0"/>
<Label Name="PageName" Align="Center"/>
Expand Down
13 changes: 5 additions & 8 deletions Content.Client/Chat/UI/EmotesMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,15 @@ public sealed partial class EmotesMenu : RadialMenu
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;

private readonly SpriteSystem _spriteSystem;
private readonly EntityWhitelistSystem _whitelistSystem;

public event Action<ProtoId<EmotePrototype>>? OnPlayEmote;

public EmotesMenu()
{
IoCManager.InjectDependencies(this);
RobustXamlLoader.Load(this);

_spriteSystem = _entManager.System<SpriteSystem>();
_whitelistSystem = _entManager.System<EntityWhitelistSystem>();
var spriteSystem = _entManager.System<SpriteSystem>();
var whitelistSystem = _entManager.System<EntityWhitelistSystem>();

var main = FindControl<RadialContainer>("Main");

Expand All @@ -40,8 +37,8 @@ public EmotesMenu()
var player = _playerManager.LocalSession?.AttachedEntity;
if (emote.Category == EmoteCategory.Invalid ||
emote.ChatTriggers.Count == 0 ||
!(player.HasValue && _whitelistSystem.IsWhitelistPassOrNull(emote.Whitelist, player.Value)) ||
_whitelistSystem.IsBlacklistPass(emote.Blacklist, player.Value))
!(player.HasValue && whitelistSystem.IsWhitelistPassOrNull(emote.Whitelist, player.Value)) ||
whitelistSystem.IsBlacklistPass(emote.Blacklist, player.Value))
continue;

if (!emote.Available &&
Expand All @@ -63,7 +60,7 @@ public EmotesMenu()
{
VerticalAlignment = VAlignment.Center,
HorizontalAlignment = HAlignment.Center,
Texture = _spriteSystem.Frame0(emote.Icon),
Texture = spriteSystem.Frame0(emote.Icon),
TextureScale = new Vector2(2f, 2f),
};

Expand Down
1 change: 1 addition & 0 deletions Content.Client/Commands/SetMenuVisibilityCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Content.Client.Verbs;
using Content.Shared.Verbs;
using JetBrains.Annotations;
using Robust.Shared.Console;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Linq;
using Content.Client.Materials;
using Content.Client.Materials.UI;
using Content.Client.Message;
using Content.Client.UserInterface.Controls;
using Content.Shared.Construction.Components;
Expand Down
19 changes: 16 additions & 3 deletions Content.Client/ContextMenu/UI/EntityMenuUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Content.Shared.Examine;
using Content.Shared.IdentityManagement;
using Content.Shared.Input;
using Content.Shared.Verbs;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
Expand Down Expand Up @@ -194,8 +195,20 @@ public override void FrameUpdate(FrameEventArgs args)
return;

// Do we need to do in-range unOccluded checks?
var ignoreFov = !_eyeManager.CurrentEye.DrawFov ||
(_verbSystem.Visibility & MenuVisibility.NoFov) == MenuVisibility.NoFov;
var visibility = _verbSystem.Visibility;

if (!_eyeManager.CurrentEye.DrawFov)
{
visibility &= ~MenuVisibility.NoFov;
}

var ev = new MenuVisibilityEvent()
{
Visibility = visibility,
};

_entityManager.EventBus.RaiseLocalEvent(player, ref ev);
visibility = ev.Visibility;

_entityManager.TryGetComponent(player, out ExaminerComponent? examiner);
var xformQuery = _entityManager.GetEntityQuery<TransformComponent>();
Expand All @@ -209,7 +222,7 @@ public override void FrameUpdate(FrameEventArgs args)
continue;
}

if (ignoreFov)
if ((visibility & MenuVisibility.NoFov) == MenuVisibility.NoFov)
continue;

var pos = new MapCoordinates(_xform.GetWorldPosition(xform, xformQuery), xform.MapID);
Expand Down
1 change: 1 addition & 0 deletions Content.Client/CrewManifest/CrewManifestUi.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Content.Client.CrewManifest.UI;
using Content.Shared.CrewManifest;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.UserInterface"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc door-electronics-configuration-title}">
<Control Name="AccessLevelControlContainer" />

</controls:FancyWindow>
1 change: 1 addition & 0 deletions Content.Client/Entry/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public override void Init()
_prototypeManager.RegisterIgnore("lobbyBackground");
_prototypeManager.RegisterIgnore("gamePreset");
_prototypeManager.RegisterIgnore("noiseChannel");
_prototypeManager.RegisterIgnore("playerConnectionWhitelist");
_prototypeManager.RegisterIgnore("spaceBiome");
_prototypeManager.RegisterIgnore("worldgenConfig");
_prototypeManager.RegisterIgnore("gameRule");
Expand Down
4 changes: 4 additions & 0 deletions Content.Client/Guidebook/Controls/GuidebookWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public sealed partial class GuidebookWindow : FancyWindow, ILinkClickHandler

private readonly ISawmill _sawmill;

public ProtoId<GuideEntryPrototype> LastEntry;

public GuidebookWindow()
{
RobustXamlLoader.Load(this);
Expand Down Expand Up @@ -90,6 +92,8 @@ private void ShowGuide(GuideEntry entry)

_sawmill.Error($"Failed to parse contents of guide document {entry.Id}.");
}

LastEntry = entry.Id;
}

public void UpdateGuides(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public HealthAnalyzerBoundUserInterface(EntityUid owner, Enum uiKey) : base(owne
protected override void Open()
{
base.Open();

_window = this.CreateWindow<HealthAnalyzerWindow>();

_window.Title = EntMan.GetComponent<MetaDataComponent>(Owner).EntityName;
Expand Down
Loading
Loading