Mac Carbon updates
This commit is contained in:
+3
-5
@@ -456,14 +456,12 @@ display_gamewindows()
|
|||||||
WIN_INVEN = create_nhwindow(NHW_MENU);
|
WIN_INVEN = create_nhwindow(NHW_MENU);
|
||||||
|
|
||||||
#ifdef MAC
|
#ifdef MAC
|
||||||
/*
|
/* This _is_ the right place for this - maybe we will
|
||||||
* This _is_ the right place for this - maybe we will
|
|
||||||
* have to split display_gamewindows into create_gamewindows
|
* have to split display_gamewindows into create_gamewindows
|
||||||
* and show_gamewindows to get rid of this ifdef...
|
* and show_gamewindows to get rid of this ifdef...
|
||||||
*/
|
*/
|
||||||
if ( ! strcmp ( windowprocs . name , "mac" ) ) {
|
if (!strcmp(windowprocs. name, "mac"))
|
||||||
SanePositions ( ) ;
|
SanePositions();
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
+2
-1
@@ -219,7 +219,7 @@ macopen (const char *name, int flags, long fileType)
|
|||||||
TEXT_CREATOR, fileType) && (flags & O_EXCL)) {
|
TEXT_CREATOR, fileType) && (flags & O_EXCL)) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#if 0 /* Fails during makedefs */
|
||||||
if (fileType == SAVE_TYPE) {
|
if (fileType == SAVE_TYPE) {
|
||||||
short resRef;
|
short resRef;
|
||||||
HCreateResFile(theDirs.dataRefNum, theDirs.dataDirID, s);
|
HCreateResFile(theDirs.dataRefNum, theDirs.dataDirID, s);
|
||||||
@@ -246,6 +246,7 @@ macopen (const char *name, int flags, long fileType)
|
|||||||
CloseResFile(resRef);
|
CloseResFile(resRef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
+1
-1
@@ -135,7 +135,7 @@ main (void)
|
|||||||
|
|
||||||
if (discover)
|
if (discover)
|
||||||
You("are in non-scoring discovery mode.");
|
You("are in non-scoring discovery mode.");
|
||||||
flags.move = 0;
|
context.move = 0;
|
||||||
|
|
||||||
UndimMenuBar (); /* Yes, this is the place for it (!) */
|
UndimMenuBar (); /* Yes, this is the place for it (!) */
|
||||||
|
|
||||||
|
|||||||
+1349
-734
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user