[Scummvm-cvs-logs] CVS: scummvm/mac mac.cpp,1.5,1.6

Mutwin Kraus mutle at users.sourceforge.net
Sun Mar 17 05:47:05 CET 2002


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

Modified Files:
	mac.cpp 
Log Message:
setWindowName implemented.

Index: mac.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/mac/mac.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** mac.cpp	16 Mar 2002 05:33:25 -0000	1.5
--- mac.cpp	17 Mar 2002 13:46:18 -0000	1.6
***************
*** 874,878 ****
  
  void launcherLoop() {
!   /* No launcher on mac yet => stub function */
  }
  
--- 874,879 ----
  
  void launcherLoop() {
!   /* No launcher an Mac yet, probably there won't ever be one, as */
!   /* there is a nice Mac-like Launcher already. */
  }
  
***************
*** 895,898 ****
--- 896,905 ----
  }
  
+ void setWindowName(Scumm *scumm)
+ {
+ 	StringPtr gameText = CToPascal(scumm->getGameName());
+ 	SetWTitle(wm->wPtr, gameText);
+ }
+ 
  void main(void)
  {
***************
*** 911,916 ****
  	scumm.scummMain(2, &gameTitle);
  	
! 	StringPtr gameText = CToPascal(wm->_scumm->getGameName());
! 	SetWTitle(wm->wPtr, gameText);
  	
  	if (!(scumm._features & GF_SMALL_HEADER))
--- 918,922 ----
  	scumm.scummMain(2, &gameTitle);
  	
! 	setWindowName(wm->_scumm);
  	
  	if (!(scumm._features & GF_SMALL_HEADER))





More information about the Scummvm-git-logs mailing list