[Scummvm-cvs-logs] CVS: scummvm insane.cpp,1.48,1.49
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Thu Jul 18 23:38:03 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: web/docs todo.xml,1.2,1.3
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui dialog.cpp,1.23,1.24 dialog.h,1.13,1.14 widget.cpp,1.19,1.20 widget.h,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv10002
Modified Files:
insane.cpp
Log Message:
DIG: turn off subtitles in SMUSH if _noSubtitles is set
Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/insane.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- insane.cpp 16 Jul 2002 21:03:14 -0000 1.48
+++ insane.cpp 19 Jul 2002 06:37:28 -0000 1.49
@@ -1254,7 +1254,9 @@
printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16));
return;
}
-
+ if ((sm->_noSubtitles) && (READ_LE_UINT16(_cur + 4) != 0))
+ return;
+
byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16));
drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt);
if (txt != NULL)
- Previous message: [Scummvm-cvs-logs] CVS: web/docs todo.xml,1.2,1.3
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui dialog.cpp,1.23,1.24 dialog.h,1.13,1.14 widget.cpp,1.19,1.20 widget.h,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list