Applied a slightly modified version of my patch #2307224 - "BS1: Save/load overhaul"
svn-id: r35111
This commit is contained in:
parent
bdbae740a6
commit
7650b61d27
5 changed files with 385 additions and 131 deletions
|
@ -484,7 +484,10 @@ void SwordEngine::checkCdFiles(void) { // check if we're running from cd, hdd or
|
|||
}
|
||||
|
||||
Common::Error SwordEngine::go() {
|
||||
_control->checkForOldSaveGames();
|
||||
|
||||
uint16 startPos = ConfMan.getInt("boot_param");
|
||||
_control->readSavegameDescriptions();
|
||||
if (startPos) {
|
||||
_logic->startPositions(startPos);
|
||||
} else {
|
||||
|
@ -660,4 +663,8 @@ void SwordEngine::delay(int32 amount) { //copied and mutilated from sky.cpp
|
|||
} while (_system->getMillis() < start + amount);
|
||||
}
|
||||
|
||||
bool SwordEngine::mouseIsActive() {
|
||||
return Logic::_scriptVars[MOUSE_STATUS] & 1;
|
||||
}
|
||||
|
||||
} // End of namespace Sword1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue