1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00
vcmi/client/gui
Ivan Savenko 9bfe000724 Added semi-workaround method for network thread shutdown:
Currently closing game while network thread is waiting for something is
very bug-prone, since network thread may resume during shutdown and
access partially destroyed client state.

Now if exit has been requested, the very first step would be semi-
graceful shutdown of network thread (via exception throwing). This may
in theory skip some cleanup in non-RAII code, but since game is shutting
down this does not matters much.

This logic applies to:
- shutting down while network thread is waiting for dialogs
- shuttind down while network thread waiting for animations in combat
2024-05-18 11:04:10 +00:00
..
CGuiHandler.cpp Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
CGuiHandler.h Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
CIntObject.cpp class CArtifactsOfHeroMain : public CKeyShortcut 2024-04-27 21:35:38 +03:00
CIntObject.h class CArtifactsOfHeroMain : public CKeyShortcut 2024-04-27 21:35:38 +03:00
CursorHandler.cpp Apply SonarCloud suggestions 2024-04-30 16:40:23 +03:00
CursorHandler.h Apply SonarCloud suggestions 2024-04-30 16:40:23 +03:00
EventDispatcher.cpp Allow input configuration via config file 2024-04-30 20:56:47 +03:00
EventDispatcher.h added tolerance 2023-09-18 20:35:23 +02:00
EventsReceiver.cpp move to EventReceiver 2023-10-22 00:05:14 +02:00
EventsReceiver.h move to EventReceiver 2023-10-22 00:05:14 +02:00
FramerateManager.cpp Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
FramerateManager.h Fix freezing of hero and long enemy turns without sleeping in FramerateManager::framerateDelay() 2023-09-27 16:09:52 +02:00
InterfaceObjectConfigurable.cpp Reworked TextInput to allow text overflow support 2024-05-15 12:45:45 +00:00
InterfaceObjectConfigurable.h Made graphical primitive-based UI more configurable 2024-02-18 20:48:45 +02:00
MouseButton.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
Shortcut.h Add hotkey to track human player hero in MP. Fixed broken 'toggle grid' 2024-04-30 19:10:10 +03:00
ShortcutHandler.cpp Add hotkey to track human player hero in MP. Fixed broken 'toggle grid' 2024-04-30 19:10:10 +03:00
ShortcutHandler.h Unified game controller input with keyboard/mouse 2024-04-30 15:21:07 +03:00
TextAlignment.h Added all missing text alignment values 2024-03-27 13:10:55 +02:00
WindowHandler.cpp Simplified and fixed server restart procedure: 2024-04-07 14:19:57 +03:00
WindowHandler.h Implemented lazy totalRedraw to prevent multiple redraws on single frame 2023-07-18 17:31:21 +03:00