[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_draw.cpp,1.36,1.37
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sat Oct 11 05:27:04 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.13,1.14
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 anims.cpp,1.29,1.30 build_display.cpp,1.32,1.33 console.cpp,1.17,1.18 controls.cpp,1.28,1.29 maketext.cpp,1.21,1.22 maketext.h,1.4,1.5 mouse.cpp,1.25,1.26 resman.cpp,1.52,1.53 speech.cpp,1.29,1.30 startup.cpp,1.19,1.20 sword2.cpp,1.54,1.55 sword2.h,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv22966/driver
Modified Files:
d_draw.cpp
Log Message:
Moved the text drawing stuff into a class of its own. (Adding another
global variable which will hopefully be dealt with later.)
Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_draw.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- d_draw.cpp 5 Oct 2003 15:28:14 -0000 1.36
+++ d_draw.cpp 11 Oct 2003 12:26:53 -0000 1.37
@@ -171,7 +171,7 @@
memset(lpBackBuffer, 0, screenWide * MENUDEEP);
uint8 msg[] = "Cutscene - Press ESC to exit";
- mem *data = MakeTextSprite(msg, 640, 255, speech_font_id);
+ mem *data = fontRenderer.makeTextSprite(msg, 640, 255, g_sword2->_speechFontId);
_frameHeader *frame = (_frameHeader *) data->ad;
_spriteInfo msgSprite;
uint8 *msgSurface;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.13,1.14
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 anims.cpp,1.29,1.30 build_display.cpp,1.32,1.33 console.cpp,1.17,1.18 controls.cpp,1.28,1.29 maketext.cpp,1.21,1.22 maketext.h,1.4,1.5 mouse.cpp,1.25,1.26 resman.cpp,1.52,1.53 speech.cpp,1.29,1.30 startup.cpp,1.19,1.20 sword2.cpp,1.54,1.55 sword2.h,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list