[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.cpp,1.61,1.62
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sun Mar 28 22:45:02 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: web compatibility.php,1.312,1.313
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 console.cpp,1.41,1.42 console.h,1.17,1.18 events.cpp,1.27,1.28 interpreter.cpp,1.42,1.43 logic.h,1.29,1.30 sword2.cpp,1.108,1.109 sword2.h,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9164
Modified Files:
d_draw.cpp
Log Message:
Make clearScene() set the _needFullRedraw variable.
I think the reason I didn't do this from the start was that BS2 used to
call clearScene(), or whatever the function was called back then, between
every frame. Nowadays, it simply assumes that each frame will cover the
previous one.
Anyway, this change prevents the restart/restore dialog from appearing
briefly between the two intro cutscene animations.
Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_draw.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- d_draw.cpp 24 Feb 2004 22:39:42 -0000 1.61
+++ d_draw.cpp 29 Mar 2004 06:32:54 -0000 1.62
@@ -115,6 +115,7 @@
void Graphics::clearScene(void) {
memset(_buffer + MENUDEEP * _screenWide, 0, _screenWide * RENDERDEEP);
+ _needFullRedraw = true;
}
} // End of namespace Sword2
- Previous message: [Scummvm-cvs-logs] CVS: web compatibility.php,1.312,1.313
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 console.cpp,1.41,1.42 console.h,1.17,1.18 events.cpp,1.27,1.28 interpreter.cpp,1.42,1.43 logic.h,1.29,1.30 sword2.cpp,1.108,1.109 sword2.h,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list