From 2cf76f6f1b1c915ad198315b301221c28391265d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 2 May 2013 19:07:44 +0300 Subject: Pre-select current game in world creation dialog --- src/guiCreateWorld.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/guiCreateWorld.h') diff --git a/src/guiCreateWorld.h b/src/guiCreateWorld.h index d9bc3638a..2765dc2bd 100644 --- a/src/guiCreateWorld.h +++ b/src/guiCreateWorld.h @@ -38,7 +38,8 @@ public: gui::IGUIElement* parent, s32 id, IMenuManager *menumgr, CreateWorldDest *dest, - const std::vector &games); + const std::vector &games, + const std::string &initial_game); ~GUICreateWorld(); void removeChildren(); @@ -56,6 +57,7 @@ public: private: CreateWorldDest *m_dest; std::vector m_games; + int m_initial_game_i; }; #endif -- cgit v1.2.3