Mercurial > mm7
comparison SaveLoad.cpp @ 396:4a60371fd70c
Слияние
author | Ritor1 |
---|---|
date | Fri, 22 Feb 2013 21:47:55 +0600 |
parents | edd2d8b7e3c4 |
children | a4a5996fea5b |
comparison
equal
deleted
inserted
replaced
395:6c3f8694005f | 396:4a60371fd70c |
---|---|
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 |