comparison SaveLoad.cpp @ 376:615e6b6f55c2

Merge
author Gloval
date Fri, 22 Feb 2013 20:03:15 +0400
parents edd2d8b7e3c4
children a4a5996fea5b
comparison
equal deleted inserted replaced
375:c606cabd7cbf 376:615e6b6f55c2
194 pGUIWindow_CurrentMenu->Release(); 194 pGUIWindow_CurrentMenu->Release();
195 pCurrentScreen = SCREEN_GAME; 195 pCurrentScreen = SCREEN_GAME;
196 196
197 viewparams->bRedrawGameUI = true; 197 viewparams->bRedrawGameUI = true;
198 198
199 SetUserInterface(pParty->uAlignment, true); 199 SetUserInterface(pParty->alignment, true);
200 200
201 pEventTimer->Resume(); 201 pEventTimer->Resume();
202 pEventTimer->StopGameTime(); 202 pEventTimer->StopGameTime();
203 203
204 v25 = pGames_LOD->DoesContainerExist(header.pLocationName); 204 v25 = pGames_LOD->DoesContainerExist(header.pLocationName);
668 668
669 669
670 //----- (0045E297) -------------------------------------------------------- 670 //----- (0045E297) --------------------------------------------------------
671 void SavegameList::Initialize(unsigned int bHideEmptySlots) 671 void SavegameList::Initialize(unsigned int bHideEmptySlots)
672 { 672 {
673 memset(pSavegameList, 0, 0x3138); 673 //memset(pSavegameList, 0, 0x3138);
674 Reset();
674 uNumSavegameFiles = 0; 675 uNumSavegameFiles = 0;
675 676
676 _chdir("saves"); 677 _chdir("saves");
677 { 678 {
678 if (!bHideEmptySlots && _access(pGlobalTXT_LocalizationStrings[613], 0) != -1 ) // AutoSave.MM7 679 if (!bHideEmptySlots && _access(pGlobalTXT_LocalizationStrings[613], 0) != -1 ) // AutoSave.MM7