/ Garbo
/ Garbo.cdr / mac / appl / fixdsktp.sit / Source / options.c.bin ![]() | < prev | next > |
MacBinary | 1989-09-13 | 1.8 KB | [TEXT/KAHL] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | AMOS Picture Packer (image/amosPicturePacker) | ext | Supported |
1% | dexvert | Debian floppy split (archive/debianFloppySplit) | ext | Unsupported |
1% | dexvert | Sound Images sound sample (audio/soundImagesSoundSample) | ext | Unsupported |
1% | dexvert | DESI-III drawing (image/desiIIIDrawing) | ext | Unsupported |
1% | dexvert | MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) | ext | Unsupported |
1% | dexvert | Alien Trilogytextures (other/alienTrilogyTextures) | ext | Unsupported |
1% | dexvert | APT cache data (other/aptCacheData) | ext | Unsupported |
1% | dexvert | CorelTRACE configuration (other/corelTRACEConfiguration) | ext | Unsupported |
1% | dexvert | Dreamcast Disc (other/dreamcastDisc) | ext | Unsupported |
1% | dexvert | EST flat binary (other/estFlatBinary) | ext | Unsupported |
1% | dexvert | Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat) | ext | Unsupported |
1% | dexvert | Sega Genesis/Megadrive/32x ROM (other/genesisROM) | ext | Unsupported |
1% | dexvert | Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive) | ext | Unsupported |
1% | dexvert | Sound Images Sound Driver (other/soundImagesSoundDriver) | ext | Unsupported |
1% | dexvert | Symantec/Norton Config (other/symantecNortonConfig) | ext | Unsupported |
1% | dexvert | Vectrex ROM (other/vectrexROM) | ext | Unsupported |
1% | dexvert | BIS raP encoded format (other/bisraPEncoded) | ext | Unsupported |
1% | dexvert | Pascal Script binary (other/pascalScriptBinary) | ext | Unsupported |
1% | dexvert | 7th Level game data archive (other/seventhLevelGameDataArchive) | ext | Unsupported |
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary, Mon Aug 22 12:17:19 1988, modified Wed Sep 7 17:51:52 1988, creator Think C, type ASCII, 1554 bytes "options.c" | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 1 | default (weak) | |
100% | lsar | MacBinary | default | |
100% | gt2 | MAC Bilddatei | default (weak) |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [KAHL] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 6f 70 74 69 6f 6e | 73 2e 63 00 00 00 00 00 |..option|s.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 06 12 00 | 00 00 00 9f 35 f9 8f 9f |........|....5...|
|00000060| 4b 5f f8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |K_......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 4d 61 63 54 79 70 |#include| <MacTyp|
|00000090| 65 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |es.h>.#i|nclude <|
|000000a0| 51 75 69 63 6b 44 72 61 | 77 2e 68 3e 0d 23 69 6e |QuickDra|w.h>.#in|
|000000b0| 63 6c 75 64 65 20 3c 57 | 69 6e 64 6f 77 4d 67 72 |clude <W|indowMgr|
|000000c0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 43 6f |.h>.#inc|lude <Co|
|000000d0| 6e 74 72 6f 6c 4d 67 72 | 2e 68 3e 0d 23 69 6e 63 |ntrolMgr|.h>.#inc|
|000000e0| 6c 75 64 65 20 3c 44 69 | 61 6c 6f 67 4d 67 72 2e |lude <Di|alogMgr.|
|000000f0| 68 3e 0d 0d 23 69 6e 63 | 6c 75 64 65 20 22 66 69 |h>..#inc|lude "fi|
|00000100| 78 2e 68 22 0d 0d 65 6e | 75 6d 20 7b 0d 09 49 54 |x.h"..en|um {..IT|
|00000110| 45 4d 5f 4f 50 54 49 4f | 4e 53 5f 4f 4b 20 3d 20 |EM_OPTIO|NS_OK = |
|00000120| 31 2c 0d 09 49 54 45 4d | 5f 4f 50 54 49 4f 4e 53 |1,..ITEM|_OPTIONS|
|00000130| 5f 43 41 4e 43 45 4c 2c | 0d 09 49 54 45 4d 5f 4f |_CANCEL,|..ITEM_O|
|00000140| 50 54 49 4f 4e 53 5f 43 | 4f 4d 4d 45 4e 54 53 20 |PTIONS_C|OMMENTS |
|00000150| 3d 20 34 2c 0d 09 49 54 | 45 4d 5f 4f 50 54 49 4f |= 4,..IT|EM_OPTIO|
|00000160| 4e 53 5f 42 55 4e 44 4c | 45 53 2c 0d 09 49 54 45 |NS_BUNDL|ES,..ITE|
|00000170| 4d 5f 4f 50 54 49 4f 4e | 53 5f 41 50 50 4c 4c 49 |M_OPTION|S_APPLLI|
|00000180| 53 54 0d 7d 3b 0d 0d 09 | 2f 2a 20 48 61 6e 64 6c |ST.};...|/* Handl|
|00000190| 65 20 74 68 65 20 6f 70 | 74 69 6f 6e 20 73 65 6c |e the op|tion sel|
|000001a0| 65 63 74 69 6f 6e 20 64 | 69 61 6c 6f 67 2e 20 2a |ection d|ialog. *|
|000001b0| 2f 0d 0d 76 6f 69 64 20 | 64 6f 5f 6f 70 74 69 6f |/..void |do_optio|
|000001c0| 6e 73 28 29 0d 7b 0d 09 | 72 65 67 69 73 74 65 72 |ns().{..|register|
|000001d0| 20 44 69 61 6c 6f 67 50 | 74 72 20 6f 70 74 69 6f | DialogP|tr optio|
|000001e0| 6e 73 5f 64 69 61 6c 6f | 67 3b 0d 09 69 6e 74 20 |ns_dialo|g;..int |
|000001f0| 69 74 65 6d 2c 20 64 6f | 6e 65 3b 0d 09 48 61 6e |item, do|ne;..Han|
|00000200| 64 6c 65 20 63 6f 6d 6d | 65 6e 74 5f 69 74 65 6d |dle comm|ent_item|
|00000210| 2c 62 75 6e 64 6c 65 5f | 69 74 65 6d 2c 20 61 70 |,bundle_|item, ap|
|00000220| 70 6c 5f 69 74 65 6d 3b | 0d 0d 09 6f 70 74 69 6f |pl_item;|...optio|
|00000230| 6e 73 5f 64 69 61 6c 6f | 67 20 3d 20 47 65 74 4e |ns_dialo|g = GetN|
|00000240| 65 77 44 69 61 6c 6f 67 | 28 44 49 41 4c 4f 47 5f |ewDialog|(DIALOG_|
|00000250| 4f 50 54 49 4f 4e 53 2c | 20 4e 49 4c 2c 20 4d 49 |OPTIONS,| NIL, MI|
|00000260| 4e 55 53 5f 4f 4e 45 29 | 3b 0d 09 63 6f 6d 6d 65 |NUS_ONE)|;..comme|
|00000270| 6e 74 5f 69 74 65 6d 20 | 3d 20 67 65 74 5f 69 74 |nt_item |= get_it|
|00000280| 65 6d 28 6f 70 74 69 6f | 6e 73 5f 64 69 61 6c 6f |em(optio|ns_dialo|
|00000290| 67 2c 20 49 54 45 4d 5f | 4f 50 54 49 4f 4e 53 5f |g, ITEM_|OPTIONS_|
|000002a0| 43 4f 4d 4d 45 4e 54 53 | 29 3b 0d 09 62 75 6e 64 |COMMENTS|);..bund|
|000002b0| 6c 65 5f 69 74 65 6d 20 | 3d 20 67 65 74 5f 69 74 |le_item |= get_it|
|000002c0| 65 6d 28 6f 70 74 69 6f | 6e 73 5f 64 69 61 6c 6f |em(optio|ns_dialo|
|000002d0| 67 2c 20 49 54 45 4d 5f | 4f 50 54 49 4f 4e 53 5f |g, ITEM_|OPTIONS_|
|000002e0| 42 55 4e 44 4c 45 53 29 | 3b 0d 09 61 70 70 6c 5f |BUNDLES)|;..appl_|
|000002f0| 69 74 65 6d 20 3d 20 67 | 65 74 5f 69 74 65 6d 28 |item = g|et_item(|
|00000300| 6f 70 74 69 6f 6e 73 5f | 64 69 61 6c 6f 67 2c 20 |options_|dialog, |
|00000310| 49 54 45 4d 5f 4f 50 54 | 49 4f 4e 53 5f 41 50 50 |ITEM_OPT|IONS_APP|
|00000320| 4c 4c 49 53 54 29 3b 0d | 09 53 65 74 43 74 6c 56 |LLIST);.|.SetCtlV|
|00000330| 61 6c 75 65 28 63 6f 6d | 6d 65 6e 74 5f 69 74 65 |alue(com|ment_ite|
|00000340| 6d 2c 20 70 72 6f 63 65 | 73 73 5f 63 6f 6d 6d 65 |m, proce|ss_comme|
|00000350| 6e 74 73 29 3b 0d 09 53 | 65 74 43 74 6c 56 61 6c |nts);..S|etCtlVal|
|00000360| 75 65 28 62 75 6e 64 6c | 65 5f 69 74 65 6d 2c 20 |ue(bundl|e_item, |
|00000370| 70 72 6f 63 65 73 73 5f | 62 75 6e 64 6c 65 73 29 |process_|bundles)|
|00000380| 3b 0d 09 53 65 74 43 74 | 6c 56 61 6c 75 65 28 61 |;..SetCt|lValue(a|
|00000390| 70 70 6c 5f 69 74 65 6d | 2c 20 70 72 6f 63 65 73 |ppl_item|, proces|
|000003a0| 73 5f 61 70 70 6c 73 29 | 3b 0d 0d 09 53 68 6f 77 |s_appls)|;...Show|
|000003b0| 57 69 6e 64 6f 77 28 6f | 70 74 69 6f 6e 73 5f 64 |Window(o|ptions_d|
|000003c0| 69 61 6c 6f 67 29 3b 0d | 09 64 6f 6e 65 20 3d 20 |ialog);.|.done = |
|000003d0| 30 3b 0d 09 64 6f 20 7b | 0d 09 09 4d 6f 64 61 6c |0;..do {|...Modal|
|000003e0| 44 69 61 6c 6f 67 28 4e | 49 4c 2c 20 26 69 74 65 |Dialog(N|IL, &ite|
|000003f0| 6d 29 3b 0d 09 09 73 77 | 69 74 63 68 20 28 69 74 |m);...sw|itch (it|
|00000400| 65 6d 29 20 7b 0d 09 09 | 09 63 61 73 65 20 49 54 |em) {...|.case IT|
|00000410| 45 4d 5f 4f 50 54 49 4f | 4e 53 5f 4f 4b 3a 0d 09 |EM_OPTIO|NS_OK:..|
|00000420| 09 09 09 70 72 6f 63 65 | 73 73 5f 63 6f 6d 6d 65 |...proce|ss_comme|
|00000430| 6e 74 73 20 3d 20 47 65 | 74 43 74 6c 56 61 6c 75 |nts = Ge|tCtlValu|
|00000440| 65 28 63 6f 6d 6d 65 6e | 74 5f 69 74 65 6d 29 3b |e(commen|t_item);|
|00000450| 0d 09 09 09 09 70 72 6f | 63 65 73 73 5f 62 75 6e |.....pro|cess_bun|
|00000460| 64 6c 65 73 20 3d 20 47 | 65 74 43 74 6c 56 61 6c |dles = G|etCtlVal|
|00000470| 75 65 28 62 75 6e 64 6c | 65 5f 69 74 65 6d 29 3b |ue(bundl|e_item);|
|00000480| 0d 09 09 09 09 70 72 6f | 63 65 73 73 5f 61 70 70 |.....pro|cess_app|
|00000490| 6c 73 20 3d 20 47 65 74 | 43 74 6c 56 61 6c 75 65 |ls = Get|CtlValue|
|000004a0| 28 61 70 70 6c 5f 69 74 | 65 6d 29 3b 0d 09 09 09 |(appl_it|em);....|
|000004b0| 09 69 66 20 28 70 72 6f | 63 65 73 73 5f 63 6f 6d |.if (pro|cess_com|
|000004c0| 6d 65 6e 74 73 20 7c 7c | 20 70 72 6f 63 65 73 73 |ments ||| process|
|000004d0| 5f 62 75 6e 64 6c 65 73 | 20 7c 7c 20 70 72 6f 63 |_bundles| || proc|
|000004e0| 65 73 73 5f 61 70 70 6c | 73 29 0d 09 09 09 09 09 |ess_appl|s)......|
|000004f0| 64 6f 6e 65 20 3d 20 31 | 3b 0d 09 09 09 09 65 6c |done = 1|;.....el|
|00000500| 73 65 0d 09 09 09 09 09 | 41 6c 65 72 74 28 41 4c |se......|Alert(AL|
|00000510| 45 52 54 5f 4f 50 54 49 | 4f 4e 53 2c 20 4e 49 4c |ERT_OPTI|ONS, NIL|
|00000520| 29 3b 0d 09 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |);.....b|reak;...|
|00000530| 09 63 61 73 65 20 49 54 | 45 4d 5f 4f 50 54 49 4f |.case IT|EM_OPTIO|
|00000540| 4e 53 5f 43 41 4e 43 45 | 4c 3a 0d 09 09 09 09 64 |NS_CANCE|L:.....d|
|00000550| 6f 6e 65 20 3d 20 31 3b | 0d 09 09 09 09 62 72 65 |one = 1;|.....bre|
|00000560| 61 6b 3b 0d 09 09 09 63 | 61 73 65 20 49 54 45 4d |ak;....c|ase ITEM|
|00000570| 5f 4f 50 54 49 4f 4e 53 | 5f 43 4f 4d 4d 45 4e 54 |_OPTIONS|_COMMENT|
|00000580| 53 3a 0d 09 09 09 63 61 | 73 65 20 49 54 45 4d 5f |S:....ca|se ITEM_|
|00000590| 4f 50 54 49 4f 4e 53 5f | 42 55 4e 44 4c 45 53 3a |OPTIONS_|BUNDLES:|
|000005a0| 0d 09 09 09 63 61 73 65 | 20 49 54 45 4d 5f 4f 50 |....case| ITEM_OP|
|000005b0| 54 49 4f 4e 53 5f 41 50 | 50 4c 4c 49 53 54 3a 0d |TIONS_AP|PLLIST:.|
|000005c0| 09 09 09 09 7b 0d 09 09 | 09 09 09 72 65 67 69 73 |....{...|...regis|
|000005d0| 74 65 72 20 48 61 6e 64 | 6c 65 20 77 68 61 74 65 |ter Hand|le whate|
|000005e0| 76 65 72 3b 0d 0d 09 09 | 09 09 09 77 68 61 74 65 |ver;....|...whate|
|000005f0| 76 65 72 20 3d 20 67 65 | 74 5f 69 74 65 6d 28 6f |ver = ge|t_item(o|
|00000600| 70 74 69 6f 6e 73 5f 64 | 69 61 6c 6f 67 2c 20 69 |ptions_d|ialog, i|
|00000610| 74 65 6d 29 3b 0d 09 09 | 09 09 09 53 65 74 43 74 |tem);...|...SetCt|
|00000620| 6c 56 61 6c 75 65 28 77 | 68 61 74 65 76 65 72 2c |lValue(w|hatever,|
|00000630| 20 21 47 65 74 43 74 6c | 56 61 6c 75 65 28 77 68 | !GetCtl|Value(wh|
|00000640| 61 74 65 76 65 72 29 29 | 3b 0d 09 09 09 09 7d 0d |atever))|;.....}.|
|00000650| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 7d 0d 09 |....brea|k;...}..|
|00000660| 7d 20 77 68 69 6c 65 20 | 28 21 64 6f 6e 65 29 3b |} while |(!done);|
|00000670| 0d 09 44 69 73 70 6f 73 | 44 69 61 6c 6f 67 28 6f |..Dispos|Dialog(o|
|00000680| 70 74 69 6f 6e 73 5f 64 | 69 61 6c 6f 67 29 3b 0d |ptions_d|ialog);.|
|00000690| 7d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |}.......|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+