1
0
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:
Michał W. Urbańczyk
2012-09-11 14:25:19 +00:00
parent d935e87dd8
commit 96a92d0f45
8 changed files with 54 additions and 52 deletions

View File

@@ -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