aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-10 11:36:04 -0400
committerPaul Gilbert2016-07-15 19:27:40 -0400
commitfd954a8e0b41370ae68f3b409295676de207313d (patch)
tree4a31e192231af9e4fa6eba44072e1e70ad7b98ab /engines/titanic/core
parent6c56d5aa11db1401bc0a2277776ec43128174bc2 (diff)
downloadscummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.tar.gz
scummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.tar.bz2
scummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.zip
TITANIC: Added OSVideoSurface flipVertically
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/game_object.cpp4
-rw-r--r--engines/titanic/core/game_object.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 78b91c3375..eeb765e40f 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -927,9 +927,9 @@ void CGameObject::dec54() {
getGameManager()->dec54();
}
-void CGameObject::surface39(int v1, int v2) {
+void CGameObject::setMovieFrameRate(double rate) {
if (_surface)
- _surface->proc39(v1, v2);
+ _surface->setMovieFrameRate(rate);
}
void CGameObject::setTextBorder(const CString &str, int border, int borderRight) {
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h
index 58ae4c6123..b74c35f524 100644
--- a/engines/titanic/core/game_object.h
+++ b/engines/titanic/core/game_object.h
@@ -437,7 +437,10 @@ protected:
*/
void quitGame();
- void surface39(int v1, int v2);
+ /**
+ * Set the frame rate for the currently loaded movie
+ */
+ void setMovieFrameRate(double rate);
/**
* Set up the text borders for the object