home *** CD-ROM | disk | FTP | other *** search
- INCLUDE "NetHack.rsrc"; /* MENU, MBAR, ALRT, WIND, ICN#, etc */
- INCLUDE "Sounds.rsrc"; /* Instruments as snd resources */
-
- #include "Types.r"
- #include "SysTypes.r"
- #include "BalloonTypes.r" /* Mac resource type definitions */
-
- read 'TEXT' (1000,"Help") $$Shell("Dat") "Help";
- read 'TEXT' (1001,"WizHelp") $$Shell("Dat") "WizHelp";
- read 'TEXT' (1002,"OptHelp") $$Shell("Dat") "OptHelp";
- /*
- read 'TEXT' (1003,"CmdHelp") $$Shell("Dat") "CmdHelp";
- */
- read 'TEXT' (1004,"MacHelp") $$Shell("MacDir") "MacHelp";
-
- read 'TEXT' (1005,"HH") $$Shell("Dat") "HH";
- read 'TEXT' (1006,"History") $$Shell("Dat") "History";
- read 'TEXT' (1007,"License") $$Shell("Dat") "License";
-
- read 'TEXT' (1008,"News") $$Shell("MacDir") "News";
- read 'TEXT' (1009,"Options") $$Shell("ObjDir") "Options";
-
- /*
- read 'TEXT' (1010,"Rumors") $$Shell("ObjDir") "Rumors";
- read 'TEXT' (1011,"Data") $$Shell("ObjDir") "Data";
- */
-
- #define kSignature 'nh31' /* Application signature, registered with DTS */
-
- #define kVersion "3.1º1" /* Change here and below */
-
- resource 'vers' (1) {
- 0x03, 0x01, beta, 0x01, verUS, /* Version/subversion/{alpha|beta|release}/country */
- kVersion,
- kVersion " ⌐ 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992 by Stichting Mathematisch Centrum and M. Stephenson."
- };
-
- type kSignature as 'STR ';
- resource kSignature (0,purgeable)
- { "NetHack v" kVersion " " };
-
- resource 'FREF' (128,purgeable)
- { 'APPL', 0, "" };
-
- resource 'FREF' (129,purgeable)
- { 'SAVE', 1, "" };
-
- resource 'FREF' (130,purgeable)
- { 'PREF', 2, "" };
-
- resource 'BNDL' (128,purgeable)
- { kSignature,
- 0,
- { 'ICN#',
- { 0, 1000,
- 1, 1001,
- 2, 1002
- },
-
- 'FREF',
- { 0, 128,
- 1, 129,
- 2, 130
- }
- }
- };
-
- resource 'SIZE' (-1) {
- reserved,
- acceptSuspendResumeEvents,
- reserved,
- canBackground,
- doesActivateOnFGSwitch,
- backgroundAndForeground,
- dontGetFrontClicks,
- ignoreAppDiedEvents,
- is32BitCompatible,
- notHighLevelEventAware,
- onlyLocalHLEvents,
- notStationeryAware,
- dontUseTextEditServices,
- reserved,
- reserved,
- reserved,
- 1800 * 1024, /* recommended */
- 1300 * 1024 /* absolute minimum, to be determined */
- };
-
- /* System 7 help balloon information */
- resource 'hfdr' (-5696, purgeable) {
- HelpMgrVersion, hmDefaultOptions, 0, 0, /* header information */
- { HMSTRResItem { /* use 'STR ' resource 2000 */ 2000 }
- }
- };
-
- resource 'STR ' (2000, purgeable) { /* Help message for app icon */
- "NetHack v" kVersion "\nThis is the famous Dungeons and Dragons¬-like game ported to the Macintosh."
- };
-
- resource 'STR '(-16396, purgeable) { /* Will be copied to the saved file. */
- "NetHack" /* See Inside Mac VI, page 9-21. */
- };
-
-
- /* Mac error decodes : 2000 - err# for common errors. Add your favorites below */
-
- resource 'STR ' (2034) { "the disk is full" };
- resource 'STR ' (2036) { "there was an I/O error" };
- resource 'STR ' (2043) { "a file is missing" };
- resource 'STR ' (2044) { "the disk is write-protected" };
- resource 'STR ' (2047) { "the file is busy" };
- resource 'STR ' (2049) { "the file is already open" };
- resource 'STR ' (2108) { "there is not enough memory" };
- resource 'STR ' (2192) { "a resource is missing" };
-