forked from ddnet/ddnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve ingame server info, refactoring
Show the current server's community icon with its name as a tooltip. Show score limit and time limit like in the scoreboard only when they are set instead of showing the default value `0`. Also show the current and total number of rounds if set. Improve consistency of text margins. Remove empty lines in game info. Use all addresses of the current server info for checking, adding and removing server favorite instead of only considering the address we are connected to. Refactor layout using UI rects and labels instead of using absolute positioning. Use `SERVER_FLAG_PASSWORD` constant instead of the magic number `1`.
- Loading branch information
Showing
1 changed file
with
91 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters