ddnet/src/engine/client
Robert Müller b4423551d4 Fix client not quitting after graphics assertion
After the error message popup is shown for graphics assertions, the client window was destroyed but the process was not terminated properly. Now the graphics assertion error is handled like a normal assertion error, as those are also shown in an error message popup and correctly cause the client to break into the debugger or terminate.

However, calling `dbg_assert` while already owning the lock that `WaitForIdle` waits on will cause a deadlock, so error handling must be delayed until after the lock is released.

The buffer size for assertion messages is increased, as it was not sufficient for some graphics assertions.

The `ICommandProcessor::GetError` and `ICommandProcessor::GetWarning` functions are marked as `const`.
2023-11-06 23:34:05 +01:00
..
backend Ensure OpenGL texture vectors are large enough 2023-09-24 22:27:16 +02:00
backend_sdl.cpp Fix client not quitting after graphics assertion 2023-11-06 23:34:05 +01:00
backend_sdl.h Fix client not quitting after graphics assertion 2023-11-06 23:34:05 +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 Add gameclient warnings to queue instead of overriding others 2023-11-01 22:17:01 +01:00
client.h Add gameclient warnings to queue instead of overriding others 2023-11-01 22:17:01 +01:00
demoedit.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
demoedit.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
discord.cpp Only announce servers using Steam/Discord integration which are registered 2022-10-09 16:16:54 +02:00
favorites.cpp Fix windows build 2022-09-27 13:45:58 +02: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 Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
graph.cpp Mark functions as const when possible 2023-10-17 20:27:58 +02:00
graph.h Mark functions as const when possible 2023-10-17 20:27:58 +02: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 Fix some textures being loaded without mipmaps 2023-11-04 12:54:09 +01:00
graphics_threaded.h Add CTextureHandle::IsNullTexture, rename InvalidTexture 2023-11-04 12:54:08 +01:00
input.cpp Replace static variables in MouseRelative with member variable 2023-10-15 20:36:59 +02:00
input.h Replace static variables in MouseRelative with member variable 2023-10-15 20:36:59 +02:00
keynames.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
notifications.cpp Make sure notification object exists 2023-10-08 14:01:02 +02:00
notifications.h Libnotify support for linux client (#2099) 2020-04-14 17:53:53 +02:00
serverbrowser.cpp Store number of filtered players when filtering 2023-10-01 20:53:29 +02:00
serverbrowser.h Store number of filtered players when filtering 2023-10-01 20:53:29 +02:00
serverbrowser_http.cpp Fix clang-tidy modernize-use-override 2023-10-06 14:06:52 +02:00
serverbrowser_http.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
serverbrowser_ping_cache.cpp Fix clang-tidy modernize-use-override 2023-10-06 14:06:52 +02:00
serverbrowser_ping_cache.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
smooth_time.cpp Mark functions as const when possible 2023-10-17 20:27:58 +02:00
smooth_time.h Mark functions as const when possible 2023-10-17 20:27:58 +02:00
sound.cpp fix requested changes 2023-10-07 14:49:51 +02:00
sound.h enhance editor toolbar sounds 2023-10-06 17:09:19 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Fix clang-tidy modernize-use-override 2023-10-06 14:06:52 +02:00
text.cpp Remove obsolete clang-tidy NOLINT comments 2023-10-11 17:22:59 +02:00
updater.cpp CMake: Rework the versioning 2023-09-08 00:10:48 +03:00
updater.h Use nullptr in generated and editor 2022-06-13 18:28:13 +02:00
video.cpp Add CImageInfo::PixelSize function, use enum EImageFormat 2023-09-03 20:40:28 +02:00
video.h Huge variable naming format 2022-07-08 18:01:29 +02:00