[Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.3,1.4
Pawel Kolodziejski
aquadran at users.sourceforge.net
Fri Oct 3 00:46:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv10077/queen
Modified Files:
cutaway.cpp
Log Message:
fixed compilation under msvc7
Index: cutaway.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/cutaway.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cutaway.cpp 2 Oct 2003 11:07:43 -0000 1.3
+++ cutaway.cpp 3 Oct 2003 07:45:41 -0000 1.4
@@ -91,7 +91,7 @@
return;
}
- if (0 == strcasecmp(filename, "comic.cut"))
+ if (0 == scumm_stricmp(filename, "comic.cut"))
/* XXX _songBeforeComic = CURRSONG */;
strcpy(_basename, filename);
@@ -295,11 +295,11 @@
void QueenCutaway::actionSpecialMove(int index) {
- switch (index) {
- default:
+// switch (index) {
+// default:
warning("Unhandled special move: %i", index);
- break;
- }
+// break;
+// }
}
byte *QueenCutaway::turnOnPeople(byte *ptr, CutawayObject &object) {
@@ -1028,7 +1028,7 @@
void QueenCutaway::talk(char *nextFilename) {
// Lines 2119-2131 in cutaway.c
- if (0 == strcasecmp(right(_talkFile, 4), ".dog")) {
+ if (0 == scumm_stricmp(right(_talkFile, 4), ".dog")) {
warning("QueenCutaway::talk() needed but not yet implemented");
nextFilename[0] = '\0';
}
More information about the Scummvm-git-logs
mailing list