mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
* fixed remaining part of #1071 — the screen surface has always to be created in the main thread
* hold events in the queue by value (less ptr jugglery)
This commit is contained in:
@@ -71,12 +71,15 @@ namespace boost
|
||||
class recursive_mutex;
|
||||
};
|
||||
|
||||
enum {
|
||||
enum
|
||||
{
|
||||
/*CHANGE_SCREEN_RESOLUTION = 1,*/
|
||||
RETURN_TO_MAIN_MENU = 2,
|
||||
STOP_CLIENT = 3,
|
||||
RESTART_GAME,
|
||||
RETURN_TO_MENU_LOAD};
|
||||
RETURN_TO_MENU_LOAD,
|
||||
FULLSCREEN_TOGGLED
|
||||
};
|
||||
|
||||
/// Central class for managing user interface logic
|
||||
class CPlayerInterface : public CGameInterface, public IUpdateable
|
||||
|
||||
Reference in New Issue
Block a user