diff options
author | Eugene Sandulenko | 2005-09-28 15:41:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-09-28 15:41:21 +0000 |
commit | 05ccf6389804a3c45fc0049955adb5dd60c09d48 (patch) | |
tree | de4b11787b9dae31e222248c90c417726b776b9c /saga/scene.h | |
parent | afe28a5b07ca41daaa84370b86588a573e4d5755 (diff) | |
download | scummvm-rg350-05ccf6389804a3c45fc0049955adb5dd60c09d48.tar.gz scummvm-rg350-05ccf6389804a3c45fc0049955adb5dd60c09d48.tar.bz2 scummvm-rg350-05ccf6389804a3c45fc0049955adb5dd60c09d48.zip |
Implement sfWaitFramesEsc()
svn-id: r18894
Diffstat (limited to 'saga/scene.h')
-rw-r--r-- | saga/scene.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/saga/scene.h b/saga/scene.h index f47dac78d4..03f557c812 100644 --- a/saga/scene.h +++ b/saga/scene.h @@ -29,6 +29,7 @@ #include "saga/font.h" #include "saga/list.h" #include "saga/actor.h" +#include "saga/script.h" namespace Saga { @@ -263,6 +264,12 @@ class Scene { int currentSceneNumber() const { return _sceneNumber; } int getOutsetSceneNumber() const { return _outsetSceneNumber; } int currentSceneResourceId() const { return _sceneResourceId; } + void cutawaySkip() { + if (_vm->_scene->isInIntro()) + _vm->_script->_framesEsc = 2; + else + _vm->_script->_framesEsc = 1; + } void drawTextList(Surface *ds); private: |