Commit graph

816 commits

Author SHA1 Message Date
Whatstone
a023e5784c
Cleanup: Remove byte order markers from most files (#45796) 2026-09-17 23:23:54 +10:00
cashew
4bde1c1120
Port Chat Follow functionality from AfterLight (#45375)
* ports chat follow function from AL and removes PJB implementation
forgor to commit earlier so it's just one chunk

* fixes accidental MiscTab.xaml restructuring

* fix name color

* remove unused function

* cvar summary

* typo

* accidental doc removal

* fix test fail

* fix test fail

* like i said first pr :|

* inject in constructor

* adds chat links to Local, Whisper, LOOC and Dead Chat respects Admin ghost privacy

* i hate chat code

* remove cvar

* single events file

* adds CanGhostWarp back

* filter for admin ghosts

* move tag

* remove ChatLinkTag.cs

* fix speechbubble rendering

* i want to bash my brain in

* kill chatcode

* formatting

* testfail

* still not working

* atleast deadchat works now

* even prettier TextLinkTag.cs

* fix speechbubble rendering for looc

* docs

* renaming and better docs

* Revert "remove cvar"

This reverts commit 1acb168f

* final changes (hopefully)

* requested changes

* can't parse -

* change TextLinkTag again

* formatting and typo

Co-authored-by: Connor Huffine <chuffine@gmail.com>

* quickfix

* no logging for now actually

* i will work on this in the morning

* restructuring

* wip

* final restructuring and docs

* still not done btw

* review

* docfix

* actually we can filter for admin ghosts

* doc

* fix color

* fix fix color

* review

* all I care to clean up

* bold names

* doc

* admin warp

* fixed

* fsaasffsa

* GOD ONCE SAID: GOOD ENOUGH

* they call me the shuffler

* admin chat links

* forgor newline

* fix?

* actual fix

* dumb stuff

* chungus

---------

Co-authored-by: Connor Huffine <chuffine@gmail.com>
Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
2026-09-15 08:05:17 +00:00
Whatstone
c33a5f9f74
Avoid exception in ActionButton.UpdateBackground (#45872)
Fix exception on ActionButton.UpdateBackground
2026-09-07 09:38:21 +00:00
eoineoineoin
f5149c4cad
Fix switch button (#45549)
Fix workaround
2026-09-06 23:02:21 +00:00
Sir Warock
ec63a41842
Cleanup of UseDelay (#45350)
* Moving into Systems & Components Folders

* splitting into API file

* Make Method accept null values

* small fix
2026-09-05 17:10:50 +00:00
Maciej Walendziuk
ea68242094
SegmentedBarChart: clamp gap advance (#45744) 2026-08-30 14:08:36 +10:00
Whatstone
eed6144042
Radial Sorting: add explicit order field (#45445)
* allow for manual radial ordering

* use order, not i

* one third of a radial menu test

* add a unit test for the radial menu comparer

* Fildrance's suggestions, remove unused compare fn

Co-authored-by: Fildrance <14752842+Fildrance@users.noreply.github.com>

* comment order, return SortOptions to private

I was planning to use this in an integration test, but settled on a unit
test.

* comments!

---------

Co-authored-by: Fildrance <14752842+Fildrance@users.noreply.github.com>
2026-08-23 20:08:30 +00:00
Whatstone
b0ea2667c9
[MALD PR] fix the AI door menu (#45464)
fix radial menu sort
2026-08-19 19:27:16 +00:00
w3ryfrate
da2a59c617
Admin remarks notification (#45378)
* Added audio cue and message notif

* Added localization strings

* Small fix

* Cached the sound path specifier

* CVar is now server authoritative and few small fixes

* Added UI button and fixed localization

* fixed

* Last fixes hopefully

* Moved to admin cvar
2026-08-18 04:38:35 +00:00
Centronias
68ec95f554
Fix UI Window Memory Leak in CloseRecentWindowUIController (#45399)
no leaking windows
2026-08-16 22:38:14 +00:00
Fildrance
12a968c16f
Enforce ordering for radial menu (#40404)
* refactor: enforcing ordering in radial menu options so they wont shuffle randomly

* refacror: revert enumerables in get buttons - no real reason.

* refactor: minor allocation optimization for sorting

* refactor: revert more unused changes

* refactor: revert more optional changes

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2026-08-16 22:15:09 +00:00
AndrewFenriz
d782d03627
Refactor ItemSlotsSystem and fix insertion/ejection handling (#45284)
* Split

* Upd

* Rename

* fix CopyFrom

* cleanup

* fix HandleItemSlotsState

* fix Insert/Eject

* upd

* Normalize api

* fix SortEmpty

* Fix ItemSlots interactions and documentation

* Revert "Rename"

This reverts commit c79b33b458a58ec39b9857038ceac0ed1eb82297.

* cleaner

* giant entity<T> upd

* rename

* no more CopyFrom

* fix!
2026-08-16 17:04:00 +00:00
eoineoineoin
82fb72da50
Fix ahelp window not appearing on first init (#45393) 2026-08-16 15:31:35 +00:00
Winkarst
c5e2901479
Fix: Add `SharedContainerSystem.CanInsert check to the InventorySystem.CanEquip` (#44816)
* Fix

* Fixes

* Missed

* Comments
2026-08-11 04:10:59 +00:00
ScarKy0
0f46f12599
Move DamageOverlay to an Entity System + Component (#45165)
* may god have mercy upon my soul

* stuff

* Revert "Always raise MobStateChanged on client (#45103)"

This reverts commit 1951b00875.

* keep the cleanup

* fuck you though

* review

* Update Content.Shared/DamageOverlay/SharedDamageOverlaySystem.cs

Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com>

* deltas

* queries

---------

Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com>
2026-08-10 13:27:15 +00:00
AndrewFenriz
dd46064672
Unify blink and katana dash teleportation (also removed EnergyKatana system/component) (#45041)
* ActionRestrictions

* katana use ActionGrant/ItemActionGrant

* TeleportAction

* no more DashAbility

* no more TeleportSpell

* no more EnergyKatana

* cleanup

* fix whitelist and popup

* docs

* display recharge cooldown

* refactor: whitespace consistency!111

* Revert "display recharge cooldown"

This reverts commit 3b93b179

* popup for limited charges

* maybe fix

* no more CanUseCharge

* upd

* better?

* refactor: using _SharedPhysicsSystem for TeleportActionSystem collision detection + small refactoring

* refactor: xml-doc

---------

Co-authored-by: Fildrance <fildrance@gmail.com>
2026-08-09 12:27:08 +00:00
Голубь
c86c92c5cf
update namespace for shared ghost folder (#45095)
a
2026-08-03 07:16:25 +00:00
metalgearsloth
e824c7fbf6
Fix ActionUI allocations (#45089)
It was doing respath construction every frame (and runtime can't intern them).
Now we just update the background when actually required for themes.
2026-08-02 05:17:22 +00:00
eoineoineoin
a86b1312e5
Fix UIBox2 assert failures (#45085)
* Fix UIBox2 assert failures

* Handle UI scale
2026-08-01 23:34:24 +00:00
Oleksandr
2f68bf4e46
add disable ghost bubbles if ghost not visibility (#45044) 2026-07-30 18:36:35 +00:00
Oleksandr
1c680180a9
Fix highlights don't work for other languages (#41062)
* Update base system

* Update highlights.ftl

* Update highlights.ftl

* Fix some mistakes

* Fix lawyer and libriab hightlight... Arghhg

* Change string jobId to JobPrototype. Remove JobName from CharacterData

* Fix to use ProtoId<JobPrototype>

* Fixes for qrwas!

* fix using

* fix integration tests

* Update ChatHighlightTest.cs

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
2026-07-30 14:57:59 +00:00
Tim Blyth
97176cc41a
fix: bug where enabling auto chat highlights would overwrite existing custom highlights (#44640)
* fix: bug where enabling auto chat highlights would overwrite existing custom highlights

previously, with this option enabled, it would save the auto highlights
to disk, overwriting any custom highlights the user had set up.

now the auto highlights are stored in memory (as they are different round
to round) and will not overwrite the custom highlights on disk.

* fix: improve ChatHighlightTest logic per PR feedback
2026-07-29 03:08:05 +00:00
Fruitsalad
6ddb80d494
Add SegmentedBarChart, remove SplitBar and BeakerBarChart (#42908)
* Add SegmentedBarChart

* CryoPodWindow: Integrate SegmentedBarChart

* Remove BeakerBarChart

* SegmentedBarChart: Fix first frame jank

To update the entries' widths, it needed Control.Width, but that wouldn't be available until later. I moved things around so that it gets updated in ArrangeOverride the first time.

* GasAnalyzerWindow: Integrate SegmentedBarChart

* AbsorbentItemStatus: Integrate SegmentedBarChart

* Remove SplitBar

* SegmentedBarChart: Fix UI scale bug

With 200% UI scale the gaps would be half the intended size.

* SegmentedBarChart: Explicit deltaSeconds

* AbsorbentItemStatus: Use bar chart's background color

* SegmentedBarChart: Edit comments

* SegmentedBarChart: Edit calculation explanation

* SegmentedBarChart: Fix a subtle UI scale bug

MinSmallNotchScreenDistance was promised to be in UI units in the comment, but it was actually in pixels.

* SegmentedBarChart: Add sheetlet and doc comments

* SegmentedBarChart: Use StylePropertyDefault instead of TryGetStyleProperty

* SegmentedBarChart: Remove unnecessary helper

* SegmentedBarChart: Small redundancy removal

* AbsorbentItemStatus: Small adjustments based on feedback

* SegmentedBarChart: Use named colors

* AbsorbentItemStatus: Draw a medium notch every six notches instead of five

 This is because the capacity of mops was changed to 12. It looks a little better this way.

* SegmentedBarChart: Reorder functions, add doc comment
2026-07-28 18:39:20 +00:00
TheShuEd
07919e1ae2
Actions icons refactor (#44681)
* basic code porting

* prototypes port

* rendering update

* charge state

* helper

* fix

* forgotten one
2026-07-25 16:35:53 +00:00
Stanislav
b22d38f9c0
Yaml audio params are often ignored (#36259)
* Replace WithVolume() with AddVolume(),
Remove AudioHelpers.WithVariation(),
Use specifier options for audio params

* Undo switching to AudioParams.AddVariation()

* Replace AudioHelpers.WithVariation with AudioParams.AddVariation()

* Test AudioParams.AddVariation() and change input parameters to sound like previous AudioHelpers.WithVariation()

* Fix build error

* Fix build error v2

* Remove DoAfter

* fixes

---------

Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
2026-07-25 16:16:23 +00:00
qwerltaz
0cb461a510
Fix @name highlights not omitting your name in deadchat and admin chat. (#44815)
* Revert "fix name highlighting in deadchat (#44777)"

This reverts commit ea848108b7.

* fix @name in dead and admin chat

* add LOOC for clarity
2026-07-20 19:38:51 -04:00
qwerltaz
ea848108b7
fix name highlighting in deadchat (#44777)
fix name highlighting in deadcchat
2026-07-19 23:58:24 +00:00
Ser11y
40ca2c7f90
Localize several search bars in the UI (#44776)
* Localize several search bars in the UI

* oops
2026-07-19 15:59:56 +00:00
Whatstone
7aca70d543
Remove redundant TableContainer definition (#44548)
Move TableContainer XAML refs + C# deps to engine
2026-07-18 02:01:08 +00:00
Vladislav Suchkov
9b359db2d6
Add ghost random warp (#44499)
* wip

* wip

* wip

* wip

* wawa

* woof

* slight cleanup Im gonna go to sleep now

* cleanup

* a

* review
2026-07-13 16:41:44 -04:00
Whatstone
0190b8a6ae
ConfirmButton: state machine consistency, OnConfirming action (#44605)
* ConfirmButton: intrinsic state machine, confirm ev

* ConfirmButton fixes

* ifs, no ternary statements

* FrameUpdate + field comments

* ConfirmButton: fix Disabled reset condition

* comments, read Disabled, write base.Disabled

* ConfirmButton cleanup
2026-07-13 03:10:34 +00:00
Schuyler Duryee
ae051d2905
Tweak guidebook to not reset when re-opened (#37235)
* Make guidebook not reset when re-opened to same guide

* Make guidebook only expand tree when guides are changed

* Update to match master

Make guidebook not reset when re-opened to same guide

Make guidebook only expand tree when guides are changed

* Reviews

* oop

---------

Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
2026-07-04 22:13:19 +00:00
Samuka
3672a6ed62
Custom icon ammo counter (#44368)
* CustomBulletRenderer

* CustomIconStatusControl

* custom ammo counter system

* custom sprite ammo counter comp

* client custom ammo counter system

* need to register the component

* have tiles show in the ammo counter for the tile gun

* comment

* more sprites

* dont try to make 2 controls

* update mini tile sprite

* add horizontal mult

* remove horizontal mult and fix the math

* ensure there is no errors

* replace magical number

* simpler to understand

* remove unecessary stuff

* remove HasComp<CustomSpriteAmmoCounterComponent

* forgot those

* add important stuff back

* explanation

* damn, so simple

* make it better

* use item instead of icon

* remove useless comment

* set number of rows

* fix odd number

* component to hide the name

* update ammo capacity

* set the aligment to vertical

* add 2 px of margin

* move the margin up (that fixes things somehow)

* comment good
2026-07-02 20:31:20 +00:00
qwerltaz
d725fc51a5
Fix chat highlights not highlighting your name (#43911)
* fix chat highlights double quote

* localize the quotes
2026-07-01 08:22:50 +00:00
Evаn Summers
c1b3a6ab0e
Pointing at inventory items with mouse binding (#43747)
* Pointing at inventory items with mouse binding

* Make it work for items in containers too

* Deduplicate

* documentation and minor change

* more documentation

* caes switch

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Co-authored-by: jessicamaybe <jessica@jessicamaybe.com>
2026-07-01 06:40:02 +00:00
slarticodefast
1a950f2b5c Merge branch 'newmaster' into master-merge 2026-06-28 11:06:16 +02:00
Pieter-Jan Briers
0fe7decde5
Fix bwoink options on popped-out UI (#44334) 2026-06-23 18:02:40 +00:00
metalgearsloth
0bbf402b3f
Fix ItemGridPiece using invalid sprite bounds (#102)
It inverted bottom and top.
2026-06-20 00:19:05 +02:00
Kyle Tyo
86e4a27ef6
Random Borg blindness/dark vision (#44030)
Update DamageOverlayUiController.cs
2026-05-30 18:14:23 +00:00
Pok
95cb9ab60d
Fix chat with open radial menu (#40929)
* chat-with-open-radial-menu

* refactor: reuse checks in RadialMenuContextualCentralTextureButton.KeyBindUp in relevant codeparts of radial menu

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2026-05-19 11:40:54 +00:00
beck-thompson
5f37c95e9f
Admins can now see what items are contraband and chameleon in the strip menu (#43658)
* Admins can now see what items are contraband and chameleon in the strip menu

* Fix the color, the default is now red

* better admin view comment

* Simplify logic, make new simple slot overlay to combine logic

* Make isadmin logic a little clearer

* Minor cleanup / spelling mistakes

* change  button shape

* change to res path

* opps

* Add option to change default behavior

* Fix spacing

* Remove unused

* Rename to default

* Take away the soul of the overlay

* Add tooltip

* Fix error
2026-05-10 10:45:58 +00:00
Pieter-Jan Briers
5168b5f3d4
IoC source gen compatibility (#43863)
* IoC source gen compatibility

Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter.

* Missed a spot
2026-05-09 03:29:58 +00:00
pathetic meowmeow
39be43c60f
Start splitting out DamageableComponent (#43515)
* Start splitting out DamageableComponent

* don't change that

* fix testies

* not needed

* forgot you
2026-04-24 04:12:34 +00:00
Princess Cheeseballs
77dd687183
The Grand Max Cap Rewrite (#43281)
* Working commit

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* fix the tests I broke

* Remove methods that the client shouldn't be calling. Hamburger.

* light cleanup for now

* review

* whoop

* Commit this shit

* More stages. Something something, hamburger.

* last of the sprites. Now it's just lights, shaking, and sounds

* move comments

* bomb

* fuck it I'm done

* whoops!

* fix test fails

* review

* actually this is better™️

* forgot about you!

* remove unused space

* make it actually build smile

* borger

* grah!!!!

* review time

* Adj powerfactor

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-04-19 05:22:42 +00:00
slarticodefast
a5e9f24f5b
Use dependencies for EntityQueries in Systems (Part 1: Client) (#43478)
* cleanup

* vsc lied to me

* private readonly

* use proxies
2026-04-06 17:30:41 +00:00
Tayrtahn
e47ce26377
Remove [Virtual] from some classes that shouldn't have it (#43347)
* Remove [Virtual] from some classes that shouldn't have it

* Back to virtual with you
2026-03-28 00:46:15 +00:00
pathetic meowmeow
b2b547b806
Initial decoupling pass on Damageable (#43103)
* Initial decoupling pass on Damageable

* ope

* e

* mroaw

* ok sure on the medibot thing

* no medibot bounds

* okidooks

* arcryox era

* cryox moment
2026-03-07 04:13:50 +00:00
slarticodefast
7e10c3eebf
Show fuckrules usage to admins (#42988)
* fuck rules

* extreme

* update comment

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2026-02-21 20:10:02 +00:00
InsoPL
676492e667
Thermal vision overlay for admins (#42812)
* revert of the revert

* tests

* changes

* more fun

* test

* ccvvvar

* works but bad

* now its better

* more fixes

* more cleanup

* cleaning

* last fixes before move to glasses activ

* x

* glasses only

* working

* fix toolbox

* cleanup

* ThermalByte added

* small fix

* small optimalisations

* float bux fix

* comments add

* more comments

* more comments

* last fix

* revert cvar delete

* wrong blue shades

* cvar refactor

* Update Content.Shared/Atmos/EntitySystems/SharedGasTileOverlaySystem.cs

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>

* Update Content.Client/Atmos/Overlays/GasTileDangerousTemperatureOverlay.cs

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>

* tweak to TryGetTemperature comment

* Factors are now const

* renames

* Interface for ThermalByte

* admin button

* cleanup

* sandoboxenabled

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-02-09 01:06:46 +00:00
B_Kirill
65b8aafed8
Improve sandbox window toggle buttons state handling (#42281) 2026-01-25 22:25:06 +00:00