home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-01-15 | 8.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Jan 15 15:41:21 1992, modified Wed Jan 15 15:41:21 1992, creator 'MPS ', type ASCII, 8196 bytes "Miscellany.c" , at 0x2084 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 4d 69 73 63 65 6c | 6c 61 6e 79 2e 63 00 00 |..Miscel|lany.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 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 20 04 00 | 00 01 ac a5 9a 4c f1 a5 |..... ..|.....L..|
|00000060| 9a 4c f1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 08 ec 00 00 |........|........|
|00000080| 2f 2a 20 a9 20 31 39 38 | 38 2d 39 31 2c 20 42 6f |/* . 198|8-91, Bo|
|00000090| 77 65 72 73 20 44 65 76 | 65 6c 6f 70 6d 65 6e 74 |wers Dev|elopment|
|000000a0| 20 43 6f 72 70 2e 20 2a | 2f 0d 2f 2a 20 4d 69 73 | Corp. *|/./* Mis|
|000000b0| 63 65 6c 6c 61 6e 79 2e | 63 20 2a 2f 0d 0d 23 69 |cellany.|c */..#i|
|000000c0| 6e 63 6c 75 64 65 20 3c | 54 79 70 65 73 2e 68 3e |nclude <|Types.h>|
|000000d0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 51 75 69 63 6b |.#includ|e <Quick|
|000000e0| 64 72 61 77 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |draw.h>.|#include|
|000000f0| 20 3c 43 6f 6e 74 72 6f | 6c 73 2e 68 3e 0d 23 69 | <Contro|ls.h>.#i|
|00000100| 6e 63 6c 75 64 65 20 3c | 44 69 61 6c 6f 67 73 2e |nclude <|Dialogs.|
|00000110| 68 3e 09 09 09 2f 2a 20 | 66 6f 72 20 6f 6b 20 2a |h>.../* |for ok *|
|00000120| 2f 0d 23 69 6e 63 6c 75 | 64 65 20 3c 45 76 65 6e |/.#inclu|de <Even|
|00000130| 74 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ts.h>.#i|nclude <|
|00000140| 4c 69 73 74 73 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |Lists.h>|.#includ|
|00000150| 65 20 3c 4d 65 6e 75 73 | 2e 68 3e 0d 23 69 6e 63 |e <Menus|.h>.#inc|
|00000160| 6c 75 64 65 20 3c 54 65 | 78 74 45 64 69 74 2e 68 |lude <Te|xtEdit.h|
|00000170| 3e 0d 0d 23 69 6e 63 6c | 75 64 65 20 22 47 6c 6f |>..#incl|ude "Glo|
|00000180| 62 61 6c 73 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |bals.h".|#include|
|00000190| 20 22 52 65 73 6f 75 72 | 63 65 44 65 66 73 2e 68 | "Resour|ceDefs.h|
|000001a0| 22 09 0d 0d 23 69 6e 63 | 6c 75 64 65 20 22 4d 69 |"...#inc|lude "Mi|
|000001b0| 73 63 65 6c 6c 61 6e 79 | 2e 68 22 0d 0d 23 69 6e |scellany|.h"..#in|
|000001c0| 63 6c 75 64 65 20 3c 45 | 72 72 6f 72 73 2e 68 3e |clude <E|rrors.h>|
|000001d0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 50 61 63 6b 61 |.#includ|e <Packa|
|000001e0| 67 65 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |ges.h>.#|include |
|000001f0| 3c 52 65 73 6f 75 72 63 | 65 73 2e 68 3e 0d 23 69 |<Resourc|es.h>.#i|
|00000200| 6e 63 6c 75 64 65 20 3c | 53 63 72 69 70 74 2e 68 |nclude <|Script.h|
|00000210| 3e 09 09 09 09 2f 2a 20 | 66 6f 72 20 47 65 74 4d |>..../* |for GetM|
|00000220| 42 61 72 48 65 69 67 68 | 74 20 2a 2f 0d 23 69 6e |BarHeigh|t */.#in|
|00000230| 63 6c 75 64 65 20 3c 53 | 6f 75 6e 64 2e 68 3e 0d |clude <S|ound.h>.|
|00000240| 0d 23 70 72 61 67 6d 61 | 20 73 65 67 6d 65 6e 74 |.#pragma| segment|
|00000250| 20 4d 69 73 63 65 6c 6c | 61 6e 79 0d 09 0d 2f 2a | Miscell|any.../*|
|00000260| 20 67 6c 6f 62 61 6c 20 | 76 61 72 73 3a 20 2a 2f | global |vars: */|
|00000270| 0d 42 6f 6f 6c 65 61 6e | 09 09 09 65 72 72 6f 72 |.Boolean|...error|
|00000280| 46 6c 61 67 3b 09 0d 0d | 23 64 65 66 69 6e 65 20 |Flag;...|#define |
|00000290| 63 72 65 61 74 65 54 6f | 70 09 09 37 35 20 20 20 |createTo|p..75 |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002c0| 0d 23 64 65 66 69 6e 65 | 20 63 72 65 61 74 65 4c |.#define| createL|
|000002d0| 65 66 74 09 09 31 30 30 | 0d 23 64 65 66 69 6e 65 |eft..100|.#define|
|000002e0| 20 74 6f 70 4c 65 66 74 | 28 72 29 09 28 28 28 50 | topLeft|(r).(((P|
|000002f0| 6f 69 6e 74 20 2a 29 20 | 26 28 72 29 29 5b 30 5d |oint *) |&(r))[0]|
|00000300| 29 0d 23 64 65 66 69 6e | 65 20 62 6f 74 52 69 67 |).#defin|e botRig|
|00000310| 68 74 28 72 29 09 28 28 | 28 50 6f 69 6e 74 20 2a |ht(r).((|(Point *|
|00000320| 29 20 26 28 72 29 29 5b | 31 5d 29 0d 0d 2f 2a 2d |) &(r))[|1])../*-|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2a 2f 0d 76 6f 69 64 |--------|-*/.void|
|00000340| 09 41 63 6b 6e 6f 77 6c | 65 64 67 65 09 09 28 73 |.Acknowl|edge..(s|
|00000350| 68 6f 72 74 09 09 09 61 | 6c 65 72 74 49 44 29 0d |hort...a|lertID).|
|00000360| 7b 0d 09 73 68 6f 72 74 | 09 09 09 69 74 65 6d 48 |{..short|...itemH|
|00000370| 69 74 3b 0d 09 47 72 61 | 66 50 74 72 09 09 09 73 |it;..Gra|fPtr...s|
|00000380| 61 76 65 50 6f 72 74 3b | 0d 0d 09 47 65 74 50 6f |avePort;|...GetPo|
|00000390| 72 74 20 28 26 73 61 76 | 65 50 6f 72 74 29 3b 0d |rt (&sav|ePort);.|
|000003a0| 09 49 6e 69 74 43 75 72 | 73 6f 72 20 28 29 3b 0d |.InitCur|sor ();.|
|000003b0| 09 69 74 65 6d 48 69 74 | 20 3d 20 53 74 6f 70 41 |.itemHit| = StopA|
|000003c0| 6c 65 72 74 20 28 61 6c | 65 72 74 49 44 2c 20 4e |lert (al|ertID, N|
|000003d0| 55 4c 4c 29 3b 0d 09 53 | 65 74 50 6f 72 74 20 28 |ULL);..S|etPort (|
|000003e0| 73 61 76 65 50 6f 72 74 | 29 3b 0d 7d 20 2f 2a 41 |savePort|);.} /*A|
|000003f0| 63 6b 6e 6f 77 6c 65 64 | 67 65 2a 2f 0d 0d 2f 2a |cknowled|ge*/../*|
|00000400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 42 6f 6f |--------|--*/.Boo|
|00000410| 6c 65 61 6e 09 43 6f 6e | 66 69 72 6d 09 09 28 73 |lean.Con|firm..(s|
|00000420| 68 6f 72 74 09 09 09 61 | 6c 65 72 74 49 44 29 0d |hort...a|lertID).|
|00000430| 7b 0d 09 42 6f 6f 6c 65 | 61 6e 09 09 09 72 65 73 |{..Boole|an...res|
|00000440| 75 6c 74 3b 0d 09 47 72 | 61 66 50 74 72 09 09 09 |ult;..Gr|afPtr...|
|00000450| 73 61 76 65 50 6f 72 74 | 3b 0d 0d 09 47 65 74 50 |savePort|;...GetP|
|00000460| 6f 72 74 20 28 26 73 61 | 76 65 50 6f 72 74 29 3b |ort (&sa|vePort);|
|00000470| 0d 09 49 6e 69 74 43 75 | 72 73 6f 72 20 28 29 3b |..InitCu|rsor ();|
|00000480| 0d 09 72 65 73 75 6c 74 | 20 3d 20 28 43 61 75 74 |..result| = (Caut|
|00000490| 69 6f 6e 41 6c 65 72 74 | 20 28 61 6c 65 72 74 49 |ionAlert| (alertI|
|000004a0| 44 2c 20 4e 55 4c 4c 29 | 20 3d 3d 20 6f 6b 29 3b |D, NULL)| == ok);|
|000004b0| 0d 09 53 65 74 50 6f 72 | 74 20 28 73 61 76 65 50 |..SetPor|t (saveP|
|000004c0| 6f 72 74 29 3b 0d 09 72 | 65 74 75 72 6e 20 28 72 |ort);..r|eturn (r|
|000004d0| 65 73 75 6c 74 29 3b 0d | 7d 20 2f 2a 43 6f 6e 66 |esult);.|} /*Conf|
|000004e0| 69 72 6d 2a 2f 0d 0d 2f | 2a 2d 2d 2d 2d 2d 2d 2d |irm*/../|*-------|
|000004f0| 2d 2d 2d 2a 2f 0d 42 6f | 6f 6c 65 61 6e 20 47 65 |---*/.Bo|olean Ge|
|00000500| 74 45 72 72 6f 72 4d 65 | 73 73 61 67 65 09 28 4f |tErrorMe|ssage.(O|
|00000510| 53 45 72 72 09 09 72 65 | 73 75 6c 74 43 6f 64 65 |SErr..re|sultCode|
|00000520| 2c 0d 09 09 09 09 09 09 | 20 53 74 72 32 35 35 09 |,.......| Str255.|
|00000530| 09 6d 65 73 73 61 67 65 | 29 3b 0d 42 6f 6f 6c 65 |.message|);.Boole|
|00000540| 61 6e 20 47 65 74 45 72 | 72 6f 72 4d 65 73 73 61 |an GetEr|rorMessa|
|00000550| 67 65 20 28 4f 53 45 72 | 72 09 09 72 65 73 75 6c |ge (OSEr|r..resul|
|00000560| 74 43 6f 64 65 2c 0d 09 | 09 09 09 09 09 20 53 74 |tCode,..|..... St|
|00000570| 72 32 35 35 09 09 6d 65 | 73 73 61 67 65 29 0d 7b |r255..me|ssage).{|
|00000580| 0d 09 53 74 72 69 6e 67 | 48 61 6e 64 6c 65 09 6d |..String|Handle.m|
|00000590| 73 67 48 6e 64 6c 3b 0d | 0d 09 6d 73 67 48 6e 64 |sgHndl;.|..msgHnd|
|000005a0| 6c 20 3d 20 28 53 74 72 | 69 6e 67 48 61 6e 64 6c |l = (Str|ingHandl|
|000005b0| 65 29 20 47 65 74 52 65 | 73 6f 75 72 63 65 20 28 |e) GetRe|source (|
|000005c0| 27 45 72 4d 73 27 2c 20 | 2d 72 65 73 75 6c 74 43 |'ErMs', |-resultC|
|000005d0| 6f 64 65 29 3b 0d 09 69 | 66 20 28 6d 73 67 48 6e |ode);..i|f (msgHn|
|000005e0| 64 6c 20 21 3d 20 4e 55 | 4c 4c 29 20 7b 0d 09 09 |dl != NU|LL) {...|
|000005f0| 42 6c 6f 63 6b 4d 6f 76 | 65 20 28 26 28 2a 2a 6d |BlockMov|e (&(**m|
|00000600| 73 67 48 6e 64 6c 29 2c | 20 6d 65 73 73 61 67 65 |sgHndl),| message|
|00000610| 2c 20 32 35 36 29 3b 0d | 09 09 72 65 74 75 72 6e |, 256);.|..return|
|00000620| 20 28 74 72 75 65 29 3b | 0d 09 7d 20 65 6c 73 65 | (true);|..} else|
|00000630| 20 7b 0d 09 09 6d 65 73 | 73 61 67 65 20 5b 30 5d | {...mes|sage [0]|
|00000640| 20 3d 20 30 3b 0d 09 09 | 72 65 74 75 72 6e 20 28 | = 0;...|return (|
|00000650| 66 61 6c 73 65 29 3b 0d | 09 7d 0d 7d 20 2f 2a 47 |false);.|.}.} /*G|
|00000660| 65 74 45 72 72 6f 72 4d | 65 73 73 61 67 65 2a 2f |etErrorM|essage*/|
|00000670| 0d 0d 2f 2a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2a 2f |../*----|------*/|
|00000680| 0d 42 6f 6f 6c 65 61 6e | 09 43 68 65 63 6b 4f 53 |.Boolean|.CheckOS|
|00000690| 09 09 28 4f 53 45 72 72 | 09 09 09 72 65 73 75 6c |..(OSErr|...resul|
|000006a0| 74 43 6f 64 65 29 0d 7b | 0d 09 53 74 72 32 35 35 |tCode).{|..Str255|
|000006b0| 09 09 09 6d 65 73 73 61 | 67 65 3b 0d 09 53 74 72 |...messa|ge;..Str|
|000006c0| 32 35 35 09 09 09 65 72 | 72 4e 75 6d 3b 0d 0d 09 |255...er|rNum;...|
|000006d0| 69 66 20 28 72 65 73 75 | 6c 74 43 6f 64 65 20 3d |if (resu|ltCode =|
|000006e0| 3d 20 6e 6f 45 72 72 29 | 20 7b 0d 09 09 72 65 74 |= noErr)| {...ret|
|000006f0| 75 72 6e 20 28 74 72 75 | 65 29 3b 0d 09 7d 20 65 |urn (tru|e);..} e|
|00000700| 6c 73 65 20 7b 0d 09 09 | 69 66 20 28 47 65 74 45 |lse {...|if (GetE|
|00000710| 72 72 6f 72 4d 65 73 73 | 61 67 65 20 28 72 65 73 |rrorMess|age (res|
|00000720| 75 6c 74 43 6f 64 65 2c | 20 6d 65 73 73 61 67 65 |ultCode,| message|
|00000730| 29 29 20 7b 0d 09 09 09 | 50 61 72 61 6d 54 65 78 |)) {....|ParamTex|
|00000740| 74 20 28 6d 65 73 73 61 | 67 65 2c 20 22 5c 70 22 |t (messa|ge, "\p"|
|00000750| 2c 20 22 5c 70 22 2c 20 | 22 5c 70 22 29 3b 0d 09 |, "\p", |"\p");..|
|00000760| 09 7d 20 65 6c 73 65 20 | 7b 20 2f 2a 67 65 6e 65 |.} else |{ /*gene|
|00000770| 72 69 63 20 6d 65 73 73 | 61 67 65 2a 2f 0d 09 09 |ric mess|age*/...|
|00000780| 09 69 66 20 28 21 47 65 | 74 45 72 72 6f 72 4d 65 |.if (!Ge|tErrorMe|
|00000790| 73 73 61 67 65 20 28 30 | 2c 20 6d 65 73 73 61 67 |ssage (0|, messag|
|000007a0| 65 29 29 20 7b 0d 09 09 | 09 09 42 6c 6f 63 6b 4d |e)) {...|..BlockM|
|000007b0| 6f 76 65 20 28 22 5c 70 | 4f 53 20 45 72 72 6f 72 |ove ("\p|OS Error|
|000007c0| 20 22 2c 20 6d 65 73 73 | 61 67 65 2c 20 31 30 29 | ", mess|age, 10)|
|000007d0| 3b 0d 09 09 09 7d 0d 09 | 09 09 4e 75 6d 54 6f 53 |;....}..|..NumToS|
|000007e0| 74 72 69 6e 67 20 28 72 | 65 73 75 6c 74 43 6f 64 |tring (r|esultCod|
|000007f0| 65 2c 20 65 72 72 4e 75 | 6d 29 3b 0d 09 09 09 50 |e, errNu|m);....P|
|00000800| 61 72 61 6d 54 65 78 74 | 20 28 6d 65 73 73 61 67 |aramText| (messag|
|00000810| 65 2c 20 65 72 72 4e 75 | 6d 2c 20 22 5c 70 22 2c |e, errNu|m, "\p",|
|00000820| 20 22 5c 70 22 29 3b 0d | 09 09 7d 0d 09 09 41 63 | "\p");.|..}...Ac|
|00000830| 6b 6e 6f 77 6c 65 64 67 | 65 20 28 49 4f 45 72 72 |knowledg|e (IOErr|
|00000840| 6f 72 49 44 29 3b 0d 09 | 09 65 72 72 6f 72 46 6c |orID);..|.errorFl|
|00000850| 61 67 20 3d 20 74 72 75 | 65 3b 0d 09 09 72 65 74 |ag = tru|e;...ret|
|00000860| 75 72 6e 20 28 66 61 6c | 73 65 29 3b 0d 09 7d 0d |urn (fal|se);..}.|
|00000870| 7d 20 2f 2a 43 68 65 63 | 6b 4f 53 2a 2f 0d 0d 23 |} /*Chec|kOS*/..#|
|00000880| 69 66 6e 64 65 66 20 54 | 48 49 4e 4b 5f 43 09 09 |ifndef T|HINK_C..|
|00000890| 09 2f 2a 4d 50 57 20 43 | 2a 2f 0d 73 74 61 74 69 |./*MPW C|*/.stati|
|000008a0| 63 20 53 74 72 69 6e 67 | 50 74 72 20 66 61 69 6c |c String|Ptr fail|
|000008b0| 4e 69 6c 52 73 72 63 54 | 65 78 74 20 3d 20 7b 22 |NilRsrcT|ext = {"|
|000008c0| 5c 70 53 6f 72 72 79 2c | 20 61 20 72 65 73 6f 75 |\pSorry,| a resou|
|000008d0| 72 63 65 20 6e 65 65 64 | 65 64 20 62 79 20 74 68 |rce need|ed by th|
|000008e0| 69 73 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |is appli|cation c|
|000008f0| 61 6e 6e 6f 74 20 62 65 | 20 66 6f 75 6e 64 2e 20 |annot be| found. |
|00000900| 43 6c 69 63 6b 20 74 68 | 65 20 6d 6f 75 73 65 20 |Click th|e mouse |
|00000910| 6f 72 20 70 72 65 73 73 | 20 61 6e 79 20 6b 65 79 |or press| any key|
|00000920| 20 74 6f 20 71 75 69 74 | 2e 22 7d 3b 0d 23 65 6c | to quit|."};.#el|
|00000930| 73 65 09 09 09 09 09 2f | 2a 54 48 49 4e 4b 20 43 |se...../|*THINK C|
|00000940| 2a 2f 0d 73 74 61 74 69 | 63 20 53 74 72 69 6e 67 |*/.stati|c String|
|00000950| 50 74 72 20 66 61 69 6c | 4e 69 6c 52 73 72 63 54 |Ptr fail|NilRsrcT|
|00000960| 65 78 74 20 3d 20 7b 22 | 5c 70 53 6f 72 72 79 2c |ext = {"|\pSorry,|
|00000970| 20 61 20 72 65 73 6f 75 | 72 63 65 20 6e 65 65 64 | a resou|rce need|
|00000980| 65 64 20 62 79 20 74 68 | 69 73 20 61 70 70 6c 69 |ed by th|is appli|
|00000990| 63 61 74 69 6f 6e 20 63 | 61 6e 6e 6f 74 20 62 65 |cation c|annot be|
|000009a0| 20 66 6f 75 6e 64 2e 20 | 54 48 49 4e 4b 20 43 20 | found. |THINK C |
|000009b0| 72 65 71 75 69 72 65 73 | 20 74 68 61 74 20 79 6f |requires| that yo|
|000009c0| 75 72 20 72 65 73 6f 75 | 72 63 65 20 66 69 6c 65 |ur resou|rce file|
|000009d0| 20 28 41 70 70 4d 61 6b | 65 72 20 64 6f 63 75 6d | (AppMak|er docum|
|000009e0| 65 6e 74 29 20 62 65 20 | 69 6e 20 74 68 65 20 73 |ent) be |in the s|
|000009f0| 61 6d 65 20 66 6f 6c 64 | 65 72 20 61 6e 64 20 68 |ame fold|er and h|
|00000a00| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 6e 61 6d |ave the |same nam|
|00000a10| 65 20 61 73 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |e as the| project|
|00000a20| 20 66 69 6c 65 20 77 69 | 74 68 20 5c 22 2e 72 73 | file wi|th \".rs|
|00000a30| 72 63 5c 22 20 61 70 70 | 65 6e 64 65 64 2e 20 43 |rc\" app|ended. C|
|00000a40| 6c 69 63 6b 20 74 68 65 | 20 6d 6f 75 73 65 20 6f |lick the| mouse o|
|00000a50| 72 20 70 72 65 73 73 20 | 61 6e 79 20 6b 65 79 20 |r press |any key |
|00000a60| 74 6f 20 71 75 69 74 2e | 22 7d 3b 0d 23 65 6e 64 |to quit.|"};.#end|
|00000a70| 69 66 0d 0d 2f 2a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |if../*--|--------|
|00000a80| 2a 2f 0d 2f 2a 20 49 66 | 20 72 65 73 6f 75 72 63 |*/./* If| resourc|
|00000a90| 65 20 3d 20 6e 69 6c 2c | 20 74 68 69 73 20 70 72 |e = nil,| this pr|
|00000aa0| 6f 63 65 64 75 72 65 20 | 70 75 74 73 20 75 70 20 |ocedure |puts up |
|00000ab0| 61 20 77 69 6e 64 6f 77 | 20 72 65 70 6f 72 74 69 |a window| reporti|
|00000ac0| 6e 67 20 74 68 61 74 20 | 61 20 72 65 73 6f 75 72 |ng that |a resour|
|00000ad0| 63 65 20 2a 2f 0d 2f 2a | 20 63 6f 75 6c 64 20 6e |ce */./*| could n|
|00000ae0| 6f 74 20 62 65 20 66 6f | 75 6e 64 2c 20 74 68 65 |ot be fo|und, the|
|00000af0| 6e 20 71 75 69 74 73 20 | 74 68 65 20 70 72 6f 67 |n quits |the prog|
|00000b00| 72 61 6d 2e 20 2a 2f 0d | 2f 2a 2d 2d 2d 2d 2d 2d |ram. */.|/*------|
|00000b10| 2d 2d 2d 2d 2a 2f 0d 76 | 6f 69 64 09 46 61 69 6c |----*/.v|oid.Fail|
|00000b20| 4e 69 6c 52 65 73 6f 75 | 72 63 65 09 28 48 61 6e |NilResou|rce.(Han|
|00000b30| 64 6c 65 09 09 09 72 65 | 73 6f 75 72 63 65 29 0d |dle...re|source).|
|00000b40| 7b 0d 09 52 65 63 74 09 | 09 09 77 69 6e 64 6f 77 |{..Rect.|..window|
|00000b50| 42 6f 75 6e 64 73 3b 09 | 09 2f 2a 20 67 6c 6f 62 |Bounds;.|./* glob|
|00000b60| 61 6c 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 20 2a |al coord|inates *|
|00000b70| 2f 0d 09 57 69 6e 64 6f | 77 50 74 72 09 09 77 69 |/..Windo|wPtr..wi|
|00000b80| 6e 64 6f 77 3b 0d 09 52 | 65 63 74 09 09 09 74 65 |ndow;..R|ect...te|
|00000b90| 78 74 42 6f 75 6e 64 73 | 3b 09 09 09 2f 2a 20 6c |xtBounds|;.../* l|
|00000ba0| 6f 63 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |ocal coo|rdinates|
|00000bb0| 20 2a 2f 0d 0d 09 69 66 | 20 28 72 65 73 6f 75 72 | */...if| (resour|
|00000bc0| 63 65 20 3d 3d 20 6e 69 | 6c 29 20 7b 0d 09 09 53 |ce == ni|l) {...S|
|00000bd0| 65 74 52 65 63 74 20 28 | 26 77 69 6e 64 6f 77 42 |etRect (|&windowB|
|00000be0| 6f 75 6e 64 73 2c 20 39 | 30 20 2f 2a 6c 65 66 74 |ounds, 9|0 /*left|
|00000bf0| 2a 2f 2c 20 37 30 20 2f | 2a 74 6f 70 2a 2f 2c 20 |*/, 70 /|*top*/, |
|00000c00| 34 32 30 20 2f 2a 72 69 | 67 68 74 2a 2f 2c 20 32 |420 /*ri|ght*/, 2|
|00000c10| 30 30 20 2f 2a 62 6f 74 | 74 6f 6d 2a 2f 29 3b 0d |00 /*bot|tom*/);.|
|00000c20| 09 09 77 69 6e 64 6f 77 | 20 3d 20 4e 65 77 57 69 |..window| = NewWi|
|00000c30| 6e 64 6f 77 20 28 6e 69 | 6c 20 2f 2a 77 53 74 6f |ndow (ni|l /*wSto|
|00000c40| 72 61 67 65 2a 2f 2c 20 | 26 77 69 6e 64 6f 77 42 |rage*/, |&windowB|
|00000c50| 6f 75 6e 64 73 2c 20 22 | 5c 70 22 20 2f 2a 74 69 |ounds, "|\p" /*ti|
|00000c60| 74 6c 65 2a 2f 2c 20 74 | 72 75 65 20 2f 2a 76 69 |tle*/, t|rue /*vi|
|00000c70| 73 46 6c 61 67 2a 2f 2c | 0d 09 09 09 09 09 09 09 |sFlag*/,|........|
|00000c80| 64 42 6f 78 50 72 6f 63 | 20 2f 2a 77 44 65 66 50 |dBoxProc| /*wDefP|
|00000c90| 72 6f 63 49 44 2a 2f 2c | 20 28 57 69 6e 64 6f 77 |rocID*/,| (Window|
|00000ca0| 50 74 72 29 2d 31 20 2f | 2a 62 65 68 69 6e 64 2a |Ptr)-1 /|*behind*|
|00000cb0| 2f 2c 0d 09 09 09 09 09 | 09 09 66 61 6c 73 65 20 |/,......|..false |
|00000cc0| 2f 2a 67 6f 41 77 61 79 | 46 6c 61 67 2a 2f 2c 20 |/*goAway|Flag*/, |
|00000cd0| 30 4c 20 2f 2a 72 65 66 | 43 6f 6e 2a 2f 29 3b 0d |0L /*ref|Con*/);.|
|00000ce0| 09 09 69 66 20 28 77 69 | 6e 64 6f 77 20 21 3d 20 |..if (wi|ndow != |
|00000cf0| 6e 69 6c 29 20 7b 0d 09 | 09 09 53 65 74 50 6f 72 |nil) {..|..SetPor|
|00000d00| 74 20 28 77 69 6e 64 6f | 77 29 3b 0d 09 09 09 49 |t (windo|w);....I|
|00000d10| 6e 69 74 43 75 72 73 6f | 72 20 28 29 3b 0d 09 09 |nitCurso|r ();...|
|00000d20| 09 53 65 74 52 65 63 74 | 20 28 26 74 65 78 74 42 |.SetRect| (&textB|
|00000d30| 6f 75 6e 64 73 2c 20 32 | 30 20 2f 2a 6c 65 66 74 |ounds, 2|0 /*left|
|00000d40| 2a 2f 2c 20 32 30 20 2f | 2a 74 6f 70 2a 2f 2c 20 |*/, 20 /|*top*/, |
|00000d50| 33 32 30 20 2f 2a 72 69 | 67 68 74 2a 2f 2c 20 31 |320 /*ri|ght*/, 1|
|00000d60| 32 30 20 2f 2a 62 6f 74 | 74 6f 6d 2a 2f 29 3b 0d |20 /*bot|tom*/);.|
|00000d70| 09 09 09 54 65 78 74 42 | 6f 78 20 28 26 28 66 61 |...TextB|ox (&(fa|
|00000d80| 69 6c 4e 69 6c 52 73 72 | 63 54 65 78 74 20 5b 31 |ilNilRsr|cText [1|
|00000d90| 5d 29 2c 20 66 61 69 6c | 4e 69 6c 52 73 72 63 54 |]), fail|NilRsrcT|
|00000da0| 65 78 74 20 5b 30 5d 2c | 20 26 74 65 78 74 42 6f |ext [0],| &textBo|
|00000db0| 75 6e 64 73 2c 20 74 65 | 4a 75 73 74 4c 65 66 74 |unds, te|JustLeft|
|00000dc0| 29 3b 0d 09 09 09 77 68 | 69 6c 65 20 28 21 47 65 |);....wh|ile (!Ge|
|00000dd0| 74 4e 65 78 74 45 76 65 | 6e 74 20 28 6d 44 6f 77 |tNextEve|nt (mDow|
|00000de0| 6e 4d 61 73 6b 20 2b 20 | 6b 65 79 44 6f 77 6e 4d |nMask + |keyDownM|
|00000df0| 61 73 6b 2c 20 26 63 75 | 72 45 76 65 6e 74 29 29 |ask, &cu|rEvent))|
|00000e00| 0d 09 09 09 09 3b 09 09 | 09 2f 2a 77 61 69 74 20 |.....;..|./*wait |
|00000e10| 66 6f 72 20 74 68 65 20 | 6e 65 78 74 20 6d 6f 75 |for the |next mou|
|00000e20| 73 65 44 6f 77 6e 20 6f | 72 20 6b 65 79 44 6f 77 |seDown o|r keyDow|
|00000e30| 6e 20 65 76 65 6e 74 2a | 2f 0d 09 09 09 44 69 73 |n event*|/....Dis|
|00000e40| 70 6f 73 65 57 69 6e 64 | 6f 77 20 28 77 69 6e 64 |poseWind|ow (wind|
|00000e50| 6f 77 29 3b 0d 09 09 7d | 20 65 6c 73 65 20 7b 09 |ow);...}| else {.|
|00000e60| 09 09 09 2f 2a 77 69 6e | 64 6f 77 20 3d 3d 20 6e |.../*win|dow == n|
|00000e70| 69 6c 2c 20 4e 65 77 57 | 69 6e 64 6f 77 20 6d 75 |il, NewW|indow mu|
|00000e80| 73 74 20 68 61 76 65 20 | 66 61 69 6c 65 64 2a 2f |st have |failed*/|
|00000e90| 0d 09 09 09 53 79 73 42 | 65 65 70 20 28 31 29 3b |....SysB|eep (1);|
|00000ea0| 0d 09 09 7d 0d 09 09 45 | 78 69 74 54 6f 53 68 65 |...}...E|xitToShe|
|00000eb0| 6c 6c 20 28 29 3b 0d 09 | 7d 20 2f 2a 20 6f 74 68 |ll ();..|} /* oth|
|00000ec0| 65 72 77 69 73 65 2c 20 | 72 65 73 6f 75 72 63 65 |erwise, |resource|
|00000ed0| 20 21 3d 20 6e 69 6c 2c | 20 64 6f 20 6e 6f 74 68 | != nil,| do noth|
|00000ee0| 69 6e 67 20 2a 2f 0d 7d | 20 2f 2a 46 61 69 6c 4e |ing */.}| /*FailN|
|00000ef0| 69 6c 52 65 73 6f 75 72 | 63 65 2a 2f 0d 0d 2f 2a |ilResour|ce*/../*|
|00000f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 42 6f 6f |--------|--*/.Boo|
|00000f10| 6c 65 61 6e 09 46 69 6c | 65 45 78 69 73 74 73 09 |lean.Fil|eExists.|
|00000f20| 28 53 74 72 32 35 35 09 | 09 09 66 4e 61 6d 65 2c |(Str255.|..fName,|
|00000f30| 0d 09 09 09 09 09 20 73 | 68 6f 72 74 09 09 09 76 |...... s|hort...v|
|00000f40| 52 65 66 4e 75 6d 29 0d | 7b 0d 09 46 49 6e 66 6f |RefNum).|{..FInfo|
|00000f50| 09 09 09 66 69 6c 65 49 | 6e 66 6f 3b 20 20 20 20 |...fileI|nfo; |
|00000f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f70| 20 20 20 20 20 20 20 20 | 20 20 20 0d 0d 09 72 65 | | ...re|
|00000f80| 74 75 72 6e 20 28 47 65 | 74 46 49 6e 66 6f 20 28 |turn (Ge|tFInfo (|
|00000f90| 66 4e 61 6d 65 2c 20 76 | 52 65 66 4e 75 6d 2c 20 |fName, v|RefNum, |
|00000fa0| 26 66 69 6c 65 49 6e 66 | 6f 29 20 3d 3d 20 6e 6f |&fileInf|o) == no|
|00000fb0| 45 72 72 29 3b 0d 7d 20 | 2f 2a 46 69 6c 65 45 78 |Err);.} |/*FileEx|
|00000fc0| 69 73 74 73 2a 2f 0d 20 | 0d 2f 2a 2d 2d 2d 2d 2d |ists*/. |./*-----|
|00000fd0| 2d 2d 2d 2d 2d 2a 2f 0d | 42 6f 6f 6c 65 61 6e 09 |-----*/.|Boolean.|
|00000fe0| 43 72 65 61 74 65 46 69 | 6c 65 09 28 53 46 52 65 |CreateFi|le.(SFRe|
|00000ff0| 70 6c 79 09 09 2a 73 66 | 49 6e 66 6f 2c 0d 09 09 |ply..*sf|Info,...|
|00001000| 09 09 09 20 53 74 72 32 | 35 35 09 09 09 70 72 6f |... Str2|55...pro|
|00001010| 6d 70 74 2c 0d 09 09 09 | 09 09 20 53 74 72 32 35 |mpt,....|.. Str25|
|00001020| 35 09 09 09 73 75 67 67 | 65 73 74 69 6f 6e 2c 0d |5...sugg|estion,.|
|00001030| 09 09 09 09 09 20 4f 53 | 54 79 70 65 09 09 09 63 |..... OS|Type...c|
|00001040| 72 65 61 74 6f 72 2c 0d | 09 09 09 09 09 20 4f 53 |reator,.|..... OS|
|00001050| 54 79 70 65 09 09 09 66 | 69 6c 65 54 79 70 65 29 |Type...f|ileType)|
|00001060| 0d 7b 0d 20 09 50 6f 69 | 6e 74 09 09 09 64 6c 67 |.{. .Poi|nt...dlg|
|00001070| 4f 72 69 67 69 6e 3b 20 | 20 20 20 20 20 20 20 20 |Origin; | |
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 20 20 20 20 20 20 0d 09 | 42 6f 6f 6c 65 61 6e 09 | ..|Boolean.|
|000010a0| 09 09 6f 6b 61 79 3b 0d | 09 0d 09 53 65 74 50 74 |..okay;.|...SetPt|
|000010b0| 20 20 20 20 20 28 26 64 | 6c 67 4f 72 69 67 69 6e | (&d|lgOrigin|
|000010c0| 2c 20 63 72 65 61 74 65 | 4c 65 66 74 2c 20 63 72 |, create|Left, cr|
|000010d0| 65 61 74 65 54 6f 70 29 | 3b 0d 20 20 20 20 53 46 |eateTop)|;. SF|
|000010e0| 50 75 74 46 69 6c 65 20 | 28 64 6c 67 4f 72 69 67 |PutFile |(dlgOrig|
|000010f0| 69 6e 2c 20 70 72 6f 6d | 70 74 2c 20 73 75 67 67 |in, prom|pt, sugg|
|00001100| 65 73 74 69 6f 6e 2c 20 | 4e 55 4c 4c 2c 20 73 66 |estion, |NULL, sf|
|00001110| 49 6e 66 6f 29 3b 0d 09 | 6f 6b 61 79 20 3d 20 73 |Info);..|okay = s|
|00001120| 66 49 6e 66 6f 2d 3e 67 | 6f 6f 64 3b 0d 09 69 66 |fInfo->g|ood;..if|
|00001130| 20 28 6f 6b 61 79 29 20 | 7b 0d 09 09 69 66 20 28 | (okay) |{...if (|
|00001140| 46 69 6c 65 45 78 69 73 | 74 73 20 28 73 66 49 6e |FileExis|ts (sfIn|
|00001150| 66 6f 2d 3e 66 4e 61 6d | 65 2c 20 73 66 49 6e 66 |fo->fNam|e, sfInf|
|00001160| 6f 2d 3e 76 52 65 66 4e | 75 6d 29 29 20 7b 0d 09 |o->vRefN|um)) {..|
|00001170| 09 09 6f 6b 61 79 20 3d | 20 43 68 65 63 6b 4f 53 |..okay =| CheckOS|
|00001180| 20 28 46 53 44 65 6c 65 | 74 65 20 28 73 66 49 6e | (FSDele|te (sfIn|
|00001190| 66 6f 2d 3e 66 4e 61 6d | 65 2c 20 73 66 49 6e 66 |fo->fNam|e, sfInf|
|000011a0| 6f 2d 3e 76 52 65 66 4e | 75 6d 29 29 3b 0d 09 09 |o->vRefN|um));...|
|000011b0| 7d 0d 09 7d 0d 09 69 66 | 20 28 6f 6b 61 79 29 20 |}..}..if| (okay) |
|000011c0| 7b 0d 09 09 6f 6b 61 79 | 20 3d 20 43 68 65 63 6b |{...okay| = Check|
|000011d0| 4f 53 20 28 43 72 65 61 | 74 65 20 28 73 66 49 6e |OS (Crea|te (sfIn|
|000011e0| 66 6f 2d 3e 66 4e 61 6d | 65 2c 20 73 66 49 6e 66 |fo->fNam|e, sfInf|
|000011f0| 6f 2d 3e 76 52 65 66 4e | 75 6d 2c 20 63 72 65 61 |o->vRefN|um, crea|
|00001200| 74 6f 72 2c 20 66 69 6c | 65 54 79 70 65 29 29 3b |tor, fil|eType));|
|00001210| 0d 09 7d 0d 09 72 65 74 | 75 72 6e 20 28 6f 6b 61 |..}..ret|urn (oka|
|00001220| 79 29 3b 0d 7d 20 2f 2a | 43 72 65 61 74 65 46 69 |y);.} /*|CreateFi|
|00001230| 6c 65 2a 2f 0d 20 0d 2f | 2a 2d 2d 2d 2d 2d 2d 2d |le*/. ./|*-------|
|00001240| 2d 2d 2d 2a 2f 0d 76 6f | 69 64 09 53 63 61 6c 65 |---*/.vo|id.Scale|
|00001250| 57 69 6e 64 6f 77 09 09 | 28 57 69 6e 64 6f 77 50 |Window..|(WindowP|
|00001260| 74 72 09 09 77 69 6e 64 | 6f 77 2c 0d 09 09 09 09 |tr..wind|ow,.....|
|00001270| 09 09 20 42 6f 6f 6c 65 | 61 6e 09 09 73 63 61 6c |.. Boole|an..scal|
|00001280| 65 53 69 7a 65 29 0d 7b | 0d 09 52 65 63 74 09 09 |eSize).{|..Rect..|
|00001290| 09 6e 65 77 42 6f 75 6e | 64 73 3b 0d 09 52 65 63 |.newBoun|ds;..Rec|
|000012a0| 74 09 09 09 6f 72 69 67 | 53 63 72 65 65 6e 3b 0d |t...orig|Screen;.|
|000012b0| 09 52 65 63 74 09 09 09 | 63 75 72 53 63 72 65 65 |.Rect...|curScree|
|000012c0| 6e 3b 0d 09 73 68 6f 72 | 74 09 09 09 68 65 69 67 |n;..shor|t...heig|
|000012d0| 68 74 3b 0d 09 73 68 6f | 72 74 09 09 09 77 69 64 |ht;..sho|rt...wid|
|000012e0| 74 68 3b 0d 0d 09 6e 65 | 77 42 6f 75 6e 64 73 20 |th;...ne|wBounds |
|000012f0| 3d 20 77 69 6e 64 6f 77 | 2d 3e 70 6f 72 74 52 65 |= window|->portRe|
|00001300| 63 74 3b 0d 20 20 20 20 | 4c 6f 63 61 6c 54 6f 47 |ct;. |LocalToG|
|00001310| 6c 6f 62 61 6c 20 28 26 | 74 6f 70 4c 65 66 74 20 |lobal (&|topLeft |
|00001320| 28 6e 65 77 42 6f 75 6e | 64 73 29 29 3b 20 0d 20 |(newBoun|ds)); . |
|00001330| 20 20 20 4c 6f 63 61 6c | 54 6f 47 6c 6f 62 61 6c | Local|ToGlobal|
|00001340| 20 28 26 62 6f 74 52 69 | 67 68 74 20 28 6e 65 77 | (&botRi|ght (new|
|00001350| 42 6f 75 6e 64 73 29 29 | 3b 0d 09 53 65 74 52 65 |Bounds))|;..SetRe|
|00001360| 63 74 20 28 26 6f 72 69 | 67 53 63 72 65 65 6e 2c |ct (&ori|gScreen,|
|00001370| 20 30 2c 20 32 30 2c 20 | 35 31 32 2c 20 33 34 32 | 0, 20, |512, 342|
|00001380| 29 3b 0d 09 63 75 72 53 | 63 72 65 65 6e 20 3d 20 |);..curS|creen = |
|00001390| 71 64 2e 73 63 72 65 65 | 6e 42 69 74 73 2e 62 6f |qd.scree|nBits.bo|
|000013a0| 75 6e 64 73 3b 0d 09 63 | 75 72 53 63 72 65 65 6e |unds;..c|urScreen|
|000013b0| 2e 74 6f 70 20 3d 20 47 | 65 74 4d 42 61 72 48 65 |.top = G|etMBarHe|
|000013c0| 69 67 68 74 20 28 29 3b | 0d 09 68 65 69 67 68 74 |ight ();|..height|
|000013d0| 20 3d 20 6e 65 77 42 6f | 75 6e 64 73 2e 62 6f 74 | = newBo|unds.bot|
|000013e0| 74 6f 6d 20 2d 20 6e 65 | 77 42 6f 75 6e 64 73 2e |tom - ne|wBounds.|
|000013f0| 74 6f 70 3b 0d 09 77 69 | 64 74 68 20 20 3d 20 6e |top;..wi|dth = n|
|00001400| 65 77 42 6f 75 6e 64 73 | 2e 72 69 67 68 74 20 20 |ewBounds|.right |
|00001410| 2d 20 6e 65 77 42 6f 75 | 6e 64 73 2e 6c 65 66 74 |- newBou|nds.left|
|00001420| 3b 0d 09 4d 61 70 52 65 | 63 74 20 28 26 6e 65 77 |;..MapRe|ct (&new|
|00001430| 42 6f 75 6e 64 73 2c 20 | 26 6f 72 69 67 53 63 72 |Bounds, |&origScr|
|00001440| 65 65 6e 2c 20 26 63 75 | 72 53 63 72 65 65 6e 29 |een, &cu|rScreen)|
|00001450| 3b 0d 09 69 66 20 28 73 | 63 61 6c 65 53 69 7a 65 |;..if (s|caleSize|
|00001460| 29 20 7b 0d 09 53 69 7a | 65 57 69 6e 64 6f 77 20 |) {..Siz|eWindow |
|00001470| 28 77 69 6e 64 6f 77 2c | 20 6e 65 77 42 6f 75 6e |(window,| newBoun|
|00001480| 64 73 2e 72 69 67 68 74 | 20 20 2d 20 6e 65 77 42 |ds.right| - newB|
|00001490| 6f 75 6e 64 73 2e 6c 65 | 66 74 2c 0d 09 09 09 09 |ounds.le|ft,.....|
|000014a0| 09 09 6e 65 77 42 6f 75 | 6e 64 73 2e 62 6f 74 74 |..newBou|nds.bott|
|000014b0| 6f 6d 20 2d 20 6e 65 77 | 42 6f 75 6e 64 73 2e 74 |om - new|Bounds.t|
|000014c0| 6f 70 2c 20 74 72 75 65 | 29 3b 0d 09 7d 20 65 6c |op, true|);..} el|
|000014d0| 73 65 20 7b 0d 09 09 6e | 65 77 42 6f 75 6e 64 73 |se {...n|ewBounds|
|000014e0| 2e 74 6f 70 20 20 3d 20 | 6e 65 77 42 6f 75 6e 64 |.top = |newBound|
|000014f0| 73 2e 62 6f 74 74 6f 6d | 20 2d 20 68 65 69 67 68 |s.bottom| - heigh|
|00001500| 74 3b 0d 09 09 6e 65 77 | 42 6f 75 6e 64 73 2e 6c |t;...new|Bounds.l|
|00001510| 65 66 74 20 3d 20 6e 65 | 77 42 6f 75 6e 64 73 2e |eft = ne|wBounds.|
|00001520| 72 69 67 68 74 20 20 2d | 20 77 69 64 74 68 3b 0d |right -| width;.|
|00001530| 09 7d 0d 09 4d 6f 76 65 | 57 69 6e 64 6f 77 20 28 |.}..Move|Window (|
|00001540| 77 69 6e 64 6f 77 2c 20 | 6e 65 77 42 6f 75 6e 64 |window, |newBound|
|00001550| 73 2e 6c 65 66 74 2c 20 | 6e 65 77 42 6f 75 6e 64 |s.left, |newBound|
|00001560| 73 2e 74 6f 70 2c 20 66 | 61 6c 73 65 29 3b 0d 7d |s.top, f|alse);.}|
|00001570| 20 2f 2a 53 63 61 6c 65 | 57 69 6e 64 6f 77 2a 2f | /*Scale|Window*/|
|00001580| 0d 20 0d 2f 2a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2a |. ./*---|-------*|
|00001590| 2f 0d 76 6f 69 64 09 44 | 72 61 77 43 6c 69 70 70 |/.void.D|rawClipp|
|000015a0| 65 64 47 72 6f 77 20 28 | 73 68 6f 72 74 09 09 09 |edGrow (|short...|
|000015b0| 78 2c 0d 09 09 09 09 09 | 09 20 73 68 6f 72 74 09 |x,......|. short.|
|000015c0| 09 09 79 29 0d 7b 0d 09 | 52 67 6e 48 61 6e 64 6c |..y).{..|RgnHandl|
|000015d0| 65 09 09 73 61 76 65 43 | 6c 69 70 3b 0d 09 52 65 |e..saveC|lip;..Re|
|000015e0| 63 74 09 09 09 67 72 6f | 77 52 65 63 74 3b 0d 09 |ct...gro|wRect;..|
|000015f0| 52 65 63 74 09 09 09 70 | 6f 72 74 52 65 63 74 3b |Rect...p|ortRect;|
|00001600| 0d 0d 09 73 61 76 65 43 | 6c 69 70 20 3d 20 4e 65 |...saveC|lip = Ne|
|00001610| 77 52 67 6e 20 28 29 3b | 0d 09 47 65 74 43 6c 69 |wRgn ();|..GetCli|
|00001620| 70 20 28 73 61 76 65 43 | 6c 69 70 29 3b 0d 09 70 |p (saveC|lip);..p|
|00001630| 6f 72 74 52 65 63 74 20 | 3d 20 71 64 2e 74 68 65 |ortRect |= qd.the|
|00001640| 50 6f 72 74 2d 3e 70 6f | 72 74 52 65 63 74 3b 0d |Port->po|rtRect;.|
|00001650| 09 69 66 20 28 78 20 3e | 3d 20 30 29 20 7b 0d 09 |.if (x >|= 0) {..|
|00001660| 09 78 20 3d 20 70 6f 72 | 74 52 65 63 74 2e 6c 65 |.x = por|tRect.le|
|00001670| 66 74 20 2b 20 78 3b 0d | 09 7d 20 65 6c 73 65 20 |ft + x;.|.} else |
|00001680| 7b 0d 09 09 78 20 3d 20 | 70 6f 72 74 52 65 63 74 |{...x = |portRect|
|00001690| 2e 72 69 67 68 74 20 2b | 20 78 3b 0d 09 7d 0d 09 |.right +| x;..}..|
|000016a0| 69 66 20 28 79 20 3e 3d | 20 30 29 20 7b 0d 09 09 |if (y >=| 0) {...|
|000016b0| 79 20 3d 20 70 6f 72 74 | 52 65 63 74 2e 74 6f 70 |y = port|Rect.top|
|000016c0| 20 2b 20 79 3b 0d 09 7d | 20 65 6c 73 65 20 7b 0d | + y;..}| else {.|
|000016d0| 09 09 79 20 3d 20 70 6f | 72 74 52 65 63 74 2e 62 |..y = po|rtRect.b|
|000016e0| 6f 74 74 6f 6d 20 2b 20 | 79 3b 0d 09 7d 0d 09 53 |ottom + |y;..}..S|
|000016f0| 65 74 52 65 63 74 20 28 | 26 67 72 6f 77 52 65 63 |etRect (|&growRec|
|00001700| 74 2c 20 78 2c 20 79 2c | 20 70 6f 72 74 52 65 63 |t, x, y,| portRec|
|00001710| 74 2e 72 69 67 68 74 2c | 20 70 6f 72 74 52 65 63 |t.right,| portRec|
|00001720| 74 2e 62 6f 74 74 6f 6d | 29 3b 0d 09 43 6c 69 70 |t.bottom|);..Clip|
|00001730| 52 65 63 74 20 28 26 67 | 72 6f 77 52 65 63 74 29 |Rect (&g|rowRect)|
|00001740| 3b 0d 09 44 72 61 77 47 | 72 6f 77 49 63 6f 6e 20 |;..DrawG|rowIcon |
|00001750| 28 71 64 2e 74 68 65 50 | 6f 72 74 29 3b 0d 09 53 |(qd.theP|ort);..S|
|00001760| 65 74 43 6c 69 70 20 28 | 73 61 76 65 43 6c 69 70 |etClip (|saveClip|
|00001770| 29 3b 0d 09 44 69 73 70 | 6f 73 65 52 67 6e 20 28 |);..Disp|oseRgn (|
|00001780| 73 61 76 65 43 6c 69 70 | 29 3b 0d 7d 20 2f 2a 44 |saveClip|);.} /*D|
|00001790| 72 61 77 43 6c 69 70 70 | 65 64 47 72 6f 77 2a 2f |rawClipp|edGrow*/|
|000017a0| 0d 0d 2f 2a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2a 2f |../*----|------*/|
|000017b0| 0d 76 6f 69 64 09 44 6f | 52 61 64 69 6f 4d 65 6e |.void.Do|RadioMen|
|000017c0| 75 09 09 28 4d 65 6e 75 | 48 61 6e 64 6c 65 09 09 |u..(Menu|Handle..|
|000017d0| 6d 65 6e 75 2c 0d 09 09 | 09 09 09 09 20 73 68 6f |menu,...|.... sho|
|000017e0| 72 74 09 09 09 66 69 72 | 73 74 49 74 65 6d 2c 0d |rt...fir|stItem,.|
|000017f0| 09 09 09 09 09 09 20 73 | 68 6f 72 74 09 09 09 6c |...... s|hort...l|
|00001800| 61 73 74 49 74 65 6d 2c | 0d 09 09 09 09 09 09 20 |astItem,|....... |
|00001810| 73 68 6f 72 74 09 09 09 | 69 74 65 6d 4e 72 29 0d |short...|itemNr).|
|00001820| 7b 0d 09 73 68 6f 72 74 | 09 09 09 69 3b 0d 09 0d |{..short|...i;...|
|00001830| 09 66 6f 72 20 28 69 20 | 3d 20 66 69 72 73 74 49 |.for (i |= firstI|
|00001840| 74 65 6d 3b 20 69 20 3c | 3d 20 6c 61 73 74 49 74 |tem; i <|= lastIt|
|00001850| 65 6d 3b 20 69 2b 2b 29 | 20 7b 0d 09 09 43 68 65 |em; i++)| {...Che|
|00001860| 63 6b 49 74 65 6d 20 28 | 6d 65 6e 75 2c 20 69 2c |ckItem (|menu, i,|
|00001870| 20 28 69 20 3d 3d 20 69 | 74 65 6d 4e 72 29 29 3b | (i == i|temNr));|
|00001880| 0d 09 7d 0d 7d 20 2f 2a | 44 6f 52 61 64 69 6f 4d |..}.} /*|DoRadioM|
|00001890| 65 6e 75 2a 2f 0d 0d 2f | 2a 2d 2d 2d 2d 2d 2d 2d |enu*/../|*-------|
|000018a0| 2d 2d 2d 2a 2f 0d 76 6f | 69 64 09 50 6c 61 79 53 |---*/.vo|id.PlayS|
|000018b0| 6f 75 6e 64 09 09 28 4d | 65 6e 75 48 61 6e 64 6c |ound..(M|enuHandl|
|000018c0| 65 09 09 73 6f 75 6e 64 | 73 4d 65 6e 75 2c 0d 09 |e..sound|sMenu,..|
|000018d0| 09 09 09 09 09 20 73 68 | 6f 72 74 09 09 09 69 74 |..... sh|ort...it|
|000018e0| 65 6d 4e 72 29 0d 7b 0d | 09 53 74 72 32 35 35 09 |emNr).{.|.Str255.|
|000018f0| 09 09 73 6f 75 6e 64 4e | 61 6d 65 3b 0d 09 48 61 |..soundN|ame;..Ha|
|00001900| 6e 64 6c 65 09 09 09 73 | 6f 75 6e 64 3b 0d 09 4f |ndle...s|ound;..O|
|00001910| 53 45 72 72 09 09 09 65 | 72 72 43 6f 64 65 3b 0d |SErr...e|rrCode;.|
|00001920| 0d 09 47 65 74 49 74 65 | 6d 20 28 73 6f 75 6e 64 |..GetIte|m (sound|
|00001930| 73 4d 65 6e 75 2c 20 69 | 74 65 6d 4e 72 2c 20 73 |sMenu, i|temNr, s|
|00001940| 6f 75 6e 64 4e 61 6d 65 | 29 3b 0d 09 73 6f 75 6e |oundName|);..soun|
|00001950| 64 20 3d 20 47 65 74 4e | 61 6d 65 64 52 65 73 6f |d = GetN|amedReso|
|00001960| 75 72 63 65 20 28 27 73 | 6e 64 20 27 2c 20 73 6f |urce ('s|nd ', so|
|00001970| 75 6e 64 4e 61 6d 65 29 | 3b 0d 09 69 66 20 28 73 |undName)|;..if (s|
|00001980| 6f 75 6e 64 20 21 3d 20 | 4e 55 4c 4c 29 20 7b 0d |ound != |NULL) {.|
|00001990| 09 09 65 72 72 43 6f 64 | 65 20 3d 20 53 6e 64 50 |..errCod|e = SndP|
|000019a0| 6c 61 79 20 28 4e 55 4c | 4c 2c 20 73 6f 75 6e 64 |lay (NUL|L, sound|
|000019b0| 2c 20 66 61 6c 73 65 29 | 3b 0d 09 7d 0d 7d 20 2f |, false)|;..}.} /|
|000019c0| 2a 50 6c 61 79 53 6f 75 | 6e 64 2a 2f 0d 0d 2f 2a |*PlaySou|nd*/../*|
|000019d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 2f 2a 20 |--------|--*/./* |
|000019e0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 72 6f |The foll|owing ro|
|000019f0| 75 74 69 6e 65 73 20 69 | 6d 70 6c 65 6d 65 6e 74 |utines i|mplement|
|00001a00| 20 61 20 6c 69 6e 6b 65 | 64 20 6c 69 73 74 20 6f | a linke|d list o|
|00001a10| 66 20 49 74 65 6d 73 2e | 2a 2f 0d 2f 2a 20 54 68 |f Items.|*/./* Th|
|00001a20| 65 73 65 20 72 6f 75 74 | 69 6e 65 73 20 65 78 70 |ese rout|ines exp|
|00001a30| 65 63 74 20 74 68 61 74 | 20 74 68 65 20 66 69 72 |ect that| the fir|
|00001a40| 73 74 20 66 69 65 6c 64 | 20 6f 66 20 65 76 65 72 |st field| of ever|
|00001a50| 79 20 69 74 65 6d 2a 2f | 0d 2f 2a 20 69 73 20 61 |y item*/|./* is a|
|00001a60| 20 70 6f 69 6e 74 65 72 | 20 28 48 61 6e 64 6c 65 | pointer| (Handle|
|00001a70| 29 20 74 6f 20 74 68 65 | 20 6e 65 78 74 20 69 74 |) to the| next it|
|00001a80| 65 6d 2e 20 54 68 65 79 | 20 6d 61 6b 65 20 6e 6f |em. They| make no|
|00001a90| 2a 2f 0d 2f 2a 20 61 73 | 73 75 6d 70 74 69 6f 6e |*/./* as|sumption|
|00001aa0| 73 20 61 62 6f 75 74 20 | 74 68 65 20 72 65 6d 61 |s about |the rema|
|00001ab0| 69 6e 64 65 72 20 6f 66 | 20 65 61 63 68 20 69 74 |inder of| each it|
|00001ac0| 65 6d 2e 2a 2f 0d 0d 2f | 2a 20 54 68 65 20 69 6d |em.*/../|* The im|
|00001ad0| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 68 61 70 |plementa|tion hap|
|00001ae0| 70 65 6e 73 20 74 6f 20 | 62 65 20 61 20 73 69 6e |pens to |be a sin|
|00001af0| 67 6c 79 20 6c 69 6e 6b | 65 64 20 6c 69 73 74 2e |gly link|ed list.|
|00001b00| 2a 2f 0d 2f 2a 20 49 74 | 20 69 73 20 6c 69 6e 6b |*/./* It| is link|
|00001b10| 65 64 20 63 69 72 63 75 | 6c 61 72 6c 79 20 77 69 |ed circu|larly wi|
|00001b20| 74 68 20 74 68 65 20 6c | 61 73 74 20 69 74 65 6d |th the l|ast item|
|00001b30| 20 70 6f 69 6e 74 69 6e | 67 2a 2f 0d 2f 2a 20 74 | pointin|g*/./* t|
|00001b40| 6f 20 74 68 65 20 66 69 | 72 73 74 20 69 74 65 6d |o the fi|rst item|
|00001b50| 2e 20 54 68 65 20 6c 69 | 73 74 48 65 61 64 20 70 |. The li|stHead p|
|00001b60| 6f 69 6e 74 73 20 74 6f | 20 74 68 65 2a 2f 0d 2f |oints to| the*/./|
|00001b70| 2a 20 6c 61 73 74 20 69 | 74 65 6d 2e 20 54 68 69 |* last i|tem. Thi|
|00001b80| 73 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |s implem|entation|
|00001b90| 20 70 72 6f 76 69 64 65 | 73 20 66 61 73 74 2a 2f | provide|s fast*/|
|00001ba0| 0d 2f 2a 20 61 63 63 65 | 73 73 20 74 6f 20 62 6f |./* acce|ss to bo|
|00001bb0| 74 68 20 74 68 65 20 68 | 65 61 64 20 61 6e 64 20 |th the h|ead and |
|00001bc0| 74 61 69 6c 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |tail of |the list|
|00001bd0| 2a 2f 0d 2f 2a 20 77 69 | 74 68 6f 75 74 20 74 68 |*/./* wi|thout th|
|00001be0| 65 20 65 78 74 72 61 20 | 73 70 61 63 65 20 6f 66 |e extra |space of|
|00001bf0| 20 61 20 64 6f 75 62 6c | 79 20 6c 69 6e 6b 65 64 | a doubl|y linked|
|00001c00| 20 6c 69 73 74 2e 2a 2f | 0d 0d 2f 2a 2d 2d 2d 2d | list.*/|../*----|
|00001c10| 2d 2d 2d 2d 2d 2d 2a 2f | 0d 76 6f 69 64 09 4c 69 |------*/|.void.Li|
|00001c20| 6e 6b 4c 61 73 74 09 28 | 48 61 6e 64 6c 65 09 09 |nkLast.(|Handle..|
|00001c30| 2a 6c 69 73 74 48 65 61 | 64 2c 0d 09 09 09 09 09 |*listHea|d,......|
|00001c40| 20 48 61 6e 64 6c 65 09 | 09 6e 65 77 49 74 65 6d | Handle.|.newItem|
|00001c50| 29 0d 7b 0d 09 4c 69 6e | 6b 65 64 49 74 65 6d 09 |).{..Lin|kedItem.|
|00001c60| 09 69 74 65 6d 3b 0d 09 | 4c 69 6e 6b 65 64 49 74 |.item;..|LinkedIt|
|00001c70| 65 6d 09 09 6c 61 73 74 | 3b 0d 0d 09 69 74 65 6d |em..last|;...item|
|00001c80| 20 3d 20 28 4c 69 6e 6b | 65 64 49 74 65 6d 29 20 | = (Link|edItem) |
|00001c90| 6e 65 77 49 74 65 6d 3b | 0d 09 69 66 20 28 2a 6c |newItem;|..if (*l|
|00001ca0| 69 73 74 48 65 61 64 20 | 3d 3d 20 4e 55 4c 4c 29 |istHead |== NULL)|
|00001cb0| 20 7b 0d 09 09 28 2a 2a | 69 74 65 6d 29 2e 6e 65 | {...(**|item).ne|
|00001cc0| 78 74 20 3d 20 69 74 65 | 6d 3b 0d 09 7d 20 65 6c |xt = ite|m;..} el|
|00001cd0| 73 65 20 7b 0d 09 09 6c | 61 73 74 20 3d 20 28 4c |se {...l|ast = (L|
|00001ce0| 69 6e 6b 65 64 49 74 65 | 6d 29 20 2a 6c 69 73 74 |inkedIte|m) *list|
|00001cf0| 48 65 61 64 3b 0d 09 09 | 28 2a 2a 69 74 65 6d 29 |Head;...|(**item)|
|00001d00| 2e 6e 65 78 74 20 3d 20 | 28 2a 2a 6c 61 73 74 29 |.next = |(**last)|
|00001d10| 2e 6e 65 78 74 3b 0d 09 | 09 28 2a 2a 6c 61 73 74 |.next;..|.(**last|
|00001d20| 29 2e 6e 65 78 74 20 3d | 20 69 74 65 6d 3b 0d 09 |).next =| item;..|
|00001d30| 7d 0d 09 2a 6c 69 73 74 | 48 65 61 64 20 3d 20 28 |}..*list|Head = (|
|00001d40| 48 61 6e 64 6c 65 29 20 | 69 74 65 6d 3b 0d 7d 20 |Handle) |item;.} |
|00001d50| 2f 2a 4c 69 6e 6b 4c 61 | 73 74 2a 2f 0d 0d 2f 2a |/*LinkLa|st*/../*|
|00001d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 48 61 6e |--------|--*/.Han|
|00001d70| 64 6c 65 09 47 65 74 4e | 74 68 09 09 28 48 61 6e |dle.GetN|th..(Han|
|00001d80| 64 6c 65 09 09 6c 69 73 | 74 48 65 61 64 2c 0d 09 |dle..lis|tHead,..|
|00001d90| 09 09 09 09 20 73 68 6f | 72 74 09 09 6e 75 6d 29 |.... sho|rt..num)|
|00001da0| 0d 7b 0d 09 4c 69 6e 6b | 65 64 49 74 65 6d 09 09 |.{..Link|edItem..|
|00001db0| 09 69 74 65 6d 3b 0d 09 | 73 68 6f 72 74 09 09 09 |.item;..|short...|
|00001dc0| 09 49 3b 0d 0d 09 69 74 | 65 6d 20 3d 20 4e 55 4c |.I;...it|em = NUL|
|00001dd0| 4c 3b 0d 09 69 66 20 28 | 6c 69 73 74 48 65 61 64 |L;..if (|listHead|
|00001de0| 20 21 3d 20 4e 55 4c 4c | 29 20 7b 0d 09 09 69 74 | != NULL|) {...it|
|00001df0| 65 6d 20 3d 20 28 4c 69 | 6e 6b 65 64 49 74 65 6d |em = (Li|nkedItem|
|00001e00| 29 20 6c 69 73 74 48 65 | 61 64 3b 0d 09 09 66 6f |) listHe|ad;...fo|
|00001e10| 72 20 28 49 20 3d 20 31 | 3b 20 49 20 3c 3d 20 6e |r (I = 1|; I <= n|
|00001e20| 75 6d 3b 20 49 2b 2b 29 | 20 7b 0d 09 09 09 69 74 |um; I++)| {....it|
|00001e30| 65 6d 20 3d 20 28 2a 2a | 69 74 65 6d 29 2e 6e 65 |em = (**|item).ne|
|00001e40| 78 74 3b 0d 09 09 7d 20 | 2f 2a 66 6f 72 2a 2f 0d |xt;...} |/*for*/.|
|00001e50| 09 7d 0d 09 72 65 74 75 | 72 6e 20 28 28 48 61 6e |.}..retu|rn ((Han|
|00001e60| 64 6c 65 29 20 69 74 65 | 6d 29 3b 0d 7d 20 2f 2a |dle) ite|m);.} /*|
|00001e70| 47 65 74 4e 74 68 2a 2f | 0d 0d 2f 2a 2d 2d 2d 2d |GetNth*/|../*----|
|00001e80| 2d 2d 2d 2d 2d 2d 2a 2f | 0d 48 61 6e 64 6c 65 09 |------*/|.Handle.|
|00001e90| 55 6e 6c 69 6e 6b 4e 74 | 68 09 28 48 61 6e 64 6c |UnlinkNt|h.(Handl|
|00001ea0| 65 09 09 2a 6c 69 73 74 | 48 65 61 64 2c 0d 09 09 |e..*list|Head,...|
|00001eb0| 09 09 09 20 73 68 6f 72 | 74 09 09 6e 75 6d 29 0d |... shor|t..num).|
|00001ec0| 7b 0d 09 4c 69 6e 6b 65 | 64 49 74 65 6d 09 09 09 |{..Linke|dItem...|
|00001ed0| 69 74 65 6d 3b 0d 09 4c | 69 6e 6b 65 64 49 74 65 |item;..L|inkedIte|
|00001ee0| 6d 09 09 09 70 72 65 76 | 3b 0d 09 73 68 6f 72 74 |m...prev|;..short|
|00001ef0| 09 09 09 09 49 3b 0d 0d | 09 69 74 65 6d 20 3d 20 |....I;..|.item = |
|00001f00| 4e 55 4c 4c 3b 0d 09 69 | 66 20 28 2a 6c 69 73 74 |NULL;..i|f (*list|
|00001f10| 48 65 61 64 20 21 3d 20 | 4e 55 4c 4c 29 20 7b 0d |Head != |NULL) {.|
|00001f20| 09 09 70 72 65 76 20 3d | 20 28 4c 69 6e 6b 65 64 |..prev =| (Linked|
|00001f30| 49 74 65 6d 29 20 2a 6c | 69 73 74 48 65 61 64 3b |Item) *l|istHead;|
|00001f40| 0d 09 09 66 6f 72 20 28 | 49 20 3d 20 31 3b 20 49 |...for (|I = 1; I|
|00001f50| 20 3c 3d 20 6e 75 6d 20 | 2d 20 31 3b 20 49 2b 2b | <= num |- 1; I++|
|00001f60| 29 20 7b 0d 09 09 09 70 | 72 65 76 20 3d 20 28 2a |) {....p|rev = (*|
|00001f70| 2a 70 72 65 76 29 2e 6e | 65 78 74 3b 0d 09 09 7d |*prev).n|ext;...}|
|00001f80| 20 2f 2a 66 6f 72 2a 2f | 0d 09 09 69 74 65 6d 20 | /*for*/|...item |
|00001f90| 3d 20 28 2a 2a 70 72 65 | 76 29 2e 6e 65 78 74 3b |= (**pre|v).next;|
|00001fa0| 0d 09 09 69 66 20 28 69 | 74 65 6d 20 3d 3d 20 70 |...if (i|tem == p|
|00001fb0| 72 65 76 29 20 7b 0d 09 | 09 09 2a 6c 69 73 74 48 |rev) {..|..*listH|
|00001fc0| 65 61 64 20 3d 20 4e 55 | 4c 4c 3b 0d 09 09 7d 20 |ead = NU|LL;...} |
|00001fd0| 65 6c 73 65 20 7b 0d 09 | 09 09 28 2a 2a 70 72 65 |else {..|..(**pre|
|00001fe0| 76 29 2e 6e 65 78 74 20 | 3d 20 28 2a 2a 69 74 65 |v).next |= (**ite|
|00001ff0| 6d 29 2e 6e 65 78 74 3b | 0d 09 09 09 69 66 20 28 |m).next;|....if (|
|00002000| 2a 6c 69 73 74 48 65 61 | 64 20 3d 3d 20 28 48 61 |*listHea|d == (Ha|
|00002010| 6e 64 6c 65 29 20 69 74 | 65 6d 29 20 7b 0d 09 09 |ndle) it|em) {...|
|00002020| 09 09 2a 6c 69 73 74 48 | 65 61 64 20 3d 20 28 48 |..*listH|ead = (H|
|00002030| 61 6e 64 6c 65 29 20 70 | 72 65 76 3b 0d 09 09 09 |andle) p|rev;....|
|00002040| 7d 0d 09 09 7d 0d 09 7d | 0d 09 72 65 74 75 72 6e |}...}..}|..return|
|00002050| 20 28 28 48 61 6e 64 6c | 65 29 20 69 74 65 6d 29 | ((Handl|e) item)|
|00002060| 3b 0d 7d 20 2f 2a 55 6e | 6c 69 6e 6b 4e 74 68 2a |;.} /*Un|linkNth*|
|00002070| 2f 0d 0d 2f 2a 20 4d 69 | 73 63 65 6c 6c 61 6e 79 |/../* Mi|scellany|
|00002080| 20 2a 2f 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 | */.....|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00002110| 10 05 4a 80 6d d8 5d 69 | 01 a8 95 d3 5d 66 01 a8 |..J.m.]i|....]f..|
|00002120| 95 2a 01 00 58 2b 67 01 | 60 20 11 4a 07 11 67 1c |.*..X+g.|` .J..g.|
|00002130| 0c 4d 69 73 63 65 6c 6c | 61 6e 79 2e 63 14 02 00 |.Miscell|any.c...|
|00002140| 00 00 54 45 58 54 4d 50 | 53 20 40 00 00 00 00 00 |..TEXTMP|S @.....|
|00002150| 00 00 54 45 58 54 4d 50 | 53 20 40 00 00 00 00 00 |..TEXTMP|S @.....|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 9f 7e af fa 00 00 | 00 00 00 00 01 ac 61 6c |...~....|......al|
|00002180| 69 73 6d 01 67 76 f8 02 | 04 fd 04 f1 8e 01 00 c4 |ism.gv..|........|
|00002190| 28 01 04 42 67 56 86 01 | 13 93 50 02 09 c2 2c 00 |(..BgV..|..P...,.|
|000021a0| f8 4b 01 27 10 6d 44 4b | 02 01 f4 67 14 f8 4b 01 |.K.'.mDK|...g..K.|
|000021b0| 01 f4 3f 02 60 22 2d 6d | 48 72 6b 01 00 9e 7f d7 |..?.`"-m|Hrk.....|
|000021c0| 01 00 36 72 6b 01 00 92 | 7f d7 e2 72 6b 01 00 86 |..6rk...|...rk...|
|000021d0| 51 01 06 a8 6c 72 87 52 | 49 01 fd 36 7a 72 6d 01 |Q...lr.R|I..6zrm.|
|000021e0| 60 6a 51 fc e2 01 22 53 | 13 20 29 00 16 d0 88 27 |`jQ..."S|. )....'|
|000021f0| 91 5a 5b 57 5f 90 50 01 | 02 b2 51 12 df a8 00 16 |.Z[W_.P.|..Q.....|
|00002200| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 6e 79 2e |...H..Mo|naco.ny.|
|00002210| 63 20 2a 2f 0d 0d 23 69 | 6e 63 6c 75 64 65 20 3c |c */..#i|nclude <|
|00002220| 54 79 70 65 73 2e 00 06 | 00 04 00 3b 00 0d 01 98 |Types...|...;....|
|00002230| 02 48 00 3b 00 0d 01 98 | 02 48 a5 9a 06 a1 00 00 |.H.;....|.H......|
|00002240| 0c e1 00 00 0c e1 00 00 | 0a 56 01 00 00 00 00 1e |........|.V......|
|00002250| 00 3b 00 0d 01 98 02 48 | 00 3b 00 0d 01 98 02 48 |.;.....H|.;.....H|
|00002260| 00 00 0a 56 00 00 00 00 | 00 00 00 00 00 00 00 00 |...V....|........|
|00002270| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 45 |.....n..|.n...>.E|
|00002280| 62 54 08 16 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |bT......|.>..MPSR|
|00002290| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 03 f0 ff ff 00 00 00 4c | 00 47 61 50 00 00 00 00 |.......L|.GaP....|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+