[Scummvm-cvs-logs] CVS: scummvm saveload.cpp,1.30,1.31

Mutwin Kraus mutle at users.sourceforge.net
Fri Mar 8 09:09:35 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv31381/scummvm

Modified Files:
	saveload.cpp 
Log Message:
Some changes, need to be done to get the Mac Port running. For example Point is now called ScummPoint, as the name Point is already in use by Apple.

Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saveload.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** saveload.cpp	8 Mar 2002 08:42:11 -0000	1.30
--- saveload.cpp	8 Mar 2002 17:04:40 -0000	1.31
***************
*** 145,150 ****
--- 145,154 ----
  
  void Scumm::makeSavegameName(char *out, int slot, bool compatible) {
+ 	#if !defined(__APPLE__CW)
  	const char *dir = getenv("SCUMMVM_SAVEPATH");
  	if (dir==NULL) dir="";
+ 	#else
+ 	const char *dir = "";
+ 	#endif
  	/* snprintf should be used here, but it's not portable enough */
  	sprintf(out, "%s%s.%c%.2d", dir, _exe_name, compatible ? 'c': 's', slot);





More information about the Scummvm-git-logs mailing list