aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-28 17:42:33 +0000
committerJohannes Schickel2006-07-28 17:42:33 +0000
commitf8d4994dc248e44cd762d25adfbb8e8b9b3cbd93 (patch)
treec731e3e33a822565b7322f8ac26e29cc3ad9e6b6
parentb17c895ea9527c38650e4687cef800e495ee3269 (diff)
downloadscummvm-rg350-f8d4994dc248e44cd762d25adfbb8e8b9b3cbd93.tar.gz
scummvm-rg350-f8d4994dc248e44cd762d25adfbb8e8b9b3cbd93.tar.bz2
scummvm-rg350-f8d4994dc248e44cd762d25adfbb8e8b9b3cbd93.zip
Little cleanup.
svn-id: r23616
-rw-r--r--engines/kyra/kyra3.cpp4
-rw-r--r--engines/kyra/kyra3.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/kyra3.cpp b/engines/kyra/kyra3.cpp
index f007055d75..6feab6848a 100644
--- a/engines/kyra/kyra3.cpp
+++ b/engines/kyra/kyra3.cpp
@@ -105,7 +105,7 @@ int KyraEngine_v3::go() {
uint8 *pal = _screen->getPalette(1);
assert(pal);
- WSAMovieV2 *logo = new WSAMovieV2(this);
+ Movie *logo = createWSAMovie();
assert(logo);
logo->open("REVENGE.WSA", 1, pal);
assert(logo->opened());
@@ -293,7 +293,7 @@ int KyraEngine_v3::musicUpdate(int forceRestart) {
#pragma mark -
-int KyraEngine_v3::handleMainMenu(WSAMovieV2 *logo) {
+int KyraEngine_v3::handleMainMenu(Movie *logo) {
debugC(9, kDebugLevelMain, "KyraEngine::handleMainMenu(%p)", (const void*)logo);
int command = -1;
diff --git a/engines/kyra/kyra3.h b/engines/kyra/kyra3.h
index f6ab4713d8..8a77201dd5 100644
--- a/engines/kyra/kyra3.h
+++ b/engines/kyra/kyra3.h
@@ -74,7 +74,7 @@ private:
// gui/menu specific
private:
static const char *_mainMenuStrings[];
- int handleMainMenu(WSAMovieV2 *logo);
+ int handleMainMenu(Movie *logo);
void drawMainMenu(const char * const *strings, int select);
void drawMainBox(int x, int y, int w, int h, int fill);