Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Upstream merge 02/03/2024 #11

Merged
merged 479 commits into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
688c9ab
Add new stairs (#25212)
Ko4ergaPunk Feb 21, 2024
435efd7
Upgrade trash bag max item size to Normal (#25241)
jessicamaybe Feb 21, 2024
d5e7637
Uplink hardsuit bundles rework (#25189)
AlexUm418 Feb 21, 2024
1eb6958
add troll conducting gloves to uplink (#25227)
deltanedas Feb 21, 2024
80fa454
Automatic changelog update
PJBot Feb 21, 2024
9068f86
train update (#25428)
Emisse Feb 21, 2024
8f0b469
Add guidebook page for the RTG (#25040)
veliebm Feb 21, 2024
b98450a
No More DMCA over pirate_start (#25153)
PoorMansDreams Feb 21, 2024
012e6e6
Remove contests (#25425)
metalgearsloth Feb 21, 2024
bc9c31a
Automatic changelog update
PJBot Feb 21, 2024
92e115f
add syndicate hud to nukeops uplink (#25087)
takemysoult Feb 21, 2024
1961456
Adds a mask slot and moves adminPDA to new ID slot for aghost (#25402)
SphiraI Feb 21, 2024
43f9009
Automatic changelog update
PJBot Feb 21, 2024
9674b79
Nerfs normal nettles to be weaker than their deathnettle counterparts…
UltimateJester Feb 21, 2024
4126797
Automatic changelog update
PJBot Feb 21, 2024
33153aa
Spaceman's Trumpet and Lily (#25090)
potato1234x Feb 21, 2024
c4fc032
Kill blumpkin donut (#25431)
Emisse Feb 21, 2024
bceae01
Automatic changelog update
PJBot Feb 21, 2024
77e8930
Remove Acidifier from Syndie Uplink and Increase Price to 4tc (#25039)
FungiFellow Feb 21, 2024
a3c93b0
Add option for admins to disable bwoink (#25008)
dffdff2423 Feb 21, 2024
cd63708
Automatic changelog update
PJBot Feb 21, 2024
f29575f
Voice trigger fixes, death acidifier typos (#24941)
Krunklehorn Feb 21, 2024
fb9ddab
Updates to Packed (#24907)
Krunklehorn Feb 21, 2024
a18e2c0
packed update (#25437)
Emisse Feb 21, 2024
ef849a0
fix: #25102 cryo pod now uses health-analyzer system to update body s…
Fildrance Feb 21, 2024
72acdd5
Automatic changelog update
PJBot Feb 21, 2024
128f5e8
Adds random pill canister (#25316)
IamVelcroboy Feb 21, 2024
046c874
Moves muted to shared (#25374)
keronshb Feb 21, 2024
79c6385
Fix bwoink sounds (#25441)
metalgearsloth Feb 21, 2024
499aa71
Dispenser jug fix (#25450)
MjrLandWhale Feb 21, 2024
abedce4
Automatic changelog update
PJBot Feb 21, 2024
ae11068
Fix EVA helmets quickequip (#25448)
Killerqu00 Feb 21, 2024
2cc484c
Automatic changelog update
PJBot Feb 21, 2024
1360d57
Crop harvest int cast fix (#25453)
genderGeometries Feb 22, 2024
fda1242
Automatic changelog update
PJBot Feb 22, 2024
326b890
Little rework of existing yaml flatpacks (#24814)
lzk228 Feb 22, 2024
26417b7
Fix xeno and dragon blood levels (#25442)
QuietlyWhisper Feb 22, 2024
7734b09
Automatic changelog update
PJBot Feb 22, 2024
48213eb
Changed radio jammer wattage from 6 -> 2 (#25432)
beck-thompson Feb 22, 2024
423b75f
Automatic changelog update
PJBot Feb 22, 2024
7c7bca1
Remove obs kit (#24768)
metalgearsloth Feb 22, 2024
d0df5ed
Revert "Remove handheld crew monitor (#24761)" (#25439)
metalgearsloth Feb 22, 2024
c27d0c1
Automatic changelog update
PJBot Feb 22, 2024
b26e9a9
Fix #22933 - Job-specific Uplink items leaking to non-job minds (#23179)
DrMelon Feb 22, 2024
3c25e63
Automatic changelog update
PJBot Feb 22, 2024
85ae40e
Red flashlight color for assault borg (#25465)
liltenhead Feb 22, 2024
22c76bb
Automatic changelog update
PJBot Feb 22, 2024
487dd11
Add RequiresGrid component (#23394)
HoofedEar Feb 22, 2024
35723ad
Make even more items good looking in inventory + size changing (#25461)
lzk228 Feb 22, 2024
7ac3a2a
Automatic changelog update
PJBot Feb 22, 2024
83cd108
Add Large Wood Floors (#25462)
ps3moira Feb 22, 2024
2b34970
Automatic changelog update
PJBot Feb 22, 2024
f38a961
fix reagent slime role description being friendly (#25466)
QuietlyWhisper Feb 22, 2024
e6605a7
Automatic changelog update
PJBot Feb 22, 2024
b774759
Give "DO NOT MAP" suffix to handheld crew monitor (#25473)
notquitehadouken Feb 22, 2024
ce0a51f
Predict doors and airlocks (#25419)
EmoGarbage404 Feb 22, 2024
146c7b2
Fix examine text bug for Openable Drinkables (#25478)
Tayrtahn Feb 23, 2024
6568737
Make galoshes obtainable and slowing you (#25484)
lzk228 Feb 23, 2024
84d9f7a
Automatic changelog update
PJBot Feb 23, 2024
381bb90
Add prediction to Openable (#25477)
Tayrtahn Feb 23, 2024
2458c87
Add Ratvar (#24958)
MACMAN2003 Feb 23, 2024
b1de6dd
Switch project files to C# 12. (#25487)
PJB3005 Feb 23, 2024
715794d
Make department / job list sorting consistent. (#25486)
PJB3005 Feb 23, 2024
945c8db
Automatic changelog update
PJBot Feb 23, 2024
4ea1d21
Buff emergency welder (#25483)
liltenhead Feb 23, 2024
b75ff77
Automatic changelog update
PJBot Feb 23, 2024
033f232
Update submodule to 211.0.0 (#25489)
metalgearsloth Feb 23, 2024
d8e5f5c
Optimise DecalOverlay (#25266)
metalgearsloth Feb 23, 2024
af7e802
Fix attribution (#25495)
TheShuEd Feb 23, 2024
237d89c
Fix centcom and other jobs with setPreference set to false showing up…
VasilisThePikachu Feb 23, 2024
2ad3243
Automatic changelog update
PJBot Feb 23, 2024
7a37d4a
Make cargo order unanchored thruster and gyroscope (#25497)
lzk228 Feb 23, 2024
2a5eb86
Minor cookie fortune fix (#25503)
lapatison Feb 23, 2024
39a2ff5
Fix a single grammar error (#25512)
Erisfiregamer1 Feb 24, 2024
786ecd9
Automatic changelog update
PJBot Feb 24, 2024
431f0bd
Update Credits (#25532)
github-actions[bot] Feb 25, 2024
84fff93
Fixed Fire Extinguisher safety range (#25534)
beck-thompson Feb 25, 2024
51caf3b
Automatic changelog update
PJBot Feb 25, 2024
5806401
Remove the ability for command or any antag-safe role from being init…
ArchPigeon Feb 25, 2024
c52820a
Automatic changelog update
PJBot Feb 25, 2024
e1cce9d
Prevent clients from setting their species to whatever they want (#25…
DebugOk Feb 25, 2024
34a6f12
Update submodule to 211.0.2 (#25536)
metalgearsloth Feb 25, 2024
531d722
Increase contrast with hand select for Ashen UI theme (#25517)
UbaserB Feb 25, 2024
9a4c10c
pAI map button sprite change (#25384)
UbaserB Feb 25, 2024
aa4e7c0
Made ordering multiple crates at cargo order multiple crates (#25518)
PolterTzi Feb 25, 2024
e52ebe0
Automatic changelog update
PJBot Feb 25, 2024
ec5edc3
Selectively revert gun penetration (#25551)
metalgearsloth Feb 25, 2024
bcbe2ec
Cleanup ExecutionSystem (#24382)
nikthechampiongr Feb 25, 2024
bb0776c
Revert "Cleanup ExecutionSystem (#24382)" (#25555)
metalgearsloth Feb 25, 2024
51acebd
Automatic changelog update
PJBot Feb 25, 2024
902198d
Fix candy bowls (#25514)
Krunklehorn Feb 25, 2024
6f3893a
Automatic changelog update
PJBot Feb 25, 2024
a440ccf
Fix cuffs popup prediction (#25553)
metalgearsloth Feb 25, 2024
1a5f7c3
Toggleable items shape change on toggle state (#25392)
MilenVolf Feb 25, 2024
1de102d
Juice that makes you Weh! (but real!) (#25132)
QuietlyWhisper Feb 25, 2024
87def40
Added ContainerSpawnPoint check for integration test (#25446)
778b Feb 25, 2024
4613c9d
Automatic changelog update
PJBot Feb 25, 2024
ad29dbe
Fix ItemSlots prediction (#25552)
metalgearsloth Feb 25, 2024
7ba6765
fix solar computer sprite (#25548)
potato1234x Feb 25, 2024
b30cda8
Added Survival to the secret rotation (#25568)
wafehling Feb 25, 2024
4e16034
Automatic changelog update
PJBot Feb 25, 2024
de36ebe
Don't double-dip survival intensity scaling (#25570)
mirrorcult Feb 25, 2024
3ef4e83
Add server name into the replay final (#25564)
VasilisThePikachu Feb 25, 2024
b26acc9
Panic bunker fix (#25538)
metalgearsloth Feb 25, 2024
100ece2
Add a container display to dispenser UI (#25391)
Tayrtahn Feb 25, 2024
02be78b
Automatic changelog update
PJBot Feb 25, 2024
7d6e4b1
Fix grid inventory pick/drop rotation (#25510)
Krunklehorn Feb 25, 2024
f463cdf
Satchel empty space is now fully transparent (#25147)
UbaserB Feb 25, 2024
48604b0
Automatic changelog update
PJBot Feb 25, 2024
97d41cf
add "missing spacepen" poster (#25502)
hiucko Feb 25, 2024
656679c
Flora anomaly nerf (#25499)
TheShuEd Feb 25, 2024
90279b3
Automatic changelog update
PJBot Feb 25, 2024
8d244f7
Character profile sanitization improvements (#25579)
PJB3005 Feb 26, 2024
b7be693
[Tweak] Everything can read (#25580)
OctoRocket Feb 26, 2024
485fb4c
Remove self-uncuff spam suicide, damage changes (#25161)
SlamBamActionman Feb 26, 2024
2a2324e
Automatic changelog update
PJBot Feb 26, 2024
e00f745
Use new ComponentPauseGenerator (#25183)
PJB3005 Feb 26, 2024
002b8d8
add crew monitor as traitor steal objective (#25563)
deltanedas Feb 26, 2024
c02c8c2
Automatic changelog update
PJBot Feb 26, 2024
dffd02a
Syringe UI cached updates (#25581)
Plykiya Feb 26, 2024
76823cc
swapped icons for RCD crates (#25600)
Boaz1111 Feb 26, 2024
2efad4f
Cleans up base crates for mapping clarity (#25618)
IamVelcroboy Feb 26, 2024
19ce9ed
Fix inconsistency in onions (#25619)
IamVelcroboy Feb 26, 2024
918eb1f
fixes arcade tile position (#25620)
IamVelcroboy Feb 26, 2024
89c8226
Lathe-able LED light tubes and LED bulbs (#25616)
MACMAN2003 Feb 26, 2024
4bf2364
fixes the old ai sat ruin's lights (#25615)
Flareguy Feb 26, 2024
c6bfb65
Fixed a few small typos in ghost role information. (#25613)
botanySupremist Feb 26, 2024
30e09af
Add weh to: Anomalies, Artifacts, random puddles (#25611)
QuietlyWhisper Feb 26, 2024
c0290d1
Buff/Nerf Gases Cost (#25608)
CyberDuck-Git Feb 26, 2024
2faf743
Automatic changelog update
PJBot Feb 26, 2024
6b00f59
ERT PDA Fixup (#25606)
Hanzdegloker Feb 26, 2024
5367d99
fix(cooktime): mushroom pizza are set to the proper cook time of 30 s…
Brandon-Huu Feb 26, 2024
7593a2e
Automatic changelog update
PJBot Feb 26, 2024
849dc43
macrobomb 20->13 TC (#25585)
Ilya246 Feb 26, 2024
74232f9
handcuff replacements are faster to escape from (#25601)
QuietlyWhisper Feb 26, 2024
25deede
Behonker Lobby Art (#25455)
PoorMansDreams Feb 26, 2024
b7b6f61
Added several cosmetic items to the Medidrobe (#25582)
GNF54 Feb 26, 2024
7fc75f7
Automatic changelog update
PJBot Feb 26, 2024
84cbcb9
Fancy table (#25562)
TheShuEd Feb 26, 2024
a0b0579
Automatic changelog update
PJBot Feb 26, 2024
3af2928
Add nose customization to humans & dwarves (#25557)
SlamBamActionman Feb 26, 2024
0536ce6
add NanoTrasen balloon (#25543)
MACMAN2003 Feb 26, 2024
79df39e
Automatic changelog update
PJBot Feb 26, 2024
7a5f81d
Handheld Mass Scanner (#25526)
TheShuEd Feb 26, 2024
9015573
Automatic changelog update
PJBot Feb 26, 2024
88ae717
More windoors (starring directional window) (#25501)
SphiraI Feb 26, 2024
ff65cb7
Whisper bleed update v3 (#25434)
QuietlyWhisper Feb 26, 2024
acc7927
Automatic changelog update
PJBot Feb 26, 2024
a6f2146
Automatic changelog update
PJBot Feb 26, 2024
32a440b
Adjusts wallmount arcs and partially fix nanomed issues (#25451)
IamVelcroboy Feb 26, 2024
0889d6b
Minor test fixes (#25423)
metalgearsloth Feb 26, 2024
bd99c0d
Automatic changelog update
PJBot Feb 26, 2024
cc865c5
Zombie Diona Fixes (#25404)
LankLTE Feb 26, 2024
8e951f3
Automatic changelog update
PJBot Feb 26, 2024
133bd03
Adds minable salt "ore" (#25324)
Zadeon Feb 26, 2024
5ad5739
Automatic changelog update
PJBot Feb 26, 2024
cb45b6c
train update (#25626)
Emisse Feb 27, 2024
f284b43
Fixes obsolete Transform warnings in Content. (#25256)
TemporalOroboros Feb 27, 2024
0752acd
News UI overhaul and PDA notifications (#19610)
juliangiebel Feb 27, 2024
a411810
Automatic changelog update
PJBot Feb 27, 2024
8dd1748
Lockable Buttons & Button Frames (#25631)
rosieposieeee Feb 27, 2024
6343eb5
Automatic changelog update
PJBot Feb 27, 2024
6485dd4
Revert "Fix ItemSlots prediction" (#25610)
Krunklehorn Feb 27, 2024
23d2c4d
Fix chat bubbles (#25643)
metalgearsloth Feb 27, 2024
2e0d22b
Automatic changelog update
PJBot Feb 27, 2024
d204896
Fix projectiles (#25636)
metalgearsloth Feb 27, 2024
a9502be
Revert "Fix chat bubbles (#25643)" (#25645)
metalgearsloth Feb 27, 2024
fc0ff8f
Fix gun cycling ammo count update (#25635)
metalgearsloth Feb 27, 2024
e94d190
Stalagmite Changes (#25646)
rosieposieeee Feb 27, 2024
a749744
Automatic changelog update
PJBot Feb 27, 2024
963c9f6
Remove obsolete suffix (#25649)
IamVelcroboy Feb 27, 2024
1c015d1
Fix typos calling salvage specialists a 'salvage technician' (#25657)
bhenrich Feb 27, 2024
f819404
NPC steering blending (#25666)
metalgearsloth Feb 28, 2024
7341a3a
Automatic changelog update
PJBot Feb 28, 2024
221719c
Fix cuff interruption messages (#25677)
nikthechampiongr Feb 28, 2024
9884351
Add space heaters (#25250)
Menshin Feb 28, 2024
93d820f
Syndicate Decoy Bundle + Snap Pops (#25333)
musicmanvr Feb 28, 2024
013d125
change laughin pea values (#25672)
potato1234x Feb 28, 2024
22ae277
Automatic changelog update
PJBot Feb 28, 2024
b720871
Fix iron/copper being overtuned (infinite blood exploit!) (#25678)
QuietlyWhisper Feb 28, 2024
a91b445
Automatic changelog update
PJBot Feb 28, 2024
dddec4d
Makes the e-sword light plasma fires, as intended. (#25665)
Cojoke-dot Feb 28, 2024
5425742
Add anchorable flags (#25667)
metalgearsloth Feb 28, 2024
e3f568e
Automatic changelog update
PJBot Feb 28, 2024
ec28e77
Remake cargo orders to contains flatpacks (#25647)
lzk228 Feb 28, 2024
e930583
Automatic changelog update
PJBot Feb 28, 2024
b1ce9e9
fix stray pixels on over ear headsets (#25675)
MACMAN2003 Feb 28, 2024
ee614de
Fix cryostorage removing minds of players who have entered ghost role…
c4llv07e Feb 28, 2024
3914e59
Automatic changelog update
PJBot Feb 28, 2024
4446fd2
Weld To Remove Rust On Reinforced Walls (#25690)
Nairodian Feb 29, 2024
ba4188a
Automatic changelog update
PJBot Feb 29, 2024
ad72567
Remove Eris UI theme (#25673)
UbaserB Feb 29, 2024
3966a65
Automatic changelog update
PJBot Feb 29, 2024
4e6c59c
Refactor antag rule code (#23445)
Rainfey Feb 29, 2024
a281efd
Automatic changelog update
PJBot Feb 29, 2024
3d92e2b
train update (#25707)
Emisse Feb 29, 2024
4bb5b23
Fix typo (#25712)
lzk228 Feb 29, 2024
e17acdc
Buff Bulk Lizard Plushie Crate (#25122)
SpaceLizardSky Feb 29, 2024
af71f1e
Automatic changelog update
PJBot Feb 29, 2024
8c6c19c
Fix PDA home icon (#25721)
LordCarve Feb 29, 2024
e4d98f1
survival nutribricks, lizzers can eat nutribricks, moffs can eat the …
Aexxie Feb 29, 2024
b0e811b
Removes all big O2 tanks from non-emergency & fire lockers + removes …
Flareguy Feb 29, 2024
e274149
Add fill levels to bowls (#25639)
potato1234x Feb 29, 2024
e3b0610
Fix: Dragging items over atmos pipes is slow. (#25629)
Plykiya Feb 29, 2024
7aa0bad
Automatic changelog update
PJBot Feb 29, 2024
c473910
Refactor AME to use ItemSlot for Fuel (#25558)
LordCarve Feb 29, 2024
4301dbb
Update Patrons.yml (#25727)
DrSmugleaf Feb 29, 2024
66cf642
Colourful curtains (#25684)
TheShuEd Feb 29, 2024
3caf580
Automatic changelog update
PJBot Feb 29, 2024
ba8e92d
Under Toned Tail (#25685)
Nairodian Feb 29, 2024
0001c23
Decal Beautification + Palette Update (#25689)
Hanzdegloker Feb 29, 2024
1037bfc
Remove Grandpa from name list (#25725)
Skarletto Feb 29, 2024
b2902ff
Automatic changelog update
PJBot Feb 29, 2024
d479c85
Minor .yaml cleanup (#25717)
lapatison Feb 29, 2024
7b9346d
New Space Ruin: Syndicate Dropship (from /tg/) (also adds plastitaniu…
Flareguy Feb 29, 2024
df271f5
Add handheld map to autolathe (#25719)
lzk228 Feb 29, 2024
650c04b
Automatic changelog update
PJBot Feb 29, 2024
d0f943c
Add detective to saltern (#25714)
SpaceLizardSky Feb 29, 2024
db15efc
Add alternative crafting recipes for reinforced plasma/uranium glass …
MACMAN2003 Feb 29, 2024
36d505b
Automatic changelog update
PJBot Feb 29, 2024
70307f9
Add curtain spawner (#25729)
IamVelcroboy Feb 29, 2024
2852483
remove doorslam sound (#25737)
EmoGarbage404 Mar 1, 2024
c83ad11
Cargo request console search now includes crate descriptions (#25708)
PolterTzi Mar 1, 2024
ad3f3a5
make suicide actions require confirming (#24609)
deltanedas Mar 1, 2024
0ba9df2
Automatic changelog update
PJBot Mar 1, 2024
30ccde0
Make the round end sound collection a cvar (#25741)
DrSmugleaf Mar 1, 2024
1abd1f6
feat(chameleon): Chameleon verb only shows to the wearer (#25746)
exincore Mar 1, 2024
a0d159b
Automatic changelog update
PJBot Mar 1, 2024
5d94192
CryoSleep Access Fix (#25752)
Nairodian Mar 1, 2024
a4804db
Automatic changelog update
PJBot Mar 1, 2024
8dedbf2
New item: Expensive coat (#25724)
Tunguso4ka Mar 1, 2024
81b0164
Detective's rubber stamp (#25676)
IlyaElDunaev Mar 1, 2024
7a7e0e8
Automatic changelog update
PJBot Mar 1, 2024
c38b44e
Security Belts for Cadets (#25753)
Nairodian Mar 1, 2024
2904ff4
Add test to check that there are no pending database model changes (#…
DrSmugleaf Mar 2, 2024
55b0cb1
Additional Signage (#25766)
rosieposieeee Mar 2, 2024
2135fdf
Origin Station Update 01.03.2024 (CMO bedsheet) (#25756)
brainfood1183 Mar 2, 2024
0fde3b0
Automatic changelog update
PJBot Mar 2, 2024
9cdffb7
move space heaters into cargo (#25735)
EmoGarbage404 Mar 2, 2024
1c628b2
Automatic changelog update
PJBot Mar 2, 2024
a5200cc
removes the free syndicate headset from the syndicate footsoldier (#2…
Flareguy Mar 2, 2024
aaf5d0d
Fix `ResearchSystem.Client` `UpdateClientInterface` preconditions. (#…
exincore Mar 2, 2024
c775410
Weight based AreaInsert and Dumpable delay, a janitor qol tweak (#24899)
Krunklehorn Mar 2, 2024
e7a806a
Automatic changelog update
PJBot Mar 2, 2024
ecd2d5a
Alerts for breathing plasma/tritium (#24484)
Errant-4 Mar 2, 2024
6476b62
Automatic changelog update
PJBot Mar 2, 2024
3253499
Remove 07 from emote chatsan (#25767)
lzk228 Mar 2, 2024
2e60d33
Make the MRE wrapper count as trash (#25760)
waylon531 Mar 2, 2024
709881f
Automatic changelog update
PJBot Mar 2, 2024
1ded2f9
Merge remote-tracking branch 'upstream/master' into upstream_merge
Peptide90 Mar 2, 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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8="
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi
use flake
8 changes: 4 additions & 4 deletions Content.Benchmarks/ColorInterpolateBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public static Color InterpolateSysVector4(Color a, Color b,
public static Color InterpolateSysVector4In(in Color endPoint1, in Color endPoint2,
float lambda)
{
ref var sva = ref Unsafe.As<Color, SysVector4>(ref Unsafe.AsRef(endPoint1));
ref var svb = ref Unsafe.As<Color, SysVector4>(ref Unsafe.AsRef(endPoint2));
ref var sva = ref Unsafe.As<Color, SysVector4>(ref Unsafe.AsRef(in endPoint1));
ref var svb = ref Unsafe.As<Color, SysVector4>(ref Unsafe.AsRef(in endPoint2));

var res = SysVector4.Lerp(svb, sva, lambda);

Expand All @@ -156,8 +156,8 @@ public static Color InterpolateSimd(Color a, Color b,
public static Color InterpolateSimdIn(in Color a, in Color b,
float lambda)
{
var vecA = Unsafe.As<Color, Vector128<float>>(ref Unsafe.AsRef(a));
var vecB = Unsafe.As<Color, Vector128<float>>(ref Unsafe.AsRef(b));
var vecA = Unsafe.As<Color, Vector128<float>>(ref Unsafe.AsRef(in a));
var vecB = Unsafe.As<Color, Vector128<float>>(ref Unsafe.AsRef(in b));

vecB = Fma.MultiplyAdd(Sse.Subtract(vecB, vecA), Vector128.Create(lambda), vecA);

Expand Down
2 changes: 1 addition & 1 deletion Content.Benchmarks/DeviceNetworkingBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using Content.IntegrationTests;
using Content.IntegrationTests.Pair;
using Content.IntegrationTests.Tests.DeviceNetwork;
using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Systems;
using Content.Shared.DeviceNetwork;
using Robust.Shared;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
Expand Down
5 changes: 0 additions & 5 deletions Content.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ internal static class Program

public static void Main(string[] args)
{
MainAsync(args).GetAwaiter().GetResult();
}

public static async Task MainAsync(string[] args)
{
#if DEBUG
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("\nWARNING: YOU ARE RUNNING A DEBUG BUILD, USE A RELEASE BUILD FOR AN ACCURATE BENCHMARK");
Expand Down
23 changes: 12 additions & 11 deletions Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ private void OnWorldTargetHandleState(EntityUid uid, WorldTargetActionComponent

private void BaseHandleState<T>(EntityUid uid, BaseActionComponent component, BaseActionComponentState state) where T : BaseActionComponent
{
// TODO ACTIONS use auto comp states
component.Icon = state.Icon;
component.IconOn = state.IconOn;
component.IconColor = state.IconColor;
component.Keywords = new HashSet<string>(state.Keywords);
component.Keywords.Clear();
component.Keywords.UnionWith(state.Keywords);
component.Enabled = state.Enabled;
component.Toggled = state.Toggled;
component.Cooldown = state.Cooldown;
Expand All @@ -101,8 +103,7 @@ private void BaseHandleState<T>(EntityUid uid, BaseActionComponent component, Ba
component.ItemIconStyle = state.ItemIconStyle;
component.Sound = state.Sound;

if (_playerManager.LocalPlayer?.ControlledEntity == component.AttachedEntity)
ActionsUpdated?.Invoke();
UpdateAction(uid, component);
}

protected override void UpdateAction(EntityUid? actionId, BaseActionComponent? action = null)
Expand All @@ -111,7 +112,7 @@ protected override void UpdateAction(EntityUid? actionId, BaseActionComponent? a
return;

base.UpdateAction(actionId, action);
if (_playerManager.LocalPlayer?.ControlledEntity != action.AttachedEntity)
if (_playerManager.LocalEntity != action.AttachedEntity)
return;

ActionsUpdated?.Invoke();
Expand Down Expand Up @@ -144,7 +145,7 @@ private void HandleComponentState(EntityUid uid, ActionsComponent component, ref
_added.Add((actionId, action));
}

if (_playerManager.LocalPlayer?.ControlledEntity != uid)
if (_playerManager.LocalEntity != uid)
return;

foreach (var action in _removed)
Expand Down Expand Up @@ -177,23 +178,23 @@ public static int ActionComparer((EntityUid, BaseActionComponent?) a, (EntityUid
protected override void ActionAdded(EntityUid performer, EntityUid actionId, ActionsComponent comp,
BaseActionComponent action)
{
if (_playerManager.LocalPlayer?.ControlledEntity != performer)
if (_playerManager.LocalEntity != performer)
return;

OnActionAdded?.Invoke(actionId);
}

protected override void ActionRemoved(EntityUid performer, EntityUid actionId, ActionsComponent comp, BaseActionComponent action)
{
if (_playerManager.LocalPlayer?.ControlledEntity != performer)
if (_playerManager.LocalEntity != performer)
return;

OnActionRemoved?.Invoke(actionId);
}

public IEnumerable<(EntityUid Id, BaseActionComponent Comp)> GetClientActions()
{
if (_playerManager.LocalPlayer?.ControlledEntity is not { } user)
if (_playerManager.LocalEntity is not { } user)
return Enumerable.Empty<(EntityUid, BaseActionComponent)>();

return GetActions(user);
Expand All @@ -216,7 +217,7 @@ public void UnlinkAllActions()

public void LinkAllActions(ActionsComponent? actions = null)
{
if (_playerManager.LocalPlayer?.ControlledEntity is not { } user ||
if (_playerManager.LocalEntity is not { } user ||
!Resolve(user, ref actions, false))
{
return;
Expand All @@ -233,7 +234,7 @@ public override void Shutdown()

public void TriggerAction(EntityUid actionId, BaseActionComponent action)
{
if (_playerManager.LocalPlayer?.ControlledEntity is not { } user ||
if (_playerManager.LocalEntity is not { } user ||
!TryComp(user, out ActionsComponent? actions))
{
return;
Expand Down Expand Up @@ -261,7 +262,7 @@ public void TriggerAction(EntityUid actionId, BaseActionComponent action)
/// </summary>
public void LoadActionAssignments(string path, bool userData)
{
if (_playerManager.LocalPlayer?.ControlledEntity is not { } user)
if (_playerManager.LocalEntity is not { } user)
return;

var file = new ResPath(path).ToRootedPath();
Expand Down
17 changes: 9 additions & 8 deletions Content.Client/Administration/Managers/ClientAdminManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ public sealed class ClientAdminManager : IClientAdminManager, IClientConGroupImp
[Dependency] private readonly IClientNetManager _netMgr = default!;
[Dependency] private readonly IClientConGroupController _conGroup = default!;
[Dependency] private readonly IResourceManager _res = default!;
[Dependency] private readonly ILogManager _logManager = default!;

private AdminData? _adminData;
private readonly HashSet<string> _availableCommands = new();

private readonly AdminCommandPermissions _localCommandPermissions = new();
private ISawmill _sawmill = default!;

public event Action? AdminStatusUpdated;

Expand Down Expand Up @@ -92,17 +94,17 @@ private void UpdateMessageRx(MsgUpdateAdminStatus message)
}

_availableCommands.UnionWith(message.AvailableCommands);
Logger.DebugS("admin", $"Have {message.AvailableCommands.Length} commands available");
_sawmill.Debug($"Have {message.AvailableCommands.Length} commands available");

_adminData = message.Admin;
if (_adminData != null)
{
var flagsText = string.Join("|", AdminFlagsHelper.FlagsToNames(_adminData.Flags));
Logger.InfoS("admin", $"Updated admin status: {_adminData.Active}/{_adminData.Title}/{flagsText}");
_sawmill.Info($"Updated admin status: {_adminData.Active}/{_adminData.Title}/{flagsText}");
}
else
{
Logger.InfoS("admin", "Updated admin status: Not admin");
_sawmill.Info("Updated admin status: Not admin");
}

AdminStatusUpdated?.Invoke();
Expand All @@ -114,26 +116,25 @@ private void UpdateMessageRx(MsgUpdateAdminStatus message)
void IPostInjectInit.PostInject()
{
_conGroup.Implementation = this;
_sawmill = _logManager.GetSawmill("admin");
}

public AdminData? GetAdminData(EntityUid uid, bool includeDeAdmin = false)
{
return uid == _player.LocalPlayer?.ControlledEntity
? _adminData
: null;
return uid == _player.LocalEntity ? _adminData : null;
}

public AdminData? GetAdminData(ICommonSession session, bool includeDeAdmin = false)
{
if (_player.LocalPlayer?.UserId == session.UserId)
if (_player.LocalUser == session.UserId)
return _adminData;

return null;
}

public AdminData? GetAdminData(bool includeDeAdmin = false)
{
if (_player.LocalPlayer is { Session: { } session })
if (_player.LocalSession is { } session)
return GetAdminData(session, includeDeAdmin);

return null;
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Administration/Systems/BwoinkSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ protected override void OnBwoinkTextMessage(BwoinkTextMessage message, EntitySes
OnBwoinkTextMessageRecieved?.Invoke(this, message);
}

public void Send(NetUserId channelId, string text)
public void Send(NetUserId channelId, string text, bool playSound)
{
// Reuse the channel ID as the 'true sender'.
// Server will ignore this and if someone makes it not ignore this (which is bad, allows impersonation!!!), that will help.
RaiseNetworkEvent(new BwoinkTextMessage(channelId, channelId, text));
RaiseNetworkEvent(new BwoinkTextMessage(channelId, channelId, text, playSound: playSound));
SendInputTextUpdated(channelId, false);
}

Expand Down
2 changes: 2 additions & 0 deletions Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="2">
<BoxContainer Access="Public" Name="BwoinkArea" VerticalExpand="True" />
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<CheckBox Visible="True" Name="PlaySound" Access="Public" Text="{Loc 'admin-bwoink-play-sound'}" Pressed="True" />
<Control HorizontalExpand="True" MinWidth="5" />
<Button Visible="True" Name="PopOut" Access="Public" Text="{Loc 'admin-logs-pop-out'}" StyleClasses="OpenBoth" HorizontalAlignment="Left" />
<Control HorizontalExpand="True" />
<Button Visible="False" Name="Bans" Text="{Loc 'admin-player-actions-bans'}" StyleClasses="OpenRight" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public sealed partial class PlayerListControl : BoxContainer
private IEntityManager _entManager;
private IUserInterfaceManager _uiManager;

private PlayerInfo? _selectedPlayer;

public PlayerListControl()
{
_entManager = IoCManager.Resolve<IEntityManager>();
Expand All @@ -50,10 +52,14 @@ private void PlayerListItemPressed(BaseButton.ButtonEventArgs? args, ListData? d
if (args == null || data is not PlayerListData {Info: var selectedPlayer})
return;

if (selectedPlayer == _selectedPlayer)
return;

if (args.Event.Function != EngineKeyFunctions.UIClick)
return;

OnSelectionChanged?.Invoke(selectedPlayer);
_selectedPlayer = selectedPlayer;

// update label text. Only required if there is some override (e.g. unread bwoink count).
if (OverrideText != null && args.Button.Children.FirstOrDefault()?.Children?.FirstOrDefault() is Label label)
Expand Down Expand Up @@ -95,13 +101,18 @@ private void FilterList()
_sortedPlayerList.Sort((a, b) => Comparison(a, b));

PlayerListContainer.PopulateList(_sortedPlayerList.Select(info => new PlayerListData(info)).ToList());
if (_selectedPlayer != null)
PlayerListContainer.Select(new PlayerListData(_selectedPlayer));
}

public void PopulateList(IReadOnlyList<PlayerInfo>? players = null)
{
players ??= _adminSystem.PlayerList;

_playerList = players.ToList();
if (_selectedPlayer != null && !_playerList.Contains(_selectedPlayer))
_selectedPlayer = null;

FilterList();
}

Expand Down
6 changes: 3 additions & 3 deletions Content.Client/Administration/UI/Notes/AdminNotesLine.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private void Refresh()
SeverityRect.Texture = _sprites.Frame0(new SpriteSpecifier.Texture(new ResPath(iconPath)));
}

TimeLabel.Text = Note.CreatedAt.ToString("yyyy-MM-dd HH:mm:ss");
TimeLabel.Text = Note.CreatedAt.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss");
ServerLabel.Text = Note.ServerName ?? "Unknown";
RoundLabel.Text = Note.Round == null ? "Unknown round" : "Round " + Note.Round;
AdminLabel.Text = Note.CreatedByName;
Expand All @@ -91,7 +91,7 @@ private void Refresh()
if (Note.ExpiryTime.Value > DateTime.UtcNow)
{
ExpiresLabel.Text = Loc.GetString("admin-note-editor-expiry-label-params",
("date", Note.ExpiryTime.Value.ToString("yyyy-MM-dd HH:mm:ss")),
("date", Note.ExpiryTime.Value.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss")),
("expiresIn", (Note.ExpiryTime.Value - DateTime.UtcNow).ToString("d'd 'hh':'mm")));
ExpiresLabel.Modulate = Color.FromHex("#86DC3D");
}
Expand All @@ -104,7 +104,7 @@ private void Refresh()

if (Note.LastEditedAt > Note.CreatedAt)
{
EditedLabel.Text = Loc.GetString("admin-notes-edited", ("author", Note.EditedByName), ("date", Note.LastEditedAt));
EditedLabel.Text = Loc.GetString("admin-notes-edited", ("author", Note.EditedByName), ("date", Note.LastEditedAt.Value.ToLocalTime()));
EditedLabel.Visible = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public AdminNotesLinePopup(SharedAdminNote note, string playerName, bool showDel
? Loc.GetString("admin-notes-round-id-unknown")
: Loc.GetString("admin-notes-round-id", ("id", note.Round));
CreatedByLabel.Text = Loc.GetString("admin-notes-created-by", ("author", note.CreatedByName));
CreatedAtLabel.Text = Loc.GetString("admin-notes-created-at", ("date", note.CreatedAt.ToString("yyyy-MM-dd HH:mm:ss")));
CreatedAtLabel.Text = Loc.GetString("admin-notes-created-at", ("date", note.CreatedAt.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss")));
EditedByLabel.Text = Loc.GetString("admin-notes-last-edited-by", ("author", note.EditedByName));
EditedAtLabel.Text = Loc.GetString("admin-notes-last-edited-at", ("date", note.LastEditedAt?.ToString("yyyy-MM-dd HH:mm:ss") ?? Loc.GetString("admin-notes-edited-never")));
EditedAtLabel.Text = Loc.GetString("admin-notes-last-edited-at", ("date", note.LastEditedAt?.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss") ?? Loc.GetString("admin-notes-edited-never")));
ExpiryTimeLabel.Text = note.ExpiryTime == null
? Loc.GetString("admin-notes-expires-never")
: Loc.GetString("admin-notes-expires", ("expires", note.ExpiryTime.Value.ToString("yyyy-MM-dd HH:mm:ss")));
: Loc.GetString("admin-notes-expires", ("expires", note.ExpiryTime.Value.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss")));
NoteTextEdit.InsertAtCursor(note.Message);

if (note.NoteType is NoteType.ServerBan or NoteType.RoleBan)
Expand Down
6 changes: 3 additions & 3 deletions Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public NoteEdit(SharedAdminNote? note, string playerName, bool canCreate, bool c
{
PermanentCheckBox.Pressed = false;
UpdatePermanentCheckboxFields();
ExpiryLineEdit.Text = ExpiryTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
ExpiryLineEdit.Text = ExpiryTime.Value.ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss");
}
}

Expand Down Expand Up @@ -173,7 +173,7 @@ private void UpdatePermanentCheckboxFields()
ExpiryLabel.Visible = !PermanentCheckBox.Pressed;
ExpiryLineEdit.Visible = !PermanentCheckBox.Pressed;

ExpiryLineEdit.Text = !PermanentCheckBox.Pressed ? DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty;
ExpiryLineEdit.Text = !PermanentCheckBox.Pressed ? DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") : string.Empty;
}

private void OnSecretPressed(BaseButton.ButtonEventArgs _)
Expand Down Expand Up @@ -269,7 +269,7 @@ private bool ParseExpiryTime()
return false;
}

ExpiryTime = result;
ExpiryTime = result.ToUniversalTime();
ExpiryLineEdit.ModulateSelfOverride = null;
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private void SetLocation()
{
UpdateMapOptions();

if (!_entMan.TryGetComponent(_playerManager.LocalPlayer?.ControlledEntity, out TransformComponent? transform))
if (!_entMan.TryGetComponent(_playerManager.LocalEntity, out TransformComponent? transform))
return;

_pausePreview = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void Reset()
var entManager = IoCManager.Resolve<IEntityManager>();
var xformSystem = entManager.System<SharedTransformSystem>();
var playerManager = IoCManager.Resolve<IPlayerManager>();
var player = playerManager.LocalPlayer?.ControlledEntity;
var player = playerManager.LocalEntity;

var currentMap = MapId.Nullspace;
var position = Vector2.Zero;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected override void EnteredTree()
{
_data.Clear();

var player = _players.LocalPlayer?.ControlledEntity;
var player = _players.LocalEntity;
var playerGrid = _entities.GetComponentOrNull<TransformComponent>(player)?.GridUid;
var query = IoCManager.Resolve<IEntityManager>().AllEntityQueryEnumerator<MapGridComponent>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected override void EnteredTree()
while (gridQuery.MoveNext(out var uid, out _))
{
_gridData.Add(entManager.GetNetEntity(uid));
var player = playerManager.LocalPlayer?.ControlledEntity;
var player = playerManager.LocalEntity;
var playerGrid = entManager.GetComponentOrNull<TransformComponent>(player)?.GridUid;
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected override void EnteredTree()

while (gridQuery.MoveNext(out var uid, out _))
{
var player = playerManager.LocalPlayer?.ControlledEntity;
var player = playerManager.LocalEntity;
var playerGrid = entManager.GetComponentOrNull<TransformComponent>(player)?.GridUid;
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
_gridData.Add(entManager.GetNetEntity(uid));
Expand Down
Loading
Loading