aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorMatthew Hoops2007-09-12 22:17:08 +0000
committerMatthew Hoops2007-09-12 22:17:08 +0000
commit8158f3f35340b44bc437142a1a21ba6b6162ae39 (patch)
treefcb33e1f210ad2d335cfd815ef14c513b9e9440f /engines/agi
parentf4414ac084f08ed4e1e8b2b4cbd649588ef33820 (diff)
downloadscummvm-rg350-8158f3f35340b44bc437142a1a21ba6b6162ae39.tar.gz
scummvm-rg350-8158f3f35340b44bc437142a1a21ba6b6162ae39.tar.bz2
scummvm-rg350-8158f3f35340b44bc437142a1a21ba6b6162ae39.zip
cleanup the intro of Winnie
svn-id: r28896
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_winnie.cpp16
-rw-r--r--engines/agi/preagi_winnie.h3
2 files changed, 2 insertions, 17 deletions
diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp
index bad7315779..a00c9d5232 100644
--- a/engines/agi/preagi_winnie.cpp
+++ b/engines/agi/preagi_winnie.cpp
@@ -117,24 +117,12 @@ void Winnie::randomize() {
}
void Winnie::intro() {
- intro_DrawLogo();
- intro_DrawTitle();
- intro_PlayTheme();
-}
-
-void Winnie::intro_DrawLogo() {
drawPic(IDS_WTP_FILE_LOGO);
_vm->printStr(IDS_WTP_INTRO_0);
- _vm->waitAnyKeyChoice();
-}
-
-void Winnie::intro_DrawTitle() {
+ _vm->_system->delayMillis(0x640);
drawPic(IDS_WTP_FILE_TITLE);
_vm->printStr(IDS_WTP_INTRO_1);
- _vm->waitAnyKeyChoice();
-}
-
-void Winnie::intro_PlayTheme() {
+ _vm->_system->delayMillis(0x640);
//if (!Winnie_PlaySound(IDI_WTP_SND_POOH_0)) return;
//if (!Winnie_PlaySound(IDI_WTP_SND_POOH_1)) return;
//if (!Winnie_PlaySound(IDI_WTP_SND_POOH_2)) return;
diff --git a/engines/agi/preagi_winnie.h b/engines/agi/preagi_winnie.h
index b804ad3c3f..38108fcfa1 100644
--- a/engines/agi/preagi_winnie.h
+++ b/engines/agi/preagi_winnie.h
@@ -309,9 +309,6 @@ private:
void initVars();
void randomize();
void intro();
- void intro_DrawLogo();
- void intro_DrawTitle();
- void intro_PlayTheme();
void drawPic(const char*);
void gameLoop();
void readRoom(int, uint8*, int);