comparison Engine/Engine.cpp @ 2565:117c219bf913

Party, items and stuff are abstracted from savegame file representation
author a.parshin
date Wed, 20 May 2015 15:12:33 +0200
parents f9bdfe26d03d
children 30eb6dcac768 f2f2595fe308
comparison
equal deleted inserted replaced
2564:f9bdfe26d03d 2565:117c219bf913
1834 } 1834 }
1835 break; 1835 break;
1836 } 1836 }
1837 else if (GetCurrentMenuID() == MENU_NEWGAME) 1837 else if (GetCurrentMenuID() == MENU_NEWGAME)
1838 { 1838 {
1839 pOtherOverlayList->Reset();
1839 if (!CreateParty_Loop()) 1840 if (!CreateParty_Loop())
1840 break; 1841 break;
1841 1842
1843 strcpy(pCurrentMapName, pStartingMapName);
1842 bFlashQuestBook = true; 1844 bFlashQuestBook = true;
1843 pMediaPlayer->PlayFullscreenMovie(MOVIE_Emerald, true); 1845 pMediaPlayer->PlayFullscreenMovie(MOVIE_Emerald, true);
1844 SaveNewGame(); 1846 SaveNewGame();
1845 if (bNoMargareth) 1847 if (bNoMargareth)
1846 _449B7E_toggle_bit(pParty->_quest_bits, PARTY_QUEST_EMERALD_MARGARETH_OFF, 1); 1848 _449B7E_toggle_bit(pParty->_quest_bits, PARTY_QUEST_EMERALD_MARGARETH_OFF, 1);
1874 } 1876 }
1875 else if (GetCurrentMenuID() == MENU_DebugBLVLevel) 1877 else if (GetCurrentMenuID() == MENU_DebugBLVLevel)
1876 { 1878 {
1877 pMouse->ChangeActivation(0); 1879 pMouse->ChangeActivation(0);
1878 pParty->Reset(); 1880 pParty->Reset();
1879 pParty->CreateDefaultParty(1); 1881 pParty->CreateDefaultParty(true);
1880 1882
1881 __debugbreak(); 1883 __debugbreak();
1882 /*extern void CreateDefaultBLVLevel(); 1884 /*extern void CreateDefaultBLVLevel();
1883 CreateDefaultBLVLevel(); 1885 CreateDefaultBLVLevel();
1884 1886