Alert skeleton

This commit is contained in:
elasota
2020-01-24 02:09:19 -05:00
parent 928efdd527
commit 9e9a79c4b7
21 changed files with 127 additions and 58 deletions

View File

@@ -8,6 +8,7 @@
#include "PLToolUtils.h"
#include "PLKeyEncoding.h"
#include "DialogManager.h"
#include "Externs.h"
#include "InputManager.h"
#include "ObjectEdit.h"
@@ -874,7 +875,7 @@ void ShoutNoMoreObjects (void)
short hitWhat;
// CenterAlert(kNoMoreObjectsAlert);
hitWhat = Alert(kNoMoreObjectsAlert, nil);
hitWhat = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kNoMoreObjectsAlert);
}
//-------------------------------------------------------------- HowManyCandleObjects
@@ -1071,7 +1072,7 @@ void ShoutNoMoreSpecialObjects (void)
short hitWhat;
// CenterAlert(kNoMoreSpecialAlert);
hitWhat = Alert(kNoMoreSpecialAlert, nil);
hitWhat = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kNoMoreSpecialAlert);
}
#endif