mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
PRINCE: canSaveGameStateCurrently() - check conditions when you can't save the game state
This commit is contained in:
parent
ce1e776eee
commit
d5938d2520
@ -172,13 +172,20 @@ void PrinceMetaEngine::removeSaveState(const char *target, int slot) const {
|
||||
g_system->getSavefileManager()->removeSavefile(fileName);
|
||||
}
|
||||
|
||||
// TODO
|
||||
bool PrinceEngine::canSaveGameStateCurrently() {
|
||||
return true;
|
||||
if (_mouseFlag && _mouseFlag != 3) {
|
||||
if (_mainHero->_visible) {
|
||||
// 29 - Basement
|
||||
if (_locationNr != 29) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO
|
||||
bool PrinceEngine::canLoadGameStateCurrently() {
|
||||
// Always true
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user