-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oldchat #11913
Oldchat #11913
Conversation
…separated chat game screen
oldchat is currently not selectable
…rated chat game screen's chat portion
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Client/Lobby/LobbyState.cs # Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
I really think that the top bar of buttons should be reversed, so that Esc is next to the top right corner instead of just kind of in the middle of the screen. Otherwise, incredibly based. |
NRE when opening client
|
(on startup, i hadn't typed anything) |
ok that might be a master bug actually (edit it was) |
i moved that system get into the controller anyways since there's already a dependency for it |
the layout of the menu bar buttons isn't dynamic and would require another separate widget to be implemented in order to achieve this (not necessarily a bad idea, still) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scaling, cvar stuff all works fine, no bugs ingame afaict
// TODO: This could just be like, the equivalent of an event or something | ||
_ghostController.UpdateGui(); | ||
_actionController.RegisterActionContainer(); | ||
_alertsController.SyncAlerts(); | ||
_hotbarController.ReloadHotbar(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this not just be an action/c# event that gets invoked and which all of these subscribe to, seems to be a pattern elsewhere in UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
state startup happens before the call that occurs when a state is entered, so i can't use that unfortunately - and since the state entered call also gives controllers a reference to the current state, it ends up being that i have to manually do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well thats annoying
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can try to do one thing though, and that's just move all this to its own controller
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually could you do this in a separate UI controller made for this purpose on the state enter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok github didnt load that comment glad we had the same idea
i agree w ike on the order of the buttons but doesnt need to be done in this PR imo |
About the PR
SS13 style chat. This includes a new layout for the HUD, called 'Separated', which is similar to Space Station 13's UI layout. This also includes a new setting to set the width of the viewport, so that a user can make it more square, or more wider - the minimum size is 1:1, and the maximum size is the current ratio of SS14's viewport.
This also fixes a chat focusing bug seen when a player is in the lobby, and tries to focus on the chatbox using hotkeys.
Screenshots
Changelog
🆑