]> git.xonotic.org Git - xonotic/darkplaces.git/commit
client: improve server connection status messages
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 1 Dec 2023 06:18:45 +0000 (16:18 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 9 Dec 2023 10:13:34 +0000 (20:13 +1000)
commit6dca288eb9bac8251395386e6495866e05806f4e
tree0735eb23b33c8fe6c5e301ad0c64ba140fbce445
parent8e7b42d509d36c9bdda23487612ff1ca8c139b1d
client: improve server connection status messages

Always logs various errors and rejections that previously were only
visible with developer cvar(s) set.  Among other things this fixes
silent failure when trying to join a full server.
Includes IP address in more messages.

Uses CON_ERROR and CON_WARN colours for various errors and warns.

Moves status message generation to the code that sets the relevant
states.  This allows more information to be included, makes the code
easier to follow and reduces polling.

Fixes some cases where a message was always clobbered before it could be
displayed.

Merges the built-in menu and loading screen connection status generation
and buffering.

Simplifies challenge request retry counting.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_main.c
cl_parse.c
cl_screen.c
cl_screen.h
crypto.c
crypto.h
menu.c
menu.h
netconn.c