[Scummvm-cvs-logs] CVS: scummvm/bs2 function.cpp,1.13,1.14
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Thu Sep 25 06:05:07 CEST 2003
Update of /cvsroot/scummvm/scummvm/bs2
In directory sc8-pr-cvs1:/tmp/cvs-serv517
Modified Files:
function.cpp
Log Message:
Really clear the screen during the credits.
Index: function.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/function.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- function.cpp 23 Sep 2003 15:59:52 -0000 1.13
+++ function.cpp 25 Sep 2003 13:04:46 -0000 1.14
@@ -19,6 +19,7 @@
#include "stdafx.h"
#include "driver/driver96.h"
+#include "driver/rdwin.h"
#include "build_display.h"
#include "credits.h"
#include "debug.h"
@@ -425,8 +426,11 @@
debug(0, "Credits music length: ~%d ms", music_length);
+ CloseMenuImmediately();
+
while (g_sound->MusicTimeRemaining()) {
EraseBackBuffer();
+ SetNeedRedraw();
// FIXME: Draw the credits text. The actual text
// messages are stored in credits.clu, and I'm guessing
@@ -452,8 +456,9 @@
FN_stop_music(NULL);
BS2_SetPalette(0, 256, oldPal, RDPAL_FADE);
-
FadeUp(0.75);
+ ServiceWindows();
+ Build_display();
WaitForFade();
g_sound->MuteFx(0);
More information about the Scummvm-git-logs
mailing list