diff options
author | Eugene Sandulenko | 2005-10-08 15:20:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-08 15:20:11 +0000 |
commit | 176f32bfa166a6c842092abdd9cc936b0260f31d (patch) | |
tree | 7749784619eedd453c326d7ef36ebf1a276e1cf7 /saga/sfuncs.cpp | |
parent | c4752fc320456f264042677968362fddf2253fcd (diff) | |
download | scummvm-rg350-176f32bfa166a6c842092abdd9cc936b0260f31d.tar.gz scummvm-rg350-176f32bfa166a6c842092abdd9cc936b0260f31d.tar.bz2 scummvm-rg350-176f32bfa166a6c842092abdd9cc936b0260f31d.zip |
_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return different
scene height for individual panel modes.
svn-id: r18959
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r-- | saga/sfuncs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 286fd20901..d69e67be30 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -1289,7 +1289,7 @@ void Script::sfPlacard(SCRIPTFUNC_PARAMS) { event.data = backBuffer; event.param = 138; event.param2 = 0; - event.param3 = _vm->getSceneHeight(); + event.param3 = _vm->_scene->getHeight(); event.param4 = 0; event.param5 = _vm->getDisplayWidth(); @@ -1306,7 +1306,7 @@ void Script::sfPlacard(SCRIPTFUNC_PARAMS) { textEntry.color = kITEColorBrightWhite; textEntry.effectColor = kITEColorBlack; textEntry.point.x = _vm->getDisplayWidth() / 2; - textEntry.point.y = (_vm->getSceneHeight() - _vm->_font->getHeight(kMediumFont)) / 2; + textEntry.point.y = (_vm->_scene->getHeight() - _vm->_font->getHeight(kMediumFont)) / 2; textEntry.fontId = kMediumFont; textEntry.flags = (FontEffectFlags)(kFontOutline | kFontCentered); textEntry.text = thread->_strings->getString(stringId); |