Commit Graph

240 Commits

Author SHA1 Message Date
Julian Giebel 0752acdc2c
News UI overhaul and PDA notifications (#19610) 2024-02-26 21:38:00 -04:00
TemporalOroboros f284b43ff6
Fixes obsolete Transform warnings in Content. (#25256)
* Fix TransformComponent.MapPosition warnings in Content.Client

* Fix TransformComponent.MapPosition warnings in Content.IntegrationTests

* Fix TransformComponent.MapPosition warnings in Content.Shared

* Fix TransformComponent.MapPosition warnings in Content.Server

* Fix TransformComponent.WorldPosition warnings in Content.Shared

* Fix TransformComponent.WorldPosition warnings in Content.Client
Excepts ClickableComponent b/c that needs to be ECS'd entirely later

* Fix TransformComponent.WorldPosition warnings in Content.Server

* Fix TransformComponent.WorldRotation warnings in Content.*

* Fix TransformComponent.MapPosition warnings I missed

* Fix TransformComponent.WorldMatrix warnings in Content.*

* Fix TransformComponent.InvWorldMatrix warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotationMatrixWithInv warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotationMatrix warnings in Content.*

* Fix TransformComponent.GetWorldPositionRotation warnings in Content.*

* Fix TransformComponent.Anchored.set warnings in Content.*

* Fix TransformComponent.Coordinates.set warnings in Content.*

* Fix TransformComponent.LocalPosition.set warnings in Content.*

* Fix TransformComponent.AttachToGridOrMap warnings in Content.*

* Fix TransformComponent.AttachParent warnings in Content.*

* Preempt TransformComponent.LocalRotation.set warnings in Content.Shared

* Preempt TransformComponent.LocalRotation.set warnings in Content.Client

* Preempt TransformComponent.LocalRotation.set warnings in Content.IntegrationTests

* Preempt TransformComponent.LocalRotation.set warnings in Content.Server

* Fix/Preempt the remaining obsolete TransformComponent properties/methods in Content.*

* ECS ClickableComponent

* Fix obsolete SharedTransformSystem methods in Content.*

* Fix ExplosionOverlay `SharedTransformSystem` dependency

* Maybe fix null eye position breaking tests

* MGS requested changes
2024-02-27 12:06:20 +11:00
Krunklehorn 7d6e4b164d
Fix grid inventory pick/drop rotation (#25510)
OnPiecePressed
2024-02-25 18:24:21 -05:00
dffdff2423 a3c93b0bd7
Add option for admins to disable bwoink (#25008)
* Add option for admins to disable bwoink

In a vain attempt to get people to ahelp more, provide the possibility
for admins to not play the bwoink sound if they don't want to scare the
player.

* Add silent indicator to discord relay

* Use string interpolation
2024-02-20 23:52:03 -07:00
Pieter-Jan Briers 68ce53ae17
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
2024-02-13 16:48:39 -05:00
SlamBamActionman 247be5b5c7
Add option for character name colors in chat & move coloration to clientside (#24625)
* Adds option to disable character names in chat/speechbubbles

* Moved the coloring of names to clientside

* Move string functions to SharedChatSystem to avoid duplicate code in SpeechBubble.cs

* Changed to be put under Accessibility section

* Cache CVar
2024-02-10 22:38:55 -08:00
Nemanja 2293f46bca
prevent opening debug menus without perms (#25091)
prevent people without permissions from opening the tile, entityspawn, or decal menus
2024-02-10 19:00:52 +11:00
Nemanja 6605b7ba50
make newchat box more opaque (#24555) 2024-01-25 08:17:48 -05:00
Kevin Zheng 0d53dad58a
Wrap objective briefing text (#24244) 2024-01-19 09:25:40 +11:00
Psychpsyo a747e6dda4
Plates & Cash gridinv visuals (#24075) 2024-01-14 11:44:17 -05:00
AJCM-git 108f001731
Virtual items cleanup (#23912)
* Virtual items cleanup

* Detail

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-01-14 21:18:47 +11:00
DrSmugleaf 6a7f1b2f1f
Fix error when switching to a screen without an inventory gui widget (#24059) 2024-01-14 14:18:28 +11:00
Crotalus 668d0eca22
Added search bar to warp points (#23978) 2024-01-12 13:34:11 -07:00
metalgearsloth 1170121532
Fix objects tab not showing nents (#23837)
* Fix objects tab not showing nents

* Fix everything
2024-01-10 01:30:20 -07:00
metalgearsloth b22c9aa5e2
Fix storagecomp serialization (#23780)
* Fix storagecomp serialization

* Fix state
2024-01-09 03:47:51 -07:00
themias edd85a5d2d
fix use delay cooldown visual bug (#23532) 2024-01-04 13:13:38 -05:00
AJCM-git 9c522c8b19
UseDelay + ItemCooldown merge (#22502) 2024-01-03 21:33:09 -04:00
Kot 3d955677c5
Fix chat size cvar serialization (#23005) 2023-12-30 12:24:10 -05:00
metalgearsloth 4023134cf0
Add UI click sounds (#22410)
* Add UI click sounds

* tweaks

* Significant cleanup

* Audio options and numerous fixes

* Fix the remaining UI elements

* new click sound

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2023-12-29 15:43:36 +11:00
Nemanja a4d36d408d
Better hover coloring for inventory (#23148) 2023-12-29 12:46:51 +11:00
Leon Friedrich 35ba42af9c
Add some tests and fix some miscellaneous bugs (#22836)
* Add some tests and fix some bugs

* Add more helper methods

* remove submodule

* fix merge

* also fix DirtyAll()

* poke
2023-12-28 10:05:20 +11:00
Nemanja 9b18357a88
Corner Clothing UI (#22883)
* Corner clothing (save point)

* IT WORKS. YIPPEE

* the last of it

* template rejigs
2023-12-22 23:32:23 -07:00
LordCarve 7d69055291
Use different chatbox placeholder when dependent keys unbound (#22747) 2023-12-22 11:39:29 -08:00
Leon Friedrich b6bd82caa6
Use ECS prototype-reload events (#22613)
* Use ECS prototype-reload events

* better constructors

* Maybe this fixes tests?
2023-12-23 01:13:45 +11:00
Kara ee0c3c4a69
Fix glorfcode for real (#22838)
Fix glorfcode
2023-12-21 16:23:22 -08:00
DrSmugleaf 0273bbcbf3
Fix right click not showing the context menu in AHelps, players tab and objects tab (#22798)
* Fix right clicks in AHelp window

* Fix player tab right click

* Fix objects tab right click
2023-12-20 23:32:52 -07:00
keronshb 2d692f47da
Action Upgrade System (#22277)
* Adds uses before delay so actions can be used multiple times before cooldown

* adds methods to get remaining charges, to set uses before delay, and to set use delay

* adds method to change action name

* moves set usedelay

* action upgrade ECS

* adds method to reset remaining uses

* adds upgrade events

* refactors action upgrade event and adds logic to parse it

* fix serialization issue

* adds level up draft method

* adds action commands and a command to upgrade an action

* more warning lines to help

* Gets action to upgrade properly

* Removes unneeded fields from the action upgrade component and now properly raises the level of the new action

* Cleans up dead code and comments

* Fixes punctuation in actions-commands and adds a TryUpgradeAction method.

* removes TODO comment

* robust fix

* removes RT

* readds RT

* update RT to 190

* removes change name method

* removes remaining uses & related fields and adds that functionality to charges

* Adds Charges to action tooltips that require it
2023-12-15 02:41:44 -07:00
DrSmugleaf 77e872fe8b
Add ahelp bwoink sound cvar (#22439) 2023-12-13 01:51:30 -07:00
Pieter-Jan Briers 16bd6802df
More UI fixes (#22431)
* Fix chat filter button

Oh look, the popup code was copy pasted between chat filter and channel selector.

Hilarious.

Anyways same stuff as 995f506aaf. I pulled it all out into a base class so NO MORE COPY PASTE.

Fixes #22360

* Remove all further EnableAllKeybinds buttons.

Fixes #22346

Yeah none of these are valid use cases, why is this set...
2023-12-12 19:02:19 -07:00
KP 17270bb321
Fix glorfcode again (#22420) 2023-12-12 13:57:54 -08:00
Nemanja 9de4c40c29
Miscellaneous inventory tweaks (#22371)
* pt 1

* Miscellaneous gridinv UX
2023-12-12 00:49:37 -07:00
Nemanja b37b988ce3
Even spaced hotbar (#22252)
* Fix spacing on hotbar

* more tweaksies
2023-12-11 04:37:51 -07:00
KP 1b5e5032f4
Fix Glorfcode (#22271) 2023-12-11 19:53:10 +11:00
Pieter-Jan Briers 995f506aaf
Fix being unable to open chat channel drop-down. (#22255) 2023-12-09 13:15:06 +11:00
Nemanja 8112f84c33
Mark the last item stored in storage for smart-equip (#22236)
* mark the last item stored in grid inventory

* shift
2023-12-08 12:43:57 -06:00
Nemanja 736300d505
keybinds for opening bag/belt & context logic for opening storage window (#22238)
* keybinds for opening bag/belt & context logic for opening storage window

* no error por favor
2023-12-08 12:43:37 -06:00
Nemanja b01f0b5f82
add tooltip with entity name on inventory hover (#22203) 2023-12-07 21:38:07 -05:00
Nemanja c047f19fdc
Inventory sprite rotation (#22201) 2023-12-07 11:59:16 +11:00
TemporalOroboros f98322ad5d
T shaped pickaxe and grid UI fix (#22197) 2023-12-06 19:52:57 -05:00
Nemanja 9ca84ac3fb
Grid inventory fixes (#22161)
* Gridinv fixes

* eek

* oh yeah this too

* eek
2023-12-05 16:38:10 -07:00
deathride58 e32ede5882
Fancy speech bubbles - Names over speech bubbles, and 1:1 chat parity for emotes and LOOC! (#21999) 2023-12-04 16:10:49 -07:00
Nemanja cc8984d096
Grid Inventory (#21931)
* Grid Inventory

* oh boy we keep cracking on

* auto insertion is kinda working? gross, too!

* pieces and proper layouts

* fix the sprites

* mousing over grid pieces... finally

* dragging deez nuts all over the screen

* eek!

* dragging is 90% less horrendous

* auto-rotating

* flatten

* Rotation at last

* fix rotation and change keybind for removing items.

* rebinding and keybinding

* wow! look at that! configurable with a button! cool!

* dragging is a bit cooler, eh?

* hover insert, my beloved

* add some grids for storage, fix 1x1 storages, fix multiple inputs at once

* el navigation

* oh yeah some stuff i forgor

* more fixes and QOL stuff

* the griddening

* the last of it (yippee)

* sloth review :)
2023-12-04 16:04:39 -07:00
metalgearsloth 3423f11f79
Fix ahelps (#21921) 2023-11-28 00:42:03 +11:00
metalgearsloth 269c93245d
Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
Nemanja de5319737e
ok final actions fixes fr this time (#21683) 2023-11-16 00:12:47 -05:00
Nemanja 2727f63bf3
small action bar fixes (#21655) 2023-11-14 18:35:43 -07:00
Nemanja 4e84961ef8
Minimalist Action Bar (#21352) 2023-11-13 22:27:14 -05:00
Leon Friedrich 355e16f470
fix implant action icon bug (#21597) 2023-11-12 16:29:46 -07:00
Leon Friedrich 654cc7f071
Merge `ActorSystem` and `IPlayerManager` (#21314) 2023-11-11 13:08:10 +11:00
Vasilis 2f2d237f86
LOOC will appear on top of your head (#21514)
* Oh well

* Minor fixing up

* HOLY BINGLE I DID IT

* TOGGLE!
2023-11-09 02:18:58 -07:00
Leon Friedrich 6a8023cf8b
Fix admin verb PVS issue (#21406) 2023-11-05 02:58:26 +11:00
metalgearsloth 5b8f3c48c4
Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth 9b1b3e03ed
Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon Friedrich e685cb626b
Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
metalgearsloth a2bbda43cc
Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich 7ba0ea2926
IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
DrSmugleaf 5be0df32ad
Add admin Erase verb, add checkbox to erase from the ban panel (#20985) 2023-10-14 02:02:56 -07:00
DrSmugleaf db4ad40430
Add panic bunker UI and automatic panic bunker (#20954) 2023-10-13 11:56:12 -07:00
Leon Friedrich fcd0d9ef0f
Add methods to transfer actions between containers (#20901) 2023-10-11 13:50:10 -04:00
metalgearsloth edbfef22d6
Climbing refactor (#20516) 2023-10-10 16:41:11 -07:00
gus 9eede28d8c
Using capital letter for radio channel prefixes works now (#20846)
Co-authored-by: gus <august.eymann@gmail.ccom>
2023-10-08 22:07:54 -07:00
Leon Friedrich 1a5cf370e7
Slightly improve action ui performance (#20799) 2023-10-08 16:37:09 -04:00
DrSmugleaf 445e6aabed
Fix AHelp progressively showing more AHelp panels (#20591) 2023-09-28 18:46:16 -07:00
Kara 80f36ea6d4
Glorfcode (force say on damage/stun/crit) (#20562) 2023-09-28 18:05:36 -07:00
Miro Kavaliou c06586f942
Added a toggle fullscreen button (default F11) (#20272)
* Added a toggle fullscreen button (default F11)

* Removed un-needed comments

* Review Requested Changes

* Fixed Acidental Spacing Change

* bwoink, removed extraneous code

* nothing, litterally
2023-09-28 18:55:10 -05:00
Kara 66307df970
Revert "Guidebook can POP OUT YAYYYY" (#20520) 2023-09-26 07:49:27 -07:00
Vasilis eb4a9c4833
:( (#20440) 2023-09-23 13:44:49 -05:00
Leon Friedrich 684b334806
Action container rejig (#20260)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-09-23 18:49:39 +10:00
Vasilis e5162d4151
Guidebook can POP OUT YAYYYY (#20268)
* Let them eat cake

* Reviews

* Change amoled theme to gray

* Ok nevermind im big smart
2023-09-22 14:52:30 -05:00
Vasilis 413ba8cc9a
Remove cringe hardcodes for background (#20374) 2023-09-22 14:50:34 -05:00
DrSmugleaf 4c5e7a01f1
Make the lobby AHelp button red for admins when one is received (#20390) 2023-09-21 17:40:57 +10:00
deltanedas 4fbebb6917
Roundstart antag role restrictions revival (#20108)
Co-authored-by: Ray <vigersray@gmail.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-20 17:54:53 +10:00
DrSmugleaf bb655ab4a5
Resize the non-admin AHelp window to be taller and less wide (#20271) 2023-09-17 04:04:20 -05:00
deltanedas f7711edbe3
Objectives ecs rework (#19967)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-16 16:18:10 +10:00
Leon Friedrich 411fc8e27b
Improve `vv /c/enthover` and add keybind (#20127) 2023-09-16 14:09:51 +10:00
Doru991 eaecdb4336
Cyborg health alert and damage examining (#20084)
* Option for alt health alert and no overlay

* Fancy borg health indicator

* Borg damage examine localization

* EENENGHHHH ENNNGHHH

* Requested code changes

* Legal sound

* Revert "Legal sound"

This reverts commit 35715c88898aeb78dfe800319852c230395fdd7e.

I misunderstood what Sloth meant

* Annoying buzzer is back
2023-09-14 23:14:47 -04:00
DrSmugleaf f23228bda9
Update dragon devour action icon (#20020)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-09-12 22:05:04 -07:00
metalgearsloth 748ca93f5c
Fix context menu for admin menu (#20030) 2023-09-12 14:34:20 +10:00
metalgearsloth d5bd1c6f86
Predict StorageComponent (#19682) 2023-09-11 21:20:46 +10:00
metalgearsloth 99b77bc2d3
Remove lights compref (#19531) 2023-09-11 19:18:06 +10:00
metalgearsloth 28bf3a6240
Remove SharedEye (but content) (#19481) 2023-09-11 16:15:23 +10:00
metalgearsloth 2a367af7ed
Fix ghost warps (#20008) 2023-09-11 15:43:24 +10:00
metalgearsloth 3c0439167a
Fix makeghostrole eui (#19998) 2023-09-11 14:31:45 +10:00
metalgearsloth 88dfc59038
Remove custom tooltip timings (#19604) 2023-09-11 13:53:35 +10:00
metalgearsloth 5a0fc68be2
Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
metalgearsloth 4d1c3ae66a
Revert "Remove IContainer and move functions to the container system.… (#19975) 2023-09-10 21:46:36 +10:00
Leon Friedrich b45e53603d
Remove IContainer and move functions to the container system. (#19834) 2023-09-10 12:16:37 +10:00
DrSmugleaf c71f97e3a2
Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
metalgearsloth 4cfc578011
Revert "Remove most usages of obsolete TransformComponent methods (#1… (#19714) 2023-09-01 12:30:29 +10:00
deltanedas 7842f0d055
decouple briefing from traitor (#19668)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-08-31 14:29:45 -07:00
Nemanja 4d677f0685
1v1 me first to 31 no powerups [Deathmatch Gamemode] (#19467)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2023-08-30 18:06:15 -07:00
Visne 1416942bea
Remove most usages of obsolete TransformComponent methods (#19571) 2023-08-30 12:05:19 +10:00
Nemanja 3e93e963b5
Add support for custom controls in the character menu (#19567) 2023-08-27 18:24:24 +10:00
Visne 11a57be230
Remove usages of obsolete SpriteView.Sprite.set() (#19500) 2023-08-25 11:16:46 +10:00
Visne c7b21b631b
Remove unused dependencies (#19490) 2023-08-24 09:55:15 -08:00
Leon Friedrich be3fc7481e
Remove UI state enter/exit logic from DamageOverlayUi (#19149) 2023-08-14 23:10:55 -06:00
Leon Friedrich cabc834e84
Fix combat action prediction (#19152)
* Fix action predictions

* Add ActionsAddedTest
2023-08-14 23:06:45 -06:00
DrSmugleaf 9315a0fe81
Fix having to reopen ahelp and popped-out ahelp windows after rounds (#19102) 2023-08-14 15:03:35 -06:00
DrSmugleaf 17808a54ef
Fix debug error when opening the ahelp ui before joining a game (#19069) 2023-08-13 16:56:25 -07:00
DrSmugleaf 35d7656784
Add ahelp typing indicator for admins (#19060)
* Add ahelp typing indicator for admins

* Lower typing updates throttle from 3 seconds to 1

* Add stopping typing when sending a message

* Lower typing indicator timeout from 15 to 10 seconds
2023-08-13 18:03:17 -05:00