* 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
* 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>
* 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
* 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>
* 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>
* 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
* 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>
* 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>
* 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
* 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
* 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>
* 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
* 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>
* 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>