home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / ifp / part04 < prev    next >
SHell self-extracting ARchive  |  1987-07-05  |  41.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: SHell self-extracting ARchive (archive/shar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 72 73 0a 46 |Path: uu|net!rs.F|
|00000010| 72 6f 6d 3a 20 72 73 40 | 75 75 6e 65 74 2e 55 55 |rom: rs@|uunet.UU|
|00000020| 2e 4e 45 54 20 28 52 69 | 63 68 20 53 61 6c 7a 29 |.NET (Ri|ch Salz)|
|00000030| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000040| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 0a 53 |p.source|s.unix.S|
|00000050| 75 62 6a 65 63 74 3a 20 | 76 31 30 69 30 33 37 3a |ubject: |v10i037:|
|00000060| 20 49 6e 74 65 72 70 72 | 65 74 65 64 20 46 75 6e | Interpr|eted Fun|
|00000070| 63 74 69 6f 6e 61 6c 20 | 50 72 6f 67 72 61 6d 6d |ctional |Programm|
|00000080| 69 6e 67 20 6c 61 6e 75 | 61 67 65 2c 20 50 61 72 |ing lanu|age, Par|
|00000090| 74 20 30 34 2f 30 37 0a | 4d 65 73 73 61 67 65 2d |t 04/07.|Message-|
|000000a0| 49 44 3a 20 3c 35 37 34 | 40 75 75 6e 65 74 2e 55 |ID: <574|@uunet.U|
|000000b0| 55 2e 4e 45 54 3e 0a 44 | 61 74 65 3a 20 37 20 4a |U.NET>.D|ate: 7 J|
|000000c0| 75 6c 20 38 37 20 30 34 | 3a 33 32 3a 30 39 20 47 |ul 87 04|:32:09 G|
|000000d0| 4d 54 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|000000e0| 20 55 55 4e 45 54 20 43 | 6f 6d 6d 75 6e 69 63 61 | UUNET C|ommunica|
|000000f0| 74 69 6f 6e 73 20 53 65 | 72 76 69 63 65 73 2c 20 |tions Se|rvices, |
|00000100| 41 72 6c 69 6e 67 74 6f | 6e 2c 20 56 41 0a 4c 69 |Arlingto|n, VA.Li|
|00000110| 6e 65 73 3a 20 31 34 30 | 39 0a 41 70 70 72 6f 76 |nes: 140|9.Approv|
|00000120| 65 64 3a 20 72 73 40 75 | 75 6e 65 74 2e 75 75 2e |ed: rs@u|unet.uu.|
|00000130| 6e 65 74 0a 0a 4d 6f 64 | 2e 73 6f 75 72 63 65 73 |net..Mod|.sources|
|00000140| 3a 20 56 6f 6c 75 6d 65 | 20 31 30 2c 20 4e 75 6d |: Volume| 10, Num|
|00000150| 62 65 72 20 33 37 0a 53 | 75 62 6d 69 74 74 65 64 |ber 37.S|ubmitted|
|00000160| 20 62 79 3a 20 72 6f 62 | 69 73 6f 6e 40 62 2e 63 | by: rob|ison@b.c|
|00000170| 73 2e 75 69 75 63 2e 65 | 64 75 20 28 41 72 63 68 |s.uiuc.e|du (Arch|
|00000180| 20 52 6f 62 69 73 6f 6e | 29 0a 41 72 63 68 69 76 | Robison|).Archiv|
|00000190| 65 2d 6e 61 6d 65 3a 20 | 69 66 70 2f 50 61 72 74 |e-name: |ifp/Part|
|000001a0| 30 34 0a 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 23 |04..#! /|bin/sh.#|
|000001b0| 20 54 68 69 73 20 69 73 | 20 61 20 73 68 65 6c 6c | This is| a shell|
|000001c0| 20 61 72 63 68 69 76 65 | 2c 20 6d 65 61 6e 69 6e | archive|, meanin|
|000001d0| 67 3a 0a 23 20 31 2e 20 | 52 65 6d 6f 76 65 20 65 |g:.# 1. |Remove e|
|000001e0| 76 65 72 79 74 68 69 6e | 67 20 61 62 6f 76 65 20 |verythin|g above |
|000001f0| 74 68 65 20 23 21 20 2f | 62 69 6e 2f 73 68 20 6c |the #! /|bin/sh l|
|00000200| 69 6e 65 2e 0a 23 20 32 | 2e 20 53 61 76 65 20 74 |ine..# 2|. Save t|
|00000210| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 74 65 78 |he resul|ting tex|
|00000220| 74 20 69 6e 20 61 20 66 | 69 6c 65 2e 0a 23 20 33 |t in a f|ile..# 3|
|00000230| 2e 20 45 78 65 63 75 74 | 65 20 74 68 65 20 66 69 |. Execut|e the fi|
|00000240| 6c 65 20 77 69 74 68 20 | 2f 62 69 6e 2f 73 68 2e |le with |/bin/sh.|
|00000250| 0a 23 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |.# The f|ollowing|
|00000260| 20 66 69 6c 65 73 20 77 | 69 6c 6c 20 62 65 20 63 | files w|ill be c|
|00000270| 72 65 61 74 65 64 3a 0a | 23 09 69 6e 74 65 72 70 |reated:.|#.interp|
|00000280| 2f 47 5f 63 6f 6e 66 6f | 6e 74 2e 63 0a 23 09 69 |/G_confo|nt.c.#.i|
|00000290| 6e 74 65 72 70 2f 47 5f | 64 72 61 77 2e 63 0a 23 |nterp/G_|draw.c.#|
|000002a0| 09 69 6e 74 65 72 70 2f | 4d 61 6b 65 66 69 6c 65 |.interp/|Makefile|
|000002b0| 0a 23 09 69 6e 74 65 72 | 70 2f 52 45 41 44 4d 45 |.#.inter|p/README|
|000002c0| 0a 23 09 69 6e 74 65 72 | 70 2f 61 6c 6c 6f 63 2e |.#.inter|p/alloc.|
|000002d0| 63 0a 23 09 69 6e 74 65 | 72 70 2f 61 70 70 6c 79 |c.#.inte|rp/apply|
|000002e0| 2e 63 0a 23 09 69 6e 74 | 65 72 70 2f 62 69 6e 69 |.c.#.int|erp/bini|
|000002f0| 6f 2e 63 0a 65 78 70 6f | 72 74 20 50 41 54 48 3b |o.c.expo|rt PATH;|
|00000300| 20 50 41 54 48 3d 2f 62 | 69 6e 3a 24 50 41 54 48 | PATH=/b|in:$PATH|
|00000310| 0a 6d 6b 64 69 72 20 69 | 6e 74 65 72 70 0a 69 66 |.mkdir i|nterp.if|
|00000320| 20 74 65 73 74 20 2d 66 | 20 27 69 6e 74 65 72 70 | test -f| 'interp|
|00000330| 2f 47 5f 63 6f 6e 66 6f | 6e 74 2e 63 27 0a 74 68 |/G_confo|nt.c'.th|
|00000340| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 6f |en..echo| shar: o|
|00000350| 76 65 72 2d 77 72 69 74 | 69 6e 67 20 65 78 69 73 |ver-writ|ing exis|
|00000360| 74 69 6e 67 20 66 69 6c | 65 20 22 27 69 6e 74 65 |ting fil|e "'inte|
|00000370| 72 70 2f 47 5f 63 6f 6e | 66 6f 6e 74 2e 63 27 22 |rp/G_con|font.c'"|
|00000380| 0a 66 69 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |.fi.cat |<< \SHAR|
|00000390| 5f 45 4f 46 20 3e 20 27 | 69 6e 74 65 72 70 2f 47 |_EOF > '|interp/G|
|000003a0| 5f 63 6f 6e 66 6f 6e 74 | 2e 63 27 0a 0a 2f 2a 20 |_confont|.c'../* |
|000003b0| 57 72 69 74 74 65 6e 20 | 31 32 3a 30 31 20 70 6d |Written |12:01 pm|
|000003c0| 20 20 4a 61 6e 20 20 38 | 2c 20 31 39 38 35 20 62 | Jan 8|, 1985 b|
|000003d0| 79 20 67 77 79 6e 40 62 | 72 6c 2d 74 67 72 20 69 |y gwyn@b|rl-tgr i|
|000003e0| 6e 20 75 69 75 63 64 63 | 73 62 3a 6e 65 74 2e 75 |n uiucdc|sb:net.u|
|000003f0| 6e 69 78 20 2a 2f 0a 2f | 2a 0a 09 73 79 6d 62 6f |nix */./|*..symbo|
|00000400| 6c 20 2d 2d 20 73 6f 66 | 74 77 61 72 65 20 63 68 |l -- sof|tware ch|
|00000410| 61 72 61 63 74 65 72 20 | 67 65 6e 65 72 61 74 6f |aracter |generato|
|00000420| 72 20 73 75 62 72 6f 75 | 74 69 6e 65 0a 0a 09 6c |r subrou|tine...l|
|00000430| 61 73 74 20 65 64 69 74 | 3a 09 32 36 2d 4e 6f 76 |ast edit|:.26-Nov|
|00000440| 2d 31 39 38 34 09 44 20 | 41 20 47 77 79 6e 0a 09 |-1984.D |A Gwyn..|
|00000450| 09 09 31 38 2d 4d 61 72 | 2d 31 39 38 35 20 20 20 |..18-Mar|-1985 |
|00000460| 20 20 41 20 44 20 52 6f | 62 69 73 6f 6e 20 2d 20 | A D Ro|bison - |
|00000470| 68 61 63 6b 65 64 20 66 | 6f 72 20 47 53 49 20 63 |hacked f|or GSI c|
|00000480| 61 72 64 0a 09 09 09 09 | 09 09 20 20 20 20 20 20 |ard.....|.. |
|00000490| 72 65 68 61 63 6b 65 64 | 20 66 6f 72 20 63 6f 6e |rehacked| for con|
|000004a0| 73 6f 6c 65 0a 0a 46 75 | 6e 63 74 69 6f 6e 3a 0a |sole..Fu|nction:.|
|000004b0| 0a 09 54 68 69 73 20 72 | 6f 75 74 69 6e 65 20 70 |..This r|outine p|
|000004c0| 6c 6f 74 73 20 61 6e 20 | 41 53 43 49 49 20 63 68 |lots an |ASCII ch|
|000004d0| 61 72 61 63 74 65 72 20 | 73 74 72 69 6e 67 20 61 |aracter |string a|
|000004e0| 73 20 76 65 63 74 6f 72 | 20 73 74 72 6f 6b 65 73 |s vector| strokes|
|000004f0| 2e 0a 0a 0a 43 61 6c 6c | 69 6e 67 20 73 65 71 75 |....Call|ing sequ|
|00000500| 65 6e 63 65 3a 0a 0a 09 | 76 6f 69 64 20 43 6f 6e |ence:...|void Con|
|00000510| 53 79 6d 62 6f 6c 20 28 | 0a 09 09 20 20 20 20 20 |Symbol (|... |
|00000520| 63 68 61 72 20 2a 73 74 | 72 69 6e 67 2c 09 20 20 |char *st|ring,. |
|00000530| 20 2f 2f 20 2d 3e 20 4e | 55 4c 2d 74 65 72 6d 69 | // -> N|UL-termi|
|00000540| 6e 61 74 65 64 20 73 74 | 72 69 6e 67 0a 09 09 20 |nated st|ring... |
|00000550| 20 20 20 20 69 6e 74 20 | 74 72 61 6e 73 66 6f 72 | int |transfor|
|00000560| 6d 20 5b 32 5d 5b 33 5d | 3b 20 2f 2f 20 74 65 78 |m [2][3]|; // tex|
|00000570| 74 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |t transf|ormation|
|00000580| 20 2f 2f 0a 09 09 20 20 | 20 29 3b 0a 0a 54 68 65 | //... | );..The|
|00000590| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|000005a0| 6f 6e 20 61 20 36 20 68 | 69 67 68 20 62 79 20 34 |on a 6 h|igh by 4|
|000005b0| 20 77 69 64 65 20 67 72 | 69 64 2e 20 20 54 68 65 | wide gr|id. The|
|000005c0| 20 74 72 61 6e 73 66 6f | 72 6d 20 69 73 20 73 63 | transfo|rm is sc|
|000005d0| 61 6c 65 64 0a 62 79 20 | 31 30 32 34 20 61 6e 64 |aled.by |1024 and|
|000005e0| 20 74 72 61 6e 73 66 6f | 72 6d 73 20 66 72 6f 6d | transfo|rms from|
|000005f0| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 67 | the cha|racter g|
|00000600| 72 69 64 20 6f 6e 74 6f | 20 63 6f 6e 73 6f 6c 65 |rid onto| console|
|00000610| 20 64 65 76 69 63 65 20 | 63 6f 6f 72 64 69 6e 61 | device |coordina|
|00000620| 74 65 73 2e 0a 45 2e 67 | 2e 20 74 68 65 20 75 6e |tes..E.g|. the un|
|00000630| 69 74 20 74 72 61 6e 73 | 66 6f 72 6d 20 69 73 20 |it trans|form is |
|00000640| 7b 7b 31 30 32 34 2c 30 | 2c 30 7d 2c 7b 30 2c 31 |{{1024,0|,0},{0,1|
|00000650| 30 32 34 2c 30 7d 7d 2e | 0a 0a 2a 2f 0a 0a 2f 2a |024,0}}.|..*/../*|
|00000660| 0a 09 09 09 09 53 54 52 | 4f 4b 45 20 54 41 42 4c |.....STR|OKE TABL|
|00000670| 45 53 0a 0a 09 54 68 65 | 20 73 74 72 6f 6b 65 5b |ES...The| stroke[|
|00000680| 5d 20 74 61 62 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |] table |contains|
|00000690| 20 65 6e 63 6f 64 69 6e | 67 73 20 66 6f 72 20 61 | encodin|gs for a|
|000006a0| 6c 6c 20 76 65 63 74 6f | 72 20 73 74 72 6f 6b 65 |ll vecto|r stroke|
|000006b0| 73 0a 09 6e 65 65 64 65 | 64 20 74 6f 20 64 72 61 |s..neede|d to dra|
|000006c0| 77 20 65 61 63 68 20 63 | 68 61 72 61 63 74 65 72 |w each c|haracter|
|000006d0| 20 61 74 20 61 20 73 74 | 61 6e 64 61 72 64 20 73 | at a st|andard s|
|000006e0| 69 7a 65 2e 20 20 41 63 | 74 75 61 6c 20 70 6c 6f |ize. Ac|tual plo|
|000006f0| 74 0a 09 6f 75 74 70 75 | 74 20 69 73 20 6f 66 20 |t..outpu|t is of |
|00000700| 63 6f 75 72 73 65 20 70 | 72 6f 70 65 72 6c 79 20 |course p|roperly |
|00000710| 70 6f 73 69 74 69 6f 6e | 65 64 2c 20 73 63 61 6c |position|ed, scal|
|00000720| 65 64 2c 20 61 6e 64 20 | 72 6f 74 61 74 65 64 2e |ed, and |rotated.|
|00000730| 0a 09 54 6f 20 6b 65 65 | 70 20 63 6f 64 65 20 73 |..To kee|p code s|
|00000740| 69 7a 65 20 73 6d 61 6c | 6c 2c 20 76 61 72 69 61 |ize smal|l, varia|
|00000750| 62 6c 65 2d 6c 65 6e 67 | 74 68 20 65 6e 74 72 69 |ble-leng|th entri|
|00000760| 65 73 20 61 72 65 20 75 | 73 65 64 3b 20 65 61 63 |es are u|sed; eac|
|00000770| 68 0a 09 63 68 61 72 61 | 63 74 65 72 20 73 74 72 |h..chara|cter str|
|00000780| 6f 6b 65 20 73 65 71 75 | 65 6e 63 65 20 69 73 20 |oke sequ|ence is |
|00000790| 74 65 72 6d 69 6e 61 74 | 65 64 20 62 79 20 61 20 |terminat|ed by a |
|000007a0| 30 20 64 61 74 75 6d 2e | 20 20 50 6f 69 6e 74 65 |0 datum.| Pointe|
|000007b0| 72 73 0a 09 74 6f 20 74 | 68 65 20 61 70 70 72 6f |rs..to t|he appro|
|000007c0| 70 72 69 61 74 65 20 64 | 61 74 61 20 66 6f 72 20 |priate d|ata for |
|000007d0| 65 76 65 72 79 20 63 68 | 61 72 61 63 74 65 72 20 |every ch|aracter |
|000007e0| 69 73 20 73 74 6f 72 65 | 64 20 69 6e 74 6f 0a 09 |is store|d into..|
|000007f0| 73 73 74 72 6f 6b 65 5b | 5d 20 64 75 72 69 6e 67 |sstroke[|] during|
|00000800| 20 61 20 6f 6e 65 2d 74 | 69 6d 65 20 69 6e 69 74 | a one-t|ime init|
|00000810| 69 61 6c 69 7a 61 74 69 | 6f 6e 2e 0a 0a 09 54 68 |ializati|on....Th|
|00000820| 65 20 70 72 6f 74 6f 74 | 79 70 65 73 20 61 72 65 |e protot|ypes are|
|00000830| 20 63 6f 6e 73 74 72 61 | 69 6e 65 64 20 74 6f 20 | constra|ined to |
|00000840| 61 20 34 20 78 20 36 20 | 75 6e 69 74 20 61 72 65 |a 4 x 6 |unit are|
|00000850| 61 2c 20 65 78 63 65 70 | 74 20 66 6f 72 0a 09 6f |a, excep|t for..o|
|00000860| 63 63 61 73 69 6f 6e 61 | 6c 20 64 65 73 63 65 6e |ccasiona|l descen|
|00000870| 64 65 72 73 20 75 70 20 | 74 6f 20 32 20 75 6e 69 |ders up |to 2 uni|
|00000880| 74 73 20 62 65 6c 6f 77 | 20 74 68 65 20 62 61 73 |ts below| the bas|
|00000890| 65 6c 69 6e 65 2e 20 20 | 41 6c 6c 0a 09 76 69 73 |eline. |All..vis|
|000008a0| 69 62 6c 65 20 73 74 72 | 6f 6b 65 73 20 73 68 6f |ible str|okes sho|
|000008b0| 75 6c 64 20 62 65 20 22 | 62 61 73 69 63 22 20 76 |uld be "|basic" v|
|000008c0| 65 63 74 6f 72 73 20 28 | 69 6e 20 64 69 72 65 63 |ectors (|in direc|
|000008d0| 74 69 6f 6e 73 20 74 68 | 61 74 0a 09 61 72 65 20 |tions th|at..are |
|000008e0| 69 6e 74 65 67 72 61 6c | 20 6d 75 6c 74 69 70 6c |integral| multipl|
|000008f0| 65 73 20 6f 66 20 34 35 | 20 64 65 67 72 65 65 73 |es of 45| degrees|
|00000900| 29 20 66 6f 72 20 62 65 | 73 74 20 6f 76 65 72 61 |) for be|st overa|
|00000910| 6c 6c 20 72 65 73 75 6c | 74 73 0a 09 6f 6e 20 6d |ll resul|ts..on m|
|00000920| 6f 73 74 20 64 65 76 69 | 63 65 73 2c 20 65 73 70 |ost devi|ces, esp|
|00000930| 65 63 69 61 6c 6c 79 20 | 77 69 74 68 20 73 6d 61 |ecially |with sma|
|00000940| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 20 68 65 69 |ll chara|cter hei|
|00000950| 67 68 74 2e 20 20 54 68 | 65 0a 09 66 69 72 73 74 |ght. Th|e..first|
|00000960| 20 31 36 20 22 63 6f 6e | 74 72 6f 6c 22 20 63 68 | 16 "con|trol" ch|
|00000970| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 70 6c 6f |aracters| are plo|
|00000980| 74 74 65 64 20 61 73 20 | 6e 6f 6e 2d 73 74 61 6e |tted as |non-stan|
|00000990| 64 61 72 64 20 65 78 74 | 72 61 0a 09 73 79 6d 62 |dard ext|ra..symb|
|000009a0| 6f 6c 73 2c 20 74 68 65 | 20 6e 65 78 74 20 31 36 |ols, the| next 16|
|000009b0| 20 70 72 6f 64 75 63 65 | 20 43 61 6c 63 6f 6d 70 | produce| Calcomp|
|000009c0| 20 22 63 65 6e 74 65 72 | 65 64 20 70 6c 6f 74 74 | "center|ed plott|
|000009d0| 69 6e 67 20 73 79 6d 62 | 6f 6c 73 22 0a 09 28 6e |ing symb|ols"..(n|
|000009e0| 6f 74 20 63 65 6e 74 65 | 72 65 64 20 68 65 72 65 |ot cente|red here|
|000009f0| 21 29 2c 20 61 6e 64 20 | 74 68 65 20 66 69 6e 61 |!), and |the fina|
|00000a00| 6c 20 39 36 20 63 68 61 | 72 61 63 74 65 72 73 20 |l 96 cha|racters |
|00000a10| 61 72 65 20 70 6c 6f 74 | 74 65 64 20 61 73 0a 09 |are plot|ted as..|
|00000a20| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 41 53 |correspo|nding AS|
|00000a30| 43 49 49 20 67 72 61 70 | 68 69 63 73 20 28 44 45 |CII grap|hics (DE|
|00000a40| 4c 20 70 6c 6f 74 73 20 | 61 73 20 61 20 67 72 69 |L plots |as a gri|
|00000a50| 64 29 2e 0a 0a 09 41 20 | 70 72 6f 74 6f 74 79 70 |d)....A |prototyp|
|00000a60| 65 20 73 74 72 6f 6b 65 | 20 69 73 20 65 6e 63 6f |e stroke| is enco|
|00000a70| 64 65 64 20 61 73 20 38 | 20 62 69 74 73 20 53 56 |ded as 8| bits SV|
|00000a80| 58 58 58 59 59 59 3a 0a | 09 09 53 09 3d 20 30 20 |XXXYYY:.|..S.= 0 |
|00000a90| 69 66 20 59 59 59 20 69 | 73 20 63 6f 72 72 65 63 |if YYY i|s correc|
|00000aa0| 74 20 61 73 20 69 73 0a | 09 09 09 20 20 31 20 69 |t as is.|... 1 i|
|00000ab0| 66 20 59 59 59 20 6e 65 | 65 64 73 20 74 6f 20 68 |f YYY ne|eds to h|
|00000ac0| 61 76 65 20 32 20 73 75 | 62 74 72 61 63 74 65 64 |ave 2 su|btracted|
|00000ad0| 0a 09 09 56 09 3d 20 30 | 20 69 66 20 73 74 72 6f |...V.= 0| if stro|
|00000ae0| 6b 65 20 69 73 20 69 6e | 76 69 73 69 62 6c 65 20 |ke is in|visible |
|00000af0| 28 6d 6f 76 65 29 0a 09 | 09 09 20 20 31 20 69 66 |(move)..|.. 1 if|
|00000b00| 20 73 74 72 6f 6b 65 20 | 69 73 20 76 69 73 69 62 | stroke |is visib|
|00000b10| 6c 65 20 28 64 72 61 77 | 29 0a 09 09 58 58 58 09 |le (draw|)...XXX.|
|00000b20| 3d 20 66 69 6e 61 6c 20 | 58 20 63 6f 6f 72 64 20 |= final |X coord |
|00000b30| 6f 66 20 73 74 72 6f 6b | 65 20 28 30 2e 2e 34 29 |of strok|e (0..4)|
|00000b40| 0a 09 09 59 59 59 09 3d | 20 66 69 6e 61 6c 20 59 |...YYY.=| final Y|
|00000b50| 20 63 6f 6f 72 64 20 6f | 66 20 73 74 72 6f 6b 65 | coord o|f stroke|
|00000b60| 20 28 30 2e 2e 36 29 0a | 2a 2f 0a 0a 2f 2a 20 62 | (0..6).|*/../* b|
|00000b70| 69 74 20 6d 61 73 6b 73 | 20 66 6f 72 20 66 69 65 |it masks| for fie|
|00000b80| 6c 64 73 20 69 6e 20 73 | 74 72 6f 6b 65 20 76 65 |lds in s|troke ve|
|00000b90| 63 74 6f 72 20 2a 2f 0a | 0a 23 64 65 66 69 6e 65 |ctor */.|.#define|
|00000ba0| 09 53 09 30 32 30 30 0a | 23 64 65 66 69 6e 65 09 |.S.0200.|#define.|
|00000bb0| 56 09 30 31 30 30 0a 23 | 64 65 66 69 6e 65 09 58 |V.0100.#|define.X|
|00000bc0| 58 58 09 30 30 37 30 0a | 23 64 65 66 69 6e 65 09 |XX.0070.|#define.|
|00000bd0| 59 59 59 09 30 30 30 37 | 0a 0a 23 64 65 66 69 6e |YYY.0007|..#defin|
|00000be0| 65 09 58 4a 55 53 54 09 | 33 09 09 09 2f 2a 20 62 |e.XJUST.|3.../* b|
|00000bf0| 69 74 73 20 74 6f 20 74 | 68 65 20 72 69 67 68 74 |its to t|he right|
|00000c00| 20 6f 66 20 58 58 58 20 | 2a 2f 0a 0a 2f 2a 20 73 | of XXX |*/../* s|
|00000c10| 74 72 6f 6b 65 20 76 65 | 63 74 6f 72 73 20 66 6f |troke ve|ctors fo|
|00000c20| 72 20 61 6c 6c 20 63 68 | 61 72 61 63 74 65 72 73 |r all ch|aracters|
|00000c30| 20 2a 2f 0a 0a 73 74 61 | 74 69 63 20 63 68 61 72 | */..sta|tic char|
|00000c40| 09 73 74 72 6f 6b 65 5b | 5d 20 3d 0a 09 7b 0a 2f |.stroke[|] =..{./|
|00000c50| 2a 4e 55 4c 2a 2f 09 30 | 30 30 33 2c 20 30 31 30 |*NUL*/.0|003, 010|
|00000c60| 35 2c 20 30 31 32 33 2c | 20 30 31 34 33 2c 20 30 |5, 0123,| 0143, 0|
|00000c70| 31 34 31 2c 20 30 31 32 | 31 2c 20 30 31 32 35 2c |141, 012|1, 0125,|
|00000c80| 20 30 2c 0a 2f 2a 53 4f | 48 2a 2f 09 30 30 30 36 | 0,./*SO|H*/.0006|
|00000c90| 2c 20 30 31 31 35 2c 20 | 30 31 31 32 2c 20 30 31 |, 0115, |0112, 01|
|00000ca0| 34 32 2c 20 30 30 32 32 | 2c 20 30 31 32 31 2c 20 |42, 0022|, 0121, |
|00000cb0| 30 31 34 31 2c 20 30 31 | 34 30 2c 20 30 31 32 30 |0141, 01|40, 0120|
|00000cc0| 2c 20 30 30 31 33 2c 0a | 09 30 31 33 33 2c 20 30 |, 0013,.|.0133, 0|
|00000cd0| 30 33 34 2c 20 30 31 31 | 34 2c 20 30 30 31 35 2c |034, 011|4, 0015,|
|00000ce0| 20 30 31 32 36 2c 20 30 | 2c 0a 2f 2a 53 54 58 2a | 0126, 0|,./*STX*|
|00000cf0| 2f 09 30 30 32 31 2c 20 | 30 31 32 35 2c 20 30 31 |/.0021, |0125, 01|
|00000d00| 30 35 2c 20 30 31 30 33 | 2c 20 30 31 32 33 2c 20 |05, 0103|, 0123, |
|00000d10| 30 31 34 31 2c 20 30 31 | 34 33 2c 20 30 2c 0a 2f |0141, 01|43, 0,./|
|00000d20| 2a 45 54 58 2a 2f 09 30 | 30 31 32 2c 20 30 31 31 |*ETX*/.0|012, 011|
|00000d30| 34 2c 20 30 30 33 34 2c | 20 30 31 30 34 2c 20 30 |4, 0034,| 0104, 0|
|00000d40| 31 30 36 2c 20 30 31 32 | 36 2c 20 30 31 32 34 2c |106, 012|6, 0124,|
|00000d50| 20 30 30 33 33 2c 20 30 | 31 31 33 2c 20 30 30 32 | 0033, 0|113, 002|
|00000d60| 31 2c 0a 09 30 31 34 31 | 2c 20 30 30 34 32 2c 20 |1,..0141|, 0042, |
|00000d70| 30 31 32 32 2c 20 30 31 | 32 30 2c 20 30 2c 0a 2f |0122, 01|20, 0,./|
|00000d80| 2a 45 4f 54 2a 2f 09 30 | 30 30 35 2c 20 30 31 32 |*EOT*/.0|005, 012|
|00000d90| 35 2c 20 30 31 33 34 2c | 20 30 31 34 35 2c 20 30 |5, 0134,| 0145, 0|
|00000da0| 31 34 33 2c 20 30 30 32 | 33 2c 20 30 31 32 35 2c |143, 002|3, 0125,|
|00000db0| 20 30 30 31 35 2c 20 30 | 31 31 33 2c 20 30 2c 0a | 0015, 0|113, 0,.|
|00000dc0| 2f 2a 45 4e 51 2a 2f 09 | 30 30 31 31 2c 20 30 31 |/*ENQ*/.|0011, 01|
|00000dd0| 33 31 2c 20 30 31 34 32 | 2c 20 30 31 34 34 2c 20 |31, 0142|, 0144, |
|00000de0| 30 31 33 35 2c 20 30 31 | 31 35 2c 20 30 31 30 34 |0135, 01|15, 0104|
|00000df0| 2c 20 30 31 30 32 2c 20 | 30 31 31 31 2c 20 30 30 |, 0102, |0111, 00|
|00000e00| 31 32 2c 0a 09 30 31 31 | 34 2c 20 30 31 33 34 2c |12,..011|4, 0134,|
|00000e10| 20 30 31 33 33 2c 20 30 | 31 31 33 2c 20 30 30 32 | 0133, 0|113, 002|
|00000e20| 33 2c 20 30 31 33 32 2c | 20 30 2c 0a 2f 2a 41 43 |3, 0132,| 0,./*AC|
|00000e30| 4b 2a 2f 09 30 30 31 31 | 2c 20 30 31 33 31 2c 20 |K*/.0011|, 0131, |
|00000e40| 30 31 34 32 2c 20 30 31 | 34 34 2c 20 30 31 33 35 |0142, 01|44, 0135|
|00000e50| 2c 20 30 31 31 35 2c 20 | 30 31 30 34 2c 20 30 31 |, 0115, |0104, 01|
|00000e60| 30 32 2c 20 30 31 31 31 | 2c 20 30 30 33 34 2c 0a |02, 0111|, 0034,.|
|00000e70| 09 30 31 31 34 2c 20 30 | 31 31 32 2c 20 30 31 33 |.0114, 0|112, 013|
|00000e80| 32 2c 20 30 2c 0a 2f 2a | 42 45 4c 2a 2f 09 30 30 |2, 0,./*|BEL*/.00|
|00000e90| 32 31 2c 20 30 31 32 32 | 2c 20 30 31 34 32 2c 20 |21, 0122|, 0142, |
|00000ea0| 30 31 33 33 2c 20 30 31 | 33 34 2c 20 30 31 32 34 |0133, 01|34, 0124|
|00000eb0| 2c 20 30 31 32 35 2c 20 | 30 30 32 34 2c 20 30 31 |, 0125, |0024, 01|
|00000ec0| 31 34 2c 20 30 31 31 33 | 2c 0a 09 30 31 30 32 2c |14, 0113|,..0102,|
|00000ed0| 20 30 31 32 32 2c 20 30 | 2c 0a 2f 2a 42 53 20 2a | 0122, 0|,./*BS *|
|00000ee0| 2f 09 30 30 31 32 2c 20 | 30 31 30 33 2c 20 30 31 |/.0012, |0103, 01|
|00000ef0| 31 34 2c 20 30 30 30 33 | 2c 20 30 31 34 33 2c 20 |14, 0003|, 0143, |
|00000f00| 30 2c 0a 2f 2a 48 54 20 | 2a 2f 09 30 30 30 33 2c |0,./*HT |*/.0003,|
|00000f10| 20 30 31 34 33 2c 20 30 | 30 33 34 2c 20 30 31 34 | 0143, 0|034, 014|
|00000f20| 33 2c 20 30 31 33 32 2c | 20 30 2c 0a 2f 2a 4c 46 |3, 0132,| 0,./*LF|
|00000f30| 20 2a 2f 09 30 30 31 32 | 2c 20 30 31 32 31 2c 20 | */.0012|, 0121, |
|00000f40| 30 31 33 32 2c 20 30 30 | 32 31 2c 20 30 31 32 35 |0132, 00|21, 0125|
|00000f50| 2c 20 30 2c 0a 2f 2a 56 | 54 20 2a 2f 09 30 30 32 |, 0,./*V|T */.002|
|00000f60| 31 2c 20 30 31 32 35 2c | 20 30 30 31 34 2c 20 30 |1, 0125,| 0014, 0|
|00000f70| 31 32 35 2c 20 30 31 33 | 34 2c 20 30 2c 0a 2f 2a |125, 013|4, 0,./*|
|00000f80| 46 46 20 2a 2f 09 30 30 | 31 32 2c 20 30 31 32 31 |FF */.00|12, 0121|
|00000f90| 2c 20 30 31 33 32 2c 20 | 30 30 32 31 2c 20 30 31 |, 0132, |0021, 01|
|00000fa0| 32 35 2c 20 30 30 31 34 | 2c 20 30 31 32 35 2c 20 |25, 0014|, 0125, |
|00000fb0| 30 31 33 34 2c 20 30 2c | 0a 2f 2a 43 52 20 2a 2f |0134, 0,|./*CR */|
|00000fc0| 09 30 30 31 32 2c 20 30 | 31 30 33 2c 20 30 31 31 |.0012, 0|103, 011|
|00000fd0| 34 2c 20 30 30 30 33 2c | 20 30 31 34 33 2c 20 30 |4, 0003,| 0143, 0|
|00000fe0| 30 33 34 2c 20 30 31 34 | 33 2c 20 30 31 33 32 2c |034, 014|3, 0132,|
|00000ff0| 20 30 2c 0a 2f 2a 53 4f | 20 2a 2f 09 30 30 30 34 | 0,./*SO| */.0004|
|00001000| 2c 20 30 31 32 34 2c 20 | 30 31 32 36 2c 20 30 31 |, 0124, |0126, 01|
|00001010| 30 36 2c 20 30 31 30 34 | 2c 20 30 30 31 34 2c 20 |06, 0104|, 0014, |
|00001020| 30 31 31 32 2c 20 30 31 | 34 32 2c 20 30 30 33 34 |0112, 01|42, 0034|
|00001030| 2c 20 30 31 33 30 2c 20 | 30 2c 0a 2f 2a 53 49 20 |, 0130, |0,./*SI |
|00001040| 2a 2f 09 30 30 32 31 2c | 20 30 31 32 33 2c 20 30 |*/.0021,| 0123, 0|
|00001050| 30 31 33 2c 20 30 31 31 | 35 2c 20 30 30 32 35 2c |013, 011|5, 0025,|
|00001060| 20 30 31 30 35 2c 20 30 | 30 30 33 2c 20 30 31 32 | 0105, 0|003, 012|
|00001070| 33 2c 20 30 31 34 31 2c | 20 30 31 34 33 2c 20 30 |3, 0141,| 0143, 0|
|00001080| 2c 0a 2f 2a 44 4c 45 2a | 2f 09 30 30 32 33 2c 20 |,./*DLE*|/.0023, |
|00001090| 30 31 32 35 2c 20 30 31 | 34 35 2c 20 30 31 34 31 |0125, 01|45, 0141|
|000010a0| 2c 20 30 31 30 31 2c 20 | 30 31 30 35 2c 20 30 31 |, 0101, |0105, 01|
|000010b0| 32 35 2c 20 30 2c 0a 2f | 2a 44 43 31 2a 2f 09 30 |25, 0,./|*DC1*/.0|
|000010c0| 30 32 33 2c 20 30 31 32 | 35 2c 20 30 31 33 35 2c |023, 012|5, 0135,|
|000010d0| 20 30 31 34 34 2c 20 30 | 31 34 32 2c 20 30 31 33 | 0144, 0|142, 013|
|000010e0| 31 2c 20 30 31 31 31 2c | 20 30 31 30 32 2c 20 30 |1, 0111,| 0102, 0|
|000010f0| 31 30 34 2c 20 30 31 31 | 35 2c 0a 09 30 31 32 35 |104, 011|5,..0125|
|00001100| 2c 20 30 2c 0a 2f 2a 44 | 43 32 2a 2f 09 30 30 32 |, 0,./*D|C2*/.002|
|00001110| 33 2c 20 30 31 32 34 2c | 20 30 31 34 32 2c 20 30 |3, 0124,| 0142, 0|
|00001120| 31 30 32 2c 20 30 31 32 | 34 2c 20 30 2c 0a 2f 2a |102, 012|4, 0,./*|
|00001130| 44 43 33 2a 2f 09 30 30 | 32 31 2c 20 30 31 32 35 |DC3*/.00|21, 0125|
|00001140| 2c 20 30 30 30 33 2c 20 | 30 31 34 33 2c 20 30 2c |, 0003, |0143, 0,|
|00001150| 0a 2f 2a 44 43 34 2a 2f | 09 30 30 30 31 2c 20 30 |./*DC4*/|.0001, 0|
|00001160| 31 34 35 2c 20 30 30 30 | 35 2c 20 30 31 34 31 2c |145, 000|5, 0141,|
|00001170| 20 30 2c 0a 2f 2a 4e 41 | 4b 2a 2f 09 30 30 32 33 | 0,./*NA|K*/.0023|
|00001180| 2c 20 30 31 32 35 2c 20 | 30 31 34 33 2c 20 30 31 |, 0125, |0143, 01|
|00001190| 32 31 2c 20 30 31 30 33 | 2c 20 30 31 32 35 2c 20 |21, 0103|, 0125, |
|000011a0| 30 2c 0a 2f 2a 53 59 4e | 2a 2f 09 30 30 32 31 2c |0,./*SYN|*/.0021,|
|000011b0| 20 30 31 32 35 2c 20 30 | 31 34 33 2c 20 30 31 30 | 0125, 0|143, 010|
|000011c0| 33 2c 20 30 31 32 35 2c | 20 30 2c 0a 2f 2a 45 54 |3, 0125,| 0,./*ET|
|000011d0| 42 2a 2f 09 30 30 30 31 | 2c 20 30 31 34 35 2c 20 |B*/.0001|, 0145, |
|000011e0| 30 31 30 35 2c 20 30 31 | 34 31 2c 20 30 2c 0a 2f |0105, 01|41, 0,./|
|000011f0| 2a 43 41 4e 2a 2f 09 30 | 30 30 35 2c 20 30 31 34 |*CAN*/.0|005, 014|
|00001200| 35 2c 20 30 31 30 31 2c | 20 30 31 34 31 2c 20 30 |5, 0101,| 0141, 0|
|00001210| 2c 0a 2f 2a 45 4d 20 2a | 2f 09 30 30 32 33 2c 20 |,./*EM *|/.0023, |
|00001220| 30 31 32 31 2c 20 30 30 | 30 35 2c 20 30 31 32 33 |0121, 00|05, 0123|
|00001230| 2c 20 30 31 34 35 2c 20 | 30 2c 0a 2f 2a 53 55 42 |, 0145, |0,./*SUB|
|00001240| 2a 2f 09 30 30 32 33 2c | 20 30 31 34 35 2c 20 30 |*/.0023,| 0145, 0|
|00001250| 30 33 34 2c 20 30 31 33 | 32 2c 20 30 31 34 31 2c |034, 013|2, 0141,|
|00001260| 20 30 30 33 32 2c 20 30 | 31 31 32 2c 20 30 31 30 | 0032, 0|112, 010|
|00001270| 31 2c 20 30 30 31 32 2c | 20 30 31 31 34 2c 0a 09 |1, 0012,| 0114,..|
|00001280| 30 31 30 35 2c 20 30 30 | 31 34 2c 20 30 31 33 34 |0105, 00|14, 0134|
|00001290| 2c 20 30 2c 0a 2f 2a 45 | 53 43 2a 2f 09 30 30 30 |, 0,./*E|SC*/.000|
|000012a0| 31 2c 20 30 31 34 35 2c | 20 30 30 32 35 2c 20 30 |1, 0145,| 0025, 0|
|000012b0| 31 32 31 2c 20 30 30 34 | 31 2c 20 30 31 30 35 2c |121, 004|1, 0105,|
|000012c0| 20 30 30 30 33 2c 20 30 | 31 34 33 2c 20 30 2c 0a | 0003, 0|143, 0,.|
|000012d0| 2f 2a 46 53 20 2a 2f 09 | 30 30 30 31 2c 20 30 31 |/*FS */.|0001, 01|
|000012e0| 34 31 2c 20 30 31 30 35 | 2c 20 30 31 34 35 2c 20 |41, 0105|, 0145, |
|000012f0| 30 31 30 31 2c 20 30 2c | 0a 2f 2a 47 53 20 2a 2f |0101, 0,|./*GS */|
|00001300| 09 30 30 32 31 2c 20 30 | 31 32 35 2c 20 30 2c 0a |.0021, 0|125, 0,.|
|00001310| 2f 2a 52 53 20 2a 2f 09 | 30 30 32 33 2c 20 30 31 |/*RS */.|0023, 01|
|00001320| 32 35 2c 20 30 30 32 34 | 2c 20 30 31 34 32 2c 20 |25, 0024|, 0142, |
|00001330| 30 31 30 32 2c 20 30 31 | 32 34 2c 20 30 30 32 31 |0102, 01|24, 0021|
|00001340| 2c 20 30 31 32 32 2c 20 | 30 31 34 34 2c 20 30 31 |, 0122, |0144, 01|
|00001350| 30 34 2c 0a 09 30 31 32 | 32 2c 20 30 2c 0a 2f 2a |04,..012|2, 0,./*|
|00001360| 55 53 20 2a 2f 09 30 30 | 32 33 2c 20 30 31 34 33 |US */.00|23, 0143|
|00001370| 2c 20 30 2c 0a 2f 2a 53 | 50 20 2a 2f 09 30 2c 0a |, 0,./*S|P */.0,.|
|00001380| 2f 2a 20 21 20 2a 2f 09 | 30 30 32 30 2c 20 30 31 |/* ! */.|0020, 01|
|00001390| 32 31 2c 20 30 30 32 32 | 2c 20 30 31 32 36 2c 20 |21, 0022|, 0126, |
|000013a0| 30 2c 0a 2f 2a 20 22 20 | 2a 2f 09 30 30 31 34 2c |0,./* " |*/.0014,|
|000013b0| 20 30 31 31 36 2c 20 30 | 30 33 36 2c 20 30 31 33 | 0116, 0|036, 013|
|000013c0| 34 2c 20 30 2c 0a 2f 2a | 20 23 20 2a 2f 09 30 30 |4, 0,./*| # */.00|
|000013d0| 31 30 2c 20 30 31 31 36 | 2c 20 30 30 33 36 2c 20 |10, 0116|, 0036, |
|000013e0| 30 31 33 30 2c 20 30 30 | 34 32 2c 20 30 31 30 32 |0130, 00|42, 0102|
|000013f0| 2c 20 30 30 30 34 2c 20 | 30 31 34 34 2c 20 30 2c |, 0004, |0144, 0,|
|00001400| 0a 2f 2a 20 24 20 2a 2f | 09 30 30 30 32 2c 20 30 |./* $ */|.0002, 0|
|00001410| 31 31 31 2c 20 30 31 33 | 31 2c 20 30 31 34 32 2c |111, 013|1, 0142,|
|00001420| 20 30 31 33 33 2c 20 30 | 31 31 33 2c 20 30 31 30 | 0133, 0|113, 010|
|00001430| 34 2c 20 30 31 31 35 2c | 20 30 31 33 35 2c 20 30 |4, 0115,| 0135, 0|
|00001440| 31 34 34 2c 0a 09 30 30 | 32 36 2c 20 30 31 32 30 |144,..00|26, 0120|
|00001450| 2c 20 30 2c 0a 2f 2a 20 | 25 20 2a 2f 09 30 30 30 |, 0,./* |% */.000|
|00001460| 31 2c 20 30 31 34 35 2c | 20 30 30 32 35 2c 20 30 |1, 0145,| 0025, 0|
|00001470| 31 31 34 2c 20 30 31 30 | 35 2c 20 30 31 31 36 2c |114, 010|5, 0116,|
|00001480| 20 30 31 32 35 2c 20 30 | 30 33 32 2c 20 30 31 34 | 0125, 0|032, 014|
|00001490| 31 2c 20 30 31 33 30 2c | 0a 09 30 31 32 31 2c 20 |1, 0130,|..0121, |
|000014a0| 30 31 33 32 2c 20 30 2c | 0a 2f 2a 20 26 20 2a 2f |0132, 0,|./* & */|
|000014b0| 09 30 30 34 30 2c 20 30 | 31 30 34 2c 20 30 31 30 |.0040, 0|104, 010|
|000014c0| 35 2c 20 30 31 31 36 2c | 20 30 31 32 35 2c 20 30 |5, 0116,| 0125, 0|
|000014d0| 31 32 34 2c 20 30 31 30 | 32 2c 20 30 31 30 31 2c |124, 010|2, 0101,|
|000014e0| 20 30 31 31 30 2c 20 30 | 31 32 30 2c 0a 09 30 31 | 0110, 0|120,..01|
|000014f0| 34 32 2c 20 30 2c 0a 2f | 2a 20 27 20 2a 2f 09 30 |42, 0,./|* ' */.0|
|00001500| 30 31 34 2c 20 30 31 33 | 36 2c 20 30 2c 0a 2f 2a |014, 013|6, 0,./*|
|00001510| 20 28 20 2a 2f 09 30 30 | 33 30 2c 20 30 31 31 32 | ( */.00|30, 0112|
|00001520| 2c 20 30 31 31 34 2c 20 | 30 31 33 36 2c 20 30 2c |, 0114, |0136, 0,|
|00001530| 0a 2f 2a 20 29 20 2a 2f | 09 30 30 31 30 2c 20 30 |./* ) */|.0010, 0|
|00001540| 31 33 32 2c 20 30 31 33 | 34 2c 20 30 31 31 36 2c |132, 013|4, 0116,|
|00001550| 20 30 2c 0a 2f 2a 20 2a | 20 2a 2f 09 30 30 30 31 | 0,./* *| */.0001|
|00001560| 2c 20 30 31 34 35 2c 20 | 30 30 32 35 2c 20 30 31 |, 0145, |0025, 01|
|00001570| 32 31 2c 20 30 30 34 31 | 2c 20 30 31 30 35 2c 20 |21, 0041|, 0105, |
|00001580| 30 2c 0a 2f 2a 20 2b 20 | 2a 2f 09 30 30 32 31 2c |0,./* + |*/.0021,|
|00001590| 20 30 31 32 35 2c 20 30 | 30 30 33 2c 20 30 31 34 | 0125, 0|003, 014|
|000015a0| 33 2c 20 30 2c 0a 2f 2a | 20 2c 20 2a 2f 09 30 32 |3, 0,./*| , */.02|
|000015b0| 31 31 2c 20 30 31 32 30 | 2c 20 30 31 32 31 2c 20 |11, 0120|, 0121, |
|000015c0| 30 2c 0a 2f 2a 20 2d 20 | 2a 2f 09 30 30 30 33 2c |0,./* - |*/.0003,|
|000015d0| 20 30 31 34 33 2c 20 30 | 2c 0a 2f 2a 20 2e 20 2a | 0143, 0|,./* . *|
|000015e0| 2f 09 30 30 32 30 2c 20 | 30 31 32 31 2c 20 30 2c |/.0020, |0121, 0,|
|000015f0| 0a 2f 2a 20 2f 20 2a 2f | 09 30 30 30 31 2c 20 30 |./* / */|.0001, 0|
|00001600| 31 34 35 2c 20 30 2c 0a | 2f 2a 20 30 20 2a 2f 09 |145, 0,.|/* 0 */.|
|00001610| 30 30 30 31 2c 20 30 31 | 34 35 2c 20 30 31 33 36 |0001, 01|45, 0136|
|00001620| 2c 20 30 31 31 36 2c 20 | 30 31 30 35 2c 20 30 31 |, 0116, |0105, 01|
|00001630| 30 31 2c 20 30 31 31 30 | 2c 20 30 31 33 30 2c 20 |01, 0110|, 0130, |
|00001640| 30 31 34 31 2c 20 30 31 | 34 35 2c 20 30 2c 0a 2f |0141, 01|45, 0,./|
|00001650| 2a 20 31 20 2a 2f 09 30 | 30 31 30 2c 20 30 31 33 |* 1 */.0|010, 013|
|00001660| 30 2c 20 30 30 32 30 2c | 20 30 31 32 36 2c 20 30 |0, 0020,| 0126, 0|
|00001670| 31 31 35 2c 20 30 2c 0a | 2f 2a 20 32 20 2a 2f 09 |115, 0,.|/* 2 */.|
|00001680| 30 30 30 35 2c 20 30 31 | 31 36 2c 20 30 31 33 36 |0005, 01|16, 0136|
|00001690| 2c 20 30 31 34 35 2c 20 | 30 31 34 34 2c 20 30 31 |, 0145, |0144, 01|
|000016a0| 30 30 2c 20 30 31 34 30 | 2c 20 30 2c 0a 2f 2a 20 |00, 0140|, 0,./* |
|000016b0| 33 20 2a 2f 09 30 30 30 | 31 2c 20 30 31 31 30 2c |3 */.000|1, 0110,|
|000016c0| 20 30 31 33 30 2c 20 30 | 31 34 31 2c 20 30 31 34 | 0130, 0|141, 014|
|000016d0| 32 2c 20 30 31 33 33 2c | 20 30 31 34 34 2c 20 30 |2, 0133,| 0144, 0|
|000016e0| 31 34 35 2c 20 30 31 33 | 36 2c 20 30 31 31 36 2c |145, 013|6, 0116,|
|000016f0| 0a 09 30 31 30 35 2c 20 | 30 30 32 33 2c 20 30 31 |..0105, |0023, 01|
|00001700| 33 33 2c 20 30 2c 0a 2f | 2a 20 34 20 2a 2f 09 30 |33, 0,./|* 4 */.0|
|00001710| 30 33 30 2c 20 30 31 33 | 36 2c 20 30 30 32 34 2c |030, 013|6, 0024,|
|00001720| 20 30 31 30 32 2c 20 30 | 31 34 32 2c 20 30 2c 0a | 0102, 0|142, 0,.|
|00001730| 2f 2a 20 35 20 2a 2f 09 | 30 30 30 31 2c 20 30 31 |/* 5 */.|0001, 01|
|00001740| 31 30 2c 20 30 31 33 30 | 2c 20 30 31 34 31 2c 20 |10, 0130|, 0141, |
|00001750| 30 31 34 33 2c 20 30 31 | 33 34 2c 20 30 31 31 34 |0143, 01|34, 0114|
|00001760| 2c 20 30 31 30 33 2c 20 | 30 31 30 36 2c 20 30 31 |, 0103, |0106, 01|
|00001770| 34 36 2c 20 30 2c 0a 2f | 2a 20 36 20 2a 2f 09 30 |46, 0,./|* 6 */.0|
|00001780| 30 30 32 2c 20 30 31 31 | 33 2c 20 30 31 33 33 2c |002, 011|3, 0133,|
|00001790| 20 30 31 34 32 2c 20 30 | 31 34 31 2c 20 30 31 33 | 0142, 0|141, 013|
|000017a0| 30 2c 20 30 31 31 30 2c | 20 30 31 30 31 2c 20 30 |0, 0110,| 0101, 0|
|000017b0| 31 30 35 2c 20 30 31 31 | 36 2c 0a 09 30 31 33 36 |105, 011|6,..0136|
|000017c0| 2c 20 30 31 34 35 2c 20 | 30 2c 0a 2f 2a 20 37 20 |, 0145, |0,./* 7 |
|000017d0| 2a 2f 09 30 30 30 36 2c | 20 30 31 34 36 2c 20 30 |*/.0006,| 0146, 0|
|000017e0| 31 34 35 2c 20 30 31 31 | 32 2c 20 30 31 31 30 2c |145, 011|2, 0110,|
|000017f0| 20 30 2c 0a 2f 2a 20 38 | 20 2a 2f 09 30 30 31 33 | 0,./* 8| */.0013|
|00001800| 2c 20 30 31 30 32 2c 20 | 30 31 30 31 2c 20 30 31 |, 0102, |0101, 01|
|00001810| 31 30 2c 20 30 31 33 30 | 2c 20 30 31 34 31 2c 20 |10, 0130|, 0141, |
|00001820| 30 31 34 32 2c 20 30 31 | 33 33 2c 20 30 31 31 33 |0142, 01|33, 0113|
|00001830| 2c 20 30 31 30 34 2c 0a | 09 30 31 30 35 2c 20 30 |, 0104,.|.0105, 0|
|00001840| 31 31 36 2c 20 30 31 33 | 36 2c 20 30 31 34 35 2c |116, 013|6, 0145,|
|00001850| 20 30 31 34 34 2c 20 30 | 31 33 33 2c 20 30 2c 0a | 0144, 0|133, 0,.|
|00001860| 2f 2a 20 39 20 2a 2f 09 | 30 30 30 31 2c 20 30 31 |/* 9 */.|0001, 01|
|00001870| 31 30 2c 20 30 31 33 30 | 2c 20 30 31 34 31 2c 20 |10, 0130|, 0141, |
|00001880| 30 31 34 35 2c 20 30 31 | 33 36 2c 20 30 31 31 36 |0145, 01|36, 0116|
|00001890| 2c 20 30 31 30 35 2c 20 | 30 31 30 34 2c 20 30 31 |, 0105, |0104, 01|
|000018a0| 31 33 2c 0a 09 30 31 33 | 33 2c 20 30 31 34 34 2c |13,..013|3, 0144,|
|000018b0| 20 30 2c 0a 2f 2a 20 3a | 20 2a 2f 09 30 30 32 30 | 0,./* :| */.0020|
|000018c0| 2c 20 30 31 32 31 2c 20 | 30 30 32 33 2c 20 30 31 |, 0121, |0023, 01|
|000018d0| 32 34 2c 20 30 2c 0a 2f | 2a 20 3b 20 2a 2f 09 30 |24, 0,./|* ; */.0|
|000018e0| 32 31 31 2c 20 30 31 32 | 30 2c 20 30 31 32 31 2c |211, 012|0, 0121,|
|000018f0| 20 30 30 32 33 2c 20 30 | 31 32 34 2c 20 30 2c 0a | 0023, 0|124, 0,.|
|00001900| 2f 2a 20 3c 20 2a 2f 09 | 30 30 33 30 2c 20 30 31 |/* < */.|0030, 01|
|00001910| 30 33 2c 20 30 31 33 36 | 2c 20 30 2c 0a 2f 2a 20 |03, 0136|, 0,./* |
|00001920| 3d 20 2a 2f 09 30 30 30 | 32 2c 20 30 31 34 32 2c |= */.000|2, 0142,|
|00001930| 20 30 30 34 34 2c 20 30 | 31 30 34 2c 20 30 2c 0a | 0044, 0|104, 0,.|
|00001940| 2f 2a 20 3e 20 2a 2f 09 | 30 30 31 30 2c 20 30 31 |/* > */.|0010, 01|
|00001950| 34 33 2c 20 30 31 31 36 | 2c 20 30 2c 0a 2f 2a 20 |43, 0116|, 0,./* |
|00001960| 3f 20 2a 2f 09 30 30 30 | 35 2c 20 30 31 31 36 2c |? */.000|5, 0116,|
|00001970| 20 30 31 33 36 2c 20 30 | 31 34 35 2c 20 30 31 34 | 0136, 0|145, 014|
|00001980| 34 2c 20 30 31 32 32 2c | 20 30 30 32 31 2c 20 30 |4, 0122,| 0021, 0|
|00001990| 31 32 30 2c 20 30 2c 0a | 2f 2a 20 40 20 2a 2f 09 |120, 0,.|/* @ */.|
|000019a0| 30 30 33 31 2c 20 30 31 | 33 33 2c 20 30 31 32 34 |0031, 01|33, 0124|
|000019b0| 2c 20 30 31 31 33 2c 20 | 30 31 31 32 2c 20 30 31 |, 0113, |0112, 01|
|000019c0| 32 31 2c 20 30 31 33 31 | 2c 20 30 31 34 32 2c 20 |21, 0131|, 0142, |
|000019d0| 30 31 34 34 2c 20 30 31 | 33 35 2c 0a 09 30 31 31 |0144, 01|35,..011|
|000019e0| 35 2c 20 30 31 30 34 2c | 20 30 31 30 31 2c 20 30 |5, 0104,| 0101, 0|
|000019f0| 31 31 30 2c 20 30 31 33 | 30 2c 20 30 2c 0a 2f 2a |110, 013|0, 0,./*|
|00001a00| 20 41 20 2a 2f 09 30 31 | 30 34 2c 20 30 31 32 36 | A */.01|04, 0126|
|00001a10| 2c 20 30 31 34 34 2c 20 | 30 31 34 30 2c 20 30 30 |, 0144, |0140, 00|
|00001a20| 34 32 2c 20 30 31 30 32 | 2c 20 30 2c 0a 2f 2a 20 |42, 0102|, 0,./* |
|00001a30| 42 20 2a 2f 09 30 31 33 | 30 2c 20 30 31 34 31 2c |B */.013|0, 0141,|
|00001a40| 20 30 31 34 32 2c 20 30 | 31 33 33 2c 20 30 31 34 | 0142, 0|133, 014|
|00001a50| 34 2c 20 30 31 34 35 2c | 20 30 31 33 36 2c 20 30 |4, 0145,| 0136, 0|
|00001a60| 31 30 36 2c 20 30 31 30 | 30 2c 20 30 30 30 33 2c |106, 010|0, 0003,|
|00001a70| 0a 09 30 31 33 33 2c 20 | 30 2c 0a 2f 2a 20 43 20 |..0133, |0,./* C |
|00001a80| 2a 2f 09 30 30 34 35 2c | 20 30 31 33 36 2c 20 30 |*/.0045,| 0136, 0|
|00001a90| 31 31 36 2c 20 30 31 30 | 35 2c 20 30 31 30 31 2c |116, 010|5, 0101,|
|00001aa0| 20 30 31 31 30 2c 20 30 | 31 33 30 2c 20 30 31 34 | 0110, 0|130, 014|
|00001ab0| 31 2c 20 30 2c 0a 2f 2a | 20 44 20 2a 2f 09 30 31 |1, 0,./*| D */.01|
|00001ac0| 33 30 2c 20 30 31 34 31 | 2c 20 30 31 34 35 2c 20 |30, 0141|, 0145, |
|00001ad0| 30 31 33 36 2c 20 30 31 | 30 36 2c 20 30 31 30 30 |0136, 01|06, 0100|
|00001ae0| 2c 20 30 2c 0a 2f 2a 20 | 45 20 2a 2f 09 30 30 30 |, 0,./* |E */.000|
|00001af0| 33 2c 20 30 31 33 33 2c | 20 30 30 34 36 2c 20 30 |3, 0133,| 0046, 0|
|00001b00| 31 30 36 2c 20 30 31 30 | 30 2c 20 30 31 34 30 2c |106, 010|0, 0140,|
|00001b10| 20 30 2c 0a 2f 2a 20 46 | 20 2a 2f 09 30 31 30 36 | 0,./* F| */.0106|
|00001b20| 2c 20 30 31 34 36 2c 20 | 30 30 33 33 2c 20 30 31 |, 0146, |0033, 01|
|00001b30| 30 33 2c 20 30 2c 0a 2f | 2a 20 47 20 2a 2f 09 30 |03, 0,./|* G */.0|
|00001b40| 30 32 32 2c 20 30 31 34 | 32 2c 20 30 31 34 31 2c |022, 014|2, 0141,|
|00001b50| 20 30 31 33 30 2c 20 30 | 31 31 30 2c 20 30 31 30 | 0130, 0|110, 010|
|00001b60| 31 2c 20 30 31 30 35 2c | 20 30 31 31 36 2c 20 30 |1, 0105,| 0116, 0|
|00001b70| 31 33 36 2c 20 30 31 34 | 35 2c 20 30 2c 0a 2f 2a |136, 014|5, 0,./*|
|00001b80| 20 48 20 2a 2f 09 30 31 | 30 36 2c 20 30 30 34 36 | H */.01|06, 0046|
|00001b90| 2c 20 30 31 34 30 2c 20 | 30 30 34 33 2c 20 30 31 |, 0140, |0043, 01|
|00001ba0| 30 33 2c 20 30 2c 0a 2f | 2a 20 49 20 2a 2f 09 30 |03, 0,./|* I */.0|
|00001bb0| 30 31 30 2c 20 30 31 33 | 30 2c 20 30 30 32 30 2c |010, 013|0, 0020,|
|00001bc0| 20 30 31 32 36 2c 20 30 | 30 31 36 2c 20 30 31 33 | 0126, 0|016, 013|
|00001bd0| 36 2c 20 30 2c 0a 2f 2a | 20 4a 20 2a 2f 09 30 30 |6, 0,./*| J */.00|
|00001be0| 30 31 2c 20 30 31 31 30 | 2c 20 30 31 33 30 2c 20 |01, 0110|, 0130, |
|00001bf0| 30 31 34 31 2c 20 30 31 | 34 36 2c 20 30 2c 0a 2f |0141, 01|46, 0,./|
|00001c00| 2a 20 4b 20 2a 2f 09 30 | 31 30 36 2c 20 30 30 34 |* K */.0|106, 004|
|00001c10| 36 2c 20 30 31 30 32 2c | 20 30 30 31 33 2c 20 30 |6, 0102,| 0013, 0|
|00001c20| 31 34 30 2c 20 30 2c 0a | 2f 2a 20 4c 20 2a 2f 09 |140, 0,.|/* L */.|
|00001c30| 30 30 30 36 2c 20 30 31 | 30 30 2c 20 30 31 34 30 |0006, 01|00, 0140|
|00001c40| 2c 20 30 2c 0a 2f 2a 20 | 4d 20 2a 2f 09 30 31 30 |, 0,./* |M */.010|
|00001c50| 36 2c 20 30 31 32 34 2c | 20 30 31 34 36 2c 20 30 |6, 0124,| 0146, 0|
|00001c60| 31 34 30 2c 20 30 2c 0a | 2f 2a 20 4e 20 2a 2f 09 |140, 0,.|/* N */.|
|00001c70| 30 31 30 36 2c 20 30 30 | 30 35 2c 20 30 31 34 31 |0106, 00|05, 0141|
|00001c80| 2c 20 30 30 34 30 2c 20 | 30 31 34 36 2c 20 30 2c |, 0040, |0146, 0,|
|00001c90| 0a 2f 2a 20 4f 20 2a 2f | 09 30 30 31 30 2c 20 30 |./* O */|.0010, 0|
|00001ca0| 31 33 30 2c 20 30 31 34 | 31 2c 20 30 31 34 35 2c |130, 014|1, 0145,|
|00001cb0| 20 30 31 33 36 2c 20 30 | 31 31 36 2c 20 30 31 30 | 0136, 0|116, 010|
|00001cc0| 35 2c 20 30 31 30 31 2c | 20 30 31 31 30 2c 20 30 |5, 0101,| 0110, 0|
|00001cd0| 2c 0a 2f 2a 20 50 20 2a | 2f 09 30 31 30 36 2c 20 |,./* P *|/.0106, |
|00001ce0| 30 31 33 36 2c 20 30 31 | 34 35 2c 20 30 31 34 34 |0136, 01|45, 0144|
|00001cf0| 2c 20 30 31 33 33 2c 20 | 30 31 30 33 2c 20 30 2c |, 0133, |0103, 0,|
|00001d00| 0a 2f 2a 20 51 20 2a 2f | 09 30 30 31 30 2c 20 30 |./* Q */|.0010, 0|
|00001d10| 31 33 30 2c 20 30 31 34 | 31 2c 20 30 31 34 35 2c |130, 014|1, 0145,|
|00001d20| 20 30 31 33 36 2c 20 30 | 31 31 36 2c 20 30 31 30 | 0136, 0|116, 010|
|00001d30| 35 2c 20 30 31 30 31 2c | 20 30 31 31 30 2c 20 30 |5, 0101,| 0110, 0|
|00001d40| 30 32 32 2c 0a 09 30 31 | 34 30 2c 20 30 2c 0a 2f |022,..01|40, 0,./|
|00001d50| 2a 20 52 20 2a 2f 09 30 | 31 30 36 2c 20 30 31 33 |* R */.0|106, 013|
|00001d60| 36 2c 20 30 31 34 35 2c | 20 30 31 34 34 2c 20 30 |6, 0145,| 0144, 0|
|00001d70| 31 33 33 2c 20 30 31 30 | 33 2c 20 30 30 31 33 2c |133, 010|3, 0013,|
|00001d80| 20 30 31 34 30 2c 20 30 | 2c 0a 2f 2a 20 53 20 2a | 0140, 0|,./* S *|
|00001d90| 2f 09 30 30 30 31 2c 20 | 30 31 31 30 2c 20 30 31 |/.0001, |0110, 01|
|00001da0| 33 30 2c 20 30 31 34 31 | 2c 20 30 31 34 32 2c 20 |30, 0141|, 0142, |
|00001db0| 30 31 33 33 2c 20 30 31 | 31 33 2c 20 30 31 30 34 |0133, 01|13, 0104|
|00001dc0| 2c 20 30 31 30 35 2c 20 | 30 31 31 36 2c 0a 09 30 |, 0105, |0116,..0|
|00001dd0| 31 33 36 2c 20 30 31 34 | 35 2c 20 30 2c 0a 2f 2a |136, 014|5, 0,./*|
|00001de0| 20 54 20 2a 2f 09 30 30 | 32 30 2c 20 30 31 32 36 | T */.00|20, 0126|
|00001df0| 2c 20 30 30 30 36 2c 20 | 30 31 34 36 2c 20 30 2c |, 0006, |0146, 0,|
|00001e00| 0a 2f 2a 20 55 20 2a 2f | 09 30 30 30 36 2c 20 30 |./* U */|.0006, 0|
|00001e10| 31 30 31 2c 20 30 31 31 | 30 2c 20 30 31 33 30 2c |101, 011|0, 0130,|
|00001e20| 20 30 31 34 31 2c 20 30 | 31 34 36 2c 20 30 2c 0a | 0141, 0|146, 0,.|
|00001e30| 2f 2a 20 56 20 2a 2f 09 | 30 30 30 36 2c 20 30 31 |/* V */.|0006, 01|
|00001e40| 30 32 2c 20 30 31 32 30 | 2c 20 30 31 34 32 2c 20 |02, 0120|, 0142, |
|00001e50| 30 31 34 36 2c 20 30 2c | 0a 2f 2a 20 57 20 2a 2f |0146, 0,|./* W */|
|00001e60| 09 30 30 30 36 2c 20 30 | 31 30 30 2c 20 30 31 32 |.0006, 0|100, 012|
|00001e70| 32 2c 20 30 31 34 30 2c | 20 30 31 34 36 2c 20 30 |2, 0140,| 0146, 0|
|00001e80| 2c 0a 2f 2a 20 58 20 2a | 2f 09 30 31 30 31 2c 20 |,./* X *|/.0101, |
|00001e90| 30 31 34 35 2c 20 30 31 | 34 36 2c 20 30 30 30 36 |0145, 01|46, 0006|
|00001ea0| 2c 20 30 31 30 35 2c 20 | 30 31 34 31 2c 20 30 31 |, 0105, |0141, 01|
|00001eb0| 34 30 2c 20 30 2c 0a 2f | 2a 20 59 20 2a 2f 09 30 |40, 0,./|* Y */.0|
|00001ec0| 30 32 30 2c 20 30 31 32 | 33 2c 20 30 31 30 35 2c |020, 012|3, 0105,|
|00001ed0| 20 30 31 30 36 2c 20 30 | 30 34 36 2c 20 30 31 34 | 0106, 0|046, 014|
|00001ee0| 35 2c 20 30 31 32 33 2c | 20 30 2c 0a 2f 2a 20 5a |5, 0123,| 0,./* Z|
|00001ef0| 20 2a 2f 09 30 30 34 30 | 2c 20 30 31 30 30 2c 20 | */.0040|, 0100, |
|00001f00| 30 31 30 31 2c 20 30 31 | 34 35 2c 20 30 31 34 36 |0101, 01|45, 0146|
|00001f10| 2c 20 30 31 30 36 2c 20 | 30 30 31 33 2c 20 30 31 |, 0106, |0013, 01|
|00001f20| 33 33 2c 20 30 2c 0a 2f | 2a 20 5b 20 2a 2f 09 30 |33, 0,./|* [ */.0|
|00001f30| 30 33 30 2c 20 30 31 31 | 30 2c 20 30 31 31 36 2c |030, 011|0, 0116,|
|00001f40| 20 30 31 33 36 2c 20 30 | 2c 0a 2f 2a 20 5c 20 2a | 0136, 0|,./* \ *|
|00001f50| 2f 09 30 30 30 35 2c 20 | 30 31 34 31 2c 20 30 2c |/.0005, |0141, 0,|
|00001f60| 0a 2f 2a 20 5d 20 2a 2f | 09 30 30 31 30 2c 20 30 |./* ] */|.0010, 0|
|00001f70| 31 33 30 2c 20 30 31 33 | 36 2c 20 30 31 31 36 2c |130, 013|6, 0116,|
|00001f80| 20 30 2c 0a 2f 2a 20 5e | 20 2a 2f 09 30 30 30 34 | 0,./* ^| */.0004|
|00001f90| 2c 20 30 31 32 36 2c 20 | 30 31 34 34 2c 20 30 2c |, 0126, |0144, 0,|
|00001fa0| 0a 2f 2a 20 5f 20 2a 2f | 09 30 32 30 31 2c 20 30 |./* _ */|.0201, 0|
|00001fb0| 33 34 31 2c 20 30 2c 0a | 2f 2a 20 60 20 2a 2f 09 |341, 0,.|/* ` */.|
|00001fc0| 30 30 31 36 2c 20 30 31 | 33 34 2c 20 30 2c 0a 2f |0016, 01|34, 0,./|
|00001fd0| 2a 20 61 20 2a 2f 09 30 | 30 30 33 2c 20 30 31 31 |* a */.0|003, 011|
|00001fe0| 34 2c 20 30 31 33 34 2c | 20 30 31 34 33 2c 20 30 |4, 0134,| 0143, 0|
|00001ff0| 31 34 30 2c 20 30 30 34 | 32 2c 20 30 31 31 32 2c |140, 004|2, 0112,|
|00002000| 20 30 31 30 31 2c 20 30 | 31 31 30 2c 20 30 31 33 | 0101, 0|110, 013|
|00002010| 30 2c 0a 09 30 31 34 31 | 2c 20 30 2c 0a 2f 2a 20 |0,..0141|, 0,./* |
|00002020| 62 20 2a 2f 09 30 31 30 | 36 2c 20 30 30 30 31 2c |b */.010|6, 0001,|
|00002030| 20 30 31 31 30 2c 20 30 | 31 33 30 2c 20 30 31 34 | 0110, 0|130, 014|
|00002040| 31 2c 20 30 31 34 33 2c | 20 30 31 33 34 2c 20 30 |1, 0143,| 0134, 0|
|00002050| 31 31 34 2c 20 30 31 30 | 33 2c 20 30 2c 0a 2f 2a |114, 010|3, 0,./*|
|00002060| 20 63 20 2a 2f 09 30 30 | 34 33 2c 20 30 31 33 34 | c */.00|43, 0134|
|00002070| 2c 20 30 31 31 34 2c 20 | 30 31 30 33 2c 20 30 31 |, 0114, |0103, 01|
|00002080| 30 31 2c 20 30 31 31 30 | 2c 20 30 31 33 30 2c 20 |01, 0110|, 0130, |
|00002090| 30 31 34 31 2c 20 30 2c | 0a 2f 2a 20 64 20 2a 2f |0141, 0,|./* d */|
|000020a0| 09 30 30 34 33 2c 20 30 | 31 33 34 2c 20 30 31 31 |.0043, 0|134, 011|
|000020b0| 34 2c 20 30 31 30 33 2c | 20 30 31 30 31 2c 20 30 |4, 0103,| 0101, 0|
|000020c0| 31 31 30 2c 20 30 31 33 | 30 2c 20 30 31 34 31 2c |110, 013|0, 0141,|
|000020d0| 20 30 30 34 30 2c 20 30 | 31 34 36 2c 20 30 2c 0a | 0040, 0|146, 0,.|
|000020e0| 2f 2a 20 65 20 2a 2f 09 | 30 30 30 32 2c 20 30 31 |/* e */.|0002, 01|
|000020f0| 34 32 2c 20 30 31 34 33 | 2c 20 30 31 33 34 2c 20 |42, 0143|, 0134, |
|00002100| 30 31 31 34 2c 20 30 31 | 30 33 2c 20 30 31 30 31 |0114, 01|03, 0101|
|00002110| 2c 20 30 31 31 30 2c 20 | 30 31 33 30 2c 20 30 31 |, 0110, |0130, 01|
|00002120| 34 31 2c 20 30 2c 0a 2f | 2a 20 66 20 2a 2f 09 30 |41, 0,./|* f */.0|
|00002130| 30 31 30 2c 20 30 31 31 | 35 2c 20 30 31 32 36 2c |010, 011|5, 0126,|
|00002140| 20 30 31 33 36 2c 20 30 | 31 34 35 2c 20 30 30 33 | 0136, 0|145, 003|
|00002150| 34 2c 20 30 31 30 34 2c | 20 30 2c 0a 2f 2a 20 67 |4, 0104,| 0,./* g|
|00002160| 20 2a 2f 09 30 32 30 31 | 2c 20 30 33 31 30 2c 20 | */.0201|, 0310, |
|00002170| 30 33 33 30 2c 20 30 33 | 34 31 2c 20 30 31 34 34 |0330, 03|41, 0144|
|00002180| 2c 20 30 30 34 31 2c 20 | 30 31 33 30 2c 20 30 31 |, 0041, |0130, 01|
|00002190| 31 30 2c 20 30 31 30 31 | 2c 20 30 31 30 33 2c 0a |10, 0101|, 0103,.|
|000021a0| 09 30 31 31 34 2c 20 30 | 31 33 34 2c 20 30 31 34 |.0114, 0|134, 014|
|000021b0| 33 2c 20 30 2c 0a 2f 2a | 20 68 20 2a 2f 09 30 31 |3, 0,./*| h */.01|
|000021c0| 30 36 2c 20 30 30 30 33 | 2c 20 30 31 31 34 2c 20 |06, 0003|, 0114, |
|000021d0| 30 31 33 34 2c 20 30 31 | 34 33 2c 20 30 31 34 30 |0134, 01|43, 0140|
|000021e0| 2c 20 30 2c 0a 2f 2a 20 | 69 20 2a 2f 09 30 30 32 |, 0,./* |i */.002|
|000021f0| 30 2c 20 30 31 32 34 2c | 20 30 31 31 34 2c 20 30 |0, 0124,| 0114, 0|
|00002200| 30 32 35 2c 20 30 31 32 | 36 2c 20 30 2c 0a 2f 2a |025, 012|6, 0,./*|
|00002210| 20 6a 20 2a 2f 09 30 32 | 30 31 2c 20 30 33 31 30 | j */.02|01, 0310|
|00002220| 2c 20 30 33 33 30 2c 20 | 30 33 34 31 2c 20 30 31 |, 0330, |0341, 01|
|00002230| 34 34 2c 20 30 30 34 35 | 2c 20 30 31 34 36 2c 20 |44, 0045|, 0146, |
|00002240| 30 2c 0a 2f 2a 20 6b 20 | 2a 2f 09 30 31 30 36 2c |0,./* k |*/.0106,|
|00002250| 20 30 30 34 34 2c 20 30 | 31 30 30 2c 20 30 30 32 | 0044, 0|100, 002|
|00002260| 32 2c 20 30 31 34 30 2c | 20 30 2c 0a 2f 2a 20 6c |2, 0140,| 0,./* l|
|00002270| 20 2a 2f 09 30 30 32 30 | 2c 20 30 31 32 36 2c 20 | */.0020|, 0126, |
|00002280| 30 31 31 36 2c 20 30 2c | 0a 2f 2a 20 6d 20 2a 2f |0116, 0,|./* m */|
|00002290| 09 30 31 30 34 2c 20 30 | 30 30 33 2c 20 30 31 31 |.0104, 0|003, 011|
|000022a0| 34 2c 20 30 31 32 33 2c | 20 30 31 32 30 2c 20 30 |4, 0123,| 0120, 0|
|000022b0| 30 34 30 2c 20 30 31 34 | 33 2c 20 30 31 33 34 2c |040, 014|3, 0134,|
|000022c0| 20 30 31 32 33 2c 20 30 | 2c 0a 2f 2a 20 6e 20 2a | 0123, 0|,./* n *|
|000022d0| 2f 09 30 31 30 34 2c 20 | 30 30 30 33 2c 20 30 31 |/.0104, |0003, 01|
|000022e0| 31 34 2c 20 30 31 33 34 | 2c 20 30 31 34 33 2c 20 |14, 0134|, 0143, |
|000022f0| 30 31 34 30 2c 20 30 2c | 0a 2f 2a 20 6f 20 2a 2f |0140, 0,|./* o */|
|00002300| 09 30 30 31 30 2c 20 30 | 31 33 30 2c 20 30 31 34 |.0010, 0|130, 014|
|00002310| 31 2c 20 30 31 34 33 2c | 20 30 31 33 34 2c 20 30 |1, 0143,| 0134, 0|
|00002320| 31 31 34 2c 20 30 31 30 | 33 2c 20 30 31 30 31 2c |114, 010|3, 0101,|
|00002330| 20 30 31 31 30 2c 20 30 | 2c 0a 2f 2a 20 70 20 2a | 0110, 0|,./* p *|
|00002340| 2f 09 30 30 30 31 2c 20 | 30 31 31 30 2c 20 30 31 |/.0001, |0110, 01|
|00002350| 33 30 2c 20 30 31 34 31 | 2c 20 30 31 34 33 2c 20 |30, 0141|, 0143, |
|00002360| 30 31 33 34 2c 20 30 31 | 31 34 2c 20 30 31 30 33 |0134, 01|14, 0103|
|00002370| 2c 20 30 30 30 34 2c 20 | 30 33 30 30 2c 20 30 2c |, 0004, |0300, 0,|
|00002380| 0a 2f 2a 20 71 20 2a 2f | 09 30 30 34 31 2c 20 30 |./* q */|.0041, 0|
|00002390| 31 33 30 2c 20 30 31 31 | 30 2c 20 30 31 30 31 2c |130, 011|0, 0101,|
|000023a0| 20 30 31 30 33 2c 20 30 | 31 31 34 2c 20 30 31 33 | 0103, 0|114, 013|
|000023b0| 34 2c 20 30 31 34 33 2c | 20 30 30 34 34 2c 20 30 |4, 0143,| 0044, 0|
|000023c0| 33 34 30 2c 20 30 2c 0a | 2f 2a 20 72 20 2a 2f 09 |340, 0,.|/* r */.|
|000023d0| 30 31 30 34 2c 20 30 30 | 30 33 2c 20 30 31 31 34 |0104, 00|03, 0114|
|000023e0| 2c 20 30 31 33 34 2c 20 | 30 31 34 33 2c 20 30 2c |, 0134, |0143, 0,|
|000023f0| 0a 2f 2a 20 73 20 2a 2f | 09 30 30 30 31 2c 20 30 |./* s */|.0001, 0|
|00002400| 31 31 30 2c 20 30 31 33 | 30 2c 20 30 31 34 31 2c |110, 013|0, 0141,|
|00002410| 20 30 31 33 32 2c 20 30 | 31 31 32 2c 20 30 31 30 | 0132, 0|112, 010|
|00002420| 33 2c 20 30 31 31 34 2c | 20 30 31 33 34 2c 20 30 |3, 0114,| 0134, 0|
|00002430| 31 34 33 2c 20 30 2c 0a | 2f 2a 20 74 20 2a 2f 09 |143, 0,.|/* t */.|
|00002440| 30 30 30 34 2c 20 30 31 | 33 34 2c 20 30 30 31 35 |0004, 01|34, 0015|
|00002450| 2c 20 30 31 31 31 2c 20 | 30 31 32 30 2c 20 30 31 |, 0111, |0120, 01|
|00002460| 33 30 2c 20 30 31 34 31 | 2c 20 30 2c 0a 2f 2a 20 |30, 0141|, 0,./* |
|00002470| 75 20 2a 2f 09 30 30 30 | 34 2c 20 30 31 30 31 2c |u */.000|4, 0101,|
|00002480| 20 30 31 31 30 2c 20 30 | 31 33 30 2c 20 30 31 34 | 0110, 0|130, 014|
|00002490| 31 2c 20 30 30 34 30 2c | 20 30 31 34 34 2c 20 30 |1, 0040,| 0144, 0|
|000024a0| 2c 0a 2f 2a 20 76 20 2a | 2f 09 30 30 30 34 2c 20 |,./* v *|/.0004, |
|000024b0| 30 31 30 32 2c 20 30 31 | 32 30 2c 20 30 31 34 32 |0102, 01|20, 0142|
|000024c0| 2c 20 30 31 34 34 2c 20 | 30 2c 0a 2f 2a 20 77 20 |, 0144, |0,./* w |
|000024d0| 2a 2f 09 30 30 30 34 2c | 20 30 31 30 31 2c 20 30 |*/.0004,| 0101, 0|
|000024e0| 31 31 30 2c 20 30 31 32 | 31 2c 20 30 30 32 32 2c |110, 012|1, 0022,|
|000024f0| 20 30 31 32 31 2c 20 30 | 31 33 30 2c 20 30 31 34 | 0121, 0|130, 014|
|00002500| 31 2c 20 30 31 34 34 2c | 20 30 2c 0a 2f 2a 20 78 |1, 0144,| 0,./* x|
|00002510| 20 2a 2f 09 30 31 34 34 | 2c 20 30 30 30 34 2c 20 | */.0144|, 0004, |
|00002520| 30 31 34 30 2c 20 30 2c | 0a 2f 2a 20 79 20 2a 2f |0140, 0,|./* y */|
|00002530| 09 30 32 30 31 2c 20 30 | 33 31 30 2c 20 30 33 33 |.0201, 0|310, 033|
|00002540| 30 2c 20 30 33 34 31 2c | 20 30 31 34 34 2c 20 30 |0, 0341,| 0144, 0|
|00002550| 30 30 34 2c 20 30 31 30 | 31 2c 20 30 31 31 30 2c |004, 010|1, 0110,|
|00002560| 20 30 31 33 30 2c 20 30 | 31 34 31 2c 20 30 2c 0a | 0130, 0|141, 0,.|
|00002570| 2f 2a 20 7a 20 2a 2f 09 | 30 30 30 34 2c 20 30 31 |/* z */.|0004, 01|
|00002580| 34 34 2c 20 30 31 30 30 | 2c 20 30 31 34 30 2c 20 |44, 0100|, 0140, |
|00002590| 30 2c 0a 2f 2a 20 7b 20 | 2a 2f 09 30 30 33 30 2c |0,./* { |*/.0030,|
|000025a0| 20 30 31 32 31 2c 20 30 | 31 32 32 2c 20 30 31 31 | 0121, 0|122, 011|
|000025b0| 33 2c 20 30 31 32 34 2c | 20 30 31 32 35 2c 20 30 |3, 0124,| 0125, 0|
|000025c0| 31 33 36 2c 20 30 2c 0a | 2f 2a 20 7c 20 2a 2f 09 |136, 0,.|/* | */.|
|000025d0| 30 30 32 30 2c 20 30 31 | 32 36 2c 20 30 2c 0a 2f |0020, 01|26, 0,./|
|000025e0| 2a 20 7d 20 2a 2f 09 30 | 30 31 30 2c 20 30 31 32 |* } */.0|010, 012|
|000025f0| 31 2c 20 30 31 32 32 2c | 20 30 31 33 33 2c 20 30 |1, 0122,| 0133, 0|
|00002600| 31 32 34 2c 20 30 31 32 | 35 2c 20 30 31 31 36 2c |124, 012|5, 0116,|
|00002610| 20 30 2c 0a 2f 2a 20 7e | 20 2a 2f 09 30 30 30 35 | 0,./* ~| */.0005|
|00002620| 2c 20 30 31 31 36 2c 20 | 30 31 33 34 2c 20 30 31 |, 0116, |0134, 01|
|00002630| 34 35 2c 20 30 2c 0a 2f | 2a 44 45 4c 2a 2f 09 30 |45, 0,./|*DEL*/.0|
|00002640| 31 34 30 2c 20 30 31 34 | 36 2c 20 30 31 30 36 2c |140, 014|6, 0106,|
|00002650| 20 30 31 30 30 2c 20 30 | 30 31 30 2c 20 30 31 31 | 0100, 0|010, 011|
|00002660| 36 2c 20 30 30 32 36 2c | 20 30 31 32 30 2c 20 30 |6, 0026,| 0120, 0|
|00002670| 30 33 30 2c 20 30 31 33 | 36 2c 20 30 0a 09 7d 3b |030, 013|6, 0..};|
|00002680| 0a 0a 2f 2a 20 70 6f 69 | 6e 74 65 72 73 20 74 6f |../* poi|nters to|
|00002690| 20 73 74 61 72 74 20 6f | 66 20 73 74 72 6f 6b 65 | start o|f stroke|
|000026a0| 20 64 61 74 61 20 66 6f | 72 20 65 61 63 68 20 63 | data fo|r each c|
|000026b0| 68 61 72 61 63 74 65 72 | 20 2a 2f 0a 0a 73 74 61 |haracter| */..sta|
|000026c0| 74 69 63 20 63 68 61 72 | 09 2a 73 73 74 72 6f 6b |tic char|.*sstrok|
|000026d0| 65 5b 31 32 38 5d 20 3d | 20 7b 28 63 68 61 72 20 |e[128] =| {(char |
|000026e0| 2a 29 20 30 7d 3b 0a 0a | 09 09 09 2f 2a 20 43 4f |*) 0};..|.../* CO|
|000026f0| 4e 53 54 41 4e 54 53 20 | 2a 2f 0a 23 64 65 66 69 |NSTANTS |*/.#defi|
|00002700| 6e 65 09 43 48 53 50 41 | 43 09 36 09 09 09 2f 2a |ne.CHSPA|C.6.../*|
|00002710| 20 70 72 6f 74 6f 74 79 | 70 65 20 74 65 78 74 20 | prototy|pe text |
|00002720| 73 70 61 63 69 6e 67 20 | 2a 2f 0a 23 64 65 66 69 |spacing |*/.#defi|
|00002730| 6e 65 09 41 53 43 4d 41 | 53 4b 09 30 31 37 37 09 |ne.ASCMA|SK.0177.|
|00002740| 09 09 2f 2a 20 37 2d 62 | 69 74 20 41 53 43 49 49 |../* 7-b|it ASCII|
|00002750| 20 6d 61 73 6b 20 2a 2f | 0a 23 64 65 66 69 6e 65 | mask */|.#define|
|00002760| 20 76 6f 69 64 20 69 6e | 74 0a 0a 09 09 09 2f 2a | void in|t...../*|
|00002770| 20 47 4c 4f 42 41 4c 20 | 44 41 54 41 20 2a 2f 0a | GLOBAL |DATA */.|
|00002780| 0a 73 74 61 74 69 63 20 | 69 6e 74 20 28 2a 54 29 |.static |int (*T)|
|00002790| 5b 33 5d 3b 09 09 09 2f | 2a 20 74 65 78 74 20 74 |[3];.../|* text t|
|000027a0| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 20 2a 2f |ransform|ation */|
|000027b0| 0a 0a 09 09 09 2f 2a 20 | 45 4e 54 52 59 20 50 4f |...../* |ENTRY PO|
|000027c0| 49 4e 54 20 2a 2f 0a 0a | 76 6f 69 64 20 43 6f 6e |INT */..|void Con|
|000027d0| 53 79 6d 62 6f 6c 20 28 | 73 74 72 69 6e 67 2c 74 |Symbol (|string,t|
|000027e0| 72 61 6e 73 66 6f 72 6d | 29 0a 20 20 20 63 68 61 |ransform|). cha|
|000027f0| 72 20 2a 73 74 72 69 6e | 67 3b 09 09 2f 2a 20 2d |r *strin|g;../* -|
|00002800| 3e 20 4e 55 4c 2d 74 65 | 72 6d 69 6e 61 74 65 64 |> NUL-te|rminated|
|00002810| 20 73 74 72 69 6e 67 20 | 2a 2f 0a 20 20 20 69 6e | string |*/. in|
|00002820| 74 09 74 72 61 6e 73 66 | 6f 72 6d 5b 32 5d 5b 33 |t.transf|orm[2][3|
|00002830| 5d 3b 09 2f 2a 20 74 65 | 78 74 20 74 72 61 6e 73 |];./* te|xt trans|
|00002840| 66 6f 72 6d 61 74 69 6f | 6e 20 2a 2f 0a 20 20 20 |formatio|n */. |
|00002850| 7b 0a 20 20 20 20 20 20 | 72 65 67 69 73 74 65 72 |{. |register|
|00002860| 20 63 68 61 72 20 2a 73 | 70 3b 09 2f 2a 20 2d 3e | char *s|p;./* ->|
|00002870| 20 73 74 72 6f 6b 65 20 | 64 61 74 61 20 2a 2f 0a | stroke |data */.|
|00002880| 20 20 20 20 20 20 72 65 | 67 69 73 74 65 72 20 69 | re|gister i|
|00002890| 6e 74 20 63 6f 72 6e 78 | 3b 09 2f 2a 20 70 72 6f |nt cornx|;./* pro|
|000028a0| 74 6f 20 58 20 6f 66 20 | 63 65 6c 6c 20 63 6f 72 |to X of |cell cor|
|000028b0| 6e 65 72 20 2a 2f 0a 20 | 20 20 20 20 20 72 65 67 |ner */. | reg|
|000028c0| 69 73 74 65 72 20 69 6e | 74 20 63 3b 09 20 20 20 |ister in|t c;. |
|000028d0| 20 20 20 20 20 2f 2a 20 | 63 68 61 72 20 66 72 6f | /* |char fro|
|000028e0| 6d 20 41 53 43 49 49 20 | 73 74 72 69 6e 67 20 20 |m ASCII |string |
|000028f0| 20 20 2a 2f 0a 09 09 09 | 09 2f 2a 20 61 6c 73 6f | */....|./* also|
|00002900| 20 75 73 65 64 20 66 6f | 72 20 73 74 72 6f 6b 65 | used fo|r stroke|
|00002910| 20 64 61 74 61 20 2a 2f | 0a 0a 20 20 20 20 20 20 | data */|.. |
|00002920| 2f 2a 20 69 6e 69 74 69 | 61 6c 69 7a 65 20 73 74 |/* initi|alize st|
|00002930| 61 72 74 69 6e 67 20 73 | 74 72 6f 6b 65 20 70 6f |arting s|troke po|
|00002940| 69 6e 74 65 72 73 20 75 | 70 6f 6e 20 66 69 72 73 |inters u|pon firs|
|00002950| 74 20 65 6e 74 72 79 20 | 6f 6e 6c 79 20 2a 2f 0a |t entry |only */.|
|00002960| 0a 20 20 20 20 20 20 69 | 66 20 28 21 73 73 74 72 |. i|f (!sstr|
|00002970| 6f 6b 65 5b 30 5d 29 20 | 7b 0a 09 20 73 70 20 3d |oke[0]) |{.. sp =|
|00002980| 20 73 74 72 6f 6b 65 3b | 0a 09 20 66 6f 72 20 28 | stroke;|.. for (|
|00002990| 63 20 3d 20 30 3b 20 63 | 20 3c 20 31 32 38 3b 20 |c = 0; c| < 128; |
|000029a0| 2b 2b 63 29 20 7b 0a 09 | 20 20 20 20 73 73 74 72 |++c) {..| sstr|
|000029b0| 6f 6b 65 20 5b 63 5d 20 | 3d 20 73 70 3b 09 09 20 |oke [c] |= sp;.. |
|000029c0| 09 20 2f 2a 20 73 74 61 | 72 74 73 20 68 65 72 65 |. /* sta|rts here|
|000029d0| 20 2a 2f 0a 09 20 20 20 | 20 77 68 69 6c 65 20 28 | */.. | while (|
|000029e0| 2a 73 70 2b 2b 29 20 63 | 6f 6e 74 69 6e 75 65 3b |*sp++) c|ontinue;|
|000029f0| 20 09 09 20 2f 2a 20 30 | 20 74 65 72 6d 69 6e 61 | .. /* 0| termina|
|00002a00| 74 65 73 20 74 68 65 20 | 64 61 74 61 20 2a 2f 0a |tes the |data */.|
|00002a10| 09 20 7d 0a 20 20 20 20 | 20 20 7d 0a 0a 20 20 20 |. }. | }.. |
|00002a20| 20 20 20 54 20 3d 20 74 | 72 61 6e 73 66 6f 72 6d | T = t|ransform|
|00002a30| 3b 0a 0a 20 20 20 20 20 | 20 2f 2a 20 6c 6f 6f 6b |;.. | /* look|
|00002a40| 20 75 70 20 73 74 72 6f | 6b 65 73 20 66 6f 72 20 | up stro|kes for |
|00002a50| 65 61 63 68 20 63 68 61 | 72 61 63 74 65 72 20 61 |each cha|racter a|
|00002a60| 6e 64 20 70 6c 6f 74 20 | 74 68 65 6d 20 2a 2f 0a |nd plot |them */.|
|00002a70| 0a 20 20 20 20 20 20 66 | 6f 72 20 28 63 6f 72 6e |. f|or (corn|
|00002a80| 78 20 3d 20 30 3b 20 63 | 20 3d 20 2a 73 74 72 69 |x = 0; c| = *stri|
|00002a90| 6e 67 2b 2b 3b 20 63 6f | 72 6e 78 20 2b 3d 20 43 |ng++; co|rnx += C|
|00002aa0| 48 53 50 41 43 29 20 7b | 0a 0a 09 20 73 70 20 3d |HSPAC) {|... sp =|
|00002ab0| 20 73 73 74 72 6f 6b 65 | 20 5b 63 20 26 20 41 53 | sstroke| [c & AS|
|00002ac0| 43 4d 41 53 4b 5d 3b 20 | 2f 2a 20 2d 3e 20 73 74 |CMASK]; |/* -> st|
|00002ad0| 72 6f 6b 65 20 64 61 74 | 61 20 2a 2f 0a 0a 09 20 |roke dat|a */... |
|00002ae0| 70 6c 6f 74 20 28 63 6f | 72 6e 78 2c 30 2c 30 2c |plot (co|rnx,0,0,|
|00002af0| 30 29 3b 20 09 2f 2a 20 | 67 65 74 20 74 6f 20 63 |0); ./* |get to c|
|00002b00| 68 61 72 61 63 74 65 72 | 20 63 65 6c 6c 20 4c 4c |haracter| cell LL|
|00002b10| 43 20 2a 2f 0a 0a 09 20 | 2f 2a 20 64 72 61 77 20 |C */... |/* draw |
|00002b20| 74 68 65 20 73 74 72 6f | 6b 65 73 20 73 74 61 72 |the stro|kes star|
|00002b30| 74 69 6e 67 20 61 74 20 | 4c 4c 43 20 2a 2f 0a 0a |ting at |LLC */..|
|00002b40| 09 20 77 68 69 6c 65 20 | 28 63 20 3d 20 2a 73 70 |. while |(c = *sp|
|00002b50| 2b 2b 20 29 09 2f 2a 20 | 67 65 74 20 73 74 72 6f |++ )./* |get stro|
|00002b60| 6b 65 20 2a 2f 0a 09 20 | 20 20 20 70 6c 6f 74 20 |ke */.. | plot |
|00002b70| 28 63 6f 72 6e 78 20 2b | 20 28 28 63 20 26 20 58 |(cornx +| ((c & X|
|00002b80| 58 58 29 20 3e 3e 20 58 | 4a 55 53 54 29 2c 0a 09 |XX) >> X|JUST),..|
|00002b90| 09 20 20 28 63 20 26 20 | 59 59 59 29 20 2d 20 28 |. (c & |YYY) - (|
|00002ba0| 28 63 20 26 20 53 29 20 | 3f 20 32 20 3a 20 30 29 |(c & S) |? 2 : 0)|
|00002bb0| 2c 0a 09 09 20 20 28 63 | 20 26 20 56 29 2c 0a 09 |,... (c| & V),..|
|00002bc0| 09 20 20 28 2a 73 70 20 | 26 20 56 29 29 3b 09 2f |. (*sp |& V));./|
|00002bd0| 2a 20 6d 6f 76 65 20 6f | 72 20 64 72 61 77 20 2a |* move o|r draw *|
|00002be0| 2f 0a 20 20 20 20 20 20 | 7d 0a 20 20 20 7d 0a 0a |/. |}. }..|
|00002bf0| 2f 2a 20 74 72 61 6e 73 | 66 6f 72 6d 20 70 72 6f |/* trans|form pro|
|00002c00| 74 6f 74 79 70 65 20 63 | 6f 6f 72 64 69 6e 61 74 |totype c|oordinat|
|00002c10| 65 73 20 74 6f 20 61 63 | 74 75 61 6c 20 70 6c 6f |es to ac|tual plo|
|00002c20| 74 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 2a 2f |t coordi|nates */|
|00002c30| 0a 23 64 65 66 69 6e 65 | 20 6d 61 70 28 78 2c 79 |.#define| map(x,y|
|00002c40| 2c 6e 29 20 28 28 54 5b | 6e 5d 5b 30 5d 20 2a 20 |,n) ((T[|n][0] * |
|00002c50| 78 20 2b 20 54 5b 6e 5d | 5b 31 5d 2a 79 20 2b 20 |x + T[n]|[1]*y + |
|00002c60| 54 5b 6e 5d 5b 32 5d 29 | 20 2b 20 35 31 32 20 3e |T[n][2])| + 512 >|
|00002c70| 3e 20 31 30 29 3b 0a 0a | 73 74 61 74 69 63 20 76 |> 10);..|static v|
|00002c80| 6f 69 64 20 70 6c 6f 74 | 20 28 64 78 2c 64 79 2c |oid plot| (dx,dy,|
|00002c90| 76 69 73 2c 4e 65 78 74 | 56 69 73 29 09 2f 2a 20 |vis,Next|Vis)./* |
|00002ca0| 70 6c 6f 74 20 61 64 6a | 75 73 74 65 64 20 73 74 |plot adj|usted st|
|00002cb0| 72 6f 6b 65 20 2a 2f 0a | 20 20 20 69 6e 74 20 64 |roke */.| int d|
|00002cc0| 78 2c 64 79 3b 09 09 09 | 09 2f 2a 20 75 6e 72 6f |x,dy;...|./* unro|
|00002cd0| 74 20 70 6f 73 20 72 65 | 6c 20 74 6f 20 74 65 78 |t pos re|l to tex|
|00002ce0| 74 20 4c 4c 43 20 2a 2f | 0a 20 20 20 69 6e 74 20 |t LLC */|. int |
|00002cf0| 76 69 73 3b 09 09 09 20 | 20 20 20 20 20 20 20 2f |vis;... | /|
|00002d00| 2a 20 6e 6f 6e 7a 65 72 | 6f 20 3d 3e 20 76 69 73 |* nonzer|o => vis|
|00002d10| 69 62 6c 65 20 2a 2f 0a | 20 20 20 69 6e 74 20 4e |ible */.| int N|
|00002d20| 65 78 74 56 69 73 3b 09 | 09 09 09 2f 2a 20 49 73 |extVis;.|.../* Is|
|00002d30| 20 74 68 65 20 6e 65 78 | 74 20 73 74 72 6f 6b 65 | the nex|t stroke|
|00002d40| 20 76 69 73 69 62 6c 65 | 3f 20 2a 2f 0a 20 20 20 | visible|? */. |
|00002d50| 7b 0a 20 20 20 20 20 20 | 73 74 61 74 69 63 20 69 |{. |static i|
|00002d60| 6e 74 20 6f 6c 64 70 6f | 73 78 3d 30 2c 6f 6c 64 |nt oldpo|sx=0,old|
|00002d70| 70 6f 73 79 3d 30 3b 0a | 20 20 20 20 20 20 73 74 |posy=0;.| st|
|00002d80| 61 74 69 63 20 69 6e 74 | 20 6f 6c 64 64 78 2c 6f |atic int| olddx,o|
|00002d90| 6c 64 64 79 3b 0a 20 20 | 20 20 20 20 73 74 61 74 |lddy;. | stat|
|00002da0| 69 63 20 69 6e 74 20 6f | 6c 64 56 61 6c 69 64 3b |ic int o|ldValid;|
|00002db0| 0a 20 20 20 20 20 20 69 | 6e 74 20 70 6f 73 78 2c |. i|nt posx,|
|00002dc0| 70 6f 73 79 3b 0a 0a 20 | 20 20 20 20 20 69 66 20 |posy;.. | if |
|00002dd0| 28 76 69 73 20 26 26 20 | 21 6f 6c 64 56 61 6c 69 |(vis && |!oldVali|
|00002de0| 64 29 20 7b 0a 09 20 6f | 6c 64 70 6f 73 78 20 3d |d) {.. o|ldposx =|
|00002df0| 20 6d 61 70 20 28 6f 6c | 64 64 78 2c 6f 6c 64 64 | map (ol|ddx,oldd|
|00002e00| 79 2c 30 29 3b 0a 09 20 | 6f 6c 64 70 6f 73 79 20 |y,0);.. |oldposy |
|00002e10| 3d 20 6d 61 70 20 28 6f | 6c 64 64 78 2c 6f 6c 64 |= map (o|lddx,old|
|00002e20| 64 79 2c 31 29 3b 0a 09 | 20 56 49 5f 41 4d 6f 76 |dy,1);..| VI_AMov|
|00002e30| 65 20 28 6f 6c 64 70 6f | 73 78 2c 6f 6c 64 70 6f |e (oldpo|sx,oldpo|
|00002e40| 73 79 29 3b 0a 20 20 20 | 20 20 20 7d 0a 20 20 20 |sy);. | }. |
|00002e50| 20 20 20 70 6f 73 78 20 | 3d 20 6d 61 70 20 28 64 | posx |= map (d|
|00002e60| 78 2c 64 79 2c 30 29 3b | 0a 20 20 20 20 20 20 70 |x,dy,0);|. p|
|00002e70| 6f 73 79 20 3d 20 6d 61 | 70 20 28 64 78 2c 64 79 |osy = ma|p (dx,dy|
|00002e80| 2c 31 29 3b 0a 0a 20 20 | 20 20 20 20 2f 2a 20 6e |,1);.. | /* n|
|00002e90| 6f 20 61 72 69 74 68 6d | 65 74 69 63 20 6f 76 65 |o arithm|etic ove|
|00002ea0| 72 66 6c 6f 77 20 63 68 | 65 63 6b 69 6e 67 20 69 |rflow ch|ecking i|
|00002eb0| 73 20 64 6f 6e 65 20 2a | 2f 0a 0a 20 20 20 20 20 |s done *|/.. |
|00002ec0| 20 69 66 20 28 76 69 73 | 29 20 56 49 5f 52 4c 69 | if (vis|) VI_RLi|
|00002ed0| 6e 65 20 28 70 6f 73 78 | 2d 6f 6c 64 70 6f 73 78 |ne (posx|-oldposx|
|00002ee0| 2c 70 6f 73 79 2d 6f 6c | 64 70 6f 73 79 29 3b 0a |,posy-ol|dposy);.|
|00002ef0| 0a 20 20 20 20 20 20 6f | 6c 64 56 61 6c 69 64 20 |. o|ldValid |
|00002f00| 3d 20 76 69 73 3b 0a 20 | 20 20 20 20 20 6f 6c 64 |= vis;. | old|
|00002f10| 64 78 20 3d 20 64 78 3b | 0a 20 20 20 20 20 20 6f |dx = dx;|. o|
|00002f20| 6c 64 64 79 20 3d 20 64 | 79 3b 0a 20 20 20 20 20 |lddy = d|y;. |
|00002f30| 20 6f 6c 64 70 6f 73 78 | 20 3d 20 70 6f 73 78 3b | oldposx| = posx;|
|00002f40| 0a 20 20 20 20 20 20 6f | 6c 64 70 6f 73 79 20 3d |. o|ldposy =|
|00002f50| 20 70 6f 73 79 3b 0a 20 | 20 20 7d 0a 0a 2f 2a 20 | posy;. | }../* |
|00002f60| 45 6e 64 20 6f 66 20 74 | 65 78 74 20 66 72 6f 6d |End of t|ext from|
|00002f70| 20 75 69 75 63 64 63 73 | 62 3a 6e 65 74 2e 75 6e | uiucdcs|b:net.un|
|00002f80| 69 78 20 2a 2f 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |ix */.SH|AR_EOF.i|
|00002f90| 66 20 74 65 73 74 20 2d | 66 20 27 69 6e 74 65 72 |f test -|f 'inter|
|00002fa0| 70 2f 47 5f 64 72 61 77 | 2e 63 27 0a 74 68 65 6e |p/G_draw|.c'.then|
|00002fb0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 6f 76 65 |..echo s|har: ove|
|00002fc0| 72 2d 77 72 69 74 69 6e | 67 20 65 78 69 73 74 69 |r-writin|g existi|
|00002fd0| 6e 67 20 66 69 6c 65 20 | 22 27 69 6e 74 65 72 70 |ng file |"'interp|
|00002fe0| 2f 47 5f 64 72 61 77 2e | 63 27 22 0a 66 69 0a 63 |/G_draw.|c'".fi.c|
|00002ff0| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00003000| 3e 20 27 69 6e 74 65 72 | 70 2f 47 5f 64 72 61 77 |> 'inter|p/G_draw|
|00003010| 2e 63 27 0a 0c 0a 2f 2a | 2a 2a 2a 2a 2a 20 47 5f |.c'.../*|***** G_|
|00003020| 64 72 61 77 2e 63 20 2a | 2a 2a 2a 2a 2a 2a 2a 2a |draw.c *|********|
|00003030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003040| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003050| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0a 2f |********|*****/./|
|00003060| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00003070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030a0| 20 20 20 20 2a 2a 2f 0a | 2f 2a 2a 20 20 20 20 20 | **/.|/** |
|000030b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 55 | | U|
|000030c0| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 49 6c 6c |niversit|y of Ill|
|000030d0| 69 6e 6f 69 73 20 20 20 | 20 20 20 20 20 20 20 20 |inois | |
|000030e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2a 2f | | **/|
|000030f0| 0a 2f 2a 2a 20 20 20 20 | 20 20 20 20 20 20 20 20 |./** | |
|00003100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003130| 20 20 20 20 20 20 2a 2a | 2f 0a 2f 2a 2a 20 20 20 | **|/./** |
|00003140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 44 65 70 | | Dep|
|00003150| 61 72 74 6d 65 6e 74 20 | 6f 66 20 43 6f 6d 70 75 |artment |of Compu|
|00003160| 74 65 72 20 53 63 69 65 | 6e 63 65 20 20 20 20 20 |ter Scie|nce |
|00003170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00003180| 2a 2f 0a 2f 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |*/./** | |
|00003190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031c0| 20 20 20 20 20 20 20 20 | 2a 2a 2f 0a 2f 2a 2a 20 | |**/./** |
|000031d0| 20 20 54 6f 6f 6c 3a 20 | 49 46 50 20 20 20 20 20 | Tool: |IFP |
|000031e0| 20 09 09 09 56 65 72 73 | 69 6f 6e 3a 20 30 2e 35 | ...Vers|ion: 0.5|
|000031f0| 09 09 20 20 20 20 20 2a | 2a 2f 0a 2f 2a 2a 20 20 |.. *|*/./** |
|00003200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003240| 2a 2a 2f 0a 2f 2a 2a 20 | 20 20 41 75 74 68 6f 72 |**/./** | Author|
|00003250| 3a 20 20 41 72 63 68 20 | 44 2e 20 52 6f 62 69 73 |: Arch |D. Robis|
|00003260| 6f 6e 20 20 20 20 20 20 | 20 20 20 20 44 61 74 65 |on | Date|
|00003270| 3a 20 20 20 4d 61 79 20 | 31 2c 20 31 39 38 35 20 |: May |1, 1985 |
|00003280| 20 20 20 20 20 20 20 20 | 20 2a 2a 2f 0a 2f 2a 2a | | **/./**|
|00003290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032d0| 20 20 2a 2a 2f 0a 2f 2a | 2a 20 20 20 52 65 76 69 | **/./*|* Revi|
|000032e0| 73 65 64 20 62 79 3a 20 | 41 72 63 68 20 44 2e 20 |sed by: |Arch D. |
|000032f0| 52 6f 62 69 73 6f 6e 09 | 44 61 74 65 3a 20 4a 75 |Robison.|Date: Ju|
|00003300| 6e 65 20 31 38 2c 20 31 | 39 38 36 09 20 20 20 20 |ne 18, 1|986. |
|00003310| 20 2a 2a 2f 0a 2f 2a 2a | 20 20 20 20 20 20 20 20 | **/./**| |
|00003320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003350| 20 20 20 20 20 20 20 20 | 20 20 2a 2a 2f 0a 2f 2a | | **/./*|
|00003360| 2a 20 20 20 50 72 69 6e | 63 69 70 61 6c 20 49 6e |* Prin|cipal In|
|00003370| 76 65 73 74 69 67 61 74 | 6f 72 73 3a 20 50 72 6f |vestigat|ors: Pro|
|00003380| 66 2e 20 52 2e 20 48 2e | 20 43 61 6d 70 62 65 6c |f. R. H.| Campbel|
|00003390| 6c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l | |
|000033a0| 20 20 20 2a 2a 2f 0a 2f | 2a 2a 20 20 20 20 20 20 | **/./|** |
|000033b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033c0| 20 20 20 20 20 20 50 72 | 6f 66 2e 20 57 2e 20 4a | Pr|of. W. J|
|000033d0| 2e 20 4b 75 62 69 74 7a | 20 20 20 20 20 20 20 20 |. Kubitz| |
|000033e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 2a 2f 0a | | **/.|
|000033f0| 2f 2a 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/** | |
|00003400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003430| 20 20 20 20 20 2a 2a 2f | 0a 2f 2a 2a 20 20 20 20 | **/|./** |
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2a | | **|
|00003480| 2f 0a 2f 2a 2a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/./**---|--------|
|00003490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000034c0| 2d 2d 2d 2d 2d 2d 2d 2a | 2a 2f 0a 2f 2a 2a 20 20 |-------*|*/./** |
|000034d0| 20 28 43 29 20 43 6f 70 | 79 72 69 67 68 74 20 31 | (C) Cop|yright 1|
|000034e0| 39 38 37 20 20 55 6e 69 | 76 65 72 73 69 74 79 20 |987 Uni|versity |
|000034f0| 6f 66 20 49 6c 6c 69 6e | 6f 69 73 20 42 6f 61 72 |of Illin|ois Boar|
|00003500| 64 20 6f 66 20 54 72 75 | 73 74 65 65 73 20 20 20 |d of Tru|stees |
|00003510| 2a 2a 2f 0a 2f 2a 2a 20 | 20 20 20 20 20 20 20 20 |**/./** | |
|00003520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 6c | | Al|
|00003530| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00003540| 64 2e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d. | |
|00003550| 20 20 20 20 20 20 20 20 | 20 2a 2a 2f 0a 2f 2a 2a | | **/./**|
|00003560| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003570| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000035a0| 2a 2a 2a 2a 2f 0a 0a 2f | 2a 2a 2a 2a 2a 2a 2a 2a |****/../|********|
|000035b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 20 46 50 20 |********|**** FP |
|000035c0| 47 72 61 70 68 69 63 73 | 20 49 6e 74 65 72 66 61 |Graphics| Interfa|
|000035d0| 63 65 20 4d 6f 64 75 6c | 65 20 2a 2a 2a 2a 2a 2a |ce Modul|e ******|
|000035e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2f 0a |********|******/.|
|000035f0| 0a 2f 2a 0a 20 2a 20 54 | 68 65 20 66 70 20 69 6e |./*. * T|he fp in|
|00003600| 74 65 72 70 72 65 74 65 | 72 20 6d 75 73 74 20 62 |terprete|r must b|
|00003610| 65 20 63 6f 6d 70 69 6c | 65 64 20 77 69 74 68 20 |e compil|ed with |
|00003620| 74 68 65 20 2d 44 47 52 | 41 50 48 49 43 53 20 6f |the -DGR|APHICS o|
|00003630| 70 74 69 6f 6e 20 74 6f | 20 75 73 65 0a 20 2a 20 |ption to| use. * |
|00003640| 74 68 65 20 67 72 61 70 | 68 69 63 73 20 69 6e 74 |the grap|hics int|
|00003650| 65 72 66 61 63 65 2e 20 | 20 54 68 65 20 69 6e 74 |erface. | The int|
|00003660| 65 72 66 61 63 65 20 69 | 73 20 73 70 65 63 69 66 |erface i|s specif|
|00003670| 69 63 20 74 6f 20 74 68 | 65 20 50 43 2f 52 54 2e |ic to th|e PC/RT.|
|00003680| 0a 20 2a 0a 20 2a 20 54 | 68 65 72 65 20 61 72 65 |. *. * T|here are|
|00003690| 20 6e 6f 20 67 72 61 70 | 68 69 63 73 20 70 72 69 | no grap|hics pri|
|000036a0| 6d 69 74 69 76 65 73 20 | 69 6e 20 46 50 20 69 74 |mitives |in FP it|
|000036b0| 73 65 6c 66 2c 20 72 61 | 74 68 65 72 20 46 50 20 |self, ra|ther FP |
|000036c0| 69 73 20 75 73 65 64 20 | 74 6f 0a 20 2a 20 63 61 |is used |to. * ca|
|000036d0| 6c 63 75 6c 61 74 65 20 | 61 20 64 69 73 70 6c 61 |lculate |a displa|
|000036e0| 79 20 6c 69 73 74 2e 20 | 20 54 68 65 20 64 69 73 |y list. | The dis|
|000036f0| 70 6c 61 79 20 6c 69 73 | 74 20 69 73 20 74 68 65 |play lis|t is the|
|00003700| 6e 20 66 65 64 20 74 6f | 20 44 72 61 77 4f 62 6a |n fed to| DrawObj|
|00003710| 65 63 74 2c 0a 20 2a 20 | 77 68 69 63 68 20 64 72 |ect,. * |which dr|
|00003720| 61 77 73 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |aws the |picture |
|00003730| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 74 68 65 |specifie|d by the|
|00003740| 20 64 69 73 70 6c 61 79 | 20 6c 69 73 74 2e 0a 20 | display| list.. |
|00003750| 2a 0a 20 2a 20 54 68 65 | 20 64 69 73 70 6c 61 79 |*. * The| display|
|00003760| 20 6c 69 73 74 20 68 61 | 73 20 74 68 65 20 66 6f | list ha|s the fo|
|00003770| 6c 6c 6f 77 69 6e 67 20 | 73 74 72 75 63 74 75 72 |llowing |structur|
|00003780| 65 3a 0a 20 2a 0a 20 2a | 20 20 20 20 20 64 69 73 |e:. *. *| dis|
|00003790| 70 6c 61 79 2d 6c 69 73 | 74 20 3d 3d 20 3c 20 7b |play-lis|t == < {|
|000037a0| 64 69 73 70 6c 61 79 2d | 6c 69 73 74 7d 20 3e 20 |display-|list} > |
|000037b0| 7c 20 70 6f 6c 79 6c 69 | 6e 65 20 7c 20 63 6f 6c || polyli|ne | col|
|000037c0| 6f 72 20 7c 20 74 72 61 | 6e 73 66 6f 72 6d 20 7c |or | tra|nsform ||
|000037d0| 20 74 65 78 74 0a 20 2a | 20 20 20 20 20 70 6f 6c | text. *| pol|
|000037e0| 79 6c 69 6e 65 20 3d 3d | 20 3c 20 22 6c 69 6e 65 |yline ==| < "line|
|000037f0| 22 20 7b 20 3c 20 78 20 | 79 20 3e 20 7d 20 3e 0a |" { < x |y > } >.|
|00003800| 20 2a 20 20 20 20 20 63 | 6f 6c 6f 72 20 3d 3d 20 | * c|olor == |
|00003810| 3c 20 22 63 6f 6c 6f 72 | 22 20 63 6f 6c 6f 72 2d |< "color|" color-|
|00003820| 69 6e 64 65 78 20 64 69 | 73 70 6c 61 79 2d 6c 69 |index di|splay-li|
|00003830| 73 74 20 3e 0a 20 2a 20 | 20 20 20 20 74 65 78 74 |st >. * | text|
|00003840| 20 3d 3d 20 3c 22 74 65 | 78 74 22 20 70 72 69 6e | == <"te|xt" prin|
|00003850| 74 2d 61 74 6f 6d 20 73 | 69 7a 65 20 5b 22 63 65 |t-atom s|ize ["ce|
|00003860| 6e 74 65 72 22 5d 3e 0a | 20 2a 20 20 20 20 20 74 |nter"]>.| * t|
|00003870| 72 61 6e 73 66 6f 72 6d | 20 3d 20 3c 22 74 72 61 |ransform| = <"tra|
|00003880| 6e 73 22 20 74 2d 6d 61 | 74 72 69 78 20 64 69 73 |ns" t-ma|trix dis|
|00003890| 70 6c 61 79 2d 6c 69 73 | 74 20 3e 0a 20 2a 20 20 |play-lis|t >. * |
|000038a0| 20 20 20 74 2d 6d 61 74 | 72 69 78 20 3d 20 3c 3c | t-mat|rix = <<|
|000038b0| 54 78 78 20 54 78 79 20 | 54 78 6f 3e 20 3c 54 79 |Txx Txy |Txo> <Ty|
|000038c0| 78 20 54 79 79 20 54 79 | 6f 3e 3e 0a 20 2a 0a 20 |x Tyy Ty|o>>. *. |
|000038d0| 2a 20 54 68 65 20 70 6f | 6c 79 6c 69 6e 65 20 73 |* The po|lyline s|
|000038e0| 74 72 75 63 74 75 72 65 | 20 73 70 65 63 69 66 69 |tructure| specifi|
|000038f0| 65 73 20 61 20 73 65 71 | 75 65 6e 63 65 20 6f 66 |es a seq|uence of|
|00003900| 20 70 6f 69 6e 74 73 2e | 20 20 41 64 6a 61 63 65 | points.| Adjace|
|00003910| 6e 74 20 70 6f 69 6e 74 | 73 0a 20 2a 20 61 72 65 |nt point|s. * are|
|00003920| 20 63 6f 6e 6e 65 63 74 | 65 64 20 77 69 74 68 20 | connect|ed with |
|00003930| 6c 69 6e 65 20 73 65 67 | 6d 65 6e 74 73 2e 0a 20 |line seg|ments.. |
|00003940| 2a 0a 20 2a 20 54 68 65 | 20 63 6f 6c 6f 72 20 73 |*. * The| color s|
|00003950| 74 72 75 63 74 75 72 65 | 20 64 72 61 77 73 20 74 |tructure| draws t|
|00003960| 68 65 20 64 69 73 70 6c | 61 79 2d 6c 69 73 74 20 |he displ|ay-list |
|00003970| 69 6e 20 74 68 65 20 63 | 6f 6c 6f 72 20 73 70 65 |in the c|olor spe|
|00003980| 63 69 66 69 65 64 20 62 | 79 0a 20 2a 20 74 68 65 |cified b|y. * the|
|00003990| 20 63 6f 6c 6f 72 20 69 | 6e 64 65 78 20 28 30 2e | color i|ndex (0.|
|000039a0| 2e 31 35 29 2e 20 20 54 | 68 65 20 63 6f 6c 6f 72 |.15). T|he color|
|000039b0| 20 61 70 70 6c 69 65 73 | 20 74 6f 20 61 6c 6c 20 | applies| to all |
|000039c0| 70 61 72 74 73 20 6f 66 | 20 74 68 65 0a 20 2a 20 |parts of| the. * |
|000039d0| 73 75 62 6f 72 64 69 6e | 61 74 65 20 64 69 73 70 |subordin|ate disp|
|000039e0| 6c 61 79 2d 6c 69 73 74 | 20 77 68 69 63 68 20 61 |lay-list| which a|
|000039f0| 72 65 20 6e 6f 74 20 73 | 75 62 6f 72 64 69 6e 61 |re not s|ubordina|
|00003a00| 74 65 20 74 6f 20 61 20 | 63 6f 6c 6f 72 20 73 74 |te to a |color st|
|00003a10| 72 75 63 74 75 72 65 0a | 20 2a 20 77 69 74 68 69 |ructure.| * withi|
|00003a20| 6e 2e 20 20 0a 20 2a 0a | 20 2a 20 54 68 65 20 74 |n. . *.| * The t|
|00003a30| 72 61 6e 73 66 6f 72 6d | 20 73 74 72 75 63 74 75 |ransform| structu|
|00003a40| 72 65 20 64 72 61 77 73 | 20 74 68 65 20 64 69 73 |re draws| the dis|
|00003a50| 70 6c 61 79 2d 6c 69 73 | 74 20 61 73 20 74 72 61 |play-lis|t as tra|
|00003a60| 6e 73 66 6f 72 6d 65 64 | 20 62 79 20 74 68 65 0a |nsformed| by the.|
|00003a70| 20 2a 20 74 2d 6d 61 74 | 72 69 78 2e 20 20 54 72 | * t-mat|rix. Tr|
|00003a80| 61 6e 73 66 6f 72 6d 73 | 20 6d 61 79 20 62 65 20 |ansforms| may be |
|00003a90| 6e 65 73 74 65 64 2e 0a | 20 2a 0a 20 2a 20 54 68 |nested..| *. * Th|
|00003aa0| 65 20 74 65 78 74 20 73 | 74 72 75 63 74 75 72 65 |e text s|tructure|
|00003ab0| 20 64 72 61 77 73 20 61 | 20 73 74 72 69 6e 67 20 | draws a| string |
|00003ac0| 77 69 74 68 20 74 68 65 | 20 6c 6f 77 65 72 2d 6c |with the| lower-l|
|00003ad0| 65 66 74 20 63 6f 72 6e | 65 72 20 61 74 20 28 30 |eft corn|er at (0|
|00003ae0| 2c 30 29 2e 0a 20 2a 20 | 45 61 63 68 20 63 68 61 |,0).. * |Each cha|
|00003af0| 72 61 63 74 65 72 20 69 | 73 20 64 72 61 77 6e 20 |racter i|s drawn |
|00003b00| 69 6e 20 61 20 31 2e 30 | 20 62 79 20 31 2e 30 20 |in a 1.0| by 1.0 |
|00003b10| 62 6f 78 20 28 69 6e 63 | 6c 75 64 69 6e 67 20 73 |box (inc|luding s|
|00003b20| 70 61 63 69 6e 67 29 2e | 0a 20 2a 2f 0a 0a 23 69 |pacing).|. */..#i|
|00003b30| 6e 63 6c 75 64 65 20 3c | 73 74 64 69 6f 2e 68 3e |nclude <|stdio.h>|
|00003b40| 0a 23 69 6e 63 6c 75 64 | 65 20 22 73 74 72 75 63 |.#includ|e "struc|
|00003b50| 74 2e 68 22 0a 23 69 6e | 63 6c 75 64 65 20 22 73 |t.h".#in|clude "s|
|00003b60| 74 72 69 6e 67 2e 68 22 | 0a 0a 23 64 65 66 69 6e |tring.h"|..#defin|
|00003b70| 65 20 4e 4b 65 79 20 34 | 0a 53 74 72 50 74 72 20 |e NKey 4|.StrPtr |
|00003b80| 53 4b 65 79 5b 34 5d 2c | 53 43 65 6e 74 65 72 3b |SKey[4],|SCenter;|
|00003b90| 0a 0a 70 72 69 76 61 74 | 65 20 73 68 6f 72 74 20 |..privat|e short |
|00003ba0| 53 63 72 65 65 6e 44 69 | 6d 5b 32 5d 3b 0a 0a 70 |ScreenDi|m[2];..p|
|00003bb0| 72 69 76 61 74 65 20 76 | 6f 69 64 20 47 72 61 70 |rivate v|oid Grap|
|00003bc0| 68 45 72 72 6f 72 20 28 | 49 6e 4f 75 74 2c 4d 65 |hError (|InOut,Me|
|00003bd0| 73 73 61 67 65 29 0a 20 | 20 20 4f 62 6a 65 63 74 |ssage). | Object|
|00003be0| 50 74 72 20 49 6e 4f 75 | 74 3b 0a 20 20 20 63 68 |Ptr InOu|t;. ch|
|00003bf0| 61 72 20 2a 4d 65 73 73 | 61 67 65 3b 0a 20 20 20 |ar *Mess|age;. |
|00003c00| 7b 0a 20 20 20 20 20 20 | 56 49 5f 54 65 72 6d 20 |{. |VI_Term |
|00003c10| 28 29 3b 0a 20 20 20 20 | 20 20 70 72 69 6e 74 66 |();. | printf|
|00003c20| 20 28 22 25 73 5c 6e 22 | 2c 4d 65 73 73 61 67 65 | ("%s\n"|,Message|
|00003c30| 29 3b 0a 20 20 20 20 20 | 20 4f 75 74 4f 62 6a 65 |);. | OutObje|
|00003c40| 63 74 20 28 49 6e 4f 75 | 74 29 3b 0a 20 20 20 20 |ct (InOu|t);. |
|00003c50| 20 20 70 72 69 6e 74 66 | 20 28 22 5c 6e 22 29 3b | printf| ("\n");|
|00003c60| 0a 20 20 20 20 20 20 52 | 65 70 54 61 67 20 28 49 |. R|epTag (I|
|00003c70| 6e 4f 75 74 2c 42 4f 54 | 54 4f 4d 29 3b 0a 20 20 |nOut,BOT|TOM);. |
|00003c80| 20 7d 0a 0a 76 6f 69 64 | 20 49 6e 69 74 44 72 61 | }..void| InitDra|
|00003c90| 77 20 28 29 0a 20 20 20 | 7b 0a 20 20 20 20 20 20 |w (). |{. |
|00003ca0| 70 72 69 6e 74 66 20 28 | 22 20 28 52 54 2f 50 43 |printf (|" (RT/PC|
|00003cb0| 20 67 72 61 70 68 69 63 | 73 29 22 29 3b 0a 20 20 | graphic|s)");. |
|00003cc0| 20 20 20 20 66 66 6c 75 | 73 68 20 28 73 74 64 6f | fflu|sh (stdo|
|00003cd0| 75 74 29 3b 0a 20 20 20 | 20 20 20 53 4b 65 79 5b |ut);. | SKey[|
|00003ce0| 30 5d 20 3d 20 4d 61 6b | 65 53 74 72 69 6e 67 20 |0] = Mak|eString |
|00003cf0| 28 22 6c 69 6e 65 22 29 | 3b 0a 20 20 20 20 20 20 |("line")|;. |
|00003d00| 53 4b 65 79 5b 31 5d 20 | 3d 20 4d 61 6b 65 53 74 |SKey[1] |= MakeSt|
|00003d10| 72 69 6e 67 20 28 22 74 | 72 61 6e 73 22 29 3b 0a |ring ("t|rans");.|
|00003d20| 20 20 20 20 20 20 53 4b | 65 79 5b 32 5d 20 3d 20 | SK|ey[2] = |
|00003d30| 4d 61 6b 65 53 74 72 69 | 6e 67 20 28 22 63 6f 6c |MakeStri|ng ("col|
|00003d40| 6f 72 22 29 3b 0a 20 20 | 20 20 20 20 53 4b 65 79 |or");. | SKey|
|00003d50| 5b 33 5d 20 3d 20 4d 61 | 6b 65 53 74 72 69 6e 67 |[3] = Ma|keString|
|00003d60| 20 28 22 74 65 78 74 22 | 29 3b 0a 20 20 20 20 20 | ("text"|);. |
|00003d70| 20 53 43 65 6e 74 65 72 | 20 3d 20 4d 61 6b 65 53 | SCenter| = MakeS|
|00003d80| 74 72 69 6e 67 20 28 22 | 63 65 6e 74 65 72 22 29 |tring ("|center")|
|00003d90| 3b 0a 20 20 20 7d 0a 0a | 74 79 70 65 64 65 66 20 |;. }..|typedef |
|00003da0| 64 6f 75 62 6c 65 20 54 | 72 61 6e 73 66 6f 72 6d |double T|ransform|
|00003db0| 20 5b 32 5d 5b 33 5d 3b | 0a 0a 54 72 61 6e 73 66 | [2][3];|..Transf|
|00003dc0| 6f 72 6d 20 54 72 61 6e | 73 44 65 66 61 75 6c 74 |orm Tran|sDefault|
|00003dd0| 20 3d 20 7b 0a 20 20 20 | 7b 38 30 30 2c 30 2c 30 | = {. |{800,0,0|
|00003de0| 7d 2c 0a 20 20 20 7b 30 | 2c 38 30 30 2c 30 7d 0a |},. {0|,800,0}.|
|00003df0| 7d 3b 0a 0a 66 6f 72 77 | 61 72 64 20 76 6f 69 64 |};..forw|ard void|
|00003e00| 20 44 72 4f 62 28 29 2c | 20 44 72 61 77 54 65 78 | DrOb(),| DrawTex|
|00003e10| 74 28 29 2c 20 44 72 61 | 77 54 72 61 6e 73 28 29 |t(), Dra|wTrans()|
|00003e20| 2c 20 44 72 61 77 43 6f | 6c 6f 72 20 28 29 2c 20 |, DrawCo|lor (), |
|00003e30| 50 6f 6c 79 4c 69 6e 65 | 28 29 3b 0a 0a 76 6f 69 |PolyLine|();..voi|
|00003e40| 64 20 44 72 61 77 4f 62 | 6a 65 63 74 20 28 49 6e |d DrawOb|ject (In|
|00003e50| 4f 75 74 29 0a 20 20 20 | 4f 62 6a 65 63 74 50 74 |Out). |ObjectPt|
|00003e60| 72 20 49 6e 4f 75 74 3b | 0a 20 20 20 7b 0a 20 20 |r InOut;|. {. |
|00003e70| 20 20 20 20 69 66 20 28 | 49 6e 4f 75 74 2d 3e 54 | if (|InOut->T|
|00003e80| 61 67 20 3d 3d 20 42 4f | 54 54 4f 4d 29 20 72 65 |ag == BO|TTOM) re|
|00003e90| 74 75 72 6e 3b 0a 0a 20 | 20 20 20 20 20 56 49 5f |turn;.. | VI_|
|00003ea0| 49 6e 69 74 28 53 63 72 | 65 65 6e 44 69 6d 2c 53 |Init(Scr|eenDim,S|
|00003eb0| 63 72 65 65 6e 44 69 6d | 2b 31 29 3b 0a 20 20 20 |creenDim|+1);. |
|00003ec0| 20 20 20 56 49 5f 46 6f | 72 63 65 28 29 3b 0a 20 | VI_Fo|rce();. |
|00003ed0| 20 20 20 20 20 56 49 5f | 43 6f 6c 6f 72 20 28 30 | VI_|Color (0|
|00003ee0| 29 3b 0a 20 20 20 20 20 | 20 56 49 5f 54 69 6c 65 |);. | VI_Tile|
|00003ef0| 20 28 53 63 72 65 65 6e | 44 69 6d 5b 30 5d 2c 53 | (Screen|Dim[0],S|
|00003f00| 63 72 65 65 6e 44 69 6d | 5b 31 5d 2c 31 2c 31 2c |creenDim|[1],1,1,|
|00003f10| 22 5c 30 22 29 3b 0a 20 | 20 20 20 20 20 44 72 4f |"\0");. | DrO|
|00003f20| 62 20 28 49 6e 4f 75 74 | 2c 54 72 61 6e 73 44 65 |b (InOut|,TransDe|
|00003f30| 66 61 75 6c 74 2c 31 29 | 3b 0a 20 20 20 20 20 20 |fault,1)|;. |
|00003f40| 69 66 20 28 49 6e 4f 75 | 74 2d 3e 54 61 67 20 21 |if (InOu|t->Tag !|
|00003f50| 3d 20 42 4f 54 54 4f 4d | 29 20 7b 0a 09 20 77 68 |= BOTTOM|) {.. wh|
|00003f60| 69 6c 65 20 28 67 65 74 | 63 68 61 72 20 28 29 20 |ile (get|char () |
|00003f70| 21 3d 20 27 5c 6e 27 29 | 20 63 6f 6e 74 69 6e 75 |!= '\n')| continu|
|00003f80| 65 3b 0a 09 20 56 49 5f | 54 65 72 6d 20 28 29 3b |e;.. VI_|Term ();|
|00003f90| 0a 20 20 20 20 20 20 7d | 0a 20 20 20 7d 0a 0a 2f |. }|. }../|
|00003fa0| 2a 0a 20 2a 20 44 72 4f | 62 0a 20 2a 0a 20 2a 20 |*. * DrO|b. *. * |
|00003fb0| 44 72 61 77 20 6f 62 6a | 65 63 74 20 49 6e 6f 75 |Draw obj|ect Inou|
|00003fc0| 74 20 77 69 74 68 20 74 | 72 61 6e 73 66 6f 72 6d |t with t|ransform|
|00003fd0| 20 54 20 61 6e 64 20 69 | 6e 20 63 6f 6c 6f 72 20 | T and i|n color |
|00003fe0| 43 6f 6c 6f 72 2e 0a 20 | 2a 2f 0a 70 72 69 76 61 |Color.. |*/.priva|
|00003ff0| 74 65 20 76 6f 69 64 20 | 44 72 4f 62 20 28 49 6e |te void |DrOb (In|
|00004000| 4f 75 74 2c 54 2c 43 6f | 6c 6f 72 29 0a 20 20 20 |Out,T,Co|lor). |
|00004010| 72 65 67 69 73 74 65 72 | 20 4f 62 6a 65 63 74 50 |register| ObjectP|
|00004020| 74 72 20 49 6e 4f 75 74 | 3b 0a 20 20 20 54 72 61 |tr InOut|;. Tra|
|00004030| 6e 73 66 6f 72 6d 20 54 | 3b 0a 20 20 20 69 6e 74 |nsform T|;. int|
|00004040| 20 43 6f 6c 6f 72 3b 0a | 20 20 20 7b 0a 20 20 20 | Color;.| {. |
|00004050| 20 20 20 72 65 67 69 73 | 74 65 72 20 69 6e 74 20 | regis|ter int |
|00004060| 4b 3b 0a 20 20 20 20 20 | 20 72 65 67 69 73 74 65 |K;. | registe|
|00004070| 72 20 4c 69 73 74 50 74 | 72 20 50 3b 0a 0a 20 20 |r ListPt|r P;.. |
|00004080| 20 20 20 20 69 66 20 28 | 49 6e 4f 75 74 2d 3e 54 | if (|InOut->T|
|00004090| 61 67 20 21 3d 20 4c 49 | 53 54 29 0a 09 20 47 72 |ag != LI|ST).. Gr|
|000040a0| 61 70 68 45 72 72 6f 72 | 20 28 49 6e 4f 75 74 2c |aphError| (InOut,|
|000040b0| 22 44 72 4f 62 3a 20 69 | 6e 76 61 6c 69 64 20 64 |"DrOb: i|nvalid d|
|000040c0| 69 73 70 6c 61 79 20 6f | 62 6a 65 63 74 22 29 3b |isplay o|bject");|
|000040d0| 0a 20 20 20 20 20 20 65 | 6c 73 65 20 7b 0a 09 20 |. e|lse {.. |
|000040e0| 50 20 3d 20 49 6e 4f 75 | 74 2d 3e 4c 69 73 74 3b |P = InOu|t->List;|
|000040f0| 0a 09 20 69 66 20 28 50 | 20 3d 3d 20 4e 55 4c 4c |.. if (P| == NULL|
|00004100| 20 7c 7c 20 50 2d 3e 56 | 61 6c 2e 54 61 67 20 3d | || P->V|al.Tag =|
|00004110| 3d 20 4c 49 53 54 29 0a | 09 20 20 20 20 66 6f 72 |= LIST).|. for|
|00004120| 20 28 3b 20 50 21 3d 4e | 55 4c 4c 3b 20 50 3d 50 | (; P!=N|ULL; P=P|
|00004130| 2d 3e 4e 65 78 74 29 20 | 44 72 4f 62 20 28 26 50 |->Next) |DrOb (&P|
|00004140| 2d 3e 56 61 6c 2c 54 2c | 43 6f 6c 6f 72 29 3b 0a |->Val,T,|Color);.|
|00004150| 09 20 65 6c 73 65 20 69 | 66 20 28 50 2d 3e 56 61 |. else i|f (P->Va|
|00004160| 6c 2e 54 61 67 20 21 3d | 20 53 54 52 49 4e 47 29 |l.Tag !=| STRING)|
|00004170| 0a 09 20 20 20 20 47 72 | 61 70 68 45 72 72 6f 72 |.. Gr|aphError|
|00004180| 20 28 49 6e 4f 75 74 2c | 22 44 72 4f 62 3a 20 66 | (InOut,|"DrOb: f|
|00004190| 69 72 73 74 20 65 6c 65 | 6d 65 6e 74 20 6d 75 73 |irst ele|ment mus|
|000041a0| 74 20 62 65 20 73 74 72 | 69 6e 67 22 29 3b 0a 09 |t be str|ing");..|
|000041b0| 20 65 6c 73 65 20 7b 0a | 09 20 20 20 20 66 6f 72 | else {.|. for|
|000041c0| 20 28 4b 3d 30 3b 20 4b | 3c 4e 4b 65 79 3b 20 4b | (K=0; K|<NKey; K|
|000041d0| 2b 2b 29 0a 09 20 20 20 | 20 20 20 20 69 66 20 28 |++).. | if (|
|000041e0| 21 53 74 72 43 6f 6d 70 | 20 28 53 4b 65 79 20 5b |!StrComp| (SKey [|
|000041f0| 4b 5d 2c 50 2d 3e 56 61 | 6c 2e 53 74 72 69 6e 67 |K],P->Va|l.String|
|00004200| 29 29 20 62 72 65 61 6b | 3b 0a 09 20 20 20 20 73 |)) break|;.. s|
|00004210| 77 69 74 63 68 20 28 4b | 29 20 7b 0a 09 20 20 20 |witch (K|) {.. |
|00004220| 20 20 20 20 63 61 73 65 | 20 30 3a 0a 09 09 20 20 | case| 0:... |
|00004230| 50 6f 6c 79 4c 69 6e 65 | 20 28 50 2d 3e 4e 65 78 |PolyLine| (P->Nex|
|00004240| 74 2c 54 2c 43 6f 6c 6f | 72 29 3b 0a 09 09 20 20 |t,T,Colo|r);... |
|00004250| 62 72 65 61 6b 3b 0a 09 | 20 20 20 20 20 20 20 63 |break;..| c|
|00004260| 61 73 65 20 31 3a 0a 09 | 09 20 20 44 72 61 77 54 |ase 1:..|. DrawT|
|00004270| 72 61 6e 73 20 28 50 2d | 3e 4e 65 78 74 2c 54 2c |rans (P-|>Next,T,|
|00004280| 43 6f 6c 6f 72 29 3b 0a | 09 09 20 20 62 72 65 61 |Color);.|.. brea|
|00004290| 6b 3b 0a 09 20 20 20 20 | 20 20 20 63 61 73 65 20 |k;.. | case |
|000042a0| 32 3a 0a 09 09 20 20 44 | 72 61 77 43 6f 6c 6f 72 |2:... D|rawColor|
|000042b0| 20 28 50 2d 3e 4e 65 78 | 74 2c 54 29 3b 0a 09 09 | (P->Nex|t,T);...|
|000042c0| 20 20 62 72 65 61 6b 3b | 0a 09 20 20 20 20 20 20 | break;|.. |
|000042d0| 20 63 61 73 65 20 33 3a | 0a 09 09 20 20 44 72 61 | case 3:|... Dra|
|000042e0| 77 54 65 78 74 20 28 50 | 2d 3e 4e 65 78 74 2c 54 |wText (P|->Next,T|
|000042f0| 2c 43 6f 6c 6f 72 29 3b | 0a 09 09 20 20 62 72 65 |,Color);|... bre|
|00004300| 61 6b 3b 0a 09 20 20 20 | 20 20 20 20 64 65 66 61 |ak;.. | defa|
|00004310| 75 6c 74 3a 0a 09 09 20 | 20 47 72 61 70 68 45 72 |ult:... | GraphEr|
|00004320| 72 6f 72 20 28 49 6e 4f | 75 74 2c 22 44 72 4f 62 |ror (InO|ut,"DrOb|
|00004330| 3a 20 75 6e 6b 6e 6f 77 | 6e 20 64 72 61 77 69 6e |: unknow|n drawin|
|00004340| 67 20 63 6f 6d 6d 61 6e | 64 22 29 3b 0a 09 09 20 |g comman|d");... |
|00004350| 20 62 72 65 61 6b 3b 0a | 09 20 20 20 20 7d 0a 09 | break;.|. }..|
|00004360| 20 7d 0a 20 20 20 20 20 | 20 7d 0a 20 20 20 7d 0a | }. | }. }.|
|00004370| 0a 70 72 69 76 61 74 65 | 20 76 6f 69 64 20 47 65 |.private| void Ge|
|00004380| 74 43 6f 6f 72 20 28 50 | 2c 54 2c 58 2c 59 29 0a |tCoor (P|,T,X,Y).|
|00004390| 20 20 20 72 65 67 69 73 | 74 65 72 20 4c 69 73 74 | regis|ter List|
|000043a0| 50 74 72 20 50 3b 0a 20 | 20 20 54 72 61 6e 73 66 |Ptr P;. | Transf|
|000043b0| 6f 72 6d 20 54 3b 0a 20 | 20 20 69 6e 74 20 2a 58 |orm T;. | int *X|
|000043c0| 2c 2a 59 3b 0a 20 20 20 | 7b 0a 20 20 20 20 20 20 |,*Y;. |{. |
|000043d0| 65 78 74 65 72 6e 20 73 | 68 6f 72 74 20 73 64 64 |extern s|hort sdd|
|000043e0| 6d 75 6c 20 28 29 3b 0a | 20 20 20 20 20 20 72 65 |mul ();.| re|
|000043f0| 67 69 73 74 65 72 20 4c | 69 73 74 50 74 72 20 51 |gister L|istPtr Q|
|00004400| 3b 0a 20 20 20 20 20 20 | 64 6f 75 62 6c 65 20 58 |;. |double X|
|00004410| 66 2c 59 66 3b 0a 0a 20 | 20 20 20 20 20 69 66 20 |f,Yf;.. | if |
|00004420| 28 21 50 61 69 72 54 65 | 73 74 20 28 26 50 2d 3e |(!PairTe|st (&P->|
|00004430| 56 61 6c 2c 4e 55 4d 45 | 52 49 43 2c 4e 55 4d 45 |Val,NUME|RIC,NUME|
|00004440| 52 49 43 29 29 0a 09 20 | 47 72 61 70 68 45 72 72 |RIC)).. |GraphErr|
|00004450| 6f 72 20 28 26 50 2d 3e | 56 61 6c 2c 22 47 65 74 |or (&P->|Val,"Get|
|00004460| 43 6f 6f 72 3a 20 6e 75 | 6d 65 72 69 63 20 70 61 |Coor: nu|meric pa|
|00004470| 69 72 20 65 78 70 65 63 | 74 65 64 5c 6e 22 29 3b |ir expec|ted\n");|
|00004480| 0a 20 20 20 20 20 20 65 | 6c 73 65 20 7b 0a 09 20 |. e|lse {.. |
|00004490| 51 20 3d 20 50 2d 3e 56 | 61 6c 2e 4c 69 73 74 3b |Q = P->V|al.List;|
|000044a0| 0a 09 20 47 65 74 44 6f | 75 62 6c 65 20 28 26 51 |.. GetDo|uble (&Q|
|000044b0| 2d 3e 56 61 6c 2c 26 58 | 66 29 3b 0a 09 20 47 65 |->Val,&X|f);.. Ge|
|000044c0| 74 44 6f 75 62 6c 65 20 | 28 26 51 2d 3e 4e 65 78 |tDouble |(&Q->Nex|
|000044d0| 74 2d 3e 56 61 6c 2c 26 | 59 66 29 3b 0a 09 20 2a |t->Val,&|Yf);.. *|
|000044e0| 58 20 3d 20 58 66 20 2a | 20 54 5b 30 5d 5b 30 5d |X = Xf *| T[0][0]|
|000044f0| 20 2b 20 59 66 20 2a 20 | 54 5b 30 5d 5b 31 5d 20 | + Yf * |T[0][1] |
|00004500| 2b 20 54 5b 30 5d 5b 32 | 5d 3b 0a 09 20 2a 59 20 |+ T[0][2|];.. *Y |
|00004510| 3d 20 58 66 20 2a 20 54 | 5b 31 5d 5b 30 5d 20 2b |= Xf * T|[1][0] +|
|00004520| 20 59 66 20 2a 20 54 5b | 31 5d 5b 31 5d 20 2b 20 | Yf * T[|1][1] + |
|00004530| 54 5b 31 5d 5b 32 5d 3b | 0a 20 20 20 20 20 20 7d |T[1][2];|. }|
|00004540| 0a 20 20 20 7d 0a 0a 70 | 72 69 76 61 74 65 20 76 |. }..p|rivate v|
|00004550| 6f 69 64 20 44 72 61 77 | 54 65 78 74 20 28 50 2c |oid Draw|Text (P,|
|00004560| 54 2c 43 6f 6c 6f 72 29 | 0a 20 20 20 72 65 67 69 |T,Color)|. regi|
|00004570| 73 74 65 72 20 4c 69 73 | 74 50 74 72 20 50 3b 0a |ster Lis|tPtr P;.|
|00004580| 20 20 20 54 72 61 6e 73 | 66 6f 72 6d 20 54 3b 0a | Trans|form T;.|
|00004590| 20 20 20 69 6e 74 20 43 | 6f 6c 6f 72 3b 0a 20 20 | int C|olor;. |
|000045a0| 20 7b 0a 20 20 20 20 20 | 20 63 68 61 72 20 42 75 | {. | char Bu|
|000045b0| 66 5b 32 35 36 5d 3b 0a | 20 20 20 20 20 20 43 68 |f[256];.| Ch|
|000045c0| 61 72 50 74 72 20 55 3b | 0a 20 20 20 20 20 20 69 |arPtr U;|. i|
|000045d0| 6e 74 20 53 5b 32 5d 5b | 33 5d 3b 0a 20 20 20 20 |nt S[2][|3];. |
|000045e0| 20 20 69 6e 74 20 69 2c | 6a 2c 4e 33 3b 0a 20 20 | int i,|j,N3;. |
|000045f0| 20 20 20 20 64 6f 75 62 | 6c 65 20 53 69 7a 65 3b | doub|le Size;|
|00004600| 0a 20 20 20 20 20 20 62 | 6f 6f 6c 65 61 6e 20 43 |. b|oolean C|
|00004610| 65 6e 74 65 72 3b 0a 0a | 20 20 20 20 20 20 69 66 |enter;..| if|
|00004620| 20 28 50 21 3d 4e 55 4c | 4c 29 20 7b 0a 09 20 73 | (P!=NUL|L) {.. s|
|00004630| 77 69 74 63 68 20 28 50 | 2d 3e 56 61 6c 2e 54 61 |witch (P|->Val.Ta|
|00004640| 67 29 20 7b 0a 09 20 20 | 20 20 64 65 66 61 75 6c |g) {.. | defaul|
|00004650| 74 3a 20 72 65 74 75 72 | 6e 3b 0a 09 20 20 20 20 |t: retur|n;.. |
|00004660| 63 61 73 65 20 53 54 52 | 49 4e 47 3a 0a 09 20 20 |case STR|ING:.. |
|00004670| 20 20 20 20 20 43 50 49 | 6e 69 74 20 28 26 55 2c | CPI|nit (&U,|
|00004680| 26 50 2d 3e 56 61 6c 2e | 4c 69 73 74 29 3b 0a 09 |&P->Val.|List);..|
|00004690| 20 20 20 20 20 20 20 28 | 76 6f 69 64 29 20 43 50 | (|void) CP|
|000046a0| 52 65 61 64 20 28 26 55 | 2c 42 75 66 2c 32 35 36 |Read (&U|,Buf,256|
|000046b0| 29 3b 0a 09 20 20 20 20 | 20 20 20 62 72 65 61 6b |);.. | break|
|000046c0| 3b 0a 09 20 20 20 20 63 | 61 73 65 20 42 4f 4f 4c |;.. c|ase BOOL|
|000046d0| 45 41 4e 3a 0a 09 20 20 | 20 20 20 20 20 28 76 6f |EAN:.. | (vo|
|000046e0| 69 64 29 20 73 70 72 69 | 6e 74 66 20 28 42 75 66 |id) spri|ntf (Buf|
|000046f0| 2c 50 2d 3e 56 61 6c 2e | 42 6f 6f 6c 20 3f 20 22 |,P->Val.|Bool ? "|
|00004700| 74 22 20 3a 20 22 66 22 | 29 3b 0a 09 20 20 20 20 |t" : "f"|);.. |
|00004710| 20 20 20 62 72 65 61 6b | 3b 0a 09 20 20 20 20 63 | break|;.. c|
|00004720| 61 73 65 20 49 4e 54 3a | 0a 09 20 20 20 20 20 20 |ase INT:|.. |
|00004730| 20 28 76 6f 69 64 29 20 | 73 70 72 69 6e 74 66 20 | (void) |sprintf |
|00004740| 28 42 75 66 2c 22 25 6c | 64 22 2c 50 2d 3e 56 61 |(Buf,"%l|d",P->Va|
|00004750| 6c 2e 49 6e 74 29 3b 0a | 09 20 20 20 20 20 20 20 |l.Int);.|. |
|00004760| 62 72 65 61 6b 3b 0a 09 | 20 20 20 20 63 61 73 65 |break;..| case|
|00004770| 20 46 4c 4f 41 54 3a 0a | 09 20 20 20 20 20 20 20 | FLOAT:.|. |
|00004780| 28 76 6f 69 64 29 20 73 | 70 72 69 6e 74 66 20 28 |(void) s|printf (|
|00004790| 42 75 66 2c 22 25 67 22 | 2c 50 2d 3e 56 61 6c 2e |Buf,"%g"|,P->Val.|
|000047a0| 46 6c 6f 61 74 29 3b 0a | 09 20 20 20 20 20 20 20 |Float);.|. |
|000047b0| 62 72 65 61 6b 3b 0a 09 | 20 7d 0a 09 20 53 69 7a |break;..| }.. Siz|
|000047c0| 65 20 3d 20 31 2e 30 3b | 0a 09 20 43 65 6e 74 65 |e = 1.0;|.. Cente|
|000047d0| 72 20 3d 20 30 3b 0a 09 | 20 69 66 20 28 4e 55 4c |r = 0;..| if (NUL|
|000047e0| 4c 20 21 3d 20 28 50 3d | 50 2d 3e 4e 65 78 74 29 |L != (P=|P->Next)|
|000047f0| 29 20 7b 0a 09 20 20 20 | 20 47 65 74 44 6f 75 62 |) {.. | GetDoub|
|00004800| 6c 65 20 28 26 50 2d 3e | 56 61 6c 2c 26 53 69 7a |le (&P->|Val,&Siz|
|00004810| 65 29 3b 0a 09 0a 09 20 | 20 20 20 69 66 20 28 4e |e);.... | if (N|
|00004820| 55 4c 4c 20 21 3d 20 28 | 50 3d 50 2d 3e 4e 65 78 |ULL != (|P=P->Nex|
|00004830| 74 29 20 26 26 20 50 2d | 3e 56 61 6c 2e 54 61 67 |t) && P-|>Val.Tag|
|00004840| 20 3d 3d 20 53 54 52 49 | 4e 47 20 26 26 0a 09 09 | == STRI|NG &&...|
|00004850| 21 53 74 72 43 6f 6d 70 | 20 28 50 2d 3e 56 61 6c |!StrComp| (P->Val|
|00004860| 2e 53 74 72 69 6e 67 2c | 53 43 65 6e 74 65 72 29 |.String,|SCenter)|
|00004870| 29 20 7b 0a 09 20 20 20 | 20 20 20 20 43 65 6e 74 |) {.. | Cent|
|00004880| 65 72 20 3d 20 31 3b 0a | 09 20 20 20 20 20 20 20 |er = 1;.|. |
|00004890| 4e 33 20 3d 20 33 2a 73 | 74 72 6c 65 6e 20 28 42 |N3 = 3*s|trlen (B|
|000048a0| 75 66 29 3b 0a 09 20 20 | 20 20 7d 0a 09 20 7d 0a |uf);.. | }.. }.|
|000048b0| 0a 09 20 53 69 7a 65 20 | 2f 3d 20 36 2e 30 3b 0a |.. Size |/= 6.0;.|
|000048c0| 0a 09 20 66 6f 72 20 28 | 69 3d 30 3b 20 69 3c 32 |.. for (|i=0; i<2|
|000048d0| 3b 20 69 2b 2b 29 0a 09 | 20 20 20 20 66 6f 72 20 |; i++)..| for |
|000048e0| 28 6a 3d 30 3b 20 6a 3c | 33 3b 20 6a 2b 2b 29 0a |(j=0; j<|3; j++).|
|000048f0| 09 20 20 20 20 20 20 20 | 53 5b 69 5d 5b 6a 5d 20 |. |S[i][j] |
|00004900| 3d 20 28 69 6e 74 29 20 | 28 28 6a 3c 32 20 3f 20 |= (int) |((j<2 ? |
|00004910| 53 69 7a 65 20 2a 20 54 | 5b 69 5d 5b 6a 5d 20 3a |Size * T|[i][j] :|
|00004920| 20 54 5b 69 5d 5b 6a 5d | 29 20 2a 20 28 31 20 3c | T[i][j]|) * (1 <|
|00004930| 3c 20 31 30 29 29 3b 0a | 09 0a 09 20 69 66 20 28 |< 10));.|... if (|
|00004940| 43 65 6e 74 65 72 29 20 | 7b 0a 09 20 20 20 20 53 |Center) |{.. S|
|00004950| 5b 30 5d 5b 32 5d 20 2d | 3d 20 4e 33 20 2a 20 53 |[0][2] -|= N3 * S|
|00004960| 5b 30 5d 5b 30 5d 20 2b | 20 33 20 2a 20 53 5b 30 |[0][0] +| 3 * S[0|
|00004970| 5d 5b 31 5d 3b 0a 09 20 | 20 20 20 53 5b 31 5d 5b |][1];.. | S[1][|
|00004980| 32 5d 20 2d 3d 20 4e 33 | 20 2a 20 53 5b 31 5d 5b |2] -= N3| * S[1][|
|00004990| 30 5d 20 2b 20 33 20 2a | 20 53 5b 31 5d 5b 31 5d |0] + 3 *| S[1][1]|
|000049a0| 3b 0a 09 20 7d 0a 0a 09 | 20 43 6f 6e 53 79 6d 62 |;.. }...| ConSymb|
|000049b0| 6f 6c 20 28 42 75 66 2c | 53 29 3b 0a 20 20 20 20 |ol (Buf,|S);. |
|000049c0| 20 20 7d 0a 20 20 20 7d | 0a 0a 70 72 69 76 61 74 | }. }|..privat|
|000049d0| 65 20 76 6f 69 64 20 50 | 6f 6c 79 4c 69 6e 65 20 |e void P|olyLine |
|000049e0| 28 50 2c 54 2c 43 6f 6c | 6f 72 29 0a 20 20 20 72 |(P,T,Col|or). r|
|000049f0| 65 67 69 73 74 65 72 20 | 4c 69 73 74 50 74 72 20 |egister |ListPtr |
|00004a00| 50 3b 0a 20 20 20 54 72 | 61 6e 73 66 6f 72 6d 20 |P;. Tr|ansform |
|00004a10| 54 3b 0a 20 20 20 69 6e | 74 20 43 6f 6c 6f 72 3b |T;. in|t Color;|
|00004a20| 0a 20 20 20 7b 0a 20 20 | 20 20 20 20 69 6e 74 20 |. {. | int |
|00004a30| 58 2c 59 3b 0a 0a 20 20 | 20 20 20 20 56 49 5f 43 |X,Y;.. | VI_C|
|00004a40| 6f 6c 6f 72 20 28 21 43 | 6f 6c 6f 72 29 3b 0a 20 |olor (!C|olor);. |
|00004a50| 20 20 20 20 20 69 66 20 | 28 50 20 21 3d 20 4e 55 | if |(P != NU|
|00004a60| 4c 4c 29 20 7b 0a 09 20 | 47 65 74 43 6f 6f 72 20 |LL) {.. |GetCoor |
|00004a70| 28 50 2c 54 2c 26 58 2c | 26 59 29 3b 0a 09 20 56 |(P,T,&X,|&Y);.. V|
|00004a80| 49 5f 41 4d 6f 76 65 20 | 28 58 2c 59 29 3b 0a 09 |I_AMove |(X,Y);..|
|00004a90| 20 77 68 69 6c 65 20 28 | 4e 55 4c 4c 20 21 3d 20 | while (|NULL != |
|00004aa0| 28 50 3d 50 2d 3e 4e 65 | 78 74 29 29 20 7b 0a 09 |(P=P->Ne|xt)) {..|
|00004ab0| 20 20 20 20 47 65 74 43 | 6f 6f 72 20 28 50 2c 54 | GetC|oor (P,T|
|00004ac0| 2c 26 58 2c 26 59 29 3b | 0a 09 20 20 20 20 56 49 |,&X,&Y);|.. VI|
|00004ad0| 5f 41 4c 69 6e 65 20 28 | 58 2c 59 29 3b 0a 09 20 |_ALine (|X,Y);.. |
|00004ae0| 7d 0a 20 20 20 20 20 20 | 7d 0a 20 20 20 7d 0a 0a |}. |}. }..|
|00004af0| 62 6f 6f 6c 65 61 6e 20 | 47 65 74 54 72 61 6e 73 |boolean |GetTrans|
|00004b00| 20 28 58 2c 54 29 0a 20 | 20 20 4f 62 6a 65 63 74 | (X,T). | Object|
|00004b10| 50 74 72 20 58 3b 0a 20 | 20 20 54 72 61 6e 73 66 |Ptr X;. | Transf|
|00004b20| 6f 72 6d 20 54 3b 0a 20 | 20 20 7b 0a 20 20 20 20 |orm T;. | {. |
|00004b30| 20 20 72 65 67 69 73 74 | 65 72 20 4c 69 73 74 50 | regist|er ListP|
|00004b40| 74 72 20 50 2c 51 3b 0a | 20 20 20 20 20 20 72 65 |tr P,Q;.| re|
|00004b50| 67 69 73 74 65 72 20 69 | 6e 74 20 69 2c 6a 3b 0a |gister i|nt i,j;.|
|00004b60| 0a 20 20 20 20 20 20 69 | 66 20 28 21 50 61 69 72 |. i|f (!Pair|
|00004b70| 54 65 73 74 20 28 58 2c | 31 3c 3c 4c 49 53 54 2c |Test (X,|1<<LIST,|
|00004b80| 31 3c 3c 4c 49 53 54 29 | 29 20 72 65 74 75 72 6e |1<<LIST)|) return|
|00004b90| 20 30 3b 0a 20 20 20 20 | 20 20 65 6c 73 65 20 7b | 0;. | else {|
|00004ba0| 0a 09 20 50 20 3d 20 58 | 2d 3e 4c 69 73 74 3b 0a |.. P = X|->List;.|
|00004bb0| 09 20 66 6f 72 20 28 69 | 3d 30 3b 20 69 3c 32 3b |. for (i|=0; i<2;|
|00004bc0| 20 50 3d 50 2d 3e 4e 65 | 78 74 2c 69 2b 2b 29 20 | P=P->Ne|xt,i++) |
|00004bd0| 7b 0a 09 20 20 20 20 51 | 20 3d 20 50 2d 3e 56 61 |{.. Q| = P->Va|
|00004be0| 6c 2e 4c 69 73 74 3b 0a | 09 20 20 20 20 66 6f 72 |l.List;.|. for|
|00004bf0| 20 28 6a 3d 30 3b 20 6a | 3c 33 3b 20 51 3d 51 2d | (j=0; j|<3; Q=Q-|
|00004c00| 3e 4e 65 78 74 2c 6a 2b | 2b 29 20 7b 0a 09 20 20 |>Next,j+|+) {.. |
|00004c10| 20 20 20 20 20 69 66 20 | 28 51 20 3d 3d 20 4e 55 | if |(Q == NU|
|00004c20| 4c 4c 29 20 72 65 74 75 | 72 6e 20 30 3b 0a 09 20 |LL) retu|rn 0;.. |
|00004c30| 20 20 20 20 20 20 69 66 | 20 28 47 65 74 44 6f 75 | if| (GetDou|
|00004c40| 62 6c 65 20 28 26 51 2d | 3e 56 61 6c 2c 26 54 5b |ble (&Q-|>Val,&T[|
|00004c50| 69 5d 5b 6a 5d 29 29 20 | 72 65 74 75 72 6e 20 30 |i][j])) |return 0|
|00004c60| 3b 0a 09 20 20 20 20 7d | 0a 09 20 7d 0a 09 20 72 |;.. }|.. }.. r|
|00004c70| 65 74 75 72 6e 20 31 3b | 0a 20 20 20 20 20 20 7d |eturn 1;|. }|
|00004c80| 0a 20 20 20 7d 0a 0a 70 | 72 69 76 61 74 65 20 76 |. }..p|rivate v|
|00004c90| 6f 69 64 20 44 72 61 77 | 54 72 61 6e 73 20 28 50 |oid Draw|Trans (P|
|00004ca0| 2c 54 2c 43 6f 6c 6f 72 | 29 0a 20 20 20 72 65 67 |,T,Color|). reg|
|00004cb0| 69 73 74 65 72 20 4c 69 | 73 74 50 74 72 20 50 3b |ister Li|stPtr P;|
|00004cc0| 0a 20 20 20 54 72 61 6e | 73 66 6f 72 6d 20 54 3b |. Tran|sform T;|
|00004cd0| 0a 20 20 20 69 6e 74 20 | 43 6f 6c 6f 72 3b 0a 20 |. int |Color;. |
|00004ce0| 20 20 7b 0a 20 20 20 20 | 20 20 54 72 61 6e 73 66 | {. | Transf|
|00004cf0| 6f 72 6d 20 52 2c 53 3b | 0a 20 20 20 20 20 20 69 |orm R,S;|. i|
|00004d00| 6e 74 20 69 2c 6a 3b 0a | 0a 20 20 20 20 20 20 69 |nt i,j;.|. i|
|00004d10| 66 20 28 50 21 3d 4e 55 | 4c 4c 29 0a 09 20 69 66 |f (P!=NU|LL).. if|
|00004d20| 20 28 21 47 65 74 54 72 | 61 6e 73 20 28 26 50 2d | (!GetTr|ans (&P-|
|00004d30| 3e 56 61 6c 2c 52 29 29 | 0a 09 20 20 20 20 47 72 |>Val,R))|.. Gr|
|00004d40| 61 70 68 45 72 72 6f 72 | 20 28 26 50 2d 3e 56 61 |aphError| (&P->Va|
|00004d50| 6c 2c 22 44 72 61 77 54 | 72 61 6e 73 3a 20 6e 6f |l,"DrawT|rans: no|
|00004d60| 74 20 61 20 74 72 61 6e | 73 66 6f 72 6d 22 29 3b |t a tran|sform");|
|00004d70| 0a 09 20 65 6c 73 65 20 | 7b 0a 09 20 20 20 20 66 |.. else |{.. f|
|00004d80| 6f 72 20 28 69 3d 30 3b | 20 69 3c 32 3b 20 69 2b |or (i=0;| i<2; i+|
|00004d90| 2b 29 20 7b 0a 09 20 20 | 20 20 20 20 20 66 6f 72 |+) {.. | for|
|00004da0| 20 28 6a 3d 30 3b 20 6a | 3c 33 3b 20 6a 2b 2b 29 | (j=0; j|<3; j++)|
|00004db0| 0a 09 09 20 20 53 5b 69 | 5d 5b 6a 5d 20 3d 20 54 |... S[i|][j] = T|
|00004dc0| 5b 69 5d 5b 30 5d 20 2a | 20 52 5b 30 5d 5b 6a 5d |[i][0] *| R[0][j]|
|00004dd0| 20 2b 20 54 5b 69 5d 5b | 31 5d 20 2a 20 52 5b 31 | + T[i][|1] * R[1|
|00004de0| 5d 5b 6a 5d 3b 0a 09 20 | 20 20 20 20 20 20 53 5b |][j];.. | S[|
|00004df0| 69 5d 5b 32 5d 20 2b 3d | 20 54 5b 69 5d 5b 32 5d |i][2] +=| T[i][2]|
|00004e00| 3b 0a 09 20 20 20 20 7d | 0a 09 20 7d 0a 09 20 69 |;.. }|.. }.. i|
|00004e10| 66 20 28 4e 55 4c 4c 20 | 21 3d 20 28 50 3d 50 2d |f (NULL |!= (P=P-|
|00004e20| 3e 4e 65 78 74 29 29 20 | 44 72 4f 62 20 28 26 50 |>Next)) |DrOb (&P|
|00004e30| 2d 3e 56 61 6c 2c 53 2c | 43 6f 6c 6f 72 29 3b 0a |->Val,S,|Color);.|
|00004e40| 20 20 20 7d 0a 0a 70 72 | 69 76 61 74 65 20 76 6f | }..pr|ivate vo|
|00004e50| 69 64 20 44 72 61 77 43 | 6f 6c 6f 72 20 28 50 2c |id DrawC|olor (P,|
|00004e60| 54 29 0a 20 20 20 72 65 | 67 69 73 74 65 72 20 4c |T). re|gister L|
|00004e70| 69 73 74 50 74 72 20 50 | 3b 0a 20 20 20 54 72 61 |istPtr P|;. Tra|
|00004e80| 6e 73 66 6f 72 6d 20 54 | 3b 0a 20 20 20 7b 0a 20 |nsform T|;. {. |
|00004e90| 20 20 20 20 20 69 6e 74 | 20 43 6f 6c 6f 72 3b 0a | int| Color;.|
|00004ea0| 0a 20 20 20 20 20 20 69 | 66 20 28 50 21 3d 4e 55 |. i|f (P!=NU|
|00004eb0| 4c 4c 29 20 7b 0a 09 20 | 73 77 69 74 63 68 20 28 |LL) {.. |switch (|
|00004ec0| 50 2d 3e 56 61 6c 2e 54 | 61 67 29 20 7b 0a 09 20 |P->Val.T|ag) {.. |
|00004ed0| 20 20 20 63 61 73 65 20 | 49 4e 54 3a 0a 09 20 20 | case |INT:.. |
|00004ee0| 20 20 20 20 20 43 6f 6c | 6f 72 20 3d 20 50 2d 3e | Col|or = P->|
|00004ef0| 56 61 6c 2e 49 6e 74 3b | 0a 09 20 20 20 20 20 20 |Val.Int;|.. |
|00004f00| 20 62 72 65 61 6b 3b 0a | 09 20 20 20 20 63 61 73 | break;.|. cas|
|00004f10| 65 20 46 4c 4f 41 54 3a | 0a 09 20 20 20 20 20 20 |e FLOAT:|.. |
|00004f20| 20 43 6f 6c 6f 72 20 3d | 20 28 69 6e 74 29 20 28 | Color =| (int) (|
|00004f30| 50 2d 3e 56 61 6c 2e 46 | 6c 6f 61 74 20 2b 20 30 |P->Val.F|loat + 0|
|00004f40| 2e 35 29 3b 0a 09 20 20 | 20 20 20 20 20 62 72 65 |.5);.. | bre|
|00004f50| 61 6b 3b 0a 09 20 20 20 | 20 64 65 66 61 75 6c 74 |ak;.. | default|
|00004f60| 3a 0a 09 20 20 20 20 20 | 20 20 47 72 61 70 68 45 |:.. | GraphE|
|00004f70| 72 72 6f 72 20 28 26 50 | 2d 3e 56 61 6c 2c 22 44 |rror (&P|->Val,"D|
|00004f80| 72 61 77 43 6f 6c 6f 72 | 3a 20 6e 6f 74 20 61 20 |rawColor|: not a |
|00004f90| 63 6f 6c 6f 72 22 29 3b | 0a 09 20 7d 0a 09 20 69 |color");|.. }.. i|
|00004fa0| 66 20 28 50 2d 3e 4e 65 | 78 74 20 21 3d 20 4e 55 |f (P->Ne|xt != NU|
|00004fb0| 4c 4c 29 20 44 72 4f 62 | 20 28 26 50 2d 3e 4e 65 |LL) DrOb| (&P->Ne|
|00004fc0| 78 74 2d 3e 56 61 6c 2c | 54 2c 43 6f 6c 6f 72 29 |xt->Val,|T,Color)|
|00004fd0| 3b 0a 20 20 20 20 20 20 | 7d 0a 20 20 20 7d 0a 0a |;. |}. }..|
|00004fe0| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00004ff0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 20 65 |********|****** e|
|00005000| 6e 64 20 6f 66 20 47 5f | 64 72 61 77 2e 63 20 2a |nd of G_|draw.c *|
|00005010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2f 0a |********|******/.|
|00005030| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|00005040| 74 20 2d 66 20 27 69 6e | 74 65 72 70 2f 4d 61 6b |t -f 'in|terp/Mak|
|00005050| 65 66 69 6c 65 27 0a 74 | 68 65 6e 0a 09 65 63 68 |efile'.t|hen..ech|
|00005060| 6f 20 73 68 61 72 3a 20 | 6f 76 65 72 2d 77 72 69 |o shar: |over-wri|
|00005070| 74 69 6e 67 20 65 78 69 | 73 74 69 6e 67 20 66 69 |ting exi|sting fi|
|00005080| 6c 65 20 22 27 69 6e 74 | 65 72 70 2f 4d 61 6b 65 |le "'int|erp/Make|
|00005090| 66 69 6c 65 27 22 0a 66 | 69 0a 63 61 74 20 3c 3c |file'".f|i.cat <<|
|000050a0| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 69 6e | \SHAR_E|OF > 'in|
|000050b0| 74 65 72 70 2f 4d 61 6b | 65 66 69 6c 65 27 0a 23 |terp/Mak|efile'.#|
|000050c0| 0c 0a 23 2a 2a 2a 2a 2a | 2a 20 4d 61 6b 65 66 69 |..#*****|* Makefi|
|000050d0| 6c 65 20 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |le *****|********|
|000050e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000050f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005100| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 23 0a 23 2a 2a 20 20 |********|*#.#** |
|00005110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005150| 2a 2a 23 0a 23 2a 2a 20 | 20 20 20 20 20 20 20 20 |**#.#** | |
|00005160| 20 20 20 20 20 20 20 20 | 20 20 20 55 6e 69 76 65 | | Unive|
|00005170| 72 73 69 74 79 20 6f 66 | 20 49 6c 6c 69 6e 6f 69 |rsity of| Illinoi|
|00005180| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s | |
|00005190| 20 20 20 20 20 20 20 20 | 20 2a 2a 23 0a 23 2a 2a | | **#.#**|
|000051a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051e0| 20 20 2a 2a 23 0a 23 2a | 2a 20 20 20 20 20 20 20 | **#.#*|* |
|000051f0| 20 20 20 20 20 20 20 20 | 20 44 65 70 61 72 74 6d | | Departm|
|00005200| 65 6e 74 20 6f 66 20 43 | 6f 6d 70 75 74 65 72 20 |ent of C|omputer |
|00005210| 53 63 69 65 6e 63 65 20 | 20 20 20 20 20 20 20 20 |Science | |
|00005220| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2a 23 0a 23 | | **#.#|
|00005230| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00005240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005270| 20 20 20 20 2a 2a 23 0a | 23 2a 2a 20 20 20 54 6f | **#.|#** To|
|00005280| 6f 6c 3a 20 49 46 50 20 | 20 20 20 20 20 09 09 09 |ol: IFP | ...|
|00005290| 56 65 72 73 69 6f 6e 3a | 20 30 2e 35 09 09 20 20 |Version:| 0.5.. |
|000052a0| 20 20 20 2a 2a 23 0a 23 | 2a 2a 20 20 20 20 20 20 | **#.#|** |
|000052b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000052c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000052d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000052e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 2a 23 0a | | **#.|
|000052f0| 23 2a 2a 20 20 20 41 75 | 74 68 6f 72 3a 20 20 41 |#** Au|thor: A|
|00005300| 72 63 68 20 44 2e 20 52 | 6f 62 69 73 6f 6e 20 20 |rch D. R|obison |
|00005310| 20 20 20 20 20 20 20 20 | 44 61 74 65 3a 20 20 20 | |Date: |
|00005320| 4d 61 79 20 31 2c 20 31 | 39 38 35 20 20 20 20 20 |May 1, 1|985 |
|00005330| 20 20 20 20 20 2a 2a 23 | 0a 23 2a 2a 20 20 20 20 | **#|.#** |
|00005340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2a | | **|
|00005380| 23 0a 23 2a 2a 20 20 20 | 52 65 76 69 73 65 64 20 |#.#** |Revised |
|00005390| 62 79 3a 20 41 72 63 68 | 20 44 2e 20 52 6f 62 69 |by: Arch| D. Robi|
|000053a0| 73 6f 6e 09 44 61 74 65 | 3a 20 20 20 44 65 63 20 |son.Date|: Dec |
|000053b0| 35 2c 20 31 39 38 36 09 | 20 20 20 20 20 2a 2a 23 |5, 1986.| **#|
|000053c0| 0a 23 2a 2a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.#** | |
|000053d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005400| 20 20 20 20 20 20 2a 2a | 23 0a 23 2a 2a 20 20 20 | **|#.#** |
|00005410| 50 72 69 6e 63 69 70 61 | 6c 20 49 6e 76 65 73 74 |Principa|l Invest|
|00005420| 69 67 61 74 6f 72 73 3a | 20 50 72 6f 66 2e 20 52 |igators:| Prof. R|
|00005430| 2e 20 48 2e 20 43 61 6d | 70 62 65 6c 6c 20 20 20 |. H. Cam|pbell |
|00005440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00005450| 2a 23 0a 23 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |*#.#** | |
|00005460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005470| 20 20 50 72 6f 66 2e 20 | 57 2e 20 4a 2e 20 4b 75 | Prof. |W. J. Ku|
|00005480| 62 69 74 7a 20 20 20 20 | 20 20 20 20 20 20 20 20 |bitz | |
|00005490| 20 20 20 20 20 20 20 20 | 2a 2a 23 0a 23 2a 2a 20 | |**#.#** |
|000054a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000054b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000054c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000054d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000054e0| 20 2a 2a 23 0a 23 2a 2a | 20 20 20 20 20 20 20 20 | **#.#**| |
|000054f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005520| 20 20 20 20 20 20 20 20 | 20 20 2a 2a 23 0a 23 2a | | **#.#*|
|00005530| 2a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |*-------|--------|
|00005540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005570| 2d 2d 2d 2a 2a 23 0a 23 | 2a 2a 20 20 20 28 43 29 |---**#.#|** (C)|
|00005580| 20 43 6f 70 79 72 69 67 | 68 74 20 31 39 38 37 20 | Copyrig|ht 1987 |
|00005590| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 49 | Univers|ity of I|
|000055a0| 6c 6c 69 6e 6f 69 73 20 | 42 6f 61 72 64 20 6f 66 |llinois |Board of|
|000055b0| 20 54 72 75 73 74 65 65 | 73 20 20 20 2a 2a 23 0a | Trustee|s **#.|
|000055c0| 23 2a 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |#** | |
|000055d0| 20 20 20 20 20 20 20 20 | 20 20 41 6c 6c 20 52 69 | | All Ri|
|000055e0| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 2e 20 20 |ghts Res|erved. |
|000055f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005600| 20 20 20 20 20 2a 2a 23 | 0a 23 2a 2a 2a 2a 2a 2a | **#|.#******|
|00005610| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005620| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005630| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005640| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005650| 23 0a 0a 23 20 6d 61 6b | 65 66 69 6c 65 20 66 6f |#..# mak|efile fo|
|00005660| 72 20 69 66 70 20 69 6e | 74 65 72 70 72 65 74 65 |r ifp in|terprete|
|00005670| 72 0a 23 0a 23 20 54 68 | 69 73 20 6d 61 6b 65 66 |r.#.# Th|is makef|
|00005680| 69 6c 65 20 69 73 20 73 | 65 74 20 75 70 20 66 6f |ile is s|et up fo|
|00005690| 72 20 63 6f 6d 70 69 6c | 69 6e 67 20 74 68 65 20 |r compil|ing the |
|000056a0| 49 46 50 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |IFP inte|rpreter |
|000056b0| 6f 6e 20 70 6c 61 69 6e | 0a 23 20 76 61 6e 69 6c |on plain|.# vanil|
|000056c0| 6c 61 20 55 4e 49 58 20 | 62 6f 78 65 73 2e 20 20 |la UNIX |boxes. |
|000056d0| 49 74 20 68 61 73 20 62 | 65 65 6e 20 74 65 73 74 |It has b|een test|
|000056e0| 65 64 20 6f 6e 20 56 41 | 58 65 6e 2c 20 50 79 72 |ed on VA|Xen, Pyr|
|000056f0| 61 6d 69 64 73 2c 20 61 | 6e 64 20 52 54 2f 50 43 |amids, a|nd RT/PC|
|00005700| 73 2e 20 20 0a 23 0a 23 | 20 4f 74 68 65 72 20 6d |s. .#.#| Other m|
|00005710| 61 63 68 69 6e 65 73 20 | 6d 61 79 20 72 65 71 75 |achines |may requ|
|00005720| 69 72 65 64 20 6d 6f 64 | 69 66 69 63 61 74 69 6f |ired mod|ificatio|
|00005730| 6e 73 20 74 6f 20 62 6f | 74 68 20 74 68 69 73 20 |ns to bo|th this |
|00005740| 4d 61 6b 65 66 69 6c 65 | 20 61 6e 64 0a 23 20 74 |Makefile| and.# t|
|00005750| 68 65 20 68 65 61 64 65 | 72 20 66 69 6c 65 20 73 |he heade|r file s|
|00005760| 74 72 75 63 74 2e 68 2e | 20 20 59 6f 75 20 73 68 |truct.h.| You sh|
|00005770| 6f 75 6c 64 20 66 69 72 | 73 74 20 6c 6f 6f 6b 20 |ould fir|st look |
|00005780| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning|
|00005790| 20 6f 66 0a 23 20 73 74 | 72 75 63 74 2e 68 2c 20 | of.# st|ruct.h, |
|000057a0| 77 68 69 63 68 20 63 6f | 6e 74 61 69 6e 73 20 74 |which co|ntains t|
|000057b0| 68 65 20 6d 61 63 68 69 | 6e 65 2d 64 65 70 65 6e |he machi|ne-depen|
|000057c0| 64 65 6e 74 20 70 72 65 | 70 72 6f 63 65 73 73 6f |dent pre|processo|
|000057d0| 72 20 76 61 72 69 61 62 | 6c 65 73 2e 0a 0a 23 20 |r variab|les...# |
|000057e0| 66 6f 72 20 56 41 58 65 | 6e 2c 20 50 79 72 61 6d |for VAXe|n, Pyram|
|000057f0| 69 64 73 2c 20 52 54 2f | 50 43 20 61 6e 64 20 6f |ids, RT/|PC and o|
|00005800| 74 68 65 72 20 70 6c 61 | 69 6e 20 76 61 6e 69 6c |ther pla|in vanil|
|00005810| 6c 61 20 55 4e 49 58 20 | 62 6f 78 65 73 2e 0a 43 |la UNIX |boxes..C|
|00005820| 46 4c 41 47 53 3d 20 2d | 4f 0a 0a 23 20 44 65 66 |FLAGS= -|O..# Def|
|00005830| 69 6e 69 74 69 6f 6e 73 | 20 66 6f 72 20 63 72 6f |initions| for cro|
|00005840| 73 73 2d 63 6f 6d 70 69 | 6c 69 6e 67 20 61 20 4d |ss-compi|ling a M|
|00005850| 53 2d 44 4f 53 20 76 65 | 72 73 69 6f 6e 20 6f 66 |S-DOS ve|rsion of|
|00005860| 20 49 46 50 20 77 69 74 | 68 20 74 68 65 0a 23 20 | IFP wit|h the.# |
|00005870| 58 45 4e 49 58 20 73 79 | 73 74 65 6d 20 6f 6e 20 |XENIX sy|stem on |
|00005880| 61 20 50 43 2f 41 54 2e | 20 20 54 68 65 20 4f 50 |a PC/AT.| The OP|
|00005890| 53 59 53 20 76 61 72 69 | 61 62 6c 65 20 69 6e 20 |SYS vari|able in |
|000058a0| 73 74 72 75 63 74 2e 68 | 20 6d 75 73 74 0a 23 20 |struct.h| must.# |
|000058b0| 61 6c 73 6f 20 62 65 20 | 63 68 61 6e 67 65 64 20 |also be |changed |
|000058c0| 66 72 6f 6d 20 55 4e 49 | 58 20 74 6f 20 4d 53 44 |from UNI|X to MSD|
|000058d0| 4f 53 2e 0a 23 41 4f 42 | 4a 53 3d 64 6f 73 2e 6f |OS..#AOB|JS=dos.o|
|000058e0| 0a 23 43 46 4c 41 47 53 | 3d 20 2d 4d 6c 20 2d 44 |.#CFLAGS|= -Ml -D|
|000058f0| 50 43 41 54 20 2d 4b 20 | 2d 4f 20 2d 64 6f 73 20 |PCAT -K |-O -dos |
|00005900| 2d 46 20 32 34 30 30 30 | 20 0a 23 4c 46 4c 41 47 |-F 24000| .#LFLAG|
|00005910| 53 3d 20 2d 44 50 43 41 | 54 0a 0a 23 20 44 65 66 |S= -DPCA|T..# Def|
|00005920| 69 6e 69 74 69 6f 6e 73 | 20 66 6f 72 20 63 6f 6d |initions| for com|
|00005930| 70 69 6c 69 6e 67 20 61 | 20 58 45 4e 49 58 20 76 |piling a| XENIX v|
|00005940| 65 72 73 69 6f 6e 20 6f | 66 20 49 46 50 20 6f 6e |ersion o|f IFP on|
|00005950| 20 61 20 50 43 2f 41 54 | 2e 0a 23 43 46 4c 41 47 | a PC/AT|..#CFLAG|
|00005960| 53 3d 20 2d 44 50 43 41 | 54 20 2d 4d 6c 20 2d 4f |S= -DPCA|T -Ml -O|
|00005970| 20 0a 23 4c 46 4c 41 47 | 53 3d 20 2d 44 50 43 41 | .#LFLAG|S= -DPCA|
|00005980| 54 09 20 20 20 20 20 20 | 20 0a 0a 23 20 44 65 66 |T. | ..# Def|
|00005990| 69 6e 69 74 69 6f 6e 73 | 20 61 72 65 20 66 6f 72 |initions| are for|
|000059a0| 20 63 6f 6d 70 69 6c 69 | 6e 67 20 49 46 50 20 6f | compili|ng IFP o|
|000059b0| 6e 20 61 20 43 52 41 59 | 20 58 2d 4d 50 20 75 6e |n a CRAY| X-MP un|
|000059c0| 64 65 72 20 43 54 53 53 | 0a 23 43 46 4c 41 47 53 |der CTSS|.#CFLAGS|
|000059d0| 20 3d 20 0a 0a 23 20 44 | 65 66 69 6e 69 74 69 6f | = ..# D|efinitio|
|000059e0| 6e 73 20 52 54 2f 50 43 | 20 77 69 74 68 20 67 72 |ns RT/PC| with gr|
|000059f0| 61 70 68 69 63 73 0a 23 | 43 46 4c 41 47 53 3d 20 |aphics.#|CFLAGS= |
|00005a00| 2d 44 43 4f 4d 50 49 4c | 45 20 2d 44 47 52 41 50 |-DCOMPIL|E -DGRAP|
|00005a10| 48 49 43 53 20 0a 23 4c | 46 4c 41 47 53 3d 20 2d |HICS .#L|FLAGS= -|
|00005a20| 44 43 4f 4d 50 49 4c 45 | 20 2d 44 47 52 41 50 48 |DCOMPILE| -DGRAPH|
|00005a30| 49 43 53 0a 23 47 53 52 | 43 20 3d 20 47 5f 64 72 |ICS.#GSR|C = G_dr|
|00005a40| 61 77 2e 63 20 47 5f 63 | 6f 6e 66 6f 6e 74 2e 63 |aw.c G_c|onfont.c|
|00005a50| 0a 23 47 4f 42 4a 53 3d | 09 47 5f 64 72 61 77 2e |.#GOBJS=|.G_draw.|
|00005a60| 6f 20 47 5f 63 6f 6e 66 | 6f 6e 74 2e 6f 0a 23 4c |o G_conf|ont.o.#L|
|00005a70| 49 42 53 3d 20 2d 6c 61 | 65 64 0a 0a 23 2d 2d 2d |IBS= -la|ed..#---|
|00005a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005a90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005ab0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 49 48 44 |--------|---..IHD|
|00005ad0| 52 53 3d 09 63 61 63 68 | 65 2e 68 20 69 6e 6f 62 |RS=.cach|e.h inob|
|00005ae0| 2e 68 20 6e 6f 64 65 2e | 68 20 73 74 61 74 73 2e |.h node.|h stats.|
|00005af0| 68 20 73 74 72 69 6e 67 | 2e 68 20 73 74 72 75 63 |h string|.h struc|
|00005b00| 74 2e 68 20 75 6d 61 78 | 2e 68 0a 0a 49 53 52 43 |t.h umax|.h..ISRC|
|00005b10| 3d 20 20 20 46 5f 61 72 | 69 74 68 2e 63 20 46 5f |= F_ar|ith.c F_|
|00005b20| 70 72 65 64 2e 63 20 46 | 5f 6d 69 73 63 2e 63 20 |pred.c F|_misc.c |
|00005b30| 46 5f 73 65 71 2e 63 20 | 46 5f 73 73 2e 63 20 46 |F_seq.c |F_ss.c F|
|00005b40| 5f 73 75 62 73 65 71 2e | 63 20 46 5f 73 74 72 69 |_subseq.|c F_stri|
|00005b50| 6e 67 2e 63 5c 0a 09 61 | 6c 6c 6f 63 2e 63 20 61 |ng.c\..a|lloc.c a|
|00005b60| 70 70 6c 79 2e 63 20 62 | 69 6e 69 6f 2e 63 20 63 |pply.c b|inio.c c|
|00005b70| 61 63 68 65 2e 63 20 63 | 6f 6e 76 65 72 74 2e 63 |ache.c c|onvert.c|
|00005b80| 20 63 6f 6d 6d 61 6e 64 | 2e 63 20 64 65 62 75 67 | command|.c debug|
|00005b90| 2e 63 5c 0a 20 09 65 72 | 72 6f 72 2e 63 20 65 78 |.c\. .er|ror.c ex|
|00005ba0| 63 65 70 74 2e 63 20 66 | 69 6c 65 2e 63 20 66 6f |cept.c f|ile.c fo|
|00005bb0| 72 6d 73 2e 63 20 69 6e | 66 75 6e 2e 63 20 69 6e |rms.c in|fun.c in|
|00005bc0| 69 6d 70 6f 72 74 2e 63 | 20 69 6e 6f 62 2e 63 20 |import.c| inob.c |
|00005bd0| 6c 69 73 74 2e 63 5c 0a | 09 6d 61 69 6e 2e 63 20 |list.c\.|.main.c |
|00005be0| 6e 6f 64 65 2e 63 20 6f | 75 74 66 75 6e 2e 63 20 |node.c o|utfun.c |
|00005bf0| 6f 75 74 6f 62 2e 63 20 | 73 74 61 74 73 2e 63 20 |outob.c |stats.c |
|00005c00| 73 74 72 69 6e 67 2e 63 | 20 74 72 61 63 65 2e 63 |string.c| trace.c|
|00005c10| 5c 0a 09 78 64 65 66 2e | 63 0a 0a 23 20 09 4d 69 |\..xdef.|c..# .Mi|
|00005c20| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 20 73 6f 75 72 |scellane|ous sour|
|00005c30| 63 65 20 66 69 6c 65 73 | 20 66 6f 72 20 73 70 65 |ce files| for spe|
|00005c40| 63 69 61 6c 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |cial ver|sions of|
|00005c50| 20 69 6e 74 65 72 70 72 | 65 74 65 72 0a 56 53 52 | interpr|eter.VSR|
|00005c60| 43 3d 20 20 20 64 6f 73 | 2e 73 20 47 5f 64 72 61 |C= dos|.s G_dra|
|00005c70| 77 2e 63 20 47 5f 63 6f | 6e 66 6f 6e 74 2e 63 0a |w.c G_co|nfont.c.|
|00005c80| 0a 49 4f 42 4a 53 3d 20 | 20 46 5f 61 72 69 74 68 |.IOBJS= | F_arith|
|00005c90| 2e 6f 20 46 5f 70 72 65 | 64 2e 6f 20 46 5f 6d 69 |.o F_pre|d.o F_mi|
|00005ca0| 73 63 2e 6f 20 46 5f 73 | 65 71 2e 6f 20 46 5f 73 |sc.o F_s|eq.o F_s|
|00005cb0| 73 2e 6f 20 46 5f 73 75 | 62 73 65 71 2e 6f 20 46 |s.o F_su|bseq.o F|
|00005cc0| 5f 73 74 72 69 6e 67 2e | 6f 20 5c 0a 09 61 6c 6c |_string.|o \..all|
|00005cd0| 6f 63 2e 6f 20 61 70 70 | 6c 79 2e 6f 20 62 69 6e |oc.o app|ly.o bin|
|00005ce0| 69 6f 2e 6f 20 63 61 63 | 68 65 2e 6f 20 63 6f 6e |io.o cac|he.o con|
|00005cf0| 76 65 72 74 2e 6f 20 63 | 6f 6d 6d 61 6e 64 2e 6f |vert.o c|ommand.o|
|00005d00| 20 64 65 62 75 67 2e 6f | 20 5c 0a 09 65 72 72 6f | debug.o| \..erro|
|00005d10| 72 2e 6f 20 65 78 63 65 | 70 74 2e 6f 20 66 69 6c |r.o exce|pt.o fil|
|00005d20| 65 2e 6f 20 66 6f 72 6d | 73 2e 6f 20 69 6e 66 75 |e.o form|s.o infu|
|00005d30| 6e 2e 6f 20 69 6e 69 6d | 70 6f 72 74 2e 6f 20 69 |n.o inim|port.o i|
|00005d40| 6e 6f 62 2e 6f 20 6c 69 | 73 74 2e 6f 20 5c 0a 09 |nob.o li|st.o \..|
|00005d50| 6d 61 69 6e 2e 6f 20 6e | 6f 64 65 2e 6f 20 6f 75 |main.o n|ode.o ou|
|00005d60| 74 66 75 6e 2e 6f 20 6f | 75 74 6f 62 2e 6f 20 73 |tfun.o o|utob.o s|
|00005d70| 74 61 74 73 2e 6f 20 73 | 74 72 69 6e 67 2e 6f 20 |tats.o s|tring.o |
|00005d80| 74 72 61 63 65 2e 6f 20 | 5c 0a 09 78 64 65 66 2e |trace.o |\..xdef.|
|00005d90| 6f 0a 0a 23 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |o..#----|--------|
|00005da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005dc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005de0| 2d 0a 0a 69 66 70 3a 20 | 20 20 20 24 28 49 4f 42 |-..ifp: | $(IOB|
|00005df0| 4a 53 29 20 24 28 41 4f | 42 4a 53 29 20 24 28 47 |JS) $(AO|BJS) $(G|
|00005e00| 4f 42 4a 53 29 0a 09 63 | 63 20 24 28 43 46 4c 41 |OBJS)..c|c $(CFLA|
|00005e10| 47 53 29 20 24 28 41 4f | 42 4a 53 29 20 24 28 47 |GS) $(AO|BJS) $(G|
|00005e20| 4f 42 4a 53 29 20 24 28 | 49 4f 42 4a 53 29 20 24 |OBJS) $(|IOBJS) $|
|00005e30| 28 4c 49 42 53 29 20 2d | 6c 6d 20 2d 6f 20 69 66 |(LIBS) -|lm -o if|
|00005e40| 70 0a 23 09 73 74 72 69 | 70 20 69 66 70 0a 09 65 |p.#.stri|p ifp..e|
|00005e50| 63 68 6f 20 22 69 66 70 | 20 72 65 63 6f 6d 70 69 |cho "ifp| recompi|
|00005e60| 6c 65 64 22 0a 0a 24 28 | 49 4f 42 4a 53 29 3a 09 |led"..$(|IOBJS):.|
|00005e70| 73 74 72 75 63 74 2e 68 | 0a 0a 47 5f 63 6f 6e 66 |struct.h|..G_conf|
|00005e80| 6f 6e 74 2e 6f 3a 09 47 | 5f 63 6f 6e 66 6f 6e 74 |ont.o:.G|_confont|
|00005e90| 2e 63 09 09 09 23 63 6f | 6e 73 6f 6c 65 20 76 65 |.c...#co|nsole ve|
|00005ea0| 63 74 6f 72 20 66 6f 6e | 74 0a 47 5f 64 72 61 77 |ctor fon|t.G_draw|
|00005eb0| 2e 6f 3a 09 73 74 72 75 | 63 74 2e 68 20 47 5f 64 |.o:.stru|ct.h G_d|
|00005ec0| 72 61 77 2e 63 09 09 23 | 6f 70 74 69 6f 6e 61 6c |raw.c..#|optional|
|00005ed0| 20 67 72 61 70 68 69 63 | 73 0a 0a 46 5f 6d 69 73 | graphic|s..F_mis|
|00005ee0| 63 2e 6f 3a 09 6e 6f 64 | 65 2e 68 20 46 5f 6d 69 |c.o:.nod|e.h F_mi|
|00005ef0| 73 63 2e 63 20 20 09 09 | 23 46 5f 2a 20 3d 20 70 |sc.c ..|#F_* = p|
|00005f00| 72 69 6d 69 74 69 76 65 | 20 66 75 6e 63 74 69 6f |rimitive| functio|
|00005f10| 6e 73 0a 46 5f 73 74 72 | 69 6e 67 2e 6f 3a 09 6e |ns.F_str|ing.o:.n|
|00005f20| 6f 64 65 2e 68 0a 0a 61 | 6c 6c 6f 63 2e 6f 3a 09 |ode.h..a|lloc.o:.|
|00005f30| 6e 6f 64 65 2e 68 20 75 | 6d 61 78 2e 68 0a 61 70 |node.h u|max.h.ap|
|00005f40| 70 6c 79 2e 6f 3a 09 63 | 61 63 68 65 2e 68 20 6e |ply.o:.c|ache.h n|
|00005f50| 6f 64 65 2e 68 20 73 74 | 61 74 73 2e 68 20 0a 63 |ode.h st|ats.h .c|
|00005f60| 61 63 68 65 2e 6f 3a 09 | 63 61 63 68 65 2e 68 0a |ache.o:.|cache.h.|
|00005f70| 63 6f 6d 6d 61 6e 64 2e | 6f 3a 09 63 61 63 68 65 |command.|o:.cache|
|00005f80| 2e 68 20 69 6e 6f 62 2e | 68 20 6e 6f 64 65 2e 68 |.h inob.|h node.h|
|00005f90| 20 73 74 61 74 73 2e 68 | 20 75 6d 61 78 2e 68 0a | stats.h| umax.h.|
|00005fa0| 65 72 72 6f 72 2e 6f 3a | 09 69 6e 6f 62 2e 68 0a |error.o:|.inob.h.|
|00005fb0| 66 69 6c 65 2e 6f 3a 09 | 09 69 6e 6f 62 2e 68 20 |file.o:.|.inob.h |
|00005fc0| 6e 6f 64 65 2e 68 20 75 | 6d 61 78 2e 68 0a 66 6f |node.h u|max.h.fo|
|00005fd0| 72 6d 73 2e 6f 3a 09 6e | 6f 64 65 2e 68 20 73 74 |rms.o:.n|ode.h st|
|00005fe0| 61 74 73 2e 68 20 75 6d | 61 78 2e 68 0a 69 6e 66 |ats.h um|ax.h.inf|
|00005ff0| 75 6e 2e 6f 3a 09 69 6e | 6f 62 2e 68 20 6e 6f 64 |un.o:.in|ob.h nod|
|00006000| 65 2e 68 0a 69 6e 69 6d | 70 6f 72 74 2e 6f 3a 09 |e.h.inim|port.o:.|
|00006010| 69 6e 6f 62 2e 68 20 6e | 6f 64 65 2e 68 20 0a 69 |inob.h n|ode.h .i|
|00006020| 6e 6f 62 2e 6f 3a 09 09 | 69 6e 6f 62 2e 68 20 6e |nob.o:..|inob.h n|
|00006030| 6f 64 65 2e 68 0a 6c 69 | 73 74 2e 6f 3a 09 09 6e |ode.h.li|st.o:..n|
|00006040| 6f 64 65 2e 68 20 73 74 | 61 74 73 2e 68 20 75 6d |ode.h st|ats.h um|
|00006050| 61 78 2e 68 20 0a 6d 61 | 69 6e 2e 6f 3a 09 09 63 |ax.h .ma|in.o:..c|
|00006060| 61 63 68 65 2e 68 20 73 | 74 61 74 73 2e 68 20 75 |ache.h s|tats.h u|
|00006070| 6d 61 78 2e 68 0a 6e 6f | 64 65 2e 6f 3a 09 09 6e |max.h.no|de.o:..n|
|00006080| 6f 64 65 2e 68 20 75 6d | 61 78 2e 68 0a 6f 75 74 |ode.h um|ax.h.out|
|00006090| 66 75 6e 2e 6f 3a 09 73 | 74 72 69 6e 67 2e 68 20 |fun.o:.s|tring.h |
|000060a0| 6e 6f 64 65 2e 68 0a 6f | 75 74 6f 62 2e 6f 3a 09 |node.h.o|utob.o:.|
|000060b0| 73 74 72 69 6e 67 2e 68 | 20 0a 73 74 61 74 73 2e |string.h| .stats.|
|000060c0| 6f 3a 09 73 74 61 74 73 | 2e 68 0a 73 74 72 69 6e |o:.stats|.h.strin|
|000060d0| 67 2e 6f 3a 09 73 74 72 | 69 6e 67 2e 68 20 75 6d |g.o:.str|ing.h um|
|000060e0| 61 78 2e 68 0a 78 64 65 | 66 2e 6f 3a 09 09 6e 6f |ax.h.xde|f.o:..no|
|000060f0| 64 65 2e 68 0a 0a 23 2d | 2d 2d 2d 2d 2d 2d 2d 2d |de.h..#-|--------|
|00006100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006140| 2d 2d 2d 2d 2d 0a 0a 6c | 69 6e 74 3a 20 20 20 20 |-----..l|int: |
|00006150| 20 20 24 28 49 48 44 52 | 53 29 20 24 28 49 53 52 | $(IHDR|S) $(ISR|
|00006160| 43 29 20 24 28 47 53 52 | 43 29 0a 09 20 20 20 6c |C) $(GSR|C).. l|
|00006170| 69 6e 74 20 2d 75 20 2d | 68 20 24 28 4c 46 4c 41 |int -u -|h $(LFLA|
|00006180| 47 53 29 20 24 28 49 53 | 52 43 29 20 24 28 47 53 |GS) $(IS|RC) $(GS|
|00006190| 52 43 29 20 3e 6c 69 6e | 74 2e 65 72 72 0a 0a 64 |RC) >lin|t.err..d|
|000061a0| 6f 73 3a 09 20 20 20 69 | 66 70 0a 09 20 20 20 64 |os:. i|fp.. d|
|000061b0| 6f 73 63 70 20 2d 72 20 | 69 66 70 20 41 3a 2f 69 |oscp -r |ifp A:/i|
|000061c0| 66 70 2e 65 78 65 0a 0a | 53 48 41 52 5f 45 4f 46 |fp.exe..|SHAR_EOF|
|000061d0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 69 6e 74 |.if test| -f 'int|
|000061e0| 65 72 70 2f 52 45 41 44 | 4d 45 27 0a 74 68 65 6e |erp/READ|ME'.then|
|000061f0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 6f 76 65 |..echo s|har: ove|
|00006200| 72 2d 77 72 69 74 69 6e | 67 20 65 78 69 73 74 69 |r-writin|g existi|
|00006210| 6e 67 20 66 69 6c 65 20 | 22 27 69 6e 74 65 72 70 |ng file |"'interp|
|00006220| 2f 52 45 41 44 4d 45 27 | 22 0a 66 69 0a 63 61 74 |/README'|".fi.cat|
|00006230| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00006240| 27 69 6e 74 65 72 70 2f | 52 45 41 44 4d 45 27 0a |'interp/|README'.|
|00006250| 53 65 65 20 74 68 65 20 | 4d 61 6b 65 66 69 6c 65 |See the |Makefile|
|00006260| 20 66 6f 72 20 68 6f 77 | 20 74 6f 20 63 6f 6d 70 | for how| to comp|
|00006270| 69 6c 65 20 49 46 50 2e | 0a 53 48 41 52 5f 45 4f |ile IFP.|.SHAR_EO|
|00006280| 46 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 69 6e |F.if tes|t -f 'in|
|00006290| 74 65 72 70 2f 61 6c 6c | 6f 63 2e 63 27 0a 74 68 |terp/all|oc.c'.th|
|000062a0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 6f |en..echo| shar: o|
|000062b0| 76 65 72 2d 77 72 69 74 | 69 6e 67 20 65 78 69 73 |ver-writ|ing exis|
|000062c0| 74 69 6e 67 20 66 69 6c | 65 20 22 27 69 6e 74 65 |ting fil|e "'inte|
|000062d0| 72 70 2f 61 6c 6c 6f 63 | 2e 63 27 22 0a 66 69 0a |rp/alloc|.c'".fi.|
|000062e0| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|000062f0| 20 3e 20 27 69 6e 74 65 | 72 70 2f 61 6c 6c 6f 63 | > 'inte|rp/alloc|
|00006300| 2e 63 27 0a 0c 0a 2f 2a | 2a 2a 2a 2a 2a 20 61 6c |.c'.../*|***** al|
|00006310| 6c 6f 63 2e 63 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |loc.c **|********|
|00006320| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006330| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006340| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0a 2f |********|*****/./|
|00006350| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006390| 20 20 20 20 2a 2a 2f 0a | 2f 2a 2a 20 20 20 20 20 | **/.|/** |
|000063a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 55 | | U|
|000063b0| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 49 6c 6c |niversit|y of Ill|
|000063c0| 69 6e 6f 69 73 20 20 20 | 20 20 20 20 20 20 20 20 |inois | |
|000063d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2a 2f | | **/|
|000063e0| 0a 2f 2a 2a 20 20 20 20 | 20 20 20 20 20 20 20 20 |./** | |
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.