[Scummvm-cvs-logs] CVS: scummvm scummvm.cpp,1.16,1.17
Ludvig Strigeus
strigeus at users.sourceforge.net
Tue Nov 6 12:19:12 CET 2001
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv14923
Modified Files:
scummvm.cpp
Log Message:
updates to version detection by Jeroen Janssen
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** scummvm.cpp 2001/11/06 20:00:47 1.16
--- scummvm.cpp 2001/11/06 20:18:26 1.17
***************
*** 424,428 ****
char *filename;
char *gamename;
! byte id,major,minor,middle;
};
--- 424,428 ----
char *filename;
char *gamename;
! byte id,major,middle,minor;
};
***************
*** 431,435 ****
{"monkey2", "Monkey Island 2: LeChuck's revenge", GID_MONKEY2, 5, 2, 2},
{"atlantis", "Indiana Jones 4 and the Fate of Atlantis", GID_INDY4, 5, 5, 0},
! {"fate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
{"tentacle", "Day Of The Tenctacle", GID_TENTACLE, 6, 4, 2},
{"samnmax", "Sam & Max", GID_SAMNMAX, 6, 4, 2},
--- 431,435 ----
{"monkey2", "Monkey Island 2: LeChuck's revenge", GID_MONKEY2, 5, 2, 2},
{"atlantis", "Indiana Jones 4 and the Fate of Atlantis", GID_INDY4, 5, 5, 0},
! {"playfate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
{"tentacle", "Day Of The Tenctacle", GID_TENTACLE, 6, 4, 2},
{"samnmax", "Sam & Max", GID_SAMNMAX, 6, 4, 2},
***************
*** 449,455 ****
--- 449,459 ----
_minorScummVersion = gnl->minor;
_gameText = gnl->gamename;
+ debug(1, "Detected game '%s', version %d.%d.%d",
+ gnl->gamename, gnl->major, gnl->middle, gnl->minor);
return true;
}
} while ((++gnl)->filename);
+
+ debug(1, "Failed game detection");
return true;
More information about the Scummvm-git-logs
mailing list