diff Game/MainMenu.cpp @ 2553:48708da03b7f

Party Creation UI logic separated from MainMenu
author a.parshin
date Wed, 13 May 2015 02:20:05 +0200
parents ac16f4a3a91e
children f9bdfe26d03d
line wrap: on
line diff
--- a/Game/MainMenu.cpp	Wed May 13 01:33:20 2015 +0200
+++ b/Game/MainMenu.cpp	Wed May 13 02:20:05 2015 +0200
@@ -62,8 +62,7 @@
                 break;
             case UIMSG_MainMenu_ShowLoadWindow:
                 new OnButtonClick2(495, 227, 0, 0, (int)pMainMenu_BtnLoad, 0);
-                //SetCurrentMenuID(MENU_SAVELOAD);
-                MainMenuLoad_Loop();
+                SetCurrentMenuID(MENU_SAVELOAD);
                 break;
             case UIMSG_ShowCredits:
                 new OnButtonClick2(495, 282, 0, 0, (int)pMainMenu_BtnCredits, 0);
@@ -73,7 +72,7 @@
                 new OnButtonClick2(495, 337, 0, 0, (int)pMainMenu_BtnExit, 0);
                 SetCurrentMenuID(MENU_EXIT_GAME);
                 break;
-            case UIMSG_PlayerCreation_SelectAttribute:
+            /*case UIMSG_PlayerCreation_SelectAttribute:
                 pGUIWindow_CurrentMenu->pCurrentPosActiveItem = (pGUIWindow_CurrentMenu->pCurrentPosActiveItem - pGUIWindow_CurrentMenu->pStartingPosActiveItem)
                     % 7 + pGUIWindow_CurrentMenu->pStartingPosActiveItem + 7 * pParam;
                 uPlayerCreationUI_SelectedCharacter = pParam;
@@ -185,7 +184,7 @@
                 uPlayerCreationUI_SelectedCharacter = pParam;
                 pKeyActionMap->EnterText(0, 15, pGUIWindow_CurrentMenu);
                 pGUIWindow_CurrentMenu->ptr_1C = v3;
-                break;
+                break;*/
             case UIMSG_ChangeGameState:
                 uGameState = GAME_FINISHED;
                 break;