Mac Carbon updates

This commit is contained in:
kmhugo
2003-12-10 19:36:49 +00:00
parent 0dc3c43a8d
commit a744b6b5bf
4 changed files with 1356 additions and 742 deletions
+3 -5
View File
@@ -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
View File
@@ -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
View File
@@ -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 (!) */
+1350 -735
View File
File diff suppressed because it is too large Load Diff