diff options
author | Eugene Sandulenko | 2005-04-21 01:30:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-21 01:30:07 +0000 |
commit | 283a9f35ac294fa10105c7d8c18b57d7a2689e19 (patch) | |
tree | d1d35de8ff26764c87f36d3b7fa6adf3e34cb048 /saga/script.h | |
parent | 7b93b0e079456018fdbc59e780925103ee345ca9 (diff) | |
download | scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.tar.gz scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.tar.bz2 scummvm-rg350-283a9f35ac294fa10105c7d8c18b57d7a2689e19.zip |
Add not yet correctly working save/load. Use key F7 for saving
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.
svn-id: r17726
Diffstat (limited to 'saga/script.h')
-rw-r--r-- | saga/script.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/saga/script.h b/saga/script.h index 4fa8feb3d1..d115116f1f 100644 --- a/saga/script.h +++ b/saga/script.h @@ -389,9 +389,13 @@ private: uint16 _modulesLUTEntryLen; ModuleData *_modules; int _modulesCount; - - byte* _commonBuffer; + +protected: + friend class SagaEngine; + byte *_commonBuffer; uint _commonBufferSize; + +private: uint _staticSize; ScriptThreadList _threadList; @@ -508,7 +512,7 @@ private: void SF_simulSpeech2(SCRIPTFUNC_PARAMS); void sfPlacard(SCRIPTFUNC_PARAMS); void sfPlacardOff(SCRIPTFUNC_PARAMS); - void SF_setProtagState(SCRIPTFUNC_PARAMS); + void sfSetProtagState(SCRIPTFUNC_PARAMS); void sfResumeBgdAnim(SCRIPTFUNC_PARAMS); void SF_throwActor(SCRIPTFUNC_PARAMS); void sfWaitWalk(SCRIPTFUNC_PARAMS); |