Commit graph

827 commits

Author SHA1 Message Date
metalgearsloth
1f1c5aba10
Hotfix codeword nullability (#46327) 2026-10-05 05:25:26 +00:00
Princess Cheeseballs
09b80ab993
Make codewords mind role based (#46167)
* make codewords mind role based

* whoop
2026-09-30 06:53:09 +00:00
Absotively
e0f899b9e0
Switch buttons for more power switches (#42631)
* Switch buttons for battery breakers

* Switch button for PowerCharge UI

* Switch button for particle accelerator power

* Remove strings used by removed control

* Remove now-unused button group
2026-09-29 05:08:09 +00:00
āda
b924dedb4f
Upgrades to attribution UI (#45523)
* mega commit

* small commit

* better generic

* comment

* fix annoyance

* refactor: remove unused using

* refactor the control

* reset scroll

* refactor: reorder members of IntegerLineEdit

* refactor: whitespaces and members ordering

* Update Content.Client/UserInterface/Controls/IntegerLineEdit.cs

Swap private fields for value fields

Co-authored-by: Fildrance <fildrance@gmail.com>

* this is why you never commit through github

* revert list attribution for source

* oops

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-09-27 19:18:31 +00:00
Pok
95ff69598b
Text black outline (part 2) (#45717)
* textoutline-2

* Update AdminNameOverlay.cs
2026-09-23 21:18:43 +00:00
Whatstone
fb181f12d0
Bugfix: Fix error in rules shown on connect from TextLinkTag ChatSystem resolution (#46115)
* TextLinkLabel/Tag: function without valid ChatSys

* hang on that comment was fine
2026-09-22 04:05:34 +00:00
cashew
cc588dc278
Fix chat name colors (#46109)
* actual name color

* doc update
2026-09-21 18:09:30 +00:00
JiyuSoftware
e2b66e0318
Slime inventory bugfix (#46014) 2026-09-21 10:17:21 +00:00
cashew
86adeec6db
Fix OnAttachedChanged Lag when having a long chat history (#46050)
* I fucking hate chat code and UI code

* while I'm at it I'll make this prettier

* docs

* typo

* testfail

* reset chat upon joining game

* move code

* remove unused imports and add doc

* doc

* final commit

* oop

* Revert "reset chat upon joining game"

This reverts commit a851319521193d099b6d1571631b63917500bc47.

* review stuff

* testfail
2026-09-19 21:10:03 +00:00
AndrewFenriz
70cd75a247
Standardize UI separators (#45820)
* remove unused using

* move VSeparator

* remove unused using

* move HSeparator

* remove BOM

* add Separator

* migrate

* fix separator migration

* remove old separators

* clean separator migration

* clean separator formatting

* cleanup

* update SeparatorSheetlet
2026-09-19 20:16:18 +00:00
AndrewFenriz
6763364c10
Clean up obsolete chat styles (#45868)
* migrate

* upd

* update!
2026-09-19 18:23:51 +00:00
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