ddnet/src/engine/client
Robert Müller b61005d3e7 Improve dummy connecting button and error handling
Track whether the dummy is currently connecting separately so the dummy being disconnected due to errors can be detected. Show an error message as echo in the chat when the dummy could not be connected, e.g. when the server is full.

Use the global time for limiting the dummy connecting delay instead of using game ticks, so the delay also works correctly when having connection problems (i.e., when ticks do not advance). Handle the dummy connecting being delayed separately from the dummy currently connecting.

Add tooltips for the "Connect dummy"-button when it's disable due to dummy not being allow on the server or when connecting is delayed.

Add console error messages for `dummy_connect` command.
2024-07-27 22:44:15 +02:00
..
backend Fix 'auto' GPU identification and display 2024-07-23 21:31:32 +02:00
backend_sdl.cpp Don't return from void methods 2024-05-26 19:31:54 +08:00
backend_sdl.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
blocklist_driver.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
checksum.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
client.cpp Improve dummy connecting button and error handling 2024-07-27 22:44:15 +02:00
client.h Improve dummy connecting button and error handling 2024-07-27 22:44:15 +02:00
demoedit.cpp add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
demoedit.h add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
discord.cpp show discord activity when offline 2024-04-02 23:57:17 +02:00
favorites.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
friends.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
friends.h Organize engine-client includes 2022-06-17 17:46:43 +02:00
ghost.cpp Small fixes for cl_race_ghost_strict_map 2023-10-28 14:54:35 +02:00
ghost.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
graph.cpp Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graph.h Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graphics_defines.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
graphics_threaded.cpp Remove redundant casts 2024-05-26 19:31:54 +08:00
graphics_threaded.h Revert "Always clear window with black color instead of background color" 2024-05-19 20:01:56 +02:00
input.cpp Support touch input in engine, UI and console 2024-07-19 13:36:04 +02:00
input.h Support touch input in engine, UI and console 2024-07-19 13:36:04 +02:00
keynames.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
notifications.cpp Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
notifications.h Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
serverbrowser.cpp Remove servers_legacy support 2024-07-25 17:24:39 +02:00
serverbrowser.h Track country/type filters separately for internet/favorites tabs 2024-04-10 21:40:02 +02:00
serverbrowser_http.cpp Remove servers_legacy support 2024-07-25 17:24:39 +02:00
serverbrowser_http.h Remove servers_legacy support 2024-07-25 17:24:39 +02:00
serverbrowser_ping_cache.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
serverbrowser_ping_cache.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
smooth_time.cpp Properly initialize all CClient member variables 2023-12-02 18:33:46 +01:00
smooth_time.h Make prediction margin take effect immediately 2023-11-19 19:52:39 +01:00
sound.cpp Ensure sample indices are initialized also with sound disabled 2024-06-21 17:38:16 +02:00
sound.h Ensure correct sample and bit rate are used for video recording 2024-05-04 13:15:54 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
text.cpp Fix console search highlighting. Close #8451 2024-06-05 18:01:42 +02:00
updater.cpp Use named enum EUpdaterState instead of int 2024-06-23 16:08:46 +02:00
updater.h Use named enum EUpdaterState instead of int 2024-06-23 16:08:46 +02:00
video.cpp Fix assertion when rendering demo with updated ffmpeg library 2024-07-18 17:23:16 +02:00
video.h Fix crashes when video recording is not started successfully 2024-05-04 13:55:35 +02:00
warning.cpp Fix warning title being uninitialized in some cases 2024-01-16 20:12:25 +01:00