Various improvements toward getting high scores working again.

This commit is contained in:
elasota
2020-02-02 01:38:38 -05:00
parent 7cb6994f90
commit 265db139c8
48 changed files with 729 additions and 488 deletions

View File

@@ -5,7 +5,7 @@
//----------------------------------------------------------------------------
//============================================================================
#include "PLDialogs.h"
#include "PLStringCompare.h"
#include "DialogManager.h"
#include "Externs.h"
@@ -164,9 +164,9 @@ void SavedGameMismatchError (StringPtr gameName)
InitCursor();
// CenterAlert(kSavedGameErrorAlert);
ParamText(gameName, thisHouseName, PSTR(""), PSTR(""));
DialogTextSubstitutions substitutions(gameName, thisHouseName, PSTR(""), PSTR(""));
whoCares = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kSavedGameErrorAlert);
whoCares = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kSavedGameErrorAlert, &substitutions);
}
//-------------------------------------------------------------- OpenSavedGame
@@ -305,7 +305,7 @@ Boolean OpenSavedGame (void)
// This is probably about 3 days away from becoming the "old" function<6F>
// for saving games.
#if 0
void SaveGame (Boolean doSave)
{
houseType *thisHousePtr;
@@ -351,4 +351,4 @@ void SaveGame (Boolean doSave)
YellowAlert(kYellowFailedWrite, 0);
}
}
#endif