home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Updaters / WhiteCap 3.2.2.sea / WhiteCap 3.2.2 / WhiteCap Source / WhiteCap MooV.cpp < prev    next >
MacBinary  |  1999-10-16  |  4.3 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: WhiteCap MooV.cpp

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Oct 16 04:24:05 1999, modified Sat Oct 16 04:24:05 1999, creator 'CWIE', type ASCII, 3692 bytes "WhiteCap MooV.cpp" , at 0xeec 410 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
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 57 68 69 74 65 43 | 61 70 20 4d 6f 6f 56 2e |..WhiteC|ap MooV.|
|00000010| 63 70 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cpp.....|........|
|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 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0e 6c 00 | 00 01 9a b4 2d e6 a5 b4 |......l.|....-...|
|00000060| 2d e6 a5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |-.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a2 a6 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 69 6f 73 74 72 65 |#include| <iostre|
|00000090| 61 6d 3e 0d 23 69 6e 63 | 6c 75 64 65 20 22 45 47 |am>.#inc|lude "EG|
|000000a0| 4f 53 55 74 69 6c 73 2e | 68 22 0d 23 69 6e 63 6c |OSUtils.|h".#incl|
|000000b0| 75 64 65 20 22 57 68 69 | 74 65 43 61 70 2e 68 22 |ude "Whi|teCap.h"|
|000000c0| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 3c 4f 53 55 74 |..#inclu|de <OSUt|
|000000d0| 69 6c 73 2e 68 3e 0d 0d | 0d 0d 23 69 66 20 4d 41 |ils.h>..|..#if MA|
|000000e0| 43 41 4d 50 0d 23 69 6e | 63 6c 75 64 65 20 22 4d |CAMP.#in|clude "M|
|000000f0| 61 63 41 4d 50 5f 56 69 | 73 75 61 6c 2e 68 22 0d |acAMP_Vi|sual.h".|
|00000100| 0d 56 50 49 6e 66 6f 42 | 6c 6f 63 6b 20 67 50 6c |.VPInfoB|lock gPl|
|00000110| 75 67 49 6e 66 6f 20 3d | 0d 7b 0d 09 56 50 5f 49 |ugInfo =|.{..VP_I|
|00000120| 4e 46 4f 42 4c 4f 43 4b | 5f 48 45 41 44 45 52 28 |NFOBLOCK|_HEADER(|
|00000130| 20 30 2c 20 30 29 2c 0d | 0d 09 22 5c 70 22 2c 0d | 0, 0),.|.."\p",.|
|00000140| 09 6e 69 6c 2c 0d 09 6e | 69 6c 2c 0d 09 6e 69 6c |.nil,..n|il,..nil|
|00000150| 2c 09 09 09 09 2f 2f 20 | 77 65 20 64 6f 6e 27 74 |,....// |we don't|
|00000160| 20 69 64 6c 65 0d 09 6e | 69 6c 2c 0d 09 6e 69 6c | idle..n|il,..nil|
|00000170| 2c 0d 09 6e 69 6c 2c 0d | 09 0d 09 6e 69 6c 2c 09 |,..nil,.|...nil,.|
|00000180| 09 09 2f 2f 20 77 65 20 | 64 6f 6e 27 74 20 77 61 |..// we |don't wa|
|00000190| 6e 74 20 6b 65 79 64 6f | 77 6e 73 2e 2e 0d 09 6e |nt keydo|wns....n|
|000001a0| 69 6c 2c 09 09 2f 2f 20 | 2e 2e 2e 61 6e 64 20 65 |il,..// |...and e|
|000001b0| 76 65 6e 74 73 0d 09 6e | 69 6c 2c 0d 09 6e 69 6c |vents..n|il,..nil|
|000001c0| 2c 09 09 09 09 2f 2f 20 | 77 65 20 68 61 76 65 20 |,....// |we have |
|000001d0| 6e 6f 20 73 65 74 74 69 | 6e 67 73 0d 09 6e 69 6c |no setti|ngs..nil|
|000001e0| 2c 0d 09 6e 69 6c 2c 0d | 09 0d 09 2f 2f 20 4e 69 |,..nil,.|...// Ni|
|000001f0| 66 74 79 20 6d 61 63 72 | 6f 20 74 6f 20 73 65 74 |fty macr|o to set|
|00000200| 20 61 6c 6c 20 74 68 65 | 73 65 20 27 72 65 73 65 | all the|se 'rese|
|00000210| 72 76 65 64 27 20 76 61 | 6c 75 65 73 20 66 6f 72 |rved' va|lues for|
|00000220| 20 75 73 0d 09 56 50 5f | 49 4e 46 4f 42 4c 4f 43 | us..VP_|INFOBLOC|
|00000230| 4b 5f 46 4f 4f 54 45 52 | 0d 7d 3b 0d 0d 23 65 6e |K_FOOTER|.};..#en|
|00000240| 64 69 66 0d 0d 0d 75 73 | 69 6e 67 20 6e 61 6d 65 |dif...us|ing name|
|00000250| 73 70 61 63 65 20 73 74 | 64 3b 20 20 2f 2f 69 6e |space st|d; //in|
|00000260| 74 72 6f 64 75 63 65 73 | 20 6e 61 6d 65 73 70 61 |troduces| namespa|
|00000270| 63 65 20 73 74 64 0d 0d | 0d 69 6e 74 20 6d 61 69 |ce std..|.int mai|
|00000280| 6e 28 29 0d 7b 09 0d 09 | 63 68 61 72 20 63 5b 20 |n().{...|char c[ |
|00000290| 31 30 20 5d 3b 0d 09 62 | 6f 6f 6c 20 6f 6b 3b 0d |10 ];..b|ool ok;.|
|000002a0| 09 6c 6f 6e 67 20 69 6d | 70 6f 72 74 4e 75 6d 42 |.long im|portNumB|
|000002b0| 69 6e 73 2c 20 78 2c 20 | 79 3b 0d 09 43 45 67 46 |ins, x, |y;..CEgF|
|000002c0| 69 6c 65 53 70 65 63 20 | 73 70 65 63 3b 0d 09 43 |ileSpec |spec;..C|
|000002d0| 45 67 49 46 69 6c 65 20 | 69 46 69 6c 65 3b 0d 09 |EgIFile |iFile;..|
|000002e0| 55 74 69 6c 53 74 72 09 | 73 74 72 3b 0d 09 57 68 |UtilStr.|str;..Wh|
|000002f0| 69 74 65 43 61 70 2a 20 | 57 43 3b 0d 09 57 69 6e |iteCap* |WC;..Win|
|00000300| 64 6f 77 50 74 72 20 77 | 69 6e 64 3b 0d 09 52 65 |dowPtr w|ind;..Re|
|00000310| 63 74 20 72 3b 0d 09 0d | 09 2f 2f 20 50 72 69 6e |ct r;...|.// Prin|
|00000320| 74 20 73 6f 6d 65 20 68 | 6f 77 2d 74 6f 20 69 6e |t some h|ow-to in|
|00000330| 66 6f 2e 2e 2e 0d 09 63 | 6f 75 74 20 3c 3c 20 22 |fo.....c|out << "|
|00000340| 54 68 69 73 20 75 74 69 | 6c 69 74 79 20 61 63 63 |This uti|lity acc|
|00000350| 65 70 74 73 20 61 20 63 | 61 70 74 75 72 65 20 66 |epts a c|apture f|
|00000360| 69 6c 65 20 73 61 76 65 | 64 20 62 79 20 57 68 69 |ile save|d by Whi|
|00000370| 74 65 43 61 70 2e 20 20 | 54 6f 20 6d 61 6b 65 20 |teCap. |To make |
|00000380| 6f 66 20 6d 6f 76 69 65 | 20 6f 66 20 61 20 57 68 |of movie| of a Wh|
|00000390| 69 74 65 43 61 70 20 63 | 6c 69 70 3a 20 22 20 3c |iteCap c|lip: " <|
|000003a0| 3c 20 65 6e 64 6c 3b 0d | 09 63 6f 75 74 20 3c 3c |< endl;.|.cout <<|
|000003b0| 20 22 31 29 20 20 4f 70 | 65 6e 20 74 68 65 20 57 | "1) Op|en the W|
|000003c0| 68 69 74 65 43 61 70 20 | 50 72 65 66 65 6e 63 65 |hiteCap |Prefence|
|000003d0| 73 20 66 69 6c 65 20 28 | 69 6e 20 79 6f 75 72 20 |s file (|in your |
|000003e0| 50 72 65 66 65 72 65 6e | 63 65 73 20 66 6f 6c 64 |Preferen|ces fold|
|000003f0| 65 72 29 22 20 3c 3c 20 | 65 6e 64 6c 3b 0d 09 63 |er)" << |endl;..c|
|00000400| 6f 75 74 20 3c 3c 20 22 | 32 29 20 20 53 65 74 20 |out << "|2) Set |
|00000410| 74 68 65 20 27 43 61 70 | 74 27 20 70 61 72 61 6d |the 'Cap|t' param|
|00000420| 65 74 65 72 20 74 6f 20 | 31 20 61 6e 64 20 73 61 |eter to |1 and sa|
|00000430| 76 65 20 74 68 65 20 63 | 68 61 6e 67 65 73 2e 22 |ve the c|hanges."|
|00000440| 20 3c 3c 20 65 6e 64 6c | 3b 0d 09 63 6f 75 74 20 | << endl|;..cout |
|00000450| 3c 3c 20 22 33 29 20 20 | 52 75 6e 20 57 68 69 74 |<< "3) |Run Whit|
|00000460| 65 43 61 70 20 28 69 74 | 20 73 68 6f 75 6c 64 20 |eCap (it| should |
|00000470| 73 61 79 20 27 43 61 70 | 74 75 72 69 6e 67 27 29 |say 'Cap|turing')|
|00000480| 2e 20 20 43 68 61 6e 67 | 65 20 63 6f 6e 66 69 67 |. Chang|e config|
|00000490| 73 20 61 73 20 69 66 20 | 57 68 69 74 65 43 61 70 |s as if |WhiteCap|
|000004a0| 20 77 61 73 20 72 75 6e | 6e 69 6e 67 20 6e 6f 72 | was run|ning nor|
|000004b0| 6d 61 6c 6c 79 2d 2d 69 | 74 20 77 69 6c 6c 20 62 |mally--i|t will b|
|000004c0| 65 20 72 65 63 6f 72 64 | 69 6e 67 20 61 6c 6c 20 |e record|ing all |
|000004d0| 74 68 65 20 64 61 74 61 | 20 69 74 20 6e 65 65 64 |the data| it need|
|000004e0| 73 20 74 6f 20 64 69 73 | 6b 2e 22 20 3c 3c 20 65 |s to dis|k." << e|
|000004f0| 6e 64 6c 3b 0d 09 63 6f | 75 74 20 3c 3c 20 22 34 |ndl;..co|ut << "4|
|00000500| 29 20 20 57 68 65 6e 20 | 79 6f 75 20 63 6c 6f 73 |) When |you clos|
|00000510| 65 20 57 68 69 74 65 43 | 61 70 2c 20 69 74 20 77 |e WhiteC|ap, it w|
|00000520| 69 6c 6c 20 66 6c 75 73 | 68 20 61 6c 6c 20 69 74 |ill flus|h all it|
|00000530| 73 20 72 65 63 6f 72 64 | 65 64 20 64 61 74 61 20 |s record|ed data |
|00000540| 74 6f 20 74 68 65 20 66 | 69 6c 65 20 27 57 68 69 |to the f|ile 'Whi|
|00000550| 74 65 43 61 70 20 43 61 | 70 74 75 72 65 27 22 20 |teCap Ca|pture'" |
|00000560| 3c 3c 20 65 6e 64 6c 3b | 0d 09 63 6f 75 74 20 3c |<< endl;|..cout <|
|00000570| 3c 20 22 35 29 20 20 52 | 75 6e 20 74 68 69 73 20 |< "5) R|un this |
|00000580| 70 72 6f 67 72 61 6d 20 | 61 6e 64 20 63 72 65 61 |program |and crea|
|00000590| 74 65 20 61 20 50 49 43 | 54 20 73 65 71 75 65 6e |te a PIC|T sequen|
|000005a0| 63 65 2e 20 20 28 54 68 | 65 20 64 65 70 74 68 20 |ce. (Th|e depth |
|000005b0| 6f 66 20 74 68 65 20 73 | 65 71 75 65 6e 63 65 20 |of the s|equence |
|000005c0| 69 73 20 77 68 61 74 65 | 76 65 72 20 79 6f 75 72 |is whate|ver your|
|000005d0| 20 6d 6f 6e 69 74 6f 72 | 20 64 65 70 74 68 20 69 | monitor| depth i|
|000005e0| 73 20 77 68 65 6e 20 79 | 6f 75 20 72 75 6e 20 74 |s when y|ou run t|
|000005f0| 68 69 73 20 75 74 69 6c | 69 74 79 29 22 20 3c 3c |his util|ity)" <<|
|00000600| 20 65 6e 64 6c 3b 0d 09 | 63 6f 75 74 20 3c 3c 20 | endl;..|cout << |
|00000610| 22 36 29 20 20 49 6d 70 | 6f 72 74 20 74 68 69 73 |"6) Imp|ort this|
|00000620| 20 73 65 71 75 65 6e 63 | 65 20 69 6e 20 4d 6f 6f | sequenc|e in Moo|
|00000630| 56 65 72 20 61 6e 64 20 | 79 6f 75 27 6c 6c 20 62 |Ver and |you'll b|
|00000640| 65 20 61 62 6c 65 20 74 | 6f 20 6f 75 74 70 75 74 |e able t|o output|
|00000650| 20 61 20 71 75 69 63 6b | 74 69 6d 65 20 6d 6f 76 | a quick|time mov|
|00000660| 69 65 2e 22 20 3c 3c 20 | 65 6e 64 6c 20 3c 3c 20 |ie." << |endl << |
|00000670| 65 6e 64 6c 3b 0d 09 0d | 09 2f 2f 20 43 61 6c 6c |endl;...|.// Call|
|00000680| 20 67 6c 6f 62 61 6c 20 | 69 6e 69 74 73 2f 73 74 | global |inits/st|
|00000690| 61 72 74 75 70 73 2e 2e | 2e 0d 09 45 67 4f 53 55 |artups..|...EgOSU|
|000006a0| 74 69 6c 73 3a 3a 49 6e | 69 74 69 61 6c 69 7a 65 |tils::In|itialize|
|000006b0| 28 29 3b 0d 09 50 69 78 | 50 6f 72 74 3a 3a 53 74 |();..Pix|Port::St|
|000006c0| 61 72 74 75 70 28 29 3b | 0d 09 43 45 67 46 69 6c |artup();|..CEgFil|
|000006d0| 65 53 70 65 63 20 66 6f | 6c 64 65 72 3b 0d 09 66 |eSpec fo|lder;..f|
|000006e0| 6f 6c 64 65 72 2e 41 73 | 73 69 67 6e 46 6f 6c 64 |older.As|signFold|
|000006f0| 65 72 28 20 22 57 68 69 | 74 65 43 61 70 20 43 6f |er( "Whi|teCap Co|
|00000700| 6e 66 69 67 73 22 20 29 | 3b 0d 09 57 43 20 3d 20 |nfigs" )|;..WC = |
|00000710| 6e 65 77 20 57 68 69 74 | 65 43 61 70 28 20 66 6f |new Whit|eCap( fo|
|00000720| 6c 64 65 72 20 29 3b 0d | 09 77 69 6e 64 20 3d 20 |lder );.|.wind = |
|00000730| 3a 3a 4e 65 77 43 57 69 | 6e 64 6f 77 28 20 4e 55 |::NewCWi|ndow( NU|
|00000740| 4c 4c 2c 20 26 72 2c 20 | 22 5c 70 57 68 69 74 65 |LL, &r, |"\pWhite|
|00000750| 43 61 70 22 2c 20 66 61 | 6c 73 65 2c 20 70 6c 61 |Cap", fa|lse, pla|
|00000760| 69 6e 44 42 6f 78 2c 09 | 28 57 69 6e 64 6f 77 50 |inDBox,.|(WindowP|
|00000770| 74 72 29 2d 31 2c 20 74 | 72 75 65 2c 20 4e 55 4c |tr)-1, t|rue, NUL|
|00000780| 4c 20 29 3b 0d 09 57 43 | 20 2d 3e 20 53 65 74 57 |L );..WC| -> SetW|
|00000790| 69 6e 50 6f 72 74 28 20 | 77 69 6e 64 20 29 3b 0d |inPort( |wind );.|
|000007a0| 0d 09 63 6f 75 74 20 3c | 3c 20 22 50 72 65 73 73 |..cout <|< "Press|
|000007b0| 20 72 65 74 75 72 6e 20 | 74 6f 20 6c 6f 61 64 20 | return |to load |
|000007c0| 61 20 57 68 69 74 65 43 | 61 70 20 43 61 70 74 75 |a WhiteC|ap Captu|
|000007d0| 72 65 20 66 69 6c 65 2e | 2e 2e 22 3b 0d 09 47 65 |re file.|..";..Ge|
|000007e0| 74 44 61 74 65 54 69 6d | 65 28 20 28 75 6e 73 69 |tDateTim|e( (unsi|
|000007f0| 67 6e 65 64 20 6c 6f 6e | 67 2a 29 20 26 71 64 2e |gned lon|g*) &qd.|
|00000800| 72 61 6e 64 53 65 65 64 | 20 29 3b 0d 09 63 69 6e |randSeed| );..cin|
|00000810| 20 3e 3e 20 63 3b 0d 0d | 09 6f 6b 20 3d 20 45 67 | >> c;..|.ok = Eg|
|00000820| 4f 53 55 74 69 6c 73 3a | 3a 41 73 6b 4f 70 65 6e |OSUtils:|:AskOpen|
|00000830| 28 20 4e 55 4c 4c 2c 20 | 73 70 65 63 2c 20 63 57 |( NULL, |spec, cW|
|00000840| 43 5f 43 61 70 74 75 72 | 65 54 79 70 65 20 29 3b |C_Captur|eType );|
|00000850| 0d 09 69 66 20 28 20 6f | 6b 20 29 20 7b 0d 09 09 |..if ( o|k ) {...|
|00000860| 69 46 69 6c 65 2e 6f 70 | 65 6e 28 20 26 73 70 65 |iFile.op|en( &spe|
|00000870| 63 20 29 3b 0d 09 09 69 | 66 20 28 20 69 46 69 6c |c );...i|f ( iFil|
|00000880| 65 2e 6e 6f 45 72 72 28 | 29 20 29 20 7b 0d 09 09 |e.noErr(|) ) {...|
|00000890| 09 6f 6b 20 3d 20 66 61 | 6c 73 65 3b 0d 09 09 09 |.ok = fa|lse;....|
|000008a0| 0d 09 09 09 69 66 20 28 | 20 69 46 69 6c 65 2e 47 |....if (| iFile.G|
|000008b0| 65 74 4c 6f 6e 67 28 29 | 20 3d 3d 20 28 6c 6f 6e |etLong()| == (lon|
|000008c0| 67 29 20 63 57 68 69 74 | 65 43 61 70 49 44 20 29 |g) cWhit|eCapID )|
|000008d0| 20 7b 0d 09 09 09 09 69 | 66 20 28 20 69 46 69 6c | {.....i|f ( iFil|
|000008e0| 65 2e 47 65 74 4c 6f 6e | 67 28 29 20 3d 3d 20 57 |e.GetLon|g() == W|
|000008f0| 48 49 54 45 43 41 50 5f | 43 4f 4d 50 41 54 5f 56 |HITECAP_|COMPAT_V|
|00000900| 45 52 53 49 4f 4e 20 29 | 20 7b 0d 09 09 09 09 09 |ERSION )| {......|
|00000910| 69 6d 70 6f 72 74 4e 75 | 6d 42 69 6e 73 20 3d 20 |importNu|mBins = |
|00000920| 69 46 69 6c 65 2e 47 65 | 74 4c 6f 6e 67 28 29 3b |iFile.Ge|tLong();|
|00000930| 0d 09 09 09 09 09 6f 6b | 20 3d 20 69 6d 70 6f 72 |......ok| = impor|
|00000940| 74 4e 75 6d 42 69 6e 73 | 20 3d 3d 20 4e 55 4d 5f |tNumBins| == NUM_|
|00000950| 53 41 4d 50 4c 45 5f 42 | 49 4e 53 3b 0d 09 09 09 |SAMPLE_B|INS;....|
|00000960| 09 7d 0d 09 09 09 7d 0d | 09 09 09 09 09 09 0d 09 |.}....}.|........|
|00000970| 09 09 69 66 20 28 20 6f | 6b 20 29 20 7b 0d 09 09 |..if ( o|k ) {...|
|00000980| 09 09 0d 09 09 09 09 63 | 6f 75 74 20 3c 3c 20 22 |.......c|out << "|
|00000990| 45 6e 74 65 72 20 73 65 | 71 75 65 6e 63 65 20 77 |Enter se|quence w|
|000009a0| 69 64 74 68 20 28 69 6e | 20 70 69 78 65 6c 73 29 |idth (in| pixels)|
|000009b0| 20 2d 2d 3e 20 22 3b 0d | 09 09 09 09 63 69 6e 20 | --> ";.|....cin |
|000009c0| 3e 3e 20 78 3b 20 0d 09 | 09 09 09 69 66 20 28 20 |>> x; ..|...if ( |
|000009d0| 78 20 3c 20 36 34 20 29 | 0d 09 09 09 09 09 78 20 |x < 64 )|......x |
|000009e0| 3d 20 36 34 3b 0d 09 09 | 09 09 63 6f 75 74 20 3c |= 64;...|..cout <|
|000009f0| 3c 20 65 6e 64 6c 20 3c | 3c 20 22 45 6e 74 65 72 |< endl <|< "Enter|
|00000a00| 20 73 65 71 75 65 6e 63 | 65 20 68 65 69 67 68 74 | sequenc|e height|
|00000a10| 20 28 69 6e 20 70 69 78 | 65 6c 73 29 20 2d 2d 3e | (in pix|els) -->|
|00000a20| 20 22 3b 0d 09 09 09 09 | 63 69 6e 20 3e 3e 20 79 | ";.....|cin >> y|
|00000a30| 3b 0d 09 09 09 09 69 66 | 20 28 20 79 20 3c 20 36 |;.....if| ( y < 6|
|00000a40| 34 20 29 0d 09 09 09 09 | 09 79 20 3d 20 36 34 3b |4 ).....|.y = 64;|
|00000a50| 0d 0d 09 09 09 09 2f 2f | 20 52 65 73 69 7a 65 20 |......//| Resize |
|00000a60| 77 68 69 74 65 63 61 70 | 27 73 20 77 69 6e 64 6f |whitecap|'s windo|
|00000a70| 77 2e 2e 2e 0d 09 09 09 | 09 57 43 20 2d 3e 20 47 |w.......|.WC -> G|
|00000a80| 65 74 57 69 6e 52 65 63 | 74 28 20 72 20 29 3b 0d |etWinRec|t( r );.|
|00000a90| 09 09 09 09 72 2e 72 69 | 67 68 74 20 09 3d 20 72 |....r.ri|ght .= r|
|00000aa0| 2e 6c 65 66 74 20 2b 20 | 78 3b 0d 09 09 09 09 72 |.left + |x;.....r|
|00000ab0| 2e 62 6f 74 74 6f 6d 09 | 3d 20 72 2e 74 6f 70 20 |.bottom.|= r.top |
|00000ac0| 2b 20 79 3b 0d 09 09 09 | 09 57 43 20 2d 3e 20 53 |+ y;....|.WC -> S|
|00000ad0| 65 74 57 69 6e 50 6f 72 | 74 28 20 77 69 6e 64 2c |etWinPor|t( wind,|
|00000ae0| 20 26 72 20 29 3b 0d 0d | 09 09 09 09 63 6f 75 74 | &r );..|....cout|
|00000af0| 20 3c 3c 20 22 42 65 67 | 69 6e 6e 69 6e 67 20 70 | << "Beg|inning p|
|00000b00| 72 6f 63 65 73 73 69 6e | 67 2e 2e 2e 22 20 3c 3c |rocessin|g..." <<|
|00000b10| 20 63 6f 75 74 3b 0d 09 | 09 09 09 57 43 20 2d 3e | cout;..|...WC ->|
|00000b20| 20 44 6f 44 75 6d 70 28 | 20 26 69 46 69 6c 65 2c | DoDump(| &iFile,|
|00000b30| 20 69 6d 70 6f 72 74 4e | 75 6d 42 69 6e 73 2c 20 | importN|umBins, |
|00000b40| 33 30 20 29 3b 0d 09 09 | 09 09 73 74 72 2e 41 73 |30 );...|..str.As|
|00000b50| 73 69 67 6e 28 20 22 45 | 6e 64 20 43 61 70 74 75 |sign( "E|nd Captu|
|00000b60| 72 65 20 66 69 6c 65 20 | 70 72 6f 63 65 73 73 69 |re file |processi|
|00000b70| 6e 67 2e 22 20 29 3b 20 | 7d 0d 09 09 09 65 6c 73 |ng." ); |}....els|
|00000b80| 65 0d 09 09 09 09 73 74 | 72 2e 41 73 73 69 67 6e |e.....st|r.Assign|
|00000b90| 28 20 22 43 6f 72 72 75 | 70 74 20 6f 72 20 69 6e |( "Corru|pt or in|
|00000ba0| 63 6f 6d 70 61 74 69 62 | 6c 65 20 63 61 70 74 75 |compatib|le captu|
|00000bb0| 72 65 20 66 69 6c 65 2e | 22 20 29 3b 0d 09 09 09 |re file.|" );....|
|00000bc0| 7d 0d 09 09 65 6c 73 65 | 0d 09 09 09 69 46 69 6c |}...else|....iFil|
|00000bd0| 65 2e 47 65 74 45 72 72 | 53 74 72 28 20 73 74 72 |e.GetErr|Str( str|
|00000be0| 20 29 3b 0d 09 09 0d 09 | 09 63 6f 75 74 20 3c 3c | );.....|.cout <<|
|00000bf0| 20 73 74 72 2e 67 65 74 | 43 53 74 72 28 29 3b 0d | str.get|CStr();.|
|00000c00| 09 7d 0d 09 0d 09 72 65 | 74 75 72 6e 20 30 3b 0d |.}....re|turn 0;.|
|00000c10| 7d 0d 0d 0d 0d 0d 2f 2a | 0d 0d 69 6e 74 20 6d 61 |}...../*|..int ma|
|00000c20| 69 6e 28 76 6f 69 64 29 | 0d 7b 0d 09 47 72 61 66 |in(void)|.{..Graf|
|00000c30| 50 6f 72 74 20 77 69 6e | 3b 0d 09 57 69 6e 64 6f |Port win|;..Windo|
|00000c40| 77 50 74 72 20 77 69 6e | 50 20 3d 20 26 77 69 6e |wPtr win|P = &win|
|00000c50| 3b 0d 09 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |;..unsig|ned long|
|00000c60| 09 6e 75 6d 2c 20 4e 20 | 3d 20 4e 55 4d 5f 53 41 |.num, N |= NUM_SA|
|00000c70| 4d 50 4c 45 5f 42 49 4e | 53 3b 0d 09 46 53 53 70 |MPLE_BIN|S;..FSSp|
|00000c80| 65 63 20 73 70 65 63 3b | 0d 0d 09 66 6f 72 20 28 |ec spec;|...for (|
|00000c90| 20 6e 75 6d 20 3d 20 30 | 3b 20 6e 75 6d 20 3c 20 | num = 0|; num < |
|00000ca0| 4e 3b 20 6e 75 6d 2b 2b | 20 29 0d 09 09 67 44 75 |N; num++| )...gDu|
|00000cb0| 6d 6d 79 46 46 54 5b 20 | 6e 75 6d 20 5d 20 3d 20 |mmyFFT[ |num ] = |
|00000cc0| 30 3b 0d 09 0d 09 49 6e | 69 74 69 61 6c 69 7a 65 |0;....In|itialize|
|00000cd0| 28 29 3b 0d 09 67 50 6c | 75 67 49 6e 66 6f 2e 6d |();..gPl|ugInfo.m|
|00000ce0| 61 20 3d 20 6e 65 77 20 | 56 50 43 61 6c 6c 62 61 |a = new |VPCallba|
|00000cf0| 63 6b 73 3b 0d 09 67 50 | 6c 75 67 49 6e 66 6f 2e |cks;..gP|lugInfo.|
|00000d00| 6d 61 20 2d 3e 20 47 65 | 74 46 46 54 20 3d 20 64 |ma -> Ge|tFFT = d|
|00000d10| 75 6d 6d 79 47 65 74 46 | 46 54 3b 0d 09 67 50 6c |ummyGetF|FT;..gPl|
|00000d20| 75 67 49 6e 66 6f 2e 6d | 61 20 2d 3e 20 47 65 74 |ugInfo.m|a -> Get|
|00000d30| 53 74 61 74 75 73 20 3d | 20 4e 55 4c 4c 3b 20 0d |Status =| NULL; .|
|00000d40| 09 67 50 6c 75 67 49 6e | 66 6f 2e 6d 61 20 2d 3e |.gPlugIn|fo.ma ->|
|00000d50| 20 45 6e 74 65 72 46 75 | 6c 6c 53 63 72 65 65 6e | EnterFu|llScreen|
|00000d60| 20 3d 20 4e 55 4c 4c 3b | 0d 09 67 50 6c 75 67 49 | = NULL;|..gPlugI|
|00000d70| 6e 66 6f 2e 6d 61 20 2d | 3e 20 45 78 69 74 46 75 |nfo.ma -|> ExitFu|
|00000d80| 6c 6c 53 63 72 65 65 6e | 20 3d 20 4e 55 4c 4c 3b |llScreen| = NULL;|
|00000d90| 0d 09 0d 09 56 69 73 49 | 6e 69 74 69 61 6c 69 7a |....VisI|nitializ|
|00000da0| 65 28 20 26 73 70 65 63 | 2c 20 26 77 69 6e 50 2c |e( &spec|, &winP,|
|00000db0| 20 26 6e 75 6d 20 29 3b | 0d 0d 09 0d 09 64 6f 20 | &num );|.....do |
|00000dc0| 7b 0d 09 09 56 69 73 44 | 72 61 77 28 20 77 69 6e |{...VisD|raw( win|
|00000dd0| 50 2c 20 26 6e 75 6d 20 | 29 3b 0d 09 09 6c 6f 6e |P, &num |);...lon|
|00000de0| 67 20 6e 20 3d 20 45 67 | 4f 53 55 74 69 6c 73 3a |g n = Eg|OSUtils:|
|00000df0| 3a 52 6e 64 28 20 30 2c | 20 4e 2d 31 20 29 3b 0d |:Rnd( 0,| N-1 );.|
|00000e00| 09 09 67 44 75 6d 6d 79 | 46 46 54 5b 20 6e 20 5d |..gDummy|FFT[ n ]|
|00000e10| 20 2b 3d 20 2e 30 31 31 | 20 2a 20 45 67 4f 53 55 | += .011| * EgOSU|
|00000e20| 74 69 6c 73 3a 3a 52 6e | 64 28 20 30 2c 20 31 30 |tils::Rn|d( 0, 10|
|00000e30| 30 20 29 3b 0d 09 09 66 | 6f 72 20 28 20 6e 75 6d |0 );...f|or ( num|
|00000e40| 20 3d 20 30 3b 20 6e 75 | 6d 20 3c 20 4e 3b 20 6e | = 0; nu|m < N; n|
|00000e50| 75 6d 2b 2b 20 29 20 7b | 0d 09 09 09 67 44 75 6d |um++ ) {|....gDum|
|00000e60| 6d 79 46 46 54 5b 20 6e | 75 6d 20 5d 20 3d 20 2e |myFFT[ n|um ] = .|
|00000e70| 38 20 2a 20 67 44 75 6d | 6d 79 46 46 54 5b 20 6e |8 * gDum|myFFT[ n|
|00000e80| 75 6d 20 5d 3b 0d 09 09 | 7d 0d 09 7d 20 77 68 69 |um ];...|}..} whi|
|00000e90| 6c 65 20 28 21 42 75 74 | 74 6f 6e 28 29 29 3b 0d |le (!But|ton());.|
|00000ea0| 0d 09 56 69 73 54 65 72 | 6d 69 6e 61 74 65 28 20 |..VisTer|minate( |
|00000eb0| 77 69 6e 50 2c 20 26 6e | 75 6d 20 29 3b 0d 09 0d |winP, &n|um );...|
|00000ec0| 09 64 65 6c 65 74 65 20 | 67 50 6c 75 67 49 6e 66 |.delete |gPlugInf|
|00000ed0| 6f 2e 6d 61 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |o.ma;...|.return |
|00000ee0| 30 3b 09 0d 7d 0d 0d 0d | 0d 0d 2a 2f 00 00 00 00 |0;..}...|..*/....|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000f10| 00 00 ad fa 0c 5a 5f 50 | 52 4f 4d 50 54 2e 48 50 |.....Z_P|ROMPT.HP|
|00000f20| 50 00 02 00 00 00 54 45 | 58 54 43 57 49 45 80 00 |P.....TE|XTCWIE..|
|00000f30| 11 57 68 69 74 65 43 61 | 70 20 4d 6f 6f 56 2e 63 |.WhiteCa|p MooV.c|
|00000f40| 70 70 6e 39 58 2f 4e 54 | 29 34 34 32 20 32 31 31 |ppn9X/NT|)442 211|
|00000f50| 00 84 54 45 58 54 43 57 | 49 45 00 00 00 00 00 00 |..TEXTCW|IE......|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000f70| 00 00 b4 2d 50 d1 00 00 | 0e 6c 00 00 01 9a 00 00 |...-P...|.l......|
|00000f80| 00 00 00 00 00 00 00 00 | 10 00 00 00 ad fa 0a 5a |........|.......Z|
|00000f90| 5f 50 52 53 54 2e 43 50 | 50 00 02 00 00 00 54 45 |_PRST.CP|P.....TE|
|00000fa0| 58 54 43 57 49 45 80 00 | 00 00 00 00 00 00 00 00 |XTCWIE..|........|
|00000fb0| b4 f4 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 02 32 00 00 1a 00 b2 d8 | 61 cc b2 d8 61 cd 00 00 |.2......|a...a...|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 14 1f 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 03 | 00 04 00 3e 00 70 02 42 |........|...>.p.B|
|00001030| 03 1c 00 3e 00 70 02 42 | 03 1c b4 2d a0 20 00 00 |...>.p.B|...-. ..|
|00001040| 0a 26 00 00 0a 26 00 00 | 07 20 01 00 00 00 00 04 |.&...&..|. ......|
|00001050| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00001060| 00 00 00 46 04 a6 01 88 | 1d 04 00 00 00 1c 00 46 |...F....|.......F|
|00001070| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001080| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001090| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+