aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/bmv.cpp
diff options
context:
space:
mode:
authorMax Horn2009-10-20 14:05:35 +0000
committerMax Horn2009-10-20 14:05:35 +0000
commit5b514a9bd1f29bf8558c31c2f12eb27d50568f33 (patch)
tree28dc36ccdfe84b88aef4c85674c93eef96f9ee27 /engines/tinsel/bmv.cpp
parent95c572c8b90ba5cafa55ae9df5d91683f0d6d7b3 (diff)
downloadscummvm-rg350-5b514a9bd1f29bf8558c31c2f12eb27d50568f33.tar.gz
scummvm-rg350-5b514a9bd1f29bf8558c31c2f12eb27d50568f33.tar.bz2
scummvm-rg350-5b514a9bd1f29bf8558c31c2f12eb27d50568f33.zip
TINSEL: Start cleanup BMV code
svn-id: r45268
Diffstat (limited to 'engines/tinsel/bmv.cpp')
-rw-r--r--engines/tinsel/bmv.cpp23
1 files changed, 3 insertions, 20 deletions
diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp
index 7ab51efa9c..89feaae20e 100644
--- a/engines/tinsel/bmv.cpp
+++ b/engines/tinsel/bmv.cpp
@@ -201,8 +201,6 @@ static int movieTick;
static int startTick;
static uint32 nextMovieTime = 0;
-static int nowTick;
-
static uint16 Au_Prev1 = 0;
static uint16 Au_Prev2 = 0;
static byte *ScreenBeg;
@@ -497,7 +495,7 @@ static void MovieAudio(int audioOffset, int blobs) {
|-------------------------------------------------------|
\*-----------------------------------------------------*/
-void FettleMovieText(void) {
+static void FettleMovieText(void) {
int i;
bIsText = false;
@@ -519,7 +517,7 @@ void FettleMovieText(void) {
|-------------------------------------------------------|
\*-----------------------------------------------------*/
-void BmvDrawText(bool bDraw) {
+static void BmvDrawText(bool bDraw) {
int w, h, x, y;
for (int i = 0; i < 2; i++) {
@@ -555,7 +553,7 @@ void BmvDrawText(bool bDraw) {
|-------------------------------------------------------|
\*-----------------------------------------------------*/
-void MovieText(CORO_PARAM, int stringId, int x, int y, int fontId, COLORREF *pTalkColour, int duration) {
+static void MovieText(CORO_PARAM, int stringId, int x, int y, int fontId, COLORREF *pTalkColour, int duration) {
SCNHANDLE hFont;
int index;
@@ -1253,19 +1251,4 @@ void AbortMovie(void) {
bAbort = true;
}
-void SlowMovieDown(void) {
- bigProblemCount = 0;
-
- if (currentFrame < (nowTick-startTick)/2 && bMovieOn) {
- startTick = nowTick - 2*currentFrame;
- } else
- startTick += 2;
-}
-
-void SpeedMovieUp(void) {
- if (!bigProblemCount) {
- startTick -= 2;
- }
-}
-
} // End of namespace Tinsel