summaryrefslogtreecommitdiff
path: root/.Xbit.c.swp
blob: 808e18ffc52f2bce83241b04e964679f76fc369f (plain)
ofshex dumpascii
0000 62 30 56 49 4d 20 36 2e 33 00 00 00 00 10 00 00 c9 a6 82 42 f6 cc 01 00 33 0d 00 00 69 61 6e 63 b0VIM.6.3..........B....3...ianc
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 6e 6f 64 64 79 62 6f 78 2e 64 65 6d 6f 6e 2e 63 6f 2e 75 6b 00 00 00 00 00 00 00 00 ....noddybox.demon.co.uk........
0060 00 00 00 00 00 00 00 00 00 00 00 00 7e 69 61 6e 63 2f 73 72 63 2f 58 31 31 2f 6c 75 6e 61 72 2f ............~ianc/src/X11/lunar/
0080 58 62 69 74 2e 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Xbit.c..........................
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 32 31 30 23 22 21 20 13 12 55 00 00 00 00 00 ................3210#"!...U.....
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 74 70 0c 00 ff 00 00 00 02 00 00 00 9f 00 00 00 01 00 00 00 01 00 00 00 0d 00 00 00 b8 00 00 00 tp..............................
1020 a0 00 00 00 01 00 00 00 04 00 00 00 9b 00 00 00 58 01 00 00 01 00 00 00 05 00 00 00 a3 00 00 00 ................X...............
1040 f3 01 00 00 01 00 00 00 06 00 00 00 b9 00 00 00 96 02 00 00 01 00 00 00 07 00 00 00 bf 00 00 00 ................................
1060 4f 03 00 00 01 00 00 00 08 00 00 00 b1 00 00 00 0e 04 00 00 01 00 00 00 09 00 00 00 ad 00 00 00 O...............................
1080 bf 04 00 00 01 00 00 00 0a 00 00 00 7d 00 00 00 6c 05 00 00 01 00 00 00 0b 00 00 00 85 00 00 00 ............}...l...............
10a0 e9 05 00 00 01 00 00 00 0c 00 00 00 b1 00 00 00 6e 06 00 00 01 00 00 00 03 00 00 00 26 00 00 00 ................n...........&...
10c0 1f 07 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2000 61 64 00 00 35 00 00 00 c5 02 00 00 00 10 00 00 9f 00 00 00 fd 0f 00 00 fc 0f 00 00 db 0f 00 00 ad..5...........................
2020 da 0f 00 00 9a 0f 00 00 99 0f 00 00 50 0f 00 00 07 0f 00 00 c1 0e 00 00 99 0e 00 00 98 0e 00 00 ............P...................
2040 54 0e 00 00 11 0e 00 00 cf 0d 00 00 9e 0d 00 00 9d 0d 00 00 57 0d 00 00 17 0d 00 00 c9 0c 00 00 T...................W...........
2060 c8 0c 00 00 7a 0c 00 00 79 0c 00 00 3f 0c 00 00 3e 0c 00 00 3b 0c 00 00 1e 0c 00 00 1d 0c 00 00 ....z...y...?...>...;...........
2080 07 0c 00 00 f0 0b 00 00 db 0b 00 00 c4 0b 00 00 c3 0b 00 00 a2 0b 00 00 a1 0b 00 00 86 0b 00 00 ................................
20a0 6f 0b 00 00 5a 0b 00 00 45 0b 00 00 44 0b 00 00 30 0b 00 00 1d 0b 00 00 0a 0b 00 00 f6 0a 00 00 o...Z...E...D...0...............
20c0 e2 0a 00 00 e1 0a 00 00 c9 0a 00 00 c8 0a 00 00 b6 0a 00 00 b5 0a 00 00 a5 0a 00 00 a4 0a 00 00 ................................
20e0 53 0a 00 00 fd 09 00 00 fc 09 00 00 fb 09 00 00 ed 09 00 00 dd 09 00 00 d6 09 00 00 d5 09 00 00 S...............................
2100 c8 09 00 00 b9 09 00 00 b2 09 00 00 b1 09 00 00 88 09 00 00 87 09 00 00 86 09 00 00 7b 09 00 00 ............................{...
2120 78 09 00 00 77 09 00 00 65 09 00 00 64 09 00 00 4e 09 00 00 4c 09 00 00 3e 09 00 00 23 09 00 00 x...w...e...d...N...L...>...#...
2140 0c 09 00 00 f8 08 00 00 ec 08 00 00 d7 08 00 00 bf 08 00 00 a7 08 00 00 97 08 00 00 85 08 00 00 ................................
2160 71 08 00 00 5d 08 00 00 49 08 00 00 35 08 00 00 21 08 00 00 0d 08 00 00 f9 07 00 00 e5 07 00 00 q...]...I...5...!...............
2180 cf 07 00 00 b1 07 00 00 9f 07 00 00 80 07 00 00 66 07 00 00 5c 07 00 00 5b 07 00 00 5a 07 00 00 ................f...\...[...Z...
21a0 3e 07 00 00 22 07 00 00 21 07 00 00 03 07 00 00 02 07 00 00 e6 06 00 00 d3 06 00 00 d2 06 00 00 >..."...!.......................
21c0 b3 06 00 00 99 06 00 00 85 06 00 00 84 06 00 00 6a 06 00 00 69 06 00 00 51 06 00 00 39 06 00 00 ................j...i...Q...9...
21e0 38 06 00 00 11 06 00 00 0e 06 00 00 f4 05 00 00 f3 05 00 00 cd 05 00 00 ca 05 00 00 b5 05 00 00 8...............................
2200 b4 05 00 00 b3 05 00 00 a4 05 00 00 a1 05 00 00 8b 05 00 00 66 05 00 00 65 05 00 00 64 05 00 00 ....................f...e...d...
2220 52 05 00 00 4f 05 00 00 21 05 00 00 e6 04 00 00 b4 04 00 00 b3 04 00 00 b2 04 00 00 97 04 00 00 R...O...!.......................
2240 94 04 00 00 64 04 00 00 27 04 00 00 f3 03 00 00 f2 03 00 00 f1 03 00 00 d8 03 00 00 d5 03 00 00 ....d...'.......................
2260 a1 03 00 00 6e 03 00 00 6d 03 00 00 6c 03 00 00 40 03 00 00 3f 03 00 00 06 03 00 00 04 03 00 00 ....n...m...l...@...?...........
2280 f3 02 00 00 f2 02 00 00 cb 02 00 00 c5 02 00 00 c4 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
22a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
22c0 00 00 00 00 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 28 6e 65 77 3d 6d 61 6c 6c 6f 63 28 .........{.....if.(!(new=malloc(
22e0 73 69 7a 65 6f 66 28 57 45 6e 74 72 79 29 29 29 29 00 00 20 20 20 20 57 45 6e 74 72 79 20 2a 6e sizeof(WEntry))))......WEntry.*n
2300 65 77 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 43 72 65 61 74 65 57 45 6e 74 72 79 28 57 ew;.{.static.void.CreateWEntry(W
2320 69 6e 64 6f 77 20 77 2c 20 47 43 20 67 2c 20 69 6e 74 20 77 77 2c 20 69 6e 74 20 77 68 29 00 00 indow.w,.GC.g,.int.ww,.int.wh)..
2340 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 46 55 4e 43 54 49 4f 4e 53 20 2d 2d 2d 2d 2d /*.-------------.FUNCTIONS.-----
2360 2d 2d 2d 2d 2d 2d 2d 2d 20 2a 2f 00 00 00 23 64 65 66 69 6e 65 20 50 4f 50 57 09 64 6f 20 7b 63 --------.*/...#define.POPW.do.{c
2380 75 72 72 65 6e 74 3d 73 74 61 63 6b 5b 2d 2d 73 74 74 6f 70 5d 3b 7d 20 77 68 69 6c 65 28 30 29 urrent=stack[--sttop];}.while(0)
23a0 00 23 64 65 66 69 6e 65 20 50 55 53 48 57 09 64 6f 20 7b 73 74 61 63 6b 5b 73 74 74 6f 70 2b 2b .#define.PUSHW.do.{stack[sttop++
23c0 5d 3d 63 75 72 72 65 6e 74 3b 7d 20 77 68 69 6c 65 28 30 29 00 2a 2f 00 2f 2a 20 53 74 61 63 6b ]=current;}.while(0).*/./*.Stack
23e0 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 73 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 .current.windows................
2400 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 66 67 3d 63 3b 20 7d 20 7d 20 77 68 .......current->lastfg=c;.}.}.wh
2420 69 6c 65 28 30 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 53 65 74 46 ile(0).....................XSetF
2440 6f 72 65 67 72 6f 75 6e 64 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 63 29 oreground(display,current->gc,c)
2460 3b 20 5c 00 23 64 65 66 69 6e 65 20 46 47 28 63 29 09 64 6f 20 7b 69 66 20 28 28 63 29 21 3d 63 ;.\.#define.FG(c).do.{if.((c)!=c
2480 75 72 72 65 6e 74 2d 3e 6c 61 73 74 66 67 29 20 7b 20 5c 00 2a 2f 00 2f 2a 20 53 65 74 20 66 6f urrent->lastfg).{.\.*/./*.Set.fo
24a0 72 65 67 72 6f 75 6e 64 20 66 75 6e 63 72 69 6f 6e 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 reground.funcrion...............
24c0 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 66 75 6e 63 3d 63 3b 20 7d 20 7d 20 77 68 69 ........current->func=c;.}.}.whi
24e0 6c 65 28 30 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 53 65 74 46 75 le(0).....................XSetFu
2500 6e 63 74 69 6f 6e 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 63 29 3b 20 5c nction(display,current->gc,c);.\
2520 00 23 64 65 66 69 6e 65 20 57 4d 28 63 29 09 64 6f 20 7b 69 66 20 28 28 63 29 21 3d 63 75 72 72 .#define.WM(c).do.{if.((c)!=curr
2540 65 6e 74 2d 3e 66 75 6e 63 29 20 7b 20 5c 00 2a 2f 00 2f 2a 20 53 65 74 20 77 72 69 74 65 20 6d ent->func).{.\.*/./*.Set.write.m
2560 6f 64 65 00 00 00 73 74 61 74 69 63 20 58 50 6f 69 6e 74 09 09 70 6f 69 6e 74 73 5b 4d 41 58 5f ode...static.XPoint..points[MAX_
2580 50 55 54 50 4c 4f 54 53 5d 3b 00 73 74 61 74 69 63 20 69 6e 74 09 09 6e 6f 5f 70 6c 6f 74 73 3b PUTPLOTS];.static.int..no_plots;
25a0 00 2a 2f 00 2f 2a 20 50 75 74 20 67 6c 6f 62 61 6c 73 00 00 00 23 69 6e 63 6c 75 64 65 20 22 66 .*/./*.Put.globals...#include."f
25c0 6f 6e 74 73 65 74 2e 68 22 00 2a 2f 00 2f 2a 20 44 65 66 69 6e 69 74 69 6f 6e 73 20 66 6f 72 20 ontset.h".*/./*.Definitions.for.
25e0 58 49 6d 61 67 65 20 38 78 38 20 63 68 61 72 73 65 74 00 00 73 74 61 74 69 63 20 63 68 61 72 09 XImage.8x8.charset..static.char.
2600 09 70 72 62 75 66 5b 31 30 32 34 5d 3b 00 2a 2f 00 2f 2a 20 42 75 66 66 65 72 20 66 6f 72 20 58 .prbuf[1024];.*/./*.Buffer.for.X
2620 70 72 69 6e 74 66 28 29 20 61 6e 64 20 58 49 70 72 69 6e 74 66 28 29 00 00 73 74 61 74 69 63 20 printf().and.XIprintf()..static.
2640 75 6c 6f 6e 67 09 09 78 62 5f 77 68 69 74 65 3b 00 73 74 61 74 69 63 20 75 6c 6f 6e 67 09 09 78 ulong..xb_white;.static.ulong..x
2660 62 5f 62 6c 61 63 6b 3b 00 00 73 74 61 74 69 63 20 69 6e 74 09 09 75 73 65 5f 73 68 6d 3d 54 72 b_black;..static.int..use_shm=Tr
2680 75 65 3b 00 00 73 74 61 74 69 63 20 69 6e 74 09 09 73 63 72 65 65 6e 3b 00 73 74 61 74 69 63 20 ue;..static.int..screen;.static.
26a0 58 56 69 73 75 61 6c 49 6e 66 6f 09 76 69 6e 66 6f 3b 00 73 74 61 74 69 63 20 44 69 73 70 6c 61 XVisualInfo.vinfo;.static.Displa
26c0 79 09 09 2a 64 69 73 70 6c 61 79 3d 4e 55 4c 4c 3b 00 00 73 74 61 74 69 63 20 69 6e 74 09 09 73 y..*display=NULL;..static.int..s
26e0 74 74 6f 70 3b 00 73 74 61 74 69 63 20 57 45 6e 74 72 79 09 09 2a 73 74 61 63 6b 5b 31 32 38 5d ttop;.static.WEntry..*stack[128]
2700 3b 00 00 73 74 61 74 69 63 20 57 45 6e 74 72 79 09 09 2a 63 75 72 72 65 6e 74 3d 4e 55 4c 4c 3b ;..static.WEntry..*current=NULL;
2720 00 00 73 74 61 74 69 63 20 57 45 6e 74 72 79 09 09 2a 77 74 61 69 6c 3d 4e 55 4c 4c 3b 00 73 74 ..static.WEntry..*wtail=NULL;.st
2740 61 74 69 63 20 57 45 6e 74 72 79 09 09 2a 77 68 65 61 64 3d 4e 55 4c 4c 3b 00 00 00 7d 20 57 45 atic.WEntry..*whead=NULL;...}.WE
2760 6e 74 72 79 3b 00 20 20 20 20 73 74 72 75 63 74 20 57 45 6e 74 72 79 20 20 2a 6e 65 78 74 3b 00 ntry;.....struct.WEntry..*next;.
2780 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 73 70 6c 69 6e 65 5f 74 68 72 65 73 68 3b 00 20 ....int.........spline_thresh;..
27a0 20 20 20 75 6c 6f 6e 67 09 6c 61 73 74 66 67 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 ...ulong.lastfg;.....int........
27c0 20 6c 61 73 74 75 73 65 72 66 75 6e 63 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 66 .lastuserfunc;.....int.........f
27e0 75 6e 63 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 70 68 3b 00 20 20 20 20 69 6e 74 unc;.....int.........ph;.....int
2800 20 20 20 20 20 20 20 20 20 70 77 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 77 68 3b .........pw;.....int.........wh;
2820 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 77 77 3b 00 20 20 20 20 69 6e 74 20 20 20 20 .....int.........ww;.....int....
2840 20 20 20 20 20 6f 79 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 6f 78 3b 00 20 20 20 .....oy;.....int.........ox;....
2860 20 47 43 20 20 20 20 20 20 20 20 20 20 67 63 3b 00 20 20 20 20 75 6c 6f 6e 67 09 6d 75 6c 74 69 .GC..........gc;.....ulong.multi
2880 63 6c 73 3b 00 20 20 20 20 69 6e 74 09 09 6d 75 6c 74 69 6e 6f 3b 00 20 20 20 20 69 6e 74 09 09 cls;.....int..multino;.....int..
28a0 6d 75 6c 74 69 3b 00 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 75 73 65 5f 70 6d 3b 00 20 multi;.....int.........use_pm;..
28c0 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 62 75 66 66 65 72 3b 00 20 20 20 20 69 6e 74 20 20 ...int.........buffer;.....int..
28e0 20 20 20 20 20 20 20 70 6d 69 3b 00 09 09 73 68 6d 5f 69 6e 66 6f 3b 00 20 20 20 20 58 53 68 6d .......pmi;...shm_info;.....XShm
2900 53 65 67 6d 65 6e 74 49 6e 66 6f 00 20 20 20 20 69 6e 74 09 09 75 73 65 64 5f 4d 49 54 5f 53 48 SegmentInfo.....int..used_MIT_SH
2920 4d 3b 00 20 20 20 20 50 69 78 6d 61 70 20 20 20 20 20 20 70 6d 5b 4d 41 58 50 4d 5d 3b 00 20 20 M;.....Pixmap......pm[MAXPM];...
2940 20 20 57 69 6e 64 6f 77 09 77 3b 00 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 20 57 45 6e ..Window.w;.{.typedef.struct.WEn
2960 74 72 79 00 00 23 64 65 66 69 6e 65 20 4d 41 58 50 4d 09 32 35 36 00 00 2a 2f 00 2f 2a 20 47 4c try..#define.MAXPM.256..*/./*.GL
2980 4f 42 41 4c 53 00 00 00 23 64 65 66 69 6e 65 20 41 42 53 28 78 29 20 20 28 28 78 29 20 3c 20 30 OBALS...#define.ABS(x)..((x).<.0
29a0 20 3f 20 28 2d 28 78 29 29 20 3a 20 28 78 29 29 00 00 23 65 6e 64 69 66 00 23 64 65 66 69 6e 65 .?.(-(x)).:.(x))..#endif.#define
29c0 20 54 52 55 45 20 31 00 23 69 66 6e 64 65 66 20 54 52 55 45 00 00 23 65 6e 64 69 66 00 23 64 65 .TRUE.1.#ifndef.TRUE..#endif.#de
29e0 66 69 6e 65 20 46 41 4c 53 45 20 30 00 23 69 66 6e 64 65 66 20 46 41 4c 53 45 00 00 00 23 64 65 fine.FALSE.0.#ifndef.FALSE...#de
2a00 66 69 6e 65 20 57 41 52 4e 31 28 78 2c 79 29 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c fine.WARN1(x,y)..fprintf(stderr,
2a20 22 25 73 28 25 64 29 20 3a 20 57 61 72 6e 69 6e 67 3a 25 73 20 25 73 5c 6e 22 2c 5f 5f 46 49 4c "%s(%d).:.Warning:%s.%s\n",__FIL
2a40 45 5f 5f 2c 5f 5f 4c 49 4e 45 5f 5f 2c 78 2c 79 29 3b 00 23 64 65 66 69 6e 65 20 57 41 52 4e 28 E__,__LINE__,x,y);.#define.WARN(
2a60 78 29 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 25 73 28 25 64 29 20 3a 20 x).....fprintf(stderr,"%s(%d).:.
2a80 57 61 72 6e 69 6e 67 3a 25 73 5c 6e 22 2c 5f 5f 46 49 4c 45 5f 5f 2c 5f 5f 4c 49 4e 45 5f 5f 2c Warning:%s\n",__FILE__,__LINE__,
2aa0 78 29 3b 00 00 23 69 6e 63 6c 75 64 65 20 22 69 63 6f 6e 22 00 00 23 69 6e 63 6c 75 64 65 20 22 x);..#include."icon"..#include."
2ac0 58 62 69 74 2e 68 22 00 00 23 69 6e 63 6c 75 64 65 20 3c 6e 65 74 69 6e 65 74 2f 69 6e 2e 68 3e Xbit.h"..#include.<netinet/in.h>
2ae0 00 00 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 61 72 67 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c ..#include.<stdarg.h>.#include.<
2b00 73 74 72 69 6e 67 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 66 63 6e 74 6c 2e 68 3e 00 23 69 6e string.h>.#include.<fcntl.h>.#in
2b20 63 6c 75 64 65 20 3c 73 74 64 69 6f 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 6c 69 62 clude.<stdio.h>.#include.<stdlib
2b40 2e 68 3e 00 00 23 69 6e 63 6c 75 64 65 20 3c 73 79 73 2f 73 68 6d 2e 68 3e 00 23 69 6e 63 6c 75 .h>..#include.<sys/shm.h>.#inclu
2b60 64 65 20 3c 73 79 73 2f 69 70 63 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 73 79 73 2f 74 79 70 de.<sys/ipc.h>.#include.<sys/typ
2b80 65 73 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 6d 61 63 68 69 6e 65 2f 70 61 72 61 6d 2e 68 3e es.h>.#include.<machine/param.h>
2ba0 00 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 58 53 68 6d 2e ..#include.<X11/extensions/XShm.
2bc0 68 3e 00 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 61 74 6f 6d 2e 68 3e 00 23 69 6e 63 6c h>..#include.<X11/Xatom.h>.#incl
2be0 75 64 65 20 3c 58 31 31 2f 58 6f 73 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 75 ude.<X11/Xos.h>.#include.<X11/Xu
2c00 74 69 6c 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 6c 69 62 2e 68 3e 00 00 73 74 til.h>.#include.<X11/Xlib.h>..st
2c20 61 74 69 63 20 63 68 61 72 20 72 63 73 5f 69 64 5b 5d 3d 22 24 49 64 3a 20 2e 58 62 69 74 2e 63 atic.char.rcs_id[]="$Id:..Xbit.c
2c40 2e 73 77 70 2c 76 20 31 2e 31 2e 31 2e 31 20 32 30 30 35 2d 30 35 2d 31 32 20 30 30 3a 35 39 3a .swp,v.1.1.1.1.2005-05-12.00:59:
2c60 33 39 20 69 61 6e 63 20 45 78 70 20 24 22 3b 00 2a 2f 00 00 20 20 20 20 54 68 69 73 20 69 73 20 39.ianc.Exp.$";.*/......This.is.
2c80 61 20 62 69 74 20 6d 65 73 73 79 20 61 73 20 69 74 20 62 61 73 65 64 20 6f 6e 20 76 65 72 79 20 a.bit.messy.as.it.based.on.very.
2ca0 6f 6c 64 20 4b 26 52 20 63 6f 64 65 2e 00 00 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d old.K&R.code.......-------------
2cc0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d --------------------------------
2ce0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 00 00 20 20 ----------------------------....
2d00 20 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 2c 20 35 39 20 54 65 6d 70 6c 65 20 50 6c ..Foundation,.Inc.,.59.Temple.Pl
2d20 61 63 65 2c 20 53 75 69 74 65 20 33 33 30 2c 20 42 6f 73 74 6f 6e 2c 20 4d 41 20 20 30 32 31 31 ace,.Suite.330,.Boston,.MA..0211
2d40 31 2d 31 33 30 37 20 20 55 53 41 00 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 1-1307..USA.....along.with.this.
2d60 70 72 6f 67 72 61 6d 3b 20 69 66 20 6e 6f 74 2c 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 46 72 program;.if.not,.write.to.the.Fr
2d80 65 65 20 53 6f 66 74 77 61 72 65 00 20 20 20 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 ee.Software.....You.should.have.
2da0 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 received.a.copy.of.the.GNU.Gener
2dc0 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 00 00 20 20 20 20 47 4e 55 20 47 65 6e 65 72 al.Public.License......GNU.Gener
2de0 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 al.Public.License.for.more.detai
2e00 6c 73 2e 00 20 20 20 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 ls......MERCHANTABILITY.or.FITNE
2e20 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 SS.FOR.A.PARTICULAR.PURPOSE...Se
2e40 65 20 74 68 65 00 20 20 20 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e e.the.....but.WITHOUT.ANY.WARRAN
2e60 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 TY;.without.even.the.implied.war
2e80 72 61 6e 74 79 20 6f 66 00 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 ranty.of.....This.program.is.dis
2ea0 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c tributed.in.the.hope.that.it.wil
2ec0 6c 20 62 65 20 75 73 65 66 75 6c 2c 00 00 20 20 20 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f l.be.useful,......(at.your.optio
2ee0 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 00 20 20 20 20 74 68 65 20 46 72 n).any.later.version......the.Fr
2f00 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 65 69 74 68 65 72 20 76 ee.Software.Foundation;.either.v
2f20 65 72 73 69 6f 6e 20 32 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 00 20 20 20 20 ersion.2.of.the.License,.or.....
2f40 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 it.under.the.terms.of.the.GNU.Ge
2f60 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 neral.Public.License.as.publishe
2f80 64 20 62 79 00 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 73 6f d.by.....This.program.is.free.so
2fa0 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 ftware;.you.can.redistribute.it.
2fc0 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 00 00 20 20 20 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 and/or.modify......Copyright.(C)
2fe0 20 32 30 30 35 20 20 49 61 6e 20 43 6f 77 62 75 72 6e 20 28 69 61 6e 63 40 6e 6f 64 64 79 62 6f .2005..Ian.Cowburn.(ianc@noddybo
3000 78 2e 64 65 6d 6f 6e 2e 63 6f 2e 75 6b 29 00 00 20 20 20 20 58 62 69 74 20 2d 20 53 69 6d 70 6c x.demon.co.uk)......Xbit.-.Simpl
3020 65 20 78 6c 69 62 20 69 6e 74 65 72 66 61 63 65 00 00 2f 2a 00 61 64 00 00 9e 0c 00 00 4a 0d 00 e.xlib.interface../*.ad......J..
3040 00 00 10 00 00 26 00 00 00 b9 0f 00 00 b5 0f 00 00 91 0f 00 00 8e 0f 00 00 77 0f 00 00 76 0f 00 .....&...................w...v..
3060 00 5d 0f 00 00 56 0f 00 00 31 0f 00 00 0a 0f 00 00 e4 0e 00 00 e3 0e 00 00 c7 0e 00 00 c0 0e 00 .]...V...1......................
3080 00 bf 0e 00 00 9f 0e 00 00 9c 0e 00 00 9b 0e 00 00 8f 0e 00 00 89 0e 00 00 88 0e 00 00 54 0e 00 .............................T..
30a0 00 4d 0e 00 00 1e 0e 00 00 1d 0e 00 00 08 0e 00 00 01 0e 00 00 eb 0d 00 00 c7 0d 00 00 99 0d 00 .M..............................
30c0 00 98 0d 00 00 79 0d 00 00 72 0d 00 00 60 0d 00 00 5e 0d 00 00 5d 0d 00 00 5c 0d 00 00 4a 0d 00 .....y...r...`...^...]...\...J..
30e0 00 49 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .I..............................
3100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2f .............................../
3d80 2a 20 45 4e 44 20 4f 46 20 46 49 4c 45 20 2a 2f 00 00 00 7d 00 20 20 20 20 73 65 74 2d 3e 73 70 *.END.OF.FILE.*/...}.....set->sp
3da0 72 3d 73 70 72 3b 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 53 65 74 20 75 70 20 72 65 74 75 r=spr;.....*/...../*.Set.up.retu
3dc0 72 6e 2c 20 61 6c 6c 20 64 6f 6e 65 00 00 09 20 20 20 20 73 70 72 5b 66 5d 2e 64 61 74 61 5b 72 rn,.all.done.......spr[f].data[r
3de0 5d 3d 73 65 74 2d 3e 70 69 78 5b 73 70 72 5b 66 5d 2e 64 61 74 61 5b 72 5d 5d 3b 00 09 66 6f 72 ]=set->pix[spr[f].data[r]];..for
3e00 28 72 3d 30 3b 72 3c 28 73 70 72 5b 66 5d 2e 77 2a 73 70 72 5b 66 5d 2e 68 29 3b 72 2b 2b 29 00 (r=0;r<(spr[f].w*spr[f].h);r++).
3e20 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 2b 2b 29 00 20 20 20 20 2a 2f 00 20 20 20 ....for(f=0;f<no;f++).....*/....
3e40 20 2f 2a 20 52 65 6d 61 70 20 73 70 72 69 74 65 73 00 00 20 20 20 20 41 6c 6c 6f 63 43 6f 6c 6f ./*.Remap.sprites......AllocColo
3e60 75 72 73 52 47 42 28 73 65 74 2d 3e 6e 6f 5f 63 6f 6c 2c 73 65 74 2d 3e 70 69 78 2c 63 6f 6c 29 ursRGB(set->no_col,set->pix,col)
3e80 3b 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 47 6f 74 20 61 6c 6c 20 73 70 72 69 74 65 73 20 ;.....*/...../*.Got.all.sprites.
3ea0 2d 20 61 6c 6c 6f 63 61 74 65 20 61 6e 64 20 72 65 6d 61 70 20 63 6f 6c 6f 75 72 73 00 00 20 20 -.allocate.and.remap.colours....
3ec0 20 20 7d 00 09 63 6c 6f 73 65 28 66 64 29 3b 00 00 09 7d 00 09 20 20 20 20 73 70 72 5b 66 5d 2e ..}..close(fd);...}......spr[f].
3ee0 64 61 74 61 5b 72 5d 3d 75 73 65 64 5b 62 79 74 65 5d 3b 00 00 09 20 20 20 20 7d 00 09 09 75 73 data[r]=used[byte];.......}...us
3f00 65 64 5b 62 79 74 65 5d 3d 73 65 74 2d 3e 6e 6f 5f 63 6f 6c 2b 2b 3b 00 00 09 09 63 6f 6c 5b 73 ed[byte]=set->no_col++;....col[s
3f20 65 74 2d 3e 6e 6f 5f 63 6f 6c 5d 2e 62 3d 78 63 6f 6c 5b 62 79 74 65 5d 2e 62 6c 75 65 3b 00 09 et->no_col].b=xcol[byte].blue;..
3f40 09 63 6f 6c 5b 73 65 74 2d 3e 6e 6f 5f 63 6f 6c 5d 2e 67 3d 78 63 6f 6c 5b 62 79 74 65 5d 2e 67 .col[set->no_col].g=xcol[byte].g
3f60 72 65 65 6e 3b 00 09 09 63 6f 6c 5b 73 65 74 2d 3e 6e 6f 5f 63 6f 6c 5d 2e 72 3d 78 63 6f 6c 5b reen;...col[set->no_col].r=xcol[
3f80 62 79 74 65 5d 2e 72 65 64 3b 00 09 20 20 20 20 7b 00 09 20 20 20 20 69 66 20 28 75 73 65 64 5b byte].red;......{......if.(used[
3fa0 62 79 74 65 5d 3d 3d 2d 31 29 00 00 09 20 20 20 20 72 65 61 64 28 66 64 2c 26 62 79 74 65 2c 31 byte]==-1).......read(fd,&byte,1
3fc0 29 3b 00 09 7b 00 09 66 6f 72 28 72 3d 30 3b 72 3c 28 73 70 72 5b 66 5d 2e 77 2a 73 70 72 5b 66 );..{..for(r=0;r<(spr[f].w*spr[f
3fe0 5d 2e 68 29 3b 72 2b 2b 29 00 09 2a 2f 00 09 2f 2a 20 52 65 61 64 20 74 68 72 6f 75 67 68 20 70 ].h);r++)..*/../*.Read.through.p
4000 69 78 65 6c 20 76 61 6c 75 65 73 2c 20 73 74 61 63 6b 69 6e 67 20 75 70 20 63 6f 6c 6f 75 72 20 ixel.values,.stacking.up.colour.
4020 64 65 66 69 6e 69 74 69 6f 6e 73 20 61 73 20 6e 65 65 65 64 00 61 64 00 00 1f 00 00 00 9f 02 00 definitions.as.neeed.ad.........
4040 00 00 10 00 00 9b 00 00 00 ea 0f 00 00 e7 0f 00 00 e6 0f 00 00 bd 0f 00 00 b9 0f 00 00 83 0f 00 ................................
4060 00 82 0f 00 00 54 0f 00 00 50 0f 00 00 17 0f 00 00 fc 0e 00 00 be 0e 00 00 a1 0e 00 00 66 0e 00 .....T...P...................f..
4080 00 4c 0e 00 00 0d 0e 00 00 ef 0d 00 00 e7 0d 00 00 c8 0d 00 00 bc 0d 00 00 b4 0d 00 00 ae 0d 00 .L..............................
40a0 00 ad 0d 00 00 8a 0d 00 00 89 0d 00 00 60 0d 00 00 37 0d 00 00 22 0d 00 00 0d 0d 00 00 0c 0d 00 .............`...7..."..........
40c0 00 ea 0c 00 00 ca 0c 00 00 b7 0c 00 00 a6 0c 00 00 95 0c 00 00 83 0c 00 00 76 0c 00 00 75 0c 00 .........................v...u..
40e0 00 4e 0c 00 00 2d 0c 00 00 0d 0c 00 00 ea 0b 00 00 b9 0b 00 00 b8 0b 00 00 9c 0b 00 00 7b 0b 00 .N...-.......................{..
4100 00 5b 0b 00 00 3c 0b 00 00 1d 0b 00 00 f8 0a 00 00 d5 0a 00 00 b5 0a 00 00 b4 0a 00 00 8e 0a 00 .[...<..........................
4120 00 8d 0a 00 00 64 0a 00 00 63 0a 00 00 3c 0a 00 00 15 0a 00 00 ec 09 00 00 bf 09 00 00 be 09 00 .....d...c...<..................
4140 00 9d 09 00 00 9c 09 00 00 79 09 00 00 5e 09 00 00 5d 09 00 00 4a 09 00 00 49 09 00 00 36 09 00 .........y...^...]...J...I...6..
4160 00 34 09 00 00 33 09 00 00 32 09 00 00 e7 08 00 00 e5 08 00 00 d1 08 00 00 c1 08 00 00 a4 08 00 .4...3...2......................
4180 00 95 08 00 00 94 08 00 00 82 08 00 00 7c 08 00 00 70 08 00 00 6f 08 00 00 37 08 00 00 34 08 00 .............|...p...o...7...4..
41a0 00 e4 07 00 00 ce 07 00 00 cb 07 00 00 ca 07 00 00 aa 07 00 00 a9 07 00 00 84 07 00 00 83 07 00 ................................
41c0 00 5a 07 00 00 56 07 00 00 20 07 00 00 1f 07 00 00 fc 06 00 00 f8 06 00 00 bb 06 00 00 88 06 00 .Z...V..........................
41e0 00 85 06 00 00 53 06 00 00 45 06 00 00 42 06 00 00 3c 06 00 00 3b 06 00 00 12 06 00 00 e9 05 00 .....S...E...B...<...;..........
4200 00 d4 05 00 00 bf 05 00 00 be 05 00 00 97 05 00 00 96 05 00 00 6d 05 00 00 6c 05 00 00 45 05 00 .....................m...l...E..
4220 00 1e 05 00 00 f5 04 00 00 f4 04 00 00 d3 04 00 00 d2 04 00 00 ad 04 00 00 87 04 00 00 86 04 00 ................................
4240 00 63 04 00 00 48 04 00 00 47 04 00 00 34 04 00 00 33 04 00 00 20 04 00 00 1e 04 00 00 1d 04 00 .c...H...G...4...3..............
4260 00 1c 04 00 00 f7 03 00 00 f5 03 00 00 e0 03 00 00 df 03 00 00 b9 03 00 00 8a 03 00 00 81 03 00 ................................
4280 00 59 03 00 00 58 03 00 00 49 03 00 00 47 03 00 00 46 03 00 00 45 03 00 00 fd 02 00 00 fb 02 00 .Y...X...I...G...F...E..........
42a0 00 eb 02 00 00 da 02 00 00 c1 02 00 00 a0 02 00 00 9f 02 00 00 a8 02 00 00 00 00 00 00 00 00 00 ................................
42c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 69 6e 74 20 6d 61 73 .........................int.mas
42e0 6b 77 2c 6d 61 73 6b 68 2c 6d 61 73 6b 78 2c 6d 61 73 6b 79 3b 00 20 20 20 20 69 6e 74 20 62 6d kw,maskh,maskx,masky;.....int.bm
4300 77 2c 62 6d 68 2c 62 6d 78 2c 62 6d 79 3b 00 20 20 20 20 43 75 72 73 6f 72 20 63 75 72 73 3b 00 w,bmh,bmx,bmy;.....Cursor.curs;.
4320 20 20 20 20 50 69 78 6d 61 70 20 62 2c 6d 3b 00 7b 00 76 6f 69 64 20 58 55 73 65 43 75 72 73 6f ....Pixmap.b,m;.{.void.XUseCurso
4340 72 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 62 6d 2c 20 63 6f 6e 73 74 20 63 68 61 72 20 2a 6d 61 r(const.char.*bm,.const.char.*ma
4360 73 6b 2c 20 58 43 6f 6c 6f 72 20 66 67 2c 20 58 43 6f 6c 6f 72 20 62 67 29 00 00 00 7d 00 20 20 sk,.XColor.fg,.XColor.bg)...}...
4380 20 20 72 65 74 75 72 6e 20 66 74 3b 00 00 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 63 6f 75 ..return.ft;..........WARN1("cou
43a0 6c 64 6e 27 74 20 6c 6f 61 64 20 66 6f 6e 74 3a 22 2c 6e 29 3b 00 20 20 20 20 65 6c 73 65 00 20 ldn't.load.font:",n);.....else..
43c0 20 20 20 20 20 20 20 58 53 65 74 46 6f 6e 74 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d .......XSetFont(display,current-
43e0 3e 67 63 2c 66 74 2d 3e 66 69 64 29 3b 00 20 20 20 20 69 66 20 28 66 74 3d 58 4c 6f 61 64 51 75 >gc,ft->fid);.....if.(ft=XLoadQu
4400 65 72 79 46 6f 6e 74 28 64 69 73 70 6c 61 79 2c 6e 29 29 00 00 20 20 20 20 58 46 6f 6e 74 53 74 eryFont(display,n))......XFontSt
4420 72 75 63 74 20 2a 66 74 3b 00 7b 00 58 46 6f 6e 74 53 74 72 75 63 74 20 2a 58 55 73 65 46 6f 6e ruct.*ft;.{.XFontStruct.*XUseFon
4440 74 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 6e 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 t(const.char.*n)...}.....return.
4460 77 69 6e 64 6f 77 3b 00 00 20 20 20 20 52 65 73 69 7a 65 28 70 77 2c 70 68 29 3b 00 00 20 20 20 window;......Resize(pw,ph);.....
4480 20 53 65 74 43 75 72 72 65 6e 74 57 69 6e 28 77 69 6e 64 6f 77 29 3b 00 20 20 20 20 43 72 65 61 .SetCurrentWin(window);.....Crea
44a0 74 65 57 45 6e 74 72 79 28 77 69 6e 64 6f 77 2c 67 63 2c 2a 77 2c 2a 68 29 3b 00 00 20 20 20 20 teWEntry(window,gc,*w,*h);......
44c0 2a 68 3d 44 69 73 70 6c 61 79 48 65 69 67 68 74 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 *h=DisplayHeight(display,screen)
44e0 3b 00 20 20 20 20 2a 77 3d 44 69 73 70 6c 61 79 57 69 64 74 68 28 64 69 73 70 6c 61 79 2c 73 63 ;.....*w=DisplayWidth(display,sc
4500 72 65 65 6e 29 3b 00 00 20 20 20 20 58 4d 61 70 57 69 6e 64 6f 77 20 28 64 69 73 70 6c 61 79 2c reen);......XMapWindow.(display,
4520 77 69 6e 64 6f 77 29 3b 00 00 20 20 20 20 58 53 65 74 50 6c 61 6e 65 4d 61 73 6b 28 64 69 73 70 window);......XSetPlaneMask(disp
4540 6c 61 79 2c 67 63 2c 41 6c 6c 50 6c 61 6e 65 73 29 3b 00 20 20 20 20 58 53 65 74 42 61 63 6b 67 lay,gc,AllPlanes);.....XSetBackg
4560 72 6f 75 6e 64 28 64 69 73 70 6c 61 79 2c 67 63 2c 2a 77 68 69 74 65 29 3b 00 20 20 20 20 58 53 round(display,gc,*white);.....XS
4580 65 74 46 6f 72 65 67 72 6f 75 6e 64 28 64 69 73 70 6c 61 79 2c 67 63 2c 2a 62 6c 61 63 6b 29 3b etForeground(display,gc,*black);
45a0 00 00 20 20 20 20 67 63 3d 58 43 72 65 61 74 65 47 43 28 64 69 73 70 6c 61 79 2c 77 69 6e 64 6f ......gc=XCreateGC(display,windo
45c0 77 2c 30 2c 4e 55 4c 4c 29 3b 00 00 20 20 20 20 77 69 6e 64 6f 77 3d 52 6f 6f 74 57 69 6e 64 6f w,0,NULL);......window=RootWindo
45e0 77 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 00 20 20 20 20 2a 77 68 69 74 65 3d 78 w(display,screen);......*white=x
4600 62 5f 77 68 69 74 65 3b 00 20 20 20 20 2a 62 6c 61 63 6b 3d 78 62 5f 62 6c 61 63 6b 3b 00 20 20 b_white;.....*black=xb_black;...
4620 20 20 78 62 5f 77 68 69 74 65 3d 57 68 69 74 65 50 69 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 ..xb_white=WhitePixel(display,sc
4640 72 65 65 6e 29 3b 00 20 20 20 20 78 62 5f 62 6c 61 63 6b 3d 42 6c 61 63 6b 50 69 78 65 6c 28 64 reen);.....xb_black=BlackPixel(d
4660 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 65 isplay,screen);......}..}......e
4680 78 69 74 28 31 29 3b 00 09 20 20 20 20 57 41 52 4e 28 22 6e 6f 20 76 69 73 75 61 6c 20 74 6f 20 xit(1);......WARN("no.visual.to.
46a0 6d 61 74 63 68 20 74 68 65 20 72 6f 6f 74 20 77 69 6e 64 6f 77 21 22 29 3b 00 09 7b 00 09 09 09 match.the.root.window!");..{....
46c0 20 20 20 20 20 20 64 65 70 74 68 3d 3d 38 20 3f 20 50 73 65 75 64 6f 43 6f 6c 6f 72 3a 54 72 75 ......depth==8.?.PseudoColor:Tru
46e0 65 43 6f 6c 6f 72 2c 26 76 69 6e 66 6f 29 29 00 09 69 66 20 28 21 58 4d 61 74 63 68 56 69 73 75 eColor,&vinfo))..if.(!XMatchVisu
4700 61 6c 49 6e 66 6f 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 53 63 72 65 65 6e 28 64 69 73 alInfo(display,DefaultScreen(dis
4720 70 6c 61 79 29 2c 64 65 70 74 68 2c 00 09 2a 2f 00 09 2f 2a 20 46 69 6e 64 20 61 20 76 69 73 75 play),depth,..*/../*.Find.a.visu
4740 61 6c 20 66 6f 72 20 75 73 20 74 6f 20 75 73 65 2e 2e 2e 00 00 09 75 73 65 5f 73 68 6d 3d 58 51 al.for.us.to.use......use_shm=XQ
4760 75 65 72 79 45 78 74 65 6e 73 69 6f 6e 28 64 69 73 70 6c 61 79 2c 22 4d 49 54 2d 53 48 4d 22 2c ueryExtension(display,"MIT-SHM",
4780 26 69 2c 26 6a 2c 26 6b 29 3b 00 09 2a 2f 00 09 2f 2a 20 54 72 79 20 61 6e 64 20 66 69 6e 64 20 &i,&j,&k);..*/../*.Try.and.find.
47a0 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 65 78 74 65 6e 73 69 6f 6e 00 00 09 64 65 70 74 68 3d shared.memory.extension...depth=
47c0 44 65 66 61 75 6c 74 44 65 70 74 68 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 00 09 DefaultDepth(display,screen);...
47e0 73 63 72 65 65 6e 3d 44 65 66 61 75 6c 74 53 63 72 65 65 6e 28 64 69 73 70 6c 61 79 29 3b 00 00 screen=DefaultScreen(display);..
4800 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 2d 31 29 3b 00 20 20 20 20 20 20 20 .}.............exit(-1);........
4820 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 63 61 6e 27 74 20 63 6f 6e 6e 65 .....fprintf(stderr,"can't.conne
4840 63 74 20 74 6f 20 25 73 5c 6e 22 2c 58 44 69 73 70 6c 61 79 4e 61 6d 65 28 64 69 73 70 6c 61 79 ct.to.%s\n",XDisplayName(display
4860 5f 6e 61 6d 65 29 29 3b 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 28 64 69 73 70 6c 61 79 _name));..{.........if.((display
4880 3d 58 4f 70 65 6e 44 69 73 70 6c 61 79 28 64 69 73 70 6c 61 79 5f 6e 61 6d 65 29 29 3d 3d 4e 55 =XOpenDisplay(display_name))==NU
48a0 4c 4c 29 00 00 09 69 6e 74 20 64 65 70 74 68 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 LL)...int.depth;.....{.....if.(!
48c0 64 69 73 70 6c 61 79 29 00 00 20 20 20 20 69 6e 74 20 69 2c 6a 2c 6b 3b 00 20 20 20 20 63 68 61 display)......int.i,j,k;.....cha
48e0 72 20 2a 64 69 73 70 6c 61 79 5f 6e 61 6d 65 3d 4e 55 4c 4c 3b 00 20 20 20 20 47 43 20 20 20 20 r.*display_name=NULL;.....GC....
4900 20 20 67 63 3b 00 20 20 20 20 57 69 6e 64 6f 77 20 20 77 69 6e 64 6f 77 3b 00 7b 00 57 69 6e 64 ..gc;.....Window..window;.{.Wind
4920 6f 77 20 4f 70 65 6e 52 6f 6f 74 57 69 6e 20 28 75 6c 6f 6e 67 20 2a 62 6c 61 63 6b 2c 75 6c 6f ow.OpenRootWin.(ulong.*black,ulo
4940 6e 67 20 2a 77 68 69 74 65 2c 69 6e 74 20 2a 77 2c 69 6e 74 20 2a 68 2c 69 6e 74 20 70 77 2c 69 ng.*white,int.*w,int.*h,int.pw,i
4960 6e 74 20 70 68 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 3b 00 00 20 nt.ph)...}.....return.window;...
4980 20 20 20 52 65 73 69 7a 65 28 70 77 2c 70 68 29 3b 00 00 20 20 20 20 53 65 74 43 75 72 72 65 6e ...Resize(pw,ph);......SetCurren
49a0 74 57 69 6e 28 77 69 6e 64 6f 77 29 3b 00 20 20 20 20 43 72 65 61 74 65 57 45 6e 74 72 79 28 77 tWin(window);.....CreateWEntry(w
49c0 69 6e 64 6f 77 2c 67 63 2c 77 77 2c 77 68 29 3b 00 00 20 20 20 20 58 4d 61 70 57 69 6e 64 6f 77 indow,gc,ww,wh);......XMapWindow
49e0 20 28 64 69 73 70 6c 61 79 2c 77 69 6e 64 6f 77 29 3b 00 00 20 20 20 20 58 53 65 74 47 72 61 70 .(display,window);......XSetGrap
4a00 68 69 63 73 45 78 70 6f 73 75 72 65 73 28 64 69 73 70 6c 61 79 2c 67 63 2c 46 61 6c 73 65 29 3b hicsExposures(display,gc,False);
4a20 00 20 20 20 20 58 53 65 74 50 6c 61 6e 65 4d 61 73 6b 28 64 69 73 70 6c 61 79 2c 67 63 2c 41 6c .....XSetPlaneMask(display,gc,Al
4a40 6c 50 6c 61 6e 65 73 29 3b 00 20 20 20 20 58 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 28 64 69 73 lPlanes);.....XSetBackground(dis
4a60 70 6c 61 79 2c 67 63 2c 2a 77 68 69 74 65 29 3b 00 20 20 20 20 58 53 65 74 46 6f 72 65 67 72 6f play,gc,*white);.....XSetForegro
4a80 75 6e 64 28 64 69 73 70 6c 61 79 2c 67 63 2c 2a 62 6c 61 63 6b 29 3b 00 00 20 20 20 20 67 63 3d und(display,gc,*black);......gc=
4aa0 58 43 72 65 61 74 65 47 43 28 64 69 73 70 6c 61 79 2c 77 69 6e 64 6f 77 2c 30 2c 4e 55 4c 4c 29 XCreateGC(display,window,0,NULL)
4ac0 3b 00 00 20 20 20 20 58 53 65 6c 65 63 74 49 6e 70 75 74 20 28 64 69 73 70 6c 61 79 2c 77 69 6e ;......XSelectInput.(display,win
4ae0 64 6f 77 2c 65 76 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dow,ev);........................
4b00 20 20 68 69 6e 74 73 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..hints);.......................
4b20 20 20 61 72 67 76 2c 61 72 67 63 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..argv,argc,....................
4b40 20 20 20 20 20 69 63 6f 6e 5f 70 69 78 6d 61 70 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....icon_pixmap,...............
4b60 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........title,................
4b80 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........title,.................
4ba0 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........window,.................
4bc0 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 2c 00 20 20 20 20 58 53 65 74 53 74 61 6e 64 61 72 ........display,.....XSetStandar
4be0 64 50 72 6f 70 65 72 74 69 65 73 28 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dProperties(....................
4c00 20 20 20 20 20 20 69 63 6f 6e 5f 77 69 64 74 68 2c 69 63 6f 6e 5f 68 65 69 67 68 74 29 3b 00 20 ......icon_width,icon_height);..
4c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 5f 62 69 74 73 .......................icon_bits
4c40 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 ,.........................window
4c60 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 ,.........................displa
4c80 79 2c 00 20 20 20 20 69 63 6f 6e 5f 70 69 78 6d 61 70 3d 58 43 72 65 61 74 65 42 69 74 6d 61 70 y,.....icon_pixmap=XCreateBitmap
4ca0 46 72 6f 6d 44 61 74 61 28 00 00 09 09 09 20 30 2c 4e 55 4c 4c 29 3b 00 09 09 09 20 76 69 6e 66 FromData(......0,NULL);.....vinf
4cc0 6f 2e 76 69 73 75 61 6c 2c 00 09 09 09 20 49 6e 70 75 74 4f 75 74 70 75 74 2c 00 09 09 09 20 76 o.visual,.....InputOutput,.....v
4ce0 69 6e 66 6f 2e 64 65 70 74 68 2c 00 09 09 09 20 77 78 2c 77 79 2c 77 77 2c 77 68 2c 31 2c 00 09 info.depth,.....wx,wy,ww,wh,1,..
4d00 09 09 20 52 6f 6f 74 57 69 6e 64 6f 77 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 2c 00 20 ...RootWindow(display,screen),..
4d20 20 20 20 77 69 6e 64 6f 77 3d 58 43 72 65 61 74 65 57 69 6e 64 6f 77 28 64 69 73 70 6c 61 79 2c ...window=XCreateWindow(display,
4d40 00 00 20 20 20 20 2a 77 68 69 74 65 3d 78 62 5f 77 68 69 74 65 3b 00 20 20 20 20 2a 62 6c 61 63 ......*white=xb_white;.....*blac
4d60 6b 3d 78 62 5f 62 6c 61 63 6b 3b 00 20 20 20 20 78 62 5f 77 68 69 74 65 3d 57 68 69 74 65 50 69 k=xb_black;.....xb_white=WhitePi
4d80 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 20 20 20 20 78 62 5f 62 6c 61 63 xel(display,screen);.....xb_blac
4da0 6b 3d 42 6c 61 63 6b 50 69 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 00 20 k=BlackPixel(display,screen);...
4dc0 20 20 20 73 63 72 65 65 6e 3d 44 65 66 61 75 6c 74 53 63 72 65 65 6e 28 64 69 73 70 6c 61 79 29 ...screen=DefaultScreen(display)
4de0 3b 00 00 20 20 20 20 7d 00 09 09 20 20 20 20 7d 00 09 09 09 65 78 69 74 28 31 29 3b 00 09 09 09 ;......}.......}....exit(1);....
4e00 57 41 52 4e 28 22 6e 6f 20 76 69 73 75 61 6c 20 66 6f 75 6e 64 21 5c 6e 22 29 3b 00 09 09 20 20 WARN("no.visual.found!\n");.....
4e20 20 20 7b 00 09 09 09 09 09 09 09 20 20 20 20 54 72 75 65 43 6f 6c 6f 72 2c 26 76 69 6e 66 6f 29 ..{............TrueColor,&vinfo)
4e40 29 00 09 09 20 20 20 20 69 66 20 28 21 58 4d 61 74 63 68 56 69 73 75 61 6c 49 6e 66 6f 28 64 69 ).......if.(!XMatchVisualInfo(di
4e60 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 53 63 72 65 65 6e 28 64 69 73 70 6c 61 79 29 2c 33 32 2c splay,DefaultScreen(display),32,
4e80 00 09 09 09 09 09 09 09 54 72 75 65 43 6f 6c 6f 72 2c 26 76 69 6e 66 6f 29 29 00 09 09 69 66 20 ........TrueColor,&vinfo))...if.
4ea0 28 21 58 4d 61 74 63 68 56 69 73 75 61 6c 49 6e 66 6f 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 (!XMatchVisualInfo(display,Defau
4ec0 6c 74 53 63 72 65 65 6e 28 64 69 73 70 6c 61 79 29 2c 32 34 2c 00 09 09 09 09 09 09 20 20 20 20 ltScreen(display),24,...........
4ee0 54 72 75 65 43 6f 6c 6f 72 2c 26 76 69 6e 66 6f 29 29 00 09 20 20 20 20 69 66 20 28 21 58 4d 61 TrueColor,&vinfo))......if.(!XMa
4f00 74 63 68 56 69 73 75 61 6c 49 6e 66 6f 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 53 63 72 tchVisualInfo(display,DefaultScr
4f20 65 65 6e 28 64 69 73 70 6c 61 79 29 2c 31 36 2c 00 09 09 09 09 09 09 50 73 65 75 64 6f 43 6f 6c een(display),16,.......PseudoCol
4f40 6f 72 2c 26 76 69 6e 66 6f 29 29 00 09 69 66 20 28 21 58 4d 61 74 63 68 56 69 73 75 61 6c 49 6e or,&vinfo))..if.(!XMatchVisualIn
4f60 66 6f 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 53 63 72 65 65 6e 28 64 69 73 70 6c 61 79 fo(display,DefaultScreen(display
4f80 29 2c 38 2c 00 09 2a 2f 00 09 2f 2a 20 46 69 6e 64 20 61 20 6e 69 63 65 20 38 2d 62 69 74 20 76 ),8,..*/../*.Find.a.nice.8-bit.v
4fa0 69 73 75 61 6c 20 66 6f 72 20 75 73 20 74 6f 20 75 73 65 2e 2e 2e 00 00 09 75 73 65 5f 73 68 6d isual.for.us.to.use......use_shm
4fc0 3d 58 51 75 65 72 79 45 78 74 65 6e 73 69 6f 6e 28 64 69 73 70 6c 61 79 2c 22 4d 49 54 2d 53 48 =XQueryExtension(display,"MIT-SH
4fe0 4d 22 2c 26 69 2c 26 6a 2c 26 6b 29 3b 00 09 2a 2f 00 09 2f 2a 20 54 72 79 20 61 6e 64 20 66 69 M",&i,&j,&k);..*/../*.Try.and.fi
5000 6e 64 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 65 78 74 65 6e 73 69 6f 6e 00 00 09 7d 00 20 nd.shared.memory.extension...}..
5020 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 2d 31 29 3b 00 61 64 00 00 0d 00 00 00 ad 02 00 ...........exit(-1);.ad.........
5040 00 00 10 00 00 a3 00 00 00 ba 0f 00 00 72 0f 00 00 6c 0f 00 00 39 0f 00 00 29 0f 00 00 23 0f 00 .............r...l...9...)...#..
5060 00 22 0f 00 00 d2 0e 00 00 8a 0e 00 00 84 0e 00 00 53 0e 00 00 43 0e 00 00 3d 0e 00 00 3c 0e 00 ."...............S...C...=...<..
5080 00 01 0e 00 00 00 0e 00 00 d4 0d 00 00 d3 0d 00 00 b7 0d 00 00 9b 0d 00 00 99 0d 00 00 98 0d 00 ................................
50a0 00 97 0d 00 00 5f 0d 00 00 5d 0d 00 00 4e 0d 00 00 3b 0d 00 00 2c 0d 00 00 2b 0d 00 00 11 0d 00 ....._...]...N...;...,...+......
50c0 00 0b 0d 00 00 db 0c 00 00 d5 0c 00 00 d4 0c 00 00 93 0c 00 00 4b 0c 00 00 45 0c 00 00 12 0c 00 .....................K...E......
50e0 00 02 0c 00 00 fc 0b 00 00 fb 0b 00 00 cf 0b 00 00 c9 0b 00 00 b5 0b 00 00 b2 0b 00 00 95 0b 00 ................................
5100 00 83 0b 00 00 71 0b 00 00 6e 0b 00 00 61 0b 00 00 5e 0b 00 00 40 0b 00 00 22 0b 00 00 1f 0b 00 .....q...n...a...^...@..."......
5120 00 19 0b 00 00 18 0b 00 00 e3 0a 00 00 b4 0a 00 00 b3 0a 00 00 96 0a 00 00 94 0a 00 00 93 0a 00 ................................
5140 00 92 0a 00 00 4f 0a 00 00 4d 0a 00 00 3a 0a 00 00 39 0a 00 00 fc 09 00 00 b4 09 00 00 ae 09 00 .....O...M...:...9..............
5160 00 7b 09 00 00 68 09 00 00 62 09 00 00 61 09 00 00 18 09 00 00 17 09 00 00 da 08 00 00 d9 08 00 .{...h...b...a..................
5180 00 bc 08 00 00 bb 08 00 00 ab 08 00 00 a9 08 00 00 a8 08 00 00 a7 08 00 00 8a 08 00 00 88 08 00 ................................
51a0 00 77 08 00 00 5f 08 00 00 47 08 00 00 32 08 00 00 25 08 00 00 18 08 00 00 0b 08 00 00 ea 07 00 .w..._...G...2...%..............
51c0 00 da 07 00 00 d1 07 00 00 bc 07 00 00 a7 07 00 00 95 07 00 00 8b 07 00 00 81 07 00 00 77 07 00 .............................w..
51e0 00 58 07 00 00 56 07 00 00 55 07 00 00 54 07 00 00 3b 07 00 00 39 07 00 00 2e 07 00 00 2d 07 00 .X...V...U...T...;...9.......-..
5200 00 16 07 00 00 ff 06 00 00 fe 06 00 00 e7 06 00 00 d0 06 00 00 cf 06 00 00 bc 06 00 00 a9 06 00 ................................
5220 00 a8 06 00 00 8e 06 00 00 7e 06 00 00 7d 06 00 00 65 06 00 00 5f 06 00 00 52 06 00 00 3a 06 00 .........~...}...e..._...R...:..
5240 00 19 06 00 00 16 06 00 00 ec 05 00 00 b2 05 00 00 8f 05 00 00 63 05 00 00 33 05 00 00 30 05 00 .....................c...3...0..
5260 00 14 05 00 00 0b 05 00 00 05 05 00 00 04 05 00 00 ec 04 00 00 e6 04 00 00 b9 04 00 00 b8 04 00 ................................
5280 00 9b 04 00 00 6a 04 00 00 64 04 00 00 63 04 00 00 4f 04 00 00 4e 04 00 00 15 04 00 00 d3 03 00 .....j...d...c...O...N..........
52a0 00 d2 03 00 00 b9 03 00 00 7c 03 00 00 3a 03 00 00 38 03 00 00 37 03 00 00 36 03 00 00 1d 03 00 .........|...:...8...7...6......
52c0 00 1b 03 00 00 f6 02 00 00 d3 02 00 00 d2 02 00 00 ad 02 00 00 ac 02 00 00 00 00 00 00 00 00 00 ................................
52e0 00 00 20 20 20 20 69 66 20 28 28 79 2b 63 75 72 72 65 6e 74 2d 3e 77 68 29 3e 63 75 72 72 65 6e ......if.((y+current->wh)>curren
5300 74 2d 3e 70 68 29 00 00 20 20 20 20 20 20 20 20 78 3d 63 75 72 72 65 6e 74 2d 3e 70 77 2d 63 75 t->ph)..........x=current->pw-cu
5320 72 72 65 6e 74 2d 3e 77 77 3b 00 20 20 20 20 69 66 20 28 28 78 2b 63 75 72 72 65 6e 74 2d 3e 77 rrent->ww;.....if.((x+current->w
5340 77 29 3e 63 75 72 72 65 6e 74 2d 3e 70 77 29 00 7b 00 76 6f 69 64 20 52 65 64 72 61 77 28 69 6e w)>current->pw).{.void.Redraw(in
5360 74 20 78 2c 69 6e 74 20 79 29 00 00 00 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.x,int.y)...}..................
5380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 66 61 75 6c 74 44 65 .......................DefaultDe
53a0 70 74 68 28 64 69 73 70 6c 61 79 2c 30 29 29 3b 00 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 pth(display,0));.........current
53c0 2d 3e 70 6d 5b 31 5d 3d 58 43 72 65 61 74 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 ->pm[1]=XCreatePixmap(display,cu
53e0 72 72 65 6e 74 2d 3e 77 2c 77 2c 68 2c 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 rrent->w,w,h,.....if.(current->b
5400 75 66 66 65 72 29 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 uffer)..........................
5420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 66 61 75 6c 74 44 65 70 74 68 28 64 69 73 ................DefaultDepth(dis
5440 70 6c 61 79 2c 30 29 29 3b 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 3d 58 43 72 play,0));.....current->pm[0]=XCr
5460 65 61 74 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 77 2c eatePixmap(display,current->w,w,
5480 68 2c 00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 69 3d 30 3b 00 00 20 20 20 20 7d 00 20 h,......current->pmi=0;......}..
54a0 20 20 20 20 20 20 20 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 ...........XFreePixmap(display,c
54c0 75 72 72 65 6e 74 2d 3e 70 6d 5b 31 5d 29 3b 00 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 urrent->pm[1]);.........if.(curr
54e0 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 00 20 20 20 20 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 ent->buffer)..........XFreePixma
5500 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 29 3b 00 20 20 20 20 7b p(display,current->pm[0]);.....{
5520 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 29 00 00 20 20 20 20 7d 00 .....if.(current->pm[0])......}.
5540 09 72 65 74 75 72 6e 3b 00 09 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 .return;..WM(current->lastuserfu
5560 6e 63 29 3b 00 09 7d 00 09 09 09 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 63 75 nc);..}.......current->gc,0,0,cu
5580 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e 74 2d 3e 70 68 29 3b 00 09 20 20 20 20 58 46 69 rrent->pw,current->ph);......XFi
55a0 6c 6c 52 65 63 74 61 6e 67 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b llRectangle(display,current->pm[
55c0 66 5d 2c 00 09 09 09 09 09 20 20 20 20 44 65 66 61 75 6c 74 44 65 70 74 68 28 64 69 73 70 6c 61 f],..........DefaultDepth(displa
55e0 79 2c 30 29 29 3b 00 09 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 66 5d 3d 58 43 72 65 61 y,0));......current->pm[f]=XCrea
5600 74 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 77 2c 68 2c tePixmap(display,current->w,w,h,
5620 00 09 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e ......XFreePixmap(display,curren
5640 74 2d 3e 70 6d 5b 66 5d 29 3b 00 09 7b 00 09 66 6f 72 28 66 3d 30 3b 66 3c 63 75 72 72 65 6e 74 t->pm[f]);..{..for(f=0;f<current
5660 2d 3e 6d 75 6c 74 69 6e 6f 3b 66 2b 2b 29 00 09 46 47 28 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 ->multino;f++)..FG(current->mult
5680 69 63 6c 73 29 3b 00 09 57 4d 28 47 58 63 6f 70 79 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 icls);..WM(GXcopy);.....{.....if
56a0 20 28 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 29 00 00 20 20 20 20 20 20 20 20 72 65 74 75 72 .(current->multi)..........retur
56c0 6e 3b 00 20 20 20 20 69 66 20 28 21 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 6d 29 00 00 20 20 n;.....if.(!current->use_pm)....
56e0 20 20 63 75 72 72 65 6e 74 2d 3e 70 68 3d 68 3b 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 ..current->ph=h;.....current->pw
5700 3d 77 3b 00 00 20 20 20 20 20 20 20 20 68 3d 63 75 72 72 65 6e 74 2d 3e 77 68 3b 00 20 20 20 20 =w;..........h=current->wh;.....
5720 69 66 20 28 68 3c 63 75 72 72 65 6e 74 2d 3e 77 68 29 00 00 20 20 20 20 20 20 20 20 77 3d 63 75 if.(h<current->wh)..........w=cu
5740 72 72 65 6e 74 2d 3e 77 77 3b 00 20 20 20 20 69 66 20 28 77 3c 63 75 72 72 65 6e 74 2d 3e 77 77 rrent->ww;.....if.(w<current->ww
5760 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 76 6f 69 64 20 52 65 73 69 7a 65 28 69 6e 74 20 )......int.f;.{.void.Resize(int.
5780 77 2c 69 6e 74 20 68 29 00 00 00 7d 00 09 09 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 2c 63 75 w,int.h)...}......current->pw,cu
57a0 72 72 65 6e 74 2d 3e 70 68 29 3b 00 09 09 20 20 20 30 2c 30 2c 00 09 09 20 20 20 30 2c 30 2c 00 rrent->ph);......0,0,......0,0,.
57c0 09 09 20 20 20 69 6d 67 2c 00 09 09 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 00 09 09 20 20 .....img,......current->gc,.....
57e0 20 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 2c 00 09 58 50 75 74 49 6d 61 67 65 20 28 64 69 73 .current->pm[0],..XPutImage.(dis
5800 70 6c 61 79 2c 00 20 20 20 20 65 6c 73 65 00 09 09 20 20 20 20 20 20 46 61 6c 73 65 29 3b 00 09 play,.....else.........False);..
5820 09 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e 74 2d 3e 70 68 2c 00 .......current->pw,current->ph,.
5840 09 09 20 20 20 20 20 20 30 2c 30 2c 00 09 09 20 20 20 20 20 20 30 2c 30 2c 00 09 09 20 20 20 20 ........0,0,.........0,0,.......
5860 20 20 69 6d 67 2c 00 09 09 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 00 09 09 20 20 ..img,.........current->gc,.....
5880 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 2c 00 09 58 53 68 6d 50 75 74 49 6d 61 67 ....current->pm[0],..XShmPutImag
58a0 65 20 28 64 69 73 70 6c 61 79 2c 00 20 20 20 20 69 66 20 28 75 73 65 5f 73 68 6d 29 00 7b 00 76 e.(display,.....if.(use_shm).{.v
58c0 6f 69 64 20 44 72 61 77 58 49 6d 61 67 65 28 58 49 6d 61 67 65 20 2a 69 6d 67 29 00 00 00 7d 00 oid.DrawXImage(XImage.*img)...}.
58e0 20 20 20 20 72 65 74 75 72 6e 20 72 65 74 3b 00 00 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 ....return.ret;......XFreePixmap
5900 28 64 69 73 70 6c 61 79 2c 62 6d 29 3b 00 00 20 20 20 20 58 43 6f 70 79 50 6c 61 6e 65 28 64 69 (display,bm);......XCopyPlane(di
5920 73 70 6c 61 79 2c 62 6d 2c 72 65 74 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 2a 77 2c splay,bm,ret,current->gc,0,0,*w,
5940 2a 68 2c 30 2c 30 2c 31 4c 29 3b 00 00 20 20 20 20 72 65 74 3d 58 43 72 65 61 74 65 50 69 78 6d *h,0,0,1L);......ret=XCreatePixm
5960 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 2a 77 2c 2a 68 2c 44 65 66 61 ap(display,current->w,*w,*h,Defa
5980 75 6c 74 44 65 70 74 68 28 64 69 73 70 6c 61 79 2c 30 29 29 3b 00 00 20 20 20 20 7d 00 20 20 20 ultDepth(display,0));......}....
59a0 20 20 20 20 20 72 65 74 75 72 6e 28 30 29 3b 00 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 43 .....return(0);.........WARN1("C
59c0 6f 75 6c 64 6e 27 74 20 72 65 61 64 20 69 6e 20 62 69 74 6d 61 70 20 66 69 6c 65 3a 22 2c 66 6e ouldn't.read.in.bitmap.file:",fn
59e0 29 3b 00 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 );.....{........................
5a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 3d 42 .............................==B
5a20 69 74 6d 61 70 4f 70 65 6e 46 61 69 6c 65 64 29 00 20 20 20 20 69 66 20 28 58 52 65 61 64 42 69 itmapOpenFailed).....if.(XReadBi
5a40 74 6d 61 70 46 69 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 66 6e 2c 77 tmapFile(display,current->w,fn,w
5a60 2c 68 2c 26 62 6d 2c 68 78 2c 68 79 29 00 00 20 20 20 20 50 69 78 6d 61 70 20 62 6d 2c 72 65 74 ,h,&bm,hx,hy)......Pixmap.bm,ret
5a80 3b 00 7b 00 50 69 78 6d 61 70 20 47 65 74 42 69 74 6d 61 70 28 63 6f 6e 73 74 20 63 68 61 72 20 ;.{.Pixmap.GetBitmap(const.char.
5aa0 2a 66 6e 2c 20 69 6e 74 20 2a 77 2c 20 69 6e 74 20 2a 68 2c 20 69 6e 74 20 2a 68 78 2c 20 69 6e *fn,.int.*w,.int.*h,.int.*hx,.in
5ac0 74 20 2a 68 79 29 00 00 00 7d 00 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c t.*hy)...}.....XFreePixmap(displ
5ae0 61 79 2c 62 6d 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 ay,bm);..................current
5b00 2d 3e 67 63 2c 30 2c 30 2c 63 77 2c 63 68 2c 78 2c 79 2c 31 4c 29 3b 00 20 20 20 20 58 43 6f 70 ->gc,0,0,cw,ch,x,y,1L);.....XCop
5b20 79 50 6c 61 6e 65 28 64 69 73 70 6c 61 79 2c 62 6d 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 yPlane(display,bm,current->pm[cu
5b40 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 00 20 20 20 20 7d 00 09 7d 00 20 20 20 20 20 20 20 20 20 rrent->pmi],......}..}..........
5b60 20 20 20 63 68 3d 63 75 72 72 65 6e 74 2d 3e 70 68 2d 79 3b 00 20 20 20 20 20 20 20 20 20 20 20 ...ch=current->ph-y;............
5b80 20 63 77 3d 63 75 72 72 65 6e 74 2d 3e 70 77 2d 78 3b 00 09 7b 00 20 20 20 20 20 20 20 20 65 6c .cw=current->pw-x;..{.........el
5ba0 73 65 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 63 68 3d 68 3b 00 20 20 20 20 20 20 20 20 se..}.............ch=h;.........
5bc0 20 20 20 20 63 77 3d 77 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 52 65 73 69 7a 65 28 77 2b 78 ....cw=w;.............Resize(w+x
5be0 2c 68 2b 79 29 3b 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 72 65 73 69 7a 65 29 00 20 20 ,h+y);..{.........if.(resize)...
5c00 20 20 7b 00 20 20 20 20 69 66 20 28 28 77 21 3d 63 75 72 72 65 6e 74 2d 3e 70 77 29 7c 7c 28 68 ..{.....if.((w!=current->pw)||(h
5c20 21 3d 63 75 72 72 65 6e 74 2d 3e 70 68 29 29 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 !=current->ph))......}.........r
5c40 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 43 6f 75 6c 64 6e 27 74 20 72 eturn;.........WARN1("Couldn't.r
5c60 65 61 64 20 69 6e 20 62 69 74 6d 61 70 20 66 69 6c 65 3a 22 2c 66 6e 29 3b 00 20 20 20 20 7b 00 ead.in.bitmap.file:",fn);.....{.
5c80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 3d 42 69 74 6d 61 70 4f 70 65 6e ....................==BitmapOpen
5cc0 46 61 69 6c 65 64 29 00 20 20 20 20 69 66 20 28 58 52 65 61 64 42 69 74 6d 61 70 46 69 6c 65 28 Failed).....if.(XReadBitmapFile(
5ce0 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 66 6e 2c 26 77 2c 26 68 2c 26 62 6d 2c display,current->w,fn,&w,&h,&bm,
5d00 26 68 78 2c 26 68 79 29 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 57 41 52 4e 28 22 4e 65 &hx,&hy)......}.........WARN("Ne
5d20 65 64 20 70 69 78 6d 61 70 73 20 74 6f 20 6c 6f 61 64 20 69 6e 20 62 69 74 6d 61 70 22 29 3b 00 ed.pixmaps.to.load.in.bitmap");.
5d40 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 6d 29 00 ....{.....if.(!current->use_pm).
5d60 00 20 20 20 20 69 6e 74 20 63 77 2c 63 68 3b 00 20 20 20 20 69 6e 74 20 77 2c 68 2c 68 78 2c 68 .....int.cw,ch;.....int.w,h,hx,h
5d80 79 3b 00 20 20 20 20 50 69 78 6d 61 70 20 62 6d 3b 00 7b 00 76 6f 69 64 20 4c 6f 61 64 42 69 74 y;.....Pixmap.bm;.{.void.LoadBit
5da0 6d 61 70 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 66 6e 2c 69 6e 74 20 78 2c 69 6e 74 20 79 2c 20 map(const.char.*fn,int.x,int.y,.
5dc0 69 6e 74 20 72 65 73 69 7a 65 29 00 00 00 7d 00 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 int.resize)...}.....XFreePixmap(
5de0 64 69 73 70 6c 61 79 2c 6d 29 3b 00 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 display,m);.....XFreePixmap(disp
5e00 6c 61 79 2c 62 29 3b 00 00 20 20 20 20 58 44 65 66 69 6e 65 43 75 72 73 6f 72 28 64 69 73 70 6c lay,b);......XDefineCursor(displ
5e20 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 63 75 72 73 29 3b 00 00 20 20 20 20 63 75 72 73 3d 58 ay,current->w,curs);......curs=X
5e40 43 72 65 61 74 65 50 69 78 6d 61 70 43 75 72 73 6f 72 28 64 69 73 70 6c 61 79 2c 62 2c 6d 2c 26 CreatePixmapCursor(display,b,m,&
5e60 66 67 2c 26 62 67 2c 62 6d 78 2c 62 6d 79 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 fg,&bg,bmx,bmy);......}.........
5e80 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 43 6f 75 6c 64 6e 27 74 20 return;.........WARN1("Couldn't.
5ea0 72 65 61 64 20 69 6e 20 6d 61 73 6b 20 66 69 6c 65 3a 22 2c 62 6d 29 3b 00 20 20 20 20 7b 00 20 read.in.mask.file:",bm);.....{..
5ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
5ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 3d 42 69 74 6d 61 70 4f 70 65 6e 46 ...................==BitmapOpenF
5f00 61 69 6c 65 64 29 00 20 20 20 20 69 66 20 28 58 52 65 61 64 42 69 74 6d 61 70 46 69 6c 65 28 64 ailed).....if.(XReadBitmapFile(d
5f20 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 6d 61 73 6b 2c 26 6d 61 73 6b 77 2c 26 6d isplay,current->w,mask,&maskw,&m
5f40 61 73 6b 68 2c 26 6d 2c 26 6d 61 73 6b 78 2c 26 6d 61 73 6b 79 29 00 00 20 20 20 20 7d 00 20 20 askh,&m,&maskx,&masky)......}...
5f60 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 43 6f 75 ......return;.........WARN1("Cou
5f80 6c 64 6e 27 74 20 72 65 61 64 20 69 6e 20 63 75 72 73 6f 72 20 66 69 6c 65 3a 22 2c 62 6d 29 3b ldn't.read.in.cursor.file:",bm);
5fa0 00 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....{..........................
5fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 3d 42 69 74 ...........................==Bit
5fe0 6d 61 70 4f 70 65 6e 46 61 69 6c 65 64 29 00 20 20 20 20 69 66 20 28 58 52 65 61 64 42 69 74 6d mapOpenFailed).....if.(XReadBitm
6000 61 70 46 69 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 62 6d 2c 26 62 6d apFile(display,current->w,bm,&bm
6020 77 2c 26 62 6d 68 2c 26 62 2c 26 62 6d 78 2c 26 62 6d 79 29 00 61 64 00 00 1f 00 00 00 17 03 00 w,&bmh,&b,&bmx,&bmy).ad.........
6040 00 00 10 00 00 b9 00 00 00 dd 0f 00 00 dc 0f 00 00 c9 0f 00 00 b6 0f 00 00 b5 0f 00 00 9b 0f 00 ................................
6060 00 95 0f 00 00 77 0f 00 00 67 0f 00 00 61 0f 00 00 60 0f 00 00 50 0f 00 00 4f 0f 00 00 36 0f 00 .....w...g...a...`...P...O...6..
6080 00 30 0f 00 00 ee 0e 00 00 ac 0e 00 00 8e 0e 00 00 88 0e 00 00 7f 0e 00 00 79 0e 00 00 39 0e 00 .0.......................y...9..
60a0 00 f7 0d 00 00 d9 0d 00 00 d3 0d 00 00 d2 0d 00 00 b3 0d 00 00 b1 0d 00 00 b0 0d 00 00 af 0d 00 ................................
60c0 00 91 0d 00 00 90 0d 00 00 8e 0d 00 00 74 0d 00 00 61 0d 00 00 60 0d 00 00 3a 0d 00 00 38 0d 00 .............t...a...`...:...8..
60e0 00 37 0d 00 00 21 0d 00 00 20 0d 00 00 1e 0d 00 00 06 0d 00 00 04 0d 00 00 03 0d 00 00 02 0d 00 .7...!..........................
6100 00 e3 0c 00 00 e2 0c 00 00 e0 0c 00 00 cc 0c 00 00 a3 0c 00 00 88 0c 00 00 86 0c 00 00 85 0c 00 ................................
6120 00 84 0c 00 00 6b 0c 00 00 6a 0c 00 00 68 0c 00 00 54 0c 00 00 53 0c 00 00 3a 0c 00 00 0d 0c 00 .....k...j...h...T...S...:......
6140 00 0c 0c 00 00 f3 0b 00 00 c6 0b 00 00 c5 0b 00 00 aa 0b 00 00 8f 0b 00 00 70 0b 00 00 6e 0b 00 .........................p...n..
6160 00 6d 0b 00 00 6c 0b 00 00 56 0b 00 00 54 0b 00 00 41 0b 00 00 3f 0b 00 00 3e 0b 00 00 3d 0b 00 .m...l...V...T...A...?...>...=..
6180 00 14 0b 00 00 12 0b 00 00 07 0b 00 00 06 0b 00 00 f2 0a 00 00 f1 0a 00 00 d8 0a 00 00 ab 0a 00 ................................
61a0 00 aa 0a 00 00 91 0a 00 00 64 0a 00 00 63 0a 00 00 48 0a 00 00 2e 0a 00 00 15 0a 00 00 14 0a 00 .........d...c...H..............
61c0 00 02 0a 00 00 e9 09 00 00 e0 09 00 00 ca 09 00 00 c9 09 00 00 ab 09 00 00 aa 09 00 00 9a 09 00 ................................
61e0 00 7f 09 00 00 5b 09 00 00 55 09 00 00 0b 09 00 00 e8 08 00 00 b9 08 00 00 78 08 00 00 72 08 00 .....[...U...............x...r..
6200 00 71 08 00 00 52 08 00 00 50 08 00 00 4f 08 00 00 4e 08 00 00 3a 08 00 00 38 08 00 00 1f 08 00 .q...R...P...O...N...:...8......
6220 00 fa 07 00 00 f5 07 00 00 dd 07 00 00 b4 07 00 00 a2 07 00 00 a0 07 00 00 9f 07 00 00 9e 07 00 ................................
6240 00 85 07 00 00 83 07 00 00 32 07 00 00 18 07 00 00 16 07 00 00 15 07 00 00 14 07 00 00 fb 06 00 .........2......................
6260 00 f9 06 00 00 ee 06 00 00 d1 06 00 00 cf 06 00 00 ce 06 00 00 cd 06 00 00 92 06 00 00 90 06 00 ................................
6280 00 58 06 00 00 56 06 00 00 55 06 00 00 54 06 00 00 41 06 00 00 3f 06 00 00 26 06 00 00 20 06 00 .X...V...U...T...A...?...&......
62a0 00 0c 06 00 00 fd 05 00 00 c3 05 00 00 81 05 00 00 5e 05 00 00 58 05 00 00 4f 05 00 00 49 05 00 .................^...X...O...I..
62c0 00 45 05 00 00 16 05 00 00 e8 04 00 00 e4 04 00 00 d0 04 00 00 c1 04 00 00 87 04 00 00 45 04 00 .E...........................E..
62e0 00 22 04 00 00 1c 04 00 00 1a 04 00 00 19 04 00 00 18 04 00 00 f7 03 00 00 f5 03 00 00 ea 03 00 ."..............................
6300 00 a7 03 00 00 a5 03 00 00 a4 03 00 00 a3 03 00 00 72 03 00 00 70 03 00 00 65 03 00 00 1b 03 00 .................r...p...e......
6320 00 19 03 00 00 18 03 00 00 17 03 00 00 16 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7d 00 20 20 20 20 58 44 72 61 77 4c 69 6e 65 28 64 69 ..............}.....XDrawLine(di
6360 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c splay,current->pm[current->pmi],
6380 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 31 2c 79 31 2c 78 32 2c 79 32 29 3b 00 20 20 20 20 46 47 current->gc,x1,y1,x2,y2);.....FG
63a0 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 4c 69 6e 65 28 69 6e 74 20 78 31 2c 69 6e 74 20 79 31 2c (c);.{.void.XLine(int.x1,int.y1,
63c0 69 6e 74 20 78 32 2c 69 6e 74 20 79 32 2c 20 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 int.x2,int.y2,.ulong.c)...}.....
63e0 58 44 72 61 77 50 6f 69 6e 74 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 XDrawPoint(display,current->pm[c
6400 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 29 3b 00 20 urrent->pmi],current->gc,x,y);..
6420 20 20 20 46 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 50 6c 6f 74 28 69 6e 74 20 78 2c 69 6e 74 ...FG(c);.{.void.XPlot(int.x,int
6440 20 79 2c 20 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 57 .y,.ulong.c)...}.....}.........W
6460 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 20 20 M(current->lastuserfunc);.......
6480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c ..................current->gc,0,
64a0 30 2c 63 75 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e 74 2d 3e 70 68 29 3b 00 20 20 20 20 0,current->pw,current->ph);.....
64c0 20 20 20 20 58 46 69 6c 6c 52 65 63 74 61 6e 67 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 ....XFillRectangle(display,curre
64e0 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 46 47 nt->pm[current->pmi],.........FG
6500 28 63 29 3b 00 20 20 20 20 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 09 2a 2f 00 20 20 20 (c);.........WM(GXcopy);..*/....
6520 20 20 20 20 20 58 43 6c 65 61 72 57 69 6e 64 6f 77 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e .....XClearWindow(display,curren
6540 74 2d 3e 70 6d 5b 30 5d 29 3b 00 20 20 20 20 20 20 20 20 58 53 65 74 42 61 63 6b 67 72 6f 75 6e t->pm[0]);.........XSetBackgroun
6560 64 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 63 29 3b 00 09 2f 2a 00 20 20 d(display,current->gc,c);../*...
6580 20 20 7b 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 57 4d 28 63 75 ..{.....else.....}.........WM(cu
65a0 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 20 20 20 20 20 20 rrent->lastuserfunc);...........
65c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 63 75 ..............current->gc,0,0,cu
65e0 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e 74 2d 3e 70 68 29 3b 00 20 20 20 20 20 20 20 20 rrent->pw,current->ph);.........
6600 58 46 69 6c 6c 52 65 63 74 61 6e 67 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e XFillRectangle(display,current->
6620 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 46 47 28 63 29 3b pm[current->pmi],.........FG(c);
6640 00 20 20 20 20 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 .........WM(GXcopy);.....{.....i
6660 66 20 28 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 6d 29 00 7b 00 76 6f 69 64 20 58 43 6c 73 28 f.(current->use_pm).{.void.XCls(
6680 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 58 53 65 74 4c 69 6e 65 41 74 74 72 69 62 75 ulong.c)...}.....XSetLineAttribu
66a0 74 65 73 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 77 2c 6c 73 2c 63 73 2c tes(display,current->gc,w,ls,cs,
66c0 6a 73 29 3b 00 7b 00 76 6f 69 64 20 58 53 65 74 4c 69 6e 65 53 74 79 6c 65 28 75 6e 73 69 67 6e js);.{.void.XSetLineStyle(unsign
66e0 65 64 20 69 6e 74 20 77 2c 20 69 6e 74 20 6c 73 2c 20 69 6e 74 20 63 73 2c 20 69 6e 74 20 6a 73 ed.int.w,.int.ls,.int.cs,.int.js
6700 29 00 00 00 7d 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 3d )...}.....current->lastuserfunc=
6720 66 3b 00 20 20 20 20 57 4d 28 66 29 3b 00 7b 00 76 6f 69 64 20 58 55 73 65 46 75 6e 63 74 69 6f f;.....WM(f);.{.void.XUseFunctio
6740 6e 28 69 6e 74 20 66 29 00 00 00 7d 00 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 6c 61 79 2c 46 n(int.f)...}.....XSync(display,F
6760 61 6c 73 65 29 3b 00 20 20 20 20 58 53 65 74 57 69 6e 64 6f 77 42 61 63 6b 67 72 6f 75 6e 64 50 alse);.....XSetWindowBackgroundP
6780 69 78 6d 61 70 20 28 64 69 73 70 6c 61 79 2c 20 63 75 72 72 65 6e 74 2d 3e 77 2c 20 63 75 72 72 ixmap.(display,.current->w,.curr
67a0 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 29 3b 00 7b 00 76 6f 69 64 20 53 ent->pm[current->pmi]);.{.void.S
67c0 65 74 41 73 42 61 63 6b 64 72 6f 70 28 76 6f 69 64 29 00 00 00 7d 00 09 09 63 75 72 72 65 6e 74 etAsBackdrop(void)...}...current
67e0 2d 3e 70 6d 69 3d 30 3b 00 09 69 66 20 28 28 2b 2b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 29 3e 3d ->pmi=0;..if.((++current->pmi)>=
6800 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 6e 6f 29 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e current->multino).....if.(curren
6820 74 2d 3e 6d 75 6c 74 69 29 00 20 20 20 20 00 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e t->multi)..............current->
6840 70 6d 69 3d 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5e 31 3b 00 20 20 20 20 69 66 20 28 63 75 72 72 pmi=current->pmi^1;.....if.(curr
6860 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 7b 00 76 6f 69 64 20 50 61 67 65 66 6c 69 70 28 76 6f 69 ent->buffer).{.void.Pageflip(voi
6880 64 29 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 d)...}.....WM(current->lastuserf
68a0 75 6e 63 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 unc);......}....................
68c0 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 63 75 72 72 65 6e 74 2d 3e 70 77 2c ....current->gc,0,0,current->pw,
68e0 63 75 72 72 65 6e 74 2d 3e 70 68 29 3b 00 20 20 20 20 20 20 20 20 58 46 69 6c 6c 52 65 63 74 61 current->ph);.........XFillRecta
6900 6e 67 6c 65 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 66 5d 2c 00 09 09 09 ngle(display,current->pm[f],....
6920 09 20 20 20 20 20 44 65 66 61 75 6c 74 44 65 70 74 68 28 64 69 73 70 6c 61 79 2c 30 29 29 3b 00 ......DefaultDepth(display,0));.
6940 09 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 66 5d 3d 58 43 72 65 61 74 65 50 69 78 6d 61 70 28 64 69 .current->pm[f]=XCreatePixmap(di
6960 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 63 75 72 72 65 6e 74 2d 3e 77 77 2c 63 75 72 splay,current->w,current->ww,cur
6980 72 65 6e 74 2d 3e 77 68 2c 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 63 75 rent->wh,.....{.....for(f=0;f<cu
69a0 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 6e 6f 3b 66 2b 2b 29 00 20 20 20 20 46 47 28 63 75 72 72 65 rrent->multino;f++).....FG(curre
69c0 6e 74 2d 3e 6d 75 6c 74 69 63 6c 73 29 3b 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 00 nt->multicls);.....WM(GXcopy);..
69e0 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 63 6c 73 3d 63 6c 73 63 6f 6c 3b 00 00 09 ....current->multicls=clscol;...
6a00 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 6e 6f 3d 6e 6f 3b 00 20 20 20 20 65 6c 73 65 00 09 63 current->multino=no;.....else..c
6a20 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 6e 6f 3d 4d 41 58 50 4d 3b 00 20 20 20 20 69 66 20 28 6e urrent->multino=MAXPM;.....if.(n
6a40 6f 3e 4d 41 58 50 4d 29 00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 6d 75 6c 74 69 3d 54 72 75 o>MAXPM)......current->multi=Tru
6a60 65 3b 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 6d 3d 54 72 75 65 3b 00 20 20 20 e;.....current->use_pm=True;....
6a80 20 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 3d 46 61 6c 73 65 3b 00 00 20 20 20 20 20 20 20 .current->buffer=False;.........
6aa0 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d .XFreePixmap(display,current->pm
6ac0 5b 31 5d 29 3b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 00 [1]);.....if.(current->buffer)..
6ae0 20 20 20 20 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 ........XFreePixmap(display,curr
6b00 65 6e 74 2d 3e 70 6d 5b 30 5d 29 3b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 75 73 ent->pm[0]);.....if.(current->us
6b20 65 5f 70 6d 29 00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 69 3d 30 3b 00 00 20 20 20 20 e_pm)......current->pmi=0;......
6b40 69 6e 74 20 66 3b 00 7b 00 76 6f 69 64 20 45 6e 61 62 6c 65 42 75 66 66 65 72 73 28 69 6e 74 20 int.f;.{.void.EnableBuffers(int.
6b60 6e 6f 2c 20 75 6c 6f 6e 67 20 63 6c 73 63 6f 6c 29 00 00 00 7d 00 20 20 20 20 75 73 65 5f 73 68 no,.ulong.clscol)...}.....use_sh
6b80 6d 3d 46 61 6c 73 65 3b 00 7b 00 76 6f 69 64 20 44 69 73 61 62 6c 65 53 68 6d 28 76 6f 69 64 29 m=False;.{.void.DisableShm(void)
6ba0 00 00 00 7d 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 3d 63 75 72 72 65 6e 74 2d ...}.....current->pm[0]=current-
6bc0 3e 77 3b 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 6d 3d 46 61 6c 73 65 3b 00 20 >w;.....current->use_pm=False;..
6be0 20 20 20 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 3d 46 61 6c 73 65 3b 00 00 20 20 20 20 20 ...current->buffer=False;.......
6c00 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e ...XFreePixmap(display,current->
6c20 70 6d 5b 31 5d 29 3b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 29 pm[1]);.....if.(current->buffer)
6c40 00 00 20 20 20 20 20 20 20 20 58 46 72 65 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 ..........XFreePixmap(display,cu
6c60 72 72 65 6e 74 2d 3e 70 6d 5b 30 5d 29 3b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e rrent->pm[0]);.....if.(current->
6c80 75 73 65 5f 70 6d 29 00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 69 3d 30 3b 00 7b 00 00 use_pm)......current->pmi=0;.{..
6ca0 76 6f 69 64 20 44 69 73 61 62 6c 65 50 69 78 6d 61 70 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 void.DisablePixmap(void)...}....
6cc0 20 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 3d 46 61 6c 73 65 3b 00 20 20 20 20 58 46 72 65 .current->buffer=False;.....XFre
6ce0 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 31 5d 29 3b ePixmap(display,current->pm[1]);
6d00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 6d 69 3d 30 3b 00 7b 00 00 76 6f 69 64 20 44 69 73 .....current->pmi=0;.{..void.Dis
6d20 61 62 6c 65 44 6f 75 62 6c 65 42 75 66 66 65 72 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 72 ableDoubleBuffer(void)...}.....r
6d40 65 74 75 72 6e 20 63 75 72 72 65 6e 74 2d 3e 67 63 3b 00 7b 00 00 47 43 20 47 65 74 43 75 72 72 eturn.current->gc;.{..GC.GetCurr
6d60 65 6e 74 47 43 28 76 6f 69 64 29 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 63 75 72 72 65 6e entGC(void)..}.....return.curren
6d80 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 3b 00 00 20 20 20 20 20 20 20 20 72 65 t->pm[current->pmi];..........re
6da0 74 75 72 6e 28 30 29 3b 00 20 20 20 20 69 66 20 28 21 63 75 72 72 65 6e 74 2d 3e 75 73 65 5f 70 turn(0);.....if.(!current->use_p
6dc0 6d 29 00 7b 00 00 50 69 78 6d 61 70 20 47 65 74 43 75 72 72 65 6e 74 50 69 78 6d 61 70 28 76 6f m).{..Pixmap.GetCurrentPixmap(vo
6de0 69 64 29 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 id)...}.....WM(current->lastuser
6e00 66 75 6e 63 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 func);......}.........XSync(disp
6e20 6c 61 79 2c 46 61 6c 73 65 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lay,False);.....................
6e40 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 2c 63 75 72 72 65 6e 74 2d 3e 77 77 2c 63 75 72 72 current->gc,x,y,current->ww,curr
6e60 65 6e 74 2d 3e 77 68 2c 30 2c 30 29 3b 00 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 ent->wh,0,0);.........XCopyArea(
6e80 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 display,current->pm[current->pmi
6ea0 5d 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 00 20 20 20 20 7b 00 20 20 20 20 65 6c 73 65 00 20 20 20 ],current->w,.....{.....else....
6ec0 20 7d 00 20 20 20 20 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 6c 61 79 2c 46 61 6c 73 65 29 3b .}.........XSync(display,False);
6ee0 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 .....................current->gc
6f00 2c 78 2c 79 2c 63 75 72 72 65 6e 74 2d 3e 77 77 2c 63 75 72 72 65 6e 74 2d 3e 77 68 2c 30 2c 30 ,x,y,current->ww,current->wh,0,0
6f20 29 3b 00 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 63 75 72 );.........XCopyArea(display,cur
6f40 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5e 31 5d 2c 63 75 72 72 65 6e 74 rent->pm[current->pmi^1],current
6f60 2d 3e 77 2c 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 ->w,.....{.....if.(current->buff
6f80 65 72 29 00 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 er)......WM(GXcopy);......}.....
6fa0 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 6c 61 ....return;.........XSync(displa
6fc0 79 2c 46 61 6c 73 65 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 63 75 72 72 65 6e 74 y,False);.....{.....if.(!current
6fe0 2d 3e 75 73 65 5f 70 6d 29 00 00 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 6f 79 3d 79 3b 00 20 20 ->use_pm)......current->oy=y;...
7000 20 20 63 75 72 72 65 6e 74 2d 3e 6f 78 3d 78 3b 00 00 20 20 20 20 20 20 20 20 79 3d 63 75 72 72 ..current->ox=x;..........y=curr
7020 65 6e 74 2d 3e 70 68 2d 63 75 72 72 65 6e 74 2d 3e 77 68 3b 00 61 64 00 00 02 00 00 00 12 03 00 ent->ph-current->wh;.ad.........
7040 00 00 10 00 00 bf 00 00 00 e4 0f 00 00 e2 0f 00 00 c4 0f 00 00 c2 0f 00 00 c1 0f 00 00 c0 0f 00 ................................
7060 00 77 0f 00 00 75 0f 00 00 4d 0f 00 00 4c 0f 00 00 28 0f 00 00 22 0f 00 00 11 0f 00 00 08 0f 00 .w...u...M...L...(..."..........
7080 00 02 0f 00 00 01 0f 00 00 e5 0e 00 00 df 0e 00 00 c8 0e 00 00 bf 0e 00 00 b9 0e 00 00 b8 0e 00 ................................
70a0 00 9c 0e 00 00 96 0e 00 00 7f 0e 00 00 76 0e 00 00 70 0e 00 00 6f 0e 00 00 53 0e 00 00 4d 0e 00 .............v...p...o...S...M..
70c0 00 36 0e 00 00 2d 0e 00 00 27 0e 00 00 26 0e 00 00 0c 0e 00 00 f2 0d 00 00 d8 0d 00 00 be 0d 00 .6...-...'...&..................
70e0 00 a4 0d 00 00 8a 0d 00 00 89 0d 00 00 6f 0d 00 00 55 0d 00 00 54 0d 00 00 10 0d 00 00 e8 0c 00 .............o...U...T..........
7100 00 df 0c 00 00 91 0c 00 00 90 0c 00 00 76 0c 00 00 5c 0c 00 00 18 0c 00 00 f0 0b 00 00 e7 0b 00 .............v...\..............
7120 00 99 0b 00 00 97 0b 00 00 96 0b 00 00 95 0b 00 00 55 0b 00 00 53 0b 00 00 48 0b 00 00 47 0b 00 .................U...S...H...G..
7140 00 23 0b 00 00 1d 0b 00 00 0c 0b 00 00 03 0b 00 00 fd 0a 00 00 fc 0a 00 00 e0 0a 00 00 da 0a 00 .#..............................
7160 00 c3 0a 00 00 ba 0a 00 00 b4 0a 00 00 b3 0a 00 00 97 0a 00 00 91 0a 00 00 7a 0a 00 00 71 0a 00 .........................z...q..
7180 00 6b 0a 00 00 6a 0a 00 00 4e 0a 00 00 48 0a 00 00 31 0a 00 00 28 0a 00 00 22 0a 00 00 21 0a 00 .k...j...N...H...1...(..."...!..
71a0 00 fd 09 00 00 fb 09 00 00 fa 09 00 00 f9 09 00 00 c8 09 00 00 c7 09 00 00 c5 09 00 00 ba 09 00 ................................
71c0 00 6a 09 00 00 68 09 00 00 67 09 00 00 66 09 00 00 27 09 00 00 25 09 00 00 15 09 00 00 14 09 00 .j...h...g...f...'...%..........
71e0 00 fe 08 00 00 e2 08 00 00 d2 08 00 00 d1 08 00 00 c1 08 00 00 82 08 00 00 62 08 00 00 60 08 00 .........................b...`..
7200 00 5f 08 00 00 5e 08 00 00 41 08 00 00 3f 08 00 00 31 08 00 00 2b 08 00 00 1b 08 00 00 06 08 00 ._...^...A...?...1...+..........
7220 00 fa 07 00 00 ea 07 00 00 d5 07 00 00 c9 07 00 00 c3 07 00 00 c1 07 00 00 c0 07 00 00 bf 07 00 ................................
7240 00 8a 07 00 00 88 07 00 00 4f 07 00 00 46 07 00 00 45 07 00 00 2b 07 00 00 29 07 00 00 28 07 00 .........O...F...E...+...)...(..
7260 00 27 07 00 00 e3 06 00 00 c6 06 00 00 c4 06 00 00 a8 06 00 00 98 06 00 00 87 06 00 00 86 06 00 .'..............................
7280 00 6f 06 00 00 52 06 00 00 41 06 00 00 40 06 00 00 26 06 00 00 20 06 00 00 02 06 00 00 ff 05 00 .o...R...A...@...&..............
72a0 00 ed 05 00 00 ec 05 00 00 cd 05 00 00 a8 05 00 00 88 05 00 00 63 05 00 00 3f 05 00 00 1d 05 00 .....................c...?......
72c0 00 1c 05 00 00 0b 05 00 00 08 05 00 00 02 05 00 00 f9 04 00 00 f3 04 00 00 d5 04 00 00 d2 04 00 ................................
72e0 00 c0 04 00 00 bf 04 00 00 a0 04 00 00 84 04 00 00 61 04 00 00 46 04 00 00 27 04 00 00 f7 03 00 .................a...F...'......
7300 00 f6 03 00 00 e2 03 00 00 df 03 00 00 d9 03 00 00 d7 03 00 00 d6 03 00 00 d5 03 00 00 aa 03 00 ................................
7320 00 a8 03 00 00 9d 03 00 00 52 03 00 00 50 03 00 00 4f 03 00 00 4e 03 00 00 1f 03 00 00 1d 03 00 .........R...P...O...N..........
7340 00 12 03 00 00 00 00 20 20 20 20 46 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 46 69 6c 6c 42 6f ...........FG(c);.{.void.XFillBo
7360 78 28 69 6e 74 20 78 2c 69 6e 74 20 79 2c 69 6e 74 20 77 2c 69 6e 74 20 68 2c 75 6c 6f 6e 67 20 x(int.x,int.y,int.w,int.h,ulong.
7380 63 29 00 00 00 7d 00 20 20 20 20 58 44 72 61 77 52 65 63 74 61 6e 67 6c 65 28 64 69 73 70 6c 61 c)...}.....XDrawRectangle(displa
73a0 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 y,current->pm[current->pmi],curr
73c0 65 6e 74 2d 3e 67 63 2c 78 2c 79 2c 77 2c 68 29 3b 00 20 20 20 20 46 47 28 63 29 3b 00 7b 00 76 ent->gc,x,y,w,h);.....FG(c);.{.v
73e0 6f 69 64 20 58 42 6f 78 28 69 6e 74 20 78 2c 69 6e 74 20 79 2c 69 6e 74 20 77 2c 69 6e 74 20 68 oid.XBox(int.x,int.y,int.w,int.h
7400 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 78 2b 3d 58 ,ulong.c)...}.....}..}......x+=X
7420 49 46 4f 4e 54 57 2a 73 78 3b 00 00 09 09 09 09 58 50 75 74 50 69 78 65 6c 28 69 6d 67 2c 78 2b IFONTW*sx;......XPutPixel(img,x+
7440 70 78 2a 73 78 2b 70 73 78 2c 79 2b 70 79 2a 73 79 2b 70 73 79 2c 63 6f 6c 29 3b 00 09 09 09 20 px*sx+psx,y+py*sy+psy,col);.....
7460 20 20 20 66 6f 72 28 70 73 79 3d 30 3b 70 73 79 3c 73 79 3b 70 73 79 2b 2b 29 00 09 09 09 66 6f ...for(psy=0;psy<sy;psy++)....fo
7480 72 28 70 73 78 3d 30 3b 70 73 78 3c 73 78 3b 70 73 78 2b 2b 29 00 09 09 20 20 20 20 69 66 20 28 r(psx=0;psx<sx;psx++).......if.(
74a0 78 69 66 6f 6e 74 5b 63 68 5d 2e 64 61 74 61 5b 70 79 5d 5b 70 78 5d 29 00 09 09 66 6f 72 28 70 xifont[ch].data[py][px])...for(p
74c0 78 3d 30 3b 70 78 3c 58 49 46 4f 4e 54 57 3b 70 78 2b 2b 29 00 09 20 20 20 20 66 6f 72 28 70 79 x=0;px<XIFONTW;px++)......for(py
74e0 3d 30 3b 70 79 3c 58 49 46 4f 4e 54 48 3b 70 79 2b 2b 29 00 00 09 20 20 20 20 63 68 3d 70 72 62 =0;py<XIFONTH;py++).......ch=prb
7500 75 66 5b 66 5d 3b 00 09 7b 00 09 66 6f 72 28 66 3d 30 3b 66 3c 73 74 72 6c 65 6e 28 70 72 62 75 uf[f];..{..for(f=0;f<strlen(prbu
7520 66 29 3b 66 2b 2b 29 00 20 20 20 20 7b 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 7d 00 09 7d 00 f);f++).....{.....else.....}..}.
7540 09 20 20 20 20 78 2b 3d 58 49 46 4f 4e 54 57 3b 00 00 09 09 09 09 58 50 75 74 50 69 78 65 6c 28 .....x+=XIFONTW;......XPutPixel(
7560 69 6d 67 2c 78 2b 70 78 2c 79 2b 70 79 2c 63 6f 6c 29 3b 00 09 09 09 20 20 20 20 69 66 20 28 78 img,x+px,y+py,col);........if.(x
7580 69 66 6f 6e 74 5b 63 68 5d 2e 64 61 74 61 5b 70 79 5d 5b 70 78 5d 29 00 09 09 09 69 66 20 28 28 ifont[ch].data[py][px])....if.((
75a0 78 2b 70 78 3e 3d 30 29 26 26 28 78 2b 70 78 3c 69 6d 67 2d 3e 77 69 64 74 68 29 29 00 09 09 20 x+px>=0)&&(x+px<img->width))....
75c0 20 20 20 66 6f 72 28 70 78 3d 30 3b 70 78 3c 58 49 46 4f 4e 54 57 3b 70 78 2b 2b 29 00 09 09 69 ...for(px=0;px<XIFONTW;px++)...i
75e0 66 20 28 28 79 2b 70 79 3e 3d 30 29 26 26 28 79 2b 70 79 3c 69 6d 67 2d 3e 68 65 69 67 68 74 29 f.((y+py>=0)&&(y+py<img->height)
7600 29 00 09 20 20 20 20 66 6f 72 28 70 79 3d 30 3b 70 79 3c 58 49 46 4f 4e 54 48 3b 70 79 2b 2b 29 )......for(py=0;py<XIFONTH;py++)
7620 00 00 09 20 20 20 20 63 68 3d 70 72 62 75 66 5b 66 5d 3b 00 09 7b 00 09 66 6f 72 28 66 3d 30 3b .......ch=prbuf[f];..{..for(f=0;
7640 66 3c 73 74 72 6c 65 6e 28 70 72 62 75 66 29 3b 66 2b 2b 29 00 20 20 20 20 7b 00 20 20 20 20 69 f<strlen(prbuf);f++).....{.....i
7660 66 20 28 28 73 78 3d 3d 31 29 26 26 28 73 79 3d 3d 31 29 29 00 00 20 20 20 20 76 61 5f 65 6e 64 f.((sx==1)&&(sy==1))......va_end
7680 28 61 72 67 29 3b 00 20 20 20 20 76 73 70 72 69 6e 74 66 28 70 72 62 75 66 2c 66 6d 74 2c 61 72 (arg);.....vsprintf(prbuf,fmt,ar
76a0 67 29 3b 00 20 20 20 20 76 61 5f 73 74 61 72 74 28 61 72 67 2c 66 6d 74 29 3b 00 00 20 20 20 20 g);.....va_start(arg,fmt);......
76c0 76 61 5f 6c 69 73 74 20 61 72 67 3b 00 20 20 20 20 63 68 61 72 20 2a 64 61 74 61 3b 00 20 20 20 va_list.arg;.....char.*data;....
76e0 20 69 6e 74 20 66 2c 70 78 2c 70 79 2c 70 73 78 2c 70 73 79 2c 63 68 3b 00 7b 00 09 20 20 20 20 .int.f,px,py,psx,psy,ch;.{......
7700 20 20 63 6f 6e 73 74 20 63 68 61 72 20 2a 66 6d 74 2c 20 2e 2e 2e 29 00 76 6f 69 64 20 58 49 70 ..const.char.*fmt,....).void.XIp
7720 72 69 6e 74 66 28 58 49 6d 61 67 65 20 2a 69 6d 67 2c 20 69 6e 74 20 78 2c 20 69 6e 74 20 79 2c rintf(XImage.*img,.int.x,.int.y,
7740 20 69 6e 74 20 73 78 2c 20 69 6e 74 20 73 79 2c 20 75 6c 6f 6e 67 20 63 6f 6c 2c 00 00 00 7d 00 .int.sx,.int.sy,.ulong.col,...}.
7760 20 20 20 20 58 50 75 74 50 69 78 65 6c 28 69 6d 67 2c 78 2c 79 2c 63 29 3b 00 00 09 72 65 74 75 ....XPutPixel(img,x,y,c);...retu
7780 72 6e 3b 00 20 20 20 20 69 66 20 28 28 79 3c 30 29 7c 7c 28 79 3e 3d 69 6d 67 2d 3e 68 65 69 67 rn;.....if.((y<0)||(y>=img->heig
77a0 68 74 29 7c 7c 28 78 3c 30 29 7c 7c 28 78 3e 3d 69 6d 67 2d 3e 77 69 64 74 68 29 29 00 7b 00 73 ht)||(x<0)||(x>=img->width)).{.s
77c0 74 61 74 69 63 20 76 6f 69 64 20 58 49 50 6c 6f 74 28 58 49 6d 61 67 65 20 2a 69 6d 67 2c 69 6e tatic.void.XIPlot(XImage.*img,in
77e0 74 20 78 2c 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 7d 00 09 20 t.x,int.y,.ulong.c)...}.....}...
7800 20 20 20 62 72 65 61 6b 3b 00 09 20 20 20 20 78 69 66 6f 6e 74 3d 78 69 66 6f 6e 74 32 3b 00 09 ...break;......xifont=xifont2;..
7820 63 61 73 65 20 58 49 5f 46 4f 4e 54 32 3a 00 09 20 20 20 20 62 72 65 61 6b 3b 00 09 20 20 20 20 case.XI_FONT2:......break;......
7840 78 69 66 6f 6e 74 3d 78 69 66 6f 6e 74 31 3b 00 09 63 61 73 65 20 58 49 5f 46 4f 4e 54 31 3a 00 xifont=xifont1;..case.XI_FONT1:.
7860 20 20 20 20 7b 00 20 20 20 20 73 77 69 74 63 68 28 6e 29 00 7b 00 76 6f 69 64 20 58 49 53 65 74 ....{.....switch(n).{.void.XISet
7880 46 6f 6e 74 28 58 49 6d 61 67 65 46 6f 6e 74 20 6e 29 00 00 00 7d 00 20 20 20 20 09 09 78 2c 79 Font(XImageFont.n)...}.......x,y
78a0 2c 70 72 62 75 66 2c 73 74 72 6c 65 6e 28 70 72 62 75 66 29 29 3b 00 20 20 20 20 58 44 72 61 77 ,prbuf,strlen(prbuf));.....XDraw
78c0 53 74 72 69 6e 67 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 String(display,current->pm[curre
78e0 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 00 20 20 20 20 46 47 28 63 6f 6c nt->pmi],current->gc,.....FG(col
7900 6f 75 72 29 3b 00 00 20 20 20 20 76 61 5f 65 6e 64 28 76 61 29 3b 00 20 20 20 20 76 73 70 72 69 our);......va_end(va);.....vspri
7920 6e 74 66 28 70 72 62 75 66 2c 66 6d 74 2c 76 61 29 3b 00 20 20 20 20 76 61 5f 73 74 61 72 74 28 ntf(prbuf,fmt,va);.....va_start(
7940 76 61 2c 66 6d 74 29 3b 00 00 20 20 20 20 76 61 5f 6c 69 73 74 20 76 61 3b 00 7b 00 76 6f 69 64 va,fmt);......va_list.va;.{.void
7960 20 58 70 72 69 6e 74 66 28 69 6e 74 20 78 2c 20 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 6f 6c .Xprintf(int.x,.int.y,.ulong.col
7980 6f 75 72 2c 20 63 6f 6e 73 74 20 63 68 61 72 20 2a 66 6d 74 2c 20 2e 2e 2e 29 00 00 00 7d 00 20 our,.const.char.*fmt,....)...}..
79a0 20 20 20 58 44 72 61 77 53 74 72 69 6e 67 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e ...XDrawString(display,current->
79c0 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 pm[current->pmi],current->gc,x,y
79e0 2c 73 2c 73 74 72 6c 65 6e 28 73 29 29 3b 00 20 20 20 20 46 47 28 63 29 3b 00 7b 00 00 76 6f 69 ,s,strlen(s));.....FG(c);.{..voi
7a00 64 20 58 50 72 69 6e 74 28 69 6e 74 20 78 2c 69 6e 74 20 79 2c 20 63 6f 6e 73 74 20 63 68 61 72 d.XPrint(int.x,int.y,.const.char
7a20 20 2a 73 2c 20 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 58 44 6f 53 70 6c 69 6e 65 28 .*s,.ulong.c)...}.....XDoSpline(
7a40 78 31 2c 79 31 2c 78 32 2c 79 32 2c 78 33 2c 79 33 2c 63 29 3b 00 00 20 20 20 20 7d 00 09 72 65 x1,y1,x2,y2,x3,y3,c);......}..re
7a60 74 75 72 6e 3b 00 09 58 4c 69 6e 65 28 78 31 2c 79 31 2c 78 33 2c 79 33 2c 63 29 3b 00 20 20 20 turn;..XLine(x1,y1,x3,y3,c);....
7a80 20 7b 00 20 20 20 20 69 66 20 28 28 78 32 3d 3d 78 33 29 26 26 28 79 32 3d 3d 79 33 29 29 00 00 .{.....if.((x2==x3)&&(y2==y3))..
7aa0 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b 00 09 58 4c 69 6e 65 28 78 31 2c 79 31 2c 78 32 2c 79 ....}..return;..XLine(x1,y1,x2,y
7ac0 32 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 78 31 3d 3d 78 33 29 26 26 28 79 2,c);.....{.....if.((x1==x3)&&(y
7ae0 31 3d 3d 79 33 29 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b 00 09 58 4c 69 6e 65 28 78 1==y3))......}..return;..XLine(x
7b00 32 2c 79 32 2c 78 33 2c 79 33 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 78 31 2,y2,x3,y3,c);.....{.....if.((x1
7b20 3d 3d 78 32 29 26 26 28 79 31 3d 3d 79 32 29 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b ==x2)&&(y1==y2))......}..return;
7b40 00 09 58 50 6c 6f 74 28 78 31 2c 79 31 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 ..XPlot(x1,y1,c);.....{.....if.(
7b60 28 78 31 3d 3d 78 32 3d 3d 78 33 29 26 26 28 79 31 3d 3d 79 32 3d 3d 79 33 29 29 00 00 20 20 20 (x1==x2==x3)&&(y1==y2==y3)).....
7b80 20 46 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 53 70 6c 69 6e 65 28 69 6e 74 20 78 31 2c 69 6e .FG(c);.{.void.XSpline(int.x1,in
7ba0 74 20 79 31 2c 69 6e 74 20 78 32 2c 69 6e 74 20 79 32 2c 69 6e 74 20 78 33 2c 69 6e 74 20 79 33 t.y1,int.x2,int.y2,int.x3,int.y3
7bc0 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 20 20 20 20 58 44 72 61 77 4c 69 6e 65 28 ,ulong.c)...}.........XDrawLine(
7be0 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 display,current->pm[current->pmi
7c00 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 62 2c 79 62 2c 78 32 2c 79 32 29 3b 00 20 20 20 20 ],current->gc,xb,yb,x2,y2);.....
7c20 65 6c 73 65 00 20 20 20 20 20 20 20 20 58 44 6f 53 70 6c 69 6e 65 28 78 62 2c 79 62 2c 78 63 2c else.........XDoSpline(xb,yb,xc,
7c40 79 63 2c 78 32 2c 79 32 2c 63 29 3b 00 20 20 20 20 69 66 20 28 20 41 42 53 28 20 78 63 20 2d 20 yc,x2,y2,c);.....if.(.ABS(.xc.-.
7c60 78 70 20 29 20 2b 20 41 42 53 28 20 79 63 20 2d 20 79 70 20 29 20 3e 20 63 75 72 72 65 6e 74 2d xp.).+.ABS(.yc.-.yp.).>.current-
7c80 3e 73 70 6c 69 6e 65 5f 74 68 72 65 73 68 20 29 00 20 20 20 20 79 70 20 3d 20 28 20 79 32 20 2b >spline_thresh.).....yp.=.(.y2.+
7ca0 20 79 62 20 29 20 2f 20 32 3b 00 20 20 20 20 78 70 20 3d 20 28 20 78 32 20 2b 20 78 62 20 29 20 .yb.)./.2;.....xp.=.(.x2.+.xb.).
7cc0 2f 20 32 3b 00 00 20 20 20 20 20 20 20 20 58 44 72 61 77 4c 69 6e 65 28 64 69 73 70 6c 61 79 2c /.2;..........XDrawLine(display,
7ce0 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e current->pm[current->pmi],curren
7d00 74 2d 3e 67 63 2c 78 30 2c 79 30 2c 78 62 2c 79 62 29 3b 00 20 20 20 20 65 6c 73 65 00 20 20 20 t->gc,x0,y0,xb,yb);.....else....
7d20 20 20 20 20 20 58 44 6f 53 70 6c 69 6e 65 28 78 30 2c 79 30 2c 78 61 2c 79 61 2c 78 62 2c 79 62 .....XDoSpline(x0,y0,xa,ya,xb,yb
7d40 2c 63 29 3b 00 20 20 20 20 69 66 20 28 20 41 42 53 28 20 78 61 20 2d 20 78 70 20 29 20 2b 20 41 ,c);.....if.(.ABS(.xa.-.xp.).+.A
7d60 42 53 28 20 79 61 20 2d 20 79 70 20 29 20 3e 20 63 75 72 72 65 6e 74 2d 3e 73 70 6c 69 6e 65 5f BS(.ya.-.yp.).>.current->spline_
7d80 74 68 72 65 73 68 20 29 00 00 20 20 20 20 79 70 20 3d 20 28 20 79 30 20 2b 20 79 62 20 29 20 2f thresh.)......yp.=.(.y0.+.yb.)./
7da0 20 32 3b 00 20 20 20 20 78 70 20 3d 20 28 20 78 30 20 2b 20 78 62 20 29 20 2f 20 32 3b 00 00 20 .2;.....xp.=.(.x0.+.xb.)./.2;...
7dc0 20 20 20 79 62 20 3d 20 28 20 79 61 20 2b 20 79 63 20 29 20 2f 20 32 3b 00 20 20 20 20 78 62 20 ...yb.=.(.ya.+.yc.)./.2;.....xb.
7de0 3d 20 28 20 78 61 20 2b 20 78 63 20 29 20 2f 20 32 3b 00 20 20 20 20 79 63 20 3d 20 28 20 79 31 =.(.xa.+.xc.)./.2;.....yc.=.(.y1
7e00 20 2b 20 79 32 20 29 20 2f 20 32 3b 00 20 20 20 20 78 63 20 3d 20 28 20 78 31 20 2b 20 78 32 20 .+.y2.)./.2;.....xc.=.(.x1.+.x2.
7e20 29 20 2f 20 32 3b 00 20 20 20 20 79 61 20 3d 20 28 20 79 30 20 2b 20 79 31 20 29 20 2f 20 32 3b )./.2;.....ya.=.(.y0.+.y1.)./.2;
7e40 00 20 20 20 20 78 61 20 3d 20 28 20 78 30 20 2b 20 78 31 20 29 20 2f 20 32 3b 00 00 20 20 20 20 .....xa.=.(.x0.+.x1.)./.2;......
7e60 7d 00 09 72 65 74 75 72 6e 3b 00 09 58 4c 69 6e 65 28 78 30 2c 79 30 2c 78 32 2c 79 32 2c 63 29 }..return;..XLine(x0,y0,x2,y2,c)
7e80 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 78 31 3d 3d 78 32 29 26 26 28 79 31 3d 3d 79 ;.....{.....if.((x1==x2)&&(y1==y
7ea0 32 29 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b 00 09 58 4c 69 6e 65 28 78 30 2c 79 30 2))......}..return;..XLine(x0,y0
7ec0 2c 78 31 2c 79 31 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 78 30 3d 3d 78 32 ,x1,y1,c);.....{.....if.((x0==x2
7ee0 29 26 26 28 79 30 3d 3d 79 32 29 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b 00 09 58 4c )&&(y0==y2))......}..return;..XL
7f00 69 6e 65 28 78 31 2c 79 31 2c 78 32 2c 79 32 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 ine(x1,y1,x2,y2,c);.....{.....if
7f20 20 28 28 78 30 3d 3d 78 31 29 26 26 28 79 30 3d 3d 79 31 29 29 00 00 20 20 20 20 7d 00 09 72 65 .((x0==x1)&&(y0==y1))......}..re
7f40 74 75 72 6e 3b 00 09 58 50 6c 6f 74 28 78 30 2c 79 30 2c 63 29 3b 00 20 20 20 20 7b 00 20 20 20 turn;..XPlot(x0,y0,c);.....{....
7f60 20 69 66 20 28 28 78 30 3d 3d 78 31 3d 3d 78 32 29 26 26 28 79 30 3d 3d 79 31 3d 3d 79 32 29 29 .if.((x0==x1==x2)&&(y0==y1==y2))
7f80 00 00 20 20 20 20 69 6e 74 20 78 61 2c 20 79 61 2c 20 78 62 2c 20 79 62 2c 20 78 63 2c 20 79 63 ......int.xa,.ya,.xb,.yb,.xc,.yc
7fa0 2c 20 78 70 2c 20 79 70 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 58 44 6f 53 70 6c 69 6e ,.xp,.yp;.{.static.void.XDoSplin
7fc0 65 28 69 6e 74 20 78 30 2c 69 6e 74 20 79 30 2c 69 6e 74 20 78 31 2c 69 6e 74 20 79 31 2c 69 6e e(int.x0,int.y0,int.x1,int.y1,in
7fe0 74 20 78 32 2c 69 6e 74 20 79 32 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 63 75 72 t.x2,int.y2,ulong.c)...}.....cur
8000 72 65 6e 74 2d 3e 73 70 6c 69 6e 65 5f 74 68 72 65 73 68 3d 74 3b 00 7b 00 76 6f 69 64 20 53 65 rent->spline_thresh=t;.{.void.Se
8020 74 53 70 6c 69 6e 65 54 68 72 65 73 68 28 69 6e 74 20 74 29 00 61 64 00 00 00 00 00 00 d8 02 00 tSplineThresh(int.t).ad.........
8040 00 00 10 00 00 b1 00 00 00 b5 0f 00 00 b3 0f 00 00 b2 0f 00 00 b1 0f 00 00 73 0f 00 00 71 0f 00 .........................s...q..
8060 00 66 0f 00 00 19 0f 00 00 17 0f 00 00 16 0f 00 00 15 0f 00 00 d3 0e 00 00 d1 0e 00 00 c6 0e 00 .f..............................
8080 00 79 0e 00 00 77 0e 00 00 76 0e 00 00 75 0e 00 00 5e 0e 00 00 5c 0e 00 00 4c 0e 00 00 4a 0e 00 .y...w...v...u...^...\...L...J..
80a0 00 49 0e 00 00 48 0e 00 00 2d 0e 00 00 2b 0e 00 00 11 0e 00 00 f7 0d 00 00 f6 0d 00 00 e6 0d 00 .I...H...-...+..................
80c0 00 e4 0d 00 00 e3 0d 00 00 e2 0d 00 00 ca 0d 00 00 c8 0d 00 00 bd 0d 00 00 7e 0d 00 00 4c 0d 00 .........................~...L..
80e0 00 4a 0d 00 00 49 0d 00 00 48 0d 00 00 29 0d 00 00 27 0d 00 00 1c 0d 00 00 de 0c 00 00 ac 0c 00 .J...I...H...)...'..............
8100 00 aa 0c 00 00 a9 0c 00 00 a8 0c 00 00 75 0c 00 00 73 0c 00 00 68 0c 00 00 23 0c 00 00 fa 0b 00 .............u...s...h...#......
8120 00 f8 0b 00 00 f7 0b 00 00 f6 0b 00 00 da 0b 00 00 d8 0b 00 00 b9 0b 00 00 ac 0b 00 00 ab 0b 00 ................................
8140 00 9c 0b 00 00 96 0b 00 00 85 0b 00 00 74 0b 00 00 5a 0b 00 00 54 0b 00 00 53 0b 00 00 45 0b 00 .............t...Z...T...S...E..
8160 00 3f 0b 00 00 2a 0b 00 00 1a 0b 00 00 00 0b 00 00 fa 0a 00 00 f9 0a 00 00 ea 0a 00 00 e4 0a 00 .?...*..........................
8180 00 d3 0a 00 00 c2 0a 00 00 a8 0a 00 00 a2 0a 00 00 a1 0a 00 00 93 0a 00 00 8d 0a 00 00 78 0a 00 .............................x..
81a0 00 68 0a 00 00 4e 0a 00 00 48 0a 00 00 47 0a 00 00 37 0a 00 00 ec 09 00 00 9d 09 00 00 7e 09 00 .h...N...H...G...7...........~..
81c0 00 7c 09 00 00 7b 09 00 00 7a 09 00 00 46 09 00 00 44 09 00 00 34 09 00 00 e9 08 00 00 a7 08 00 .|...{...z...F...D...4..........
81e0 00 88 08 00 00 86 08 00 00 85 08 00 00 84 08 00 00 46 08 00 00 44 08 00 00 34 08 00 00 ff 07 00 .................F...D...4......
8200 00 d1 07 00 00 b2 07 00 00 b0 07 00 00 af 07 00 00 ae 07 00 00 70 07 00 00 6e 07 00 00 5e 07 00 .....................p...n...^..
8220 00 29 07 00 00 fb 06 00 00 dc 06 00 00 da 06 00 00 d9 06 00 00 d8 06 00 00 c2 06 00 00 c0 06 00 .)..............................
8240 00 a7 06 00 00 a1 06 00 00 8d 06 00 00 56 06 00 00 17 06 00 00 e5 05 00 00 c2 05 00 00 bc 05 00 .............V..................
8260 00 ba 05 00 00 b9 05 00 00 b8 05 00 00 9e 05 00 00 9c 05 00 00 88 05 00 00 86 05 00 00 85 05 00 ................................
8280 00 84 05 00 00 83 05 00 00 6e 05 00 00 6c 05 00 00 50 05 00 00 4e 05 00 00 4d 05 00 00 4c 05 00 .........n...l...P...N...M...L..
82a0 00 20 05 00 00 1e 05 00 00 0c 05 00 00 f7 04 00 00 f6 04 00 00 e5 04 00 00 c6 04 00 00 c3 04 00 ................................
82c0 00 9b 04 00 00 9a 04 00 00 7a 04 00 00 73 04 00 00 56 04 00 00 29 04 00 00 0a 04 00 00 d5 03 00 .........z...s...V...)..........
82e0 00 ba 03 00 00 b9 03 00 00 97 03 00 00 69 03 00 00 44 03 00 00 20 03 00 00 05 03 00 00 fe 02 00 .............i...D..............
8300 00 fb 02 00 00 ee 02 00 00 d8 02 00 00 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 75 6e .........................if.(fun
8320 63 29 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 09 7d 00 09 20 20 20 20 7d 00 20 20 20 20 20 20 c).........else..}......}.......
8340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 ..............break;............
8360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 .................return;........
8380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 69 67 6e 6f 72 65 29 00 20 20 .................if.(!ignore)...
83a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 78 62 75 74 ..................if.(event.xbut
83c0 74 6f 6e 2e 62 75 74 74 6f 6e 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 ton.button).................case
83e0 20 42 75 74 74 6f 6e 50 72 65 73 73 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .ButtonPress:...................
8400 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 ...break;.....................Re
8420 64 72 61 77 28 63 75 72 72 65 6e 74 2d 3e 6f 78 2c 63 75 72 72 65 6e 74 2d 3e 6f 79 29 3b 00 20 draw(current->ox,current->oy);..
8440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 .......................break;...
8460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 78 65 78 70 ..................if.(event.xexp
8480 6f 73 65 2e 63 6f 75 6e 74 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 ose.count).................case.
84a0 45 78 70 6f 73 65 3a 00 09 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 Expose:......{.............switc
84c0 68 20 28 65 76 65 6e 74 2e 74 79 70 65 29 00 00 20 20 20 20 20 20 20 20 20 20 20 20 58 4e 65 78 h.(event.type)..............XNex
84e0 74 45 76 65 6e 74 28 64 69 73 70 6c 61 79 2c 26 65 76 65 6e 74 29 3b 00 09 7b 00 20 20 20 20 20 tEvent(display,&event);..{......
8500 20 20 20 69 66 20 28 58 50 65 6e 64 69 6e 67 28 64 69 73 70 6c 61 79 29 29 00 20 20 20 20 77 68 ...if.(XPending(display)).....wh
8520 69 6c 65 20 28 54 72 75 65 29 00 00 20 20 20 20 69 6e 74 20 69 67 6e 6f 72 65 3d 54 72 75 65 3b ile.(True)......int.ignore=True;
8540 00 20 20 20 20 58 45 76 65 6e 74 20 65 76 65 6e 74 3b 00 7b 00 76 6f 69 64 20 58 44 6f 54 69 6c .....XEvent.event;.{.void.XDoTil
8560 6c 42 75 74 74 6f 6e 50 72 65 73 73 28 58 56 6f 69 64 43 61 6c 6c 62 61 63 6b 20 66 75 6e 63 29 lButtonPress(XVoidCallback.func)
8580 00 00 00 7d 00 20 20 20 20 58 43 6c 6f 73 65 44 69 73 70 6c 61 79 28 64 69 73 70 6c 61 79 29 3b ...}.....XCloseDisplay(display);
85a0 00 7b 00 76 6f 69 64 20 58 46 69 6e 69 73 68 65 64 28 76 6f 69 64 29 00 00 00 00 7d 00 20 20 20 .{.void.XFinished(void)....}....
85c0 20 72 65 74 75 72 6e 20 64 69 73 70 6c 61 79 3b 00 7b 00 44 69 73 70 6c 61 79 20 2a 47 65 74 44 .return.display;.{.Display.*GetD
85e0 69 73 70 6c 61 79 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 57 isplay(void)...}.....}.........W
8600 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 20 20 M(current->lastuserfunc);.......
8620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e ..............current->pw,curren
8640 74 2d 3e 70 68 2c 30 2c 30 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t->ph,0,0);.....................
8660 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e current->pm[current->pmi],curren
8680 74 2d 3e 67 63 2c 30 2c 30 2c 00 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 t->gc,0,0,.........XCopyArea(dis
86a0 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5e 31 5d play,current->pm[current->pmi^1]
86c0 2c 00 20 20 20 20 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 20 20 20 20 7b 00 20 20 20 20 ,.........WM(GXcopy);.....{.....
86e0 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 7b 00 76 6f 69 64 20 53 63 72 65 if.(current->buffer).{.void.Scre
8700 65 6e 43 6f 70 79 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d enCopy(void)...}.....WM(current-
8720 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 >lastuserfunc);.................
8740 63 75 72 72 65 6e 74 2d 3e 67 63 2c 73 78 2c 73 79 2c 77 2c 68 2c 64 78 2c 64 79 29 3b 00 20 20 current->gc,sx,sy,w,h,dx,dy);...
8760 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 64 70 6d 2c 63 75 72 72 65 6e 74 2d ..XCopyArea(display,dpm,current-
8780 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 >pm[current->pmi],.....WM(GXcopy
87a0 29 3b 00 7b 00 76 6f 69 64 20 58 47 65 74 28 50 69 78 6d 61 70 20 64 70 6d 2c 69 6e 74 20 73 78 );.{.void.XGet(Pixmap.dpm,int.sx
87c0 2c 69 6e 74 20 73 79 2c 69 6e 74 20 77 2c 69 6e 74 20 68 2c 69 6e 74 20 64 78 2c 69 6e 74 20 64 ,int.sy,int.w,int.h,int.dx,int.d
87e0 79 29 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 y)...}.....WM(current->lastuserf
8800 75 6e 63 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 unc);.................current->g
8820 63 2c 73 78 2c 73 79 2c 77 2c 68 2c 64 78 2c 64 79 29 3b 00 20 20 20 20 58 43 6f 70 79 41 72 65 c,sx,sy,w,h,dx,dy);.....XCopyAre
8840 61 28 64 69 73 70 6c 61 79 2c 73 70 6d 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e a(display,spm,current->pm[curren
8860 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 7b 00 76 6f 69 64 20 t->pmi],.....WM(GXcopy);.{.void.
8880 58 50 75 74 28 50 69 78 6d 61 70 20 73 70 6d 2c 69 6e 74 20 73 78 2c 69 6e 74 20 73 79 2c 69 6e XPut(Pixmap.spm,int.sx,int.sy,in
88a0 74 20 77 2c 69 6e 74 20 68 2c 69 6e 74 20 64 78 2c 69 6e 74 20 64 79 29 00 00 00 7d 00 20 20 20 t.w,int.h,int.dx,int.dy)...}....
88c0 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 .WM(current->lastuserfunc);.....
88e0 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 73 78 2c 73 79 2c 63 75 ............current->gc,sx,sy,cu
8900 72 72 65 6e 74 2d 3e 70 77 2c 63 75 72 72 65 6e 74 2d 3e 70 68 2c 64 78 2c 64 79 29 3b 00 20 20 rrent->pw,current->ph,dx,dy);...
8920 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b ..XCopyArea(display,current->pm[
8940 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e current->pmi],current->pm[curren
8960 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 7b 00 76 6f 69 64 20 t->pmi],.....WM(GXcopy);.{.void.
8980 58 43 6f 70 79 28 69 6e 74 20 73 78 2c 69 6e 74 20 73 79 2c 69 6e 74 20 77 2c 69 6e 74 20 68 2c XCopy(int.sx,int.sy,int.w,int.h,
89a0 69 6e 74 20 64 78 2c 69 6e 74 20 64 79 29 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e int.dx,int.dy)...}.....WM(curren
89c0 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t->lastuserfunc);...............
89e0 20 20 63 75 72 72 65 6e 74 2d 3e 67 63 2c 73 72 63 78 2c 73 72 63 79 2c 63 75 72 72 65 6e 74 2d ..current->gc,srcx,srcy,current-
8a00 3e 70 77 2d 64 78 2c 63 75 72 72 65 6e 74 2d 3e 70 68 2c 64 65 73 74 78 2c 64 65 73 74 79 29 3b >pw-dx,current->ph,destx,desty);
8a20 00 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e .....XCopyArea(display,current->
8a40 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 pm[current->pmi],current->pm[cur
8a60 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 57 4d 28 47 58 63 6f 70 79 29 3b 00 00 20 20 20 rent->pmi],.....WM(GXcopy);.....
8a80 20 7d 00 20 20 20 20 20 20 20 20 68 3d 63 75 72 72 65 6e 74 2d 3e 70 68 2b 64 79 3b 00 20 20 20 .}.........h=current->ph+dy;....
8aa0 20 20 20 20 20 73 72 63 79 3d 30 3b 00 20 20 20 20 20 20 20 20 64 65 73 74 79 3d 2d 28 64 79 29 .....srcy=0;.........desty=-(dy)
8ac0 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 64 79 3c 30 29 00 00 20 20 20 20 7d 00 20 20 20 ;.....{.....if.(dy<0)......}....
8ae0 20 20 20 20 20 68 3d 63 75 72 72 65 6e 74 2d 3e 70 68 2d 64 79 3b 00 20 20 20 20 20 20 20 20 73 .....h=current->ph-dy;.........s
8b00 72 63 79 3d 64 79 3b 00 20 20 20 20 20 20 20 20 64 65 73 74 79 3d 30 3b 00 20 20 20 20 7b 00 20 rcy=dy;.........desty=0;.....{..
8b20 20 20 20 69 66 20 28 64 79 3e 3d 30 29 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 77 3d 63 ...if.(dy>=0)......}.........w=c
8b40 75 72 72 65 6e 74 2d 3e 70 77 2b 64 78 3b 00 20 20 20 20 20 20 20 20 73 72 63 78 3d 30 3b 00 20 urrent->pw+dx;.........srcx=0;..
8b60 20 20 20 20 20 20 20 64 65 73 74 78 3d 2d 28 64 78 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 .......destx=-(dx);.....{.....if
8b80 20 28 64 78 3c 30 29 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 77 3d 63 75 72 72 65 6e 74 .(dx<0)......}.........w=current
8ba0 2d 3e 70 77 2d 64 78 3b 00 20 20 20 20 20 20 20 20 73 72 63 78 3d 64 78 3b 00 20 20 20 20 20 20 ->pw-dx;.........srcx=dx;.......
8bc0 20 20 64 65 73 74 78 3d 30 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 64 78 3e 3d 30 29 00 ..destx=0;.....{.....if.(dx>=0).
8be0 00 20 20 20 20 69 6e 74 20 77 2c 68 3b 00 20 20 20 20 69 6e 74 20 64 65 73 74 78 2c 64 65 73 74 .....int.w,h;.....int.destx,dest
8c00 79 2c 73 72 63 78 2c 73 72 63 79 3b 00 7b 00 76 6f 69 64 20 58 53 63 72 6f 6c 6c 28 69 6e 74 20 y,srcx,srcy;.{.void.XScroll(int.
8c20 64 78 2c 69 6e 74 20 64 79 29 00 00 00 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dx,int.dy)...}..................
8c40 73 68 61 70 65 2c 43 6f 6f 72 64 4d 6f 64 65 4f 72 69 67 69 6e 29 3b 00 20 20 20 20 58 46 69 6c shape,CoordModeOrigin);.....XFil
8c60 6c 50 6f 6c 79 67 6f 6e 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 lPolygon(display,current->pm[cur
8c80 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 78 70 2c 6e 2c 00 20 20 20 rent->pmi],current->gc,xp,n,....
8ca0 20 46 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 46 69 6c 6c 50 6f 6c 79 28 58 50 6f 69 6e 74 20 .FG(c);.{.void.XFillPoly(XPoint.
8cc0 2a 78 70 2c 69 6e 74 20 6e 2c 69 6e 74 20 73 68 61 70 65 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d *xp,int.n,int.shape,ulong.c)...}
8ce0 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 69 6e 74 73 2c 6e 6f 5f 70 6c 6f 74 73 .................points,no_plots
8d00 2c 43 6f 6f 72 64 4d 6f 64 65 4f 72 69 67 69 6e 29 3b 00 20 20 20 20 58 44 72 61 77 4c 69 6e 65 ,CoordModeOrigin);.....XDrawLine
8d20 73 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 s(display,current->pm[current->p
8d40 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 00 20 20 20 20 46 47 28 63 29 3b 00 7b 00 76 6f mi],current->gc,.....FG(c);.{.vo
8d60 69 64 20 58 50 75 74 50 6c 6f 74 73 41 73 4c 69 6e 65 73 28 75 6c 6f 6e 67 20 63 29 00 00 00 7d id.XPutPlotsAsLines(ulong.c)...}
8d80 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 69 6e 74 73 2c 6e 6f 5f 70 6c 6f 74 73 .................points,no_plots
8da0 2c 43 6f 6f 72 64 4d 6f 64 65 4f 72 69 67 69 6e 29 3b 00 20 20 20 20 58 44 72 61 77 50 6f 69 6e ,CoordModeOrigin);.....XDrawPoin
8dc0 74 73 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e ts(display,current->pm[current->
8de0 70 6d 69 5d 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 00 20 20 20 20 46 47 28 63 29 3b 00 7b 00 76 pmi],current->gc,.....FG(c);.{.v
8e00 6f 69 64 20 58 50 75 74 50 6c 6f 74 73 28 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 6e oid.XPutPlots(ulong.c)...}.....n
8e20 6f 5f 70 6c 6f 74 73 2b 2b 3b 00 00 20 20 20 20 70 6f 69 6e 74 73 5b 6e 6f 5f 70 6c 6f 74 73 5d o_plots++;......points[no_plots]
8e40 2e 79 3d 79 3b 00 20 20 20 20 70 6f 69 6e 74 73 5b 6e 6f 5f 70 6c 6f 74 73 5d 2e 78 3d 78 3b 00 .y=y;.....points[no_plots].x=x;.
8e60 7b 00 76 6f 69 64 20 58 41 64 64 50 6c 6f 74 28 69 6e 74 20 78 2c 69 6e 74 20 79 29 00 00 00 7d {.void.XAddPlot(int.x,int.y)...}
8e80 00 20 20 20 20 6e 6f 5f 70 6c 6f 74 73 3d 30 3b 00 7b 00 76 6f 69 64 20 58 53 74 61 72 74 50 6c .....no_plots=0;.{.void.XStartPl
8ea0 6f 74 73 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 58 46 69 6c 6c 41 72 63 28 64 69 73 70 6c ots(void)...}.....XFillArc(displ
8ec0 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 ay,current->pm[current->pmi],cur
8ee0 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 2c 72 78 2c 72 79 2c 61 31 2c 61 32 29 3b 00 20 20 20 20 46 rent->gc,x,y,rx,ry,a1,a2);.....F
8f00 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 46 69 6c 6c 43 69 72 63 6c 65 28 69 6e 74 20 78 2c 69 G(c);.{.void.XFillCircle(int.x,i
8f20 6e 74 20 79 2c 69 6e 74 20 72 78 2c 69 6e 74 20 72 79 2c 69 6e 74 20 61 31 2c 69 6e 74 20 61 32 nt.y,int.rx,int.ry,int.a1,int.a2
8f40 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 58 44 72 61 77 41 72 63 28 64 69 73 70 6c ,ulong.c)...}.....XDrawArc(displ
8f60 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 75 72 ay,current->pm[current->pmi],cur
8f80 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 2c 72 78 2c 72 79 2c 61 31 2c 61 32 29 3b 00 20 20 20 20 46 rent->gc,x,y,rx,ry,a1,a2);.....F
8fa0 47 28 63 29 3b 00 7b 00 76 6f 69 64 20 58 43 69 72 63 6c 65 28 69 6e 74 20 78 2c 69 6e 74 20 79 G(c);.{.void.XCircle(int.x,int.y
8fc0 2c 69 6e 74 20 72 78 2c 69 6e 74 20 72 79 2c 69 6e 74 20 61 31 2c 69 6e 74 20 61 32 2c 75 6c 6f ,int.rx,int.ry,int.a1,int.a2,ulo
8fe0 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 58 46 69 6c 6c 52 65 63 74 61 6e 67 6c 65 28 64 69 73 ng.c)...}.....XFillRectangle(dis
9000 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 63 play,current->pm[current->pmi],c
9020 75 72 72 65 6e 74 2d 3e 67 63 2c 78 2c 79 2c 77 2c 68 29 3b 00 61 64 00 00 0e 00 00 00 d6 02 00 urrent->gc,x,y,w,h);.ad.........
9040 00 00 10 00 00 ad 00 00 00 e0 0f 00 00 dc 0f 00 00 b8 0f 00 00 92 0f 00 00 73 0f 00 00 72 0f 00 .........................s...r..
9060 00 4c 0f 00 00 27 0f 00 00 08 0f 00 00 07 0f 00 00 e3 0e 00 00 c3 0e 00 00 a4 0e 00 00 a0 0e 00 .L...'..........................
9080 00 9f 0e 00 00 9d 0e 00 00 9c 0e 00 00 9b 0e 00 00 4a 0e 00 00 48 0e 00 00 36 0e 00 00 35 0e 00 .................J...H...6...5..
90a0 00 24 0e 00 00 f7 0d 00 00 e9 0d 00 00 c1 0d 00 00 c0 0d 00 00 a0 0d 00 00 8e 0d 00 00 71 0d 00 .$...........................q..
90c0 00 44 0d 00 00 25 0d 00 00 f0 0c 00 00 d5 0c 00 00 d4 0c 00 00 b1 0c 00 00 93 0c 00 00 59 0c 00 .D...%.......................Y..
90e0 00 0f 0c 00 00 f1 0b 00 00 c5 0b 00 00 9d 0b 00 00 76 0b 00 00 58 0b 00 00 3d 0b 00 00 3c 0b 00 .................v...X...=...<..
9100 00 1a 0b 00 00 fa 0a 00 00 b7 0a 00 00 75 0a 00 00 27 0a 00 00 09 0a 00 00 dd 09 00 00 b5 09 00 .............u...'..............
9120 00 8e 09 00 00 70 09 00 00 55 09 00 00 43 09 00 00 35 09 00 00 28 09 00 00 0f 09 00 00 ec 08 00 .....p...U...C...5...(..........
9140 00 d6 08 00 00 b2 08 00 00 8c 08 00 00 6d 08 00 00 6c 08 00 00 48 08 00 00 28 08 00 00 09 08 00 .............m...l...H...(......
9160 00 f3 07 00 00 f2 07 00 00 f0 07 00 00 ef 07 00 00 ee 07 00 00 ab 07 00 00 a9 07 00 00 9e 07 00 ................................
9180 00 9d 07 00 00 8e 07 00 00 88 07 00 00 71 07 00 00 6b 07 00 00 6a 07 00 00 61 07 00 00 60 07 00 .............q...k...j...a...`..
91a0 00 4b 07 00 00 45 07 00 00 2b 07 00 00 28 07 00 00 16 07 00 00 e8 06 00 00 e5 06 00 00 d8 06 00 .K...E...+...(..................
91c0 00 d5 06 00 00 c4 06 00 00 c1 06 00 00 bb 06 00 00 ba 06 00 00 a8 06 00 00 a6 06 00 00 a5 06 00 ................................
91e0 00 a4 06 00 00 5d 06 00 00 5b 06 00 00 50 06 00 00 4f 06 00 00 40 06 00 00 3a 06 00 00 23 06 00 .....]...[...P...O...@...:...#..
9200 00 1d 06 00 00 1c 06 00 00 13 06 00 00 12 06 00 00 fd 05 00 00 f7 05 00 00 dd 05 00 00 da 05 00 ................................
9220 00 c8 05 00 00 9a 05 00 00 97 05 00 00 8a 05 00 00 87 05 00 00 76 05 00 00 73 05 00 00 6d 05 00 .....................v...s...m..
9240 00 6c 05 00 00 5a 05 00 00 58 05 00 00 57 05 00 00 56 05 00 00 15 05 00 00 13 05 00 00 08 05 00 .l...Z...X...W...V..............
9260 00 07 05 00 00 f8 04 00 00 f2 04 00 00 db 04 00 00 d5 04 00 00 d4 04 00 00 cb 04 00 00 ca 04 00 ................................
9280 00 b5 04 00 00 af 04 00 00 95 04 00 00 92 04 00 00 80 04 00 00 52 04 00 00 4f 04 00 00 42 04 00 .....................R...O...B..
92a0 00 3f 04 00 00 2e 04 00 00 2b 04 00 00 25 04 00 00 24 04 00 00 12 04 00 00 10 04 00 00 0f 04 00 .?.......+...%...$..............
92c0 00 0e 04 00 00 de 03 00 00 c0 03 00 00 a4 03 00 00 8b 03 00 00 89 03 00 00 7e 03 00 00 6c 03 00 .........................~...l..
92e0 00 6b 03 00 00 5a 03 00 00 2d 03 00 00 1f 03 00 00 f7 02 00 00 f6 02 00 00 d6 02 00 00 d5 02 00 .k...Z...-......................
9300 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 65 .......................switch.(e
9320 76 65 6e 74 2e 74 79 70 65 29 00 00 20 20 20 20 20 20 20 20 20 20 20 20 58 4e 65 78 74 45 76 65 vent.type)..............XNextEve
9340 6e 74 28 64 69 73 70 6c 61 79 2c 26 65 76 65 6e 74 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 nt(display,&event);.............
9360 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 28 58 50 65 6e 64 69 6e 67 28 64 69 73 70 6c 61 79 29 {.........if.((XPending(display)
9380 29 7c 7c 28 21 70 72 6f 63 65 73 73 29 29 00 20 20 20 20 77 68 69 6c 65 20 28 54 72 75 65 29 00 )||(!process)).....while.(True).
93a0 00 20 20 20 20 58 45 76 65 6e 74 20 65 76 65 6e 74 3b 00 20 20 20 20 69 6e 74 20 69 3b 00 7b 00 .....XEvent.event;.....int.i;.{.
93c0 09 09 58 56 6f 69 64 43 61 6c 6c 62 61 63 6b 20 70 72 6f 63 65 73 73 29 00 09 09 58 57 69 6e 64 ..XVoidCallback.process)...XWind
93e0 6f 77 4b 65 79 43 61 6c 6c 62 61 63 6b 20 6b 65 79 5b 5d 2c 00 09 09 58 57 69 6e 64 6f 77 4d 6f owKeyCallback.key[],...XWindowMo
9400 76 65 43 61 6c 6c 42 61 63 6b 20 6d 6f 76 65 5b 5d 2c 00 76 6f 69 64 20 58 44 6f 57 69 6e 64 6f veCallBack.move[],.void.XDoWindo
9420 77 73 28 58 57 69 6e 64 6f 77 42 75 74 74 6f 6e 43 61 6c 6c 62 61 63 6b 20 62 75 74 74 6f 6e 5b ws(XWindowButtonCallback.button[
9440 5d 2c 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 46 61 6c 73 65 3b 00 00 20 20 20 20 7d 00 ],...}.....return.False;......}.
9460 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 66 2b 2b 3b 00 09 7b 00 20 20 20 20 20 20 20 20 65 .}.............f++;..{.........e
9480 6c 73 65 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 61 6c 6c 5b 66 lse..}.............return.call[f
94a0 5d 2e 66 75 6e 63 20 3f 20 54 72 75 65 3a 46 61 6c 73 65 3b 00 20 20 20 20 20 20 20 20 20 20 20 ].func.?.True:False;............
94c0 20 2a 69 3d 66 3b 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 63 61 6c 6c 5b 66 5d 2e 77 3d .*i=f;..{.........if.(call[f].w=
94e0 3d 77 29 00 20 20 20 20 7b 00 20 20 20 20 77 68 69 6c 65 28 63 61 6c 6c 5b 66 5d 2e 77 29 00 00 =w).....{.....while(call[f].w)..
9500 20 20 20 20 66 3d 30 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 28 46 ....f=0;......}.........return(F
9520 61 6c 73 65 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 63 61 6c 6c 29 00 00 20 20 20 alse);.....{.....if.(!call).....
9540 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 69 6e 74 20 49 73 4b 65 79 57 69 6e 28 57 69 .int.f;.{.static.int.IsKeyWin(Wi
9560 6e 64 6f 77 20 77 2c 20 58 57 69 6e 64 6f 77 4b 65 79 43 61 6c 6c 62 61 63 6b 20 63 61 6c 6c 5b ndow.w,.XWindowKeyCallback.call[
9580 5d 20 2c 69 6e 74 20 2a 69 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 46 61 6c 73 65 3b ].,int.*i)...}.....return.False;
95a0 00 00 20 20 20 20 7d 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 66 2b 2b 3b 00 09 7b 00 20 ......}..}.............f++;..{..
95c0 20 20 20 20 20 20 20 65 6c 73 65 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 .......else..}.............retur
95e0 6e 20 63 61 6c 6c 5b 66 5d 2e 66 75 6e 63 20 3f 20 54 72 75 65 3a 46 61 6c 73 65 3b 00 20 20 20 n.call[f].func.?.True:False;....
9600 20 20 20 20 20 20 20 20 20 2a 69 3d 66 3b 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 63 61 .........*i=f;..{.........if.(ca
9620 6c 6c 5b 66 5d 2e 77 3d 3d 77 29 00 20 20 20 20 7b 00 20 20 20 20 77 68 69 6c 65 28 63 61 6c 6c ll[f].w==w).....{.....while(call
9640 5b 66 5d 2e 77 29 00 00 20 20 20 20 66 3d 30 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 [f].w)......f=0;......}.........
9660 72 65 74 75 72 6e 28 46 61 6c 73 65 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 63 61 return(False);.....{.....if.(!ca
9680 6c 6c 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 69 6e 74 20 49 73 42 ll)......int.f;.{.static.int.IsB
96a0 75 74 74 6f 6e 57 69 6e 28 57 69 6e 64 6f 77 20 77 2c 20 58 57 69 6e 64 6f 77 42 75 74 74 6f 6e uttonWin(Window.w,.XWindowButton
96c0 43 61 6c 6c 62 61 63 6b 20 63 61 6c 6c 5b 5d 20 2c 69 6e 74 20 2a 69 29 00 00 00 7d 00 20 20 20 Callback.call[].,int.*i)...}....
96e0 20 72 65 74 75 72 6e 20 46 61 6c 73 65 3b 00 00 20 20 20 20 7d 00 09 7d 00 20 20 20 20 20 20 20 .return.False;......}..}........
9700 20 20 20 20 20 66 2b 2b 3b 00 09 7b 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 09 7d 00 20 20 20 .....f++;..{.........else..}....
9720 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 61 6c 6c 5b 66 5d 2e 66 75 6e 63 20 3f 20 54 .........return.call[f].func.?.T
9740 72 75 65 3a 46 61 6c 73 65 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 2a 69 3d 66 3b 00 09 7b 00 rue:False;.............*i=f;..{.
9760 20 20 20 20 20 20 20 20 69 66 20 28 63 61 6c 6c 5b 66 5d 2e 77 3d 3d 77 29 00 20 20 20 20 7b 00 ........if.(call[f].w==w).....{.
9780 20 20 20 20 77 68 69 6c 65 28 63 61 6c 6c 5b 66 5d 2e 77 29 00 00 20 20 20 20 66 3d 30 3b 00 00 ....while(call[f].w)......f=0;..
97a0 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 28 46 61 6c 73 65 29 3b 00 20 20 20 ....}.........return(False);....
97c0 20 7b 00 20 20 20 20 69 66 20 28 21 63 61 6c 6c 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 .{.....if.(!call)......int.f;.{.
97e0 73 74 61 74 69 63 20 69 6e 74 20 49 73 4d 6f 76 65 57 69 6e 28 57 69 6e 64 6f 77 20 77 2c 20 58 static.int.IsMoveWin(Window.w,.X
9800 57 69 6e 64 6f 77 4d 6f 76 65 43 61 6c 6c 42 61 63 6b 20 63 61 6c 6c 5b 5d 20 2c 69 6e 74 20 2a WindowMoveCallBack.call[].,int.*
9820 69 29 00 00 00 7d 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 00 20 20 i)...}......................}...
9840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 ......................break;....
9860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 .....................return;....
9880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 53 54 4f 50 3a .................case.XFUNCSTOP:
98a0 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b ..........................break;
98c0 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 49 .....................case.XFUNCI
98e0 47 4e 4f 52 45 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 GNORE:.....................case.
9900 58 46 55 4e 43 43 4f 4e 54 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b XFUNCCONT:.....................{
9920 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 70 72 6f 63 65 73 73 .................switch.(process
9940 28 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 72 6f 63 65 73 73 29 00 20 20 20 ()).............if.(process)....
9960 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 .....else.............}.........
9980 20 20 20 20 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 ........}.....................br
99a0 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eak;............................
99c0 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .}..............................
99e0 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...break;.......................
9a00 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........return;...............
9a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 53 54 4f 50 3a 00 20 20 ..............case.XFUNCSTOP:...
9a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 00 20 20 20 20 ..........................{.....
9a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
9a80 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 78 2c 65 76 65 6e 74 2e 78 62 ........event.xbutton.x,event.xb
9aa0 75 74 74 6f 6e 2e 79 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 utton.y)).......................
9ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 78 62 75 74 ......................event.xbut
9ae0 74 6f 6e 2e 62 75 74 74 6f 6e 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ton.button,.....................
9b00 20 20 20 20 73 77 69 74 63 68 28 62 75 74 74 6f 6e 28 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e ....switch(button(event.xbutton.
9b20 77 69 6e 64 6f 77 2c 58 50 52 45 53 53 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 window,XPRESS,..................
9b40 20 20 20 69 66 20 28 62 75 74 74 6f 6e 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 ...if.(button).................c
9b60 61 73 65 20 42 75 74 74 6f 6e 50 72 65 73 73 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ase.ButtonPress:................
9b80 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......break;....................
9ba0 20 20 20 20 20 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........}......................
9bc0 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........break;...............
9be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 ..................return;.......
9c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 ......................case.XFUNC
9c20 53 54 4f 50 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 STOP:...........................
9c40 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..{.............................
9c60 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 78 6d 6f 74 69 6f 6e 2e 78 2c 65 76 65 6e ............event.xmotion.x,even
9c80 74 2e 78 6d 6f 74 69 6f 6e 2e 79 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.xmotion.y))...................
9ca0 20 20 20 20 20 20 73 77 69 74 63 68 28 6d 6f 76 65 28 65 76 65 6e 74 2e 78 6d 6f 74 69 6f 6e 2e ......switch(move(event.xmotion.
9cc0 77 69 6e 64 6f 77 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 window,.....................if.(
9ce0 6d 6f 76 65 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4d 6f 74 69 6f move).................case.Motio
9d00 6e 4e 6f 74 69 66 79 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 nNotify:......................br
9d20 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 64 72 61 77 28 eak;.....................Redraw(
9d40 63 75 72 72 65 6e 74 2d 3e 6f 78 2c 63 75 72 72 65 6e 74 2d 3e 6f 79 29 3b 00 20 20 20 20 20 20 current->ox,current->oy);.......
9d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 ..................break;........
9d80 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 78 65 78 70 6f 73 65 2e 63 .............if.(event.xexpose.c
9da0 6f 75 6e 74 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 45 78 70 6f 73 ount).................case.Expos
9dc0 65 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 e:.................{............
9de0 20 73 77 69 74 63 68 20 28 65 76 65 6e 74 2e 74 79 70 65 29 00 00 20 20 20 20 20 20 20 20 20 20 .switch.(event.type)............
9e00 20 20 58 4e 65 78 74 45 76 65 6e 74 28 64 69 73 70 6c 61 79 2c 26 65 76 65 6e 74 29 3b 00 20 20 ..XNextEvent(display,&event);...
9e20 20 20 20 20 20 20 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 28 58 50 65 6e 64 69 6e ..........{.........if.((XPendin
9e40 67 28 64 69 73 70 6c 61 79 29 29 7c 7c 28 21 70 72 6f 63 65 73 73 29 29 00 20 20 20 20 77 68 69 g(display))||(!process)).....whi
9e60 6c 65 20 28 54 72 75 65 29 00 00 20 20 20 20 58 45 76 65 6e 74 20 65 76 65 6e 74 3b 00 7b 00 76 le.(True)......XEvent.event;.{.v
9e80 6f 69 64 20 58 44 6f 4d 6f 75 73 65 28 58 42 75 74 74 6f 6e 43 61 6c 6c 62 61 63 6b 20 62 75 74 oid.XDoMouse(XButtonCallback.but
9ea0 74 6f 6e 2c 20 58 4d 6f 76 65 43 61 6c 6c 42 61 63 6b 20 6d 6f 76 65 2c 20 58 56 6f 69 64 43 61 ton,.XMoveCallBack.move,.XVoidCa
9ec0 6c 6c 62 61 63 6b 20 70 72 6f 63 65 73 73 29 00 00 00 7d 00 00 09 09 7d 00 20 20 20 20 20 20 20 llback.process)...}....}........
9ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 .................break;.........
9f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 ................return;.........
9f20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 53 54 4f 50 3a 00 00 20 20 20 ............case.XFUNCSTOP:.....
9f40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 .....................break;.....
9f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 67 6e 6f 72 65 3d 54 72 75 65 3b ....................ignore=True;
9f80 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 49 .....................case.XFUNCI
9fa0 47 4e 4f 52 45 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 GNORE:..........................
9fc0 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 break;.........................i
9fe0 67 6e 6f 72 65 3d 46 61 6c 73 65 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 gnore=False;....................
a000 20 63 61 73 65 20 58 46 55 4e 43 43 4f 4e 54 3a 00 09 09 7b 00 20 20 20 20 20 20 20 20 20 20 20 .case.XFUNCCONT:...{............
a020 20 20 20 20 20 73 77 69 74 63 68 20 28 66 75 6e 63 28 29 29 00 61 64 00 00 0e 00 00 00 16 02 00 .....switch.(func()).ad.........
a040 00 00 10 00 00 7d 00 00 00 ee 0f 00 00 d1 0f 00 00 a4 0f 00 00 85 0f 00 00 84 0f 00 00 69 0f 00 .....}.......................i..
a060 00 30 0f 00 00 fb 0e 00 00 e1 0e 00 00 e0 0e 00 00 c5 0e 00 00 c4 0e 00 00 a1 0e 00 00 60 0e 00 .0...........................`..
a080 00 58 0e 00 00 16 0e 00 00 d9 0d 00 00 9b 0d 00 00 96 0d 00 00 6a 0d 00 00 42 0d 00 00 1b 0d 00 .X...................j...B......
a0a0 00 16 0d 00 00 0e 0d 00 00 f3 0c 00 00 f2 0c 00 00 d0 0c 00 00 8b 0c 00 00 83 0c 00 00 55 0c 00 .............................U..
a0c0 00 16 0c 00 00 e5 0b 00 00 a6 0b 00 00 5b 0b 00 00 56 0b 00 00 2a 0b 00 00 02 0b 00 00 db 0a 00 .............[...V...*..........
a0e0 00 d6 0a 00 00 ce 0a 00 00 b3 0a 00 00 b2 0a 00 00 8e 0a 00 00 49 0a 00 00 41 0a 00 00 13 0a 00 .....................I...A......
a100 00 d4 09 00 00 a1 09 00 00 62 09 00 00 17 09 00 00 12 09 00 00 e6 08 00 00 be 08 00 00 97 08 00 .........b......................
a120 00 92 08 00 00 8a 08 00 00 6f 08 00 00 6e 08 00 00 4f 08 00 00 13 08 00 00 0b 08 00 00 cd 07 00 .........o...n...O..............
a140 00 9a 07 00 00 66 07 00 00 61 07 00 00 35 07 00 00 0d 07 00 00 e6 06 00 00 e1 06 00 00 d9 06 00 .....f...a...5..................
a160 00 be 06 00 00 bd 06 00 00 9c 06 00 00 60 06 00 00 58 06 00 00 1a 06 00 00 e3 05 00 00 ad 05 00 .............`...X..............
a180 00 a8 05 00 00 7c 05 00 00 54 05 00 00 2d 05 00 00 28 05 00 00 20 05 00 00 05 05 00 00 04 05 00 .....|...T...-...(..............
a1a0 00 eb 04 00 00 d0 04 00 00 be 04 00 00 b0 04 00 00 a3 04 00 00 8a 04 00 00 83 04 00 00 60 04 00 .............................`..
a1c0 00 5c 04 00 00 38 04 00 00 12 04 00 00 f3 03 00 00 f2 03 00 00 ce 03 00 00 ae 03 00 00 8f 03 00 .\...8..........................
a1e0 00 8b 03 00 00 84 03 00 00 82 03 00 00 81 03 00 00 80 03 00 00 6a 03 00 00 26 03 00 00 24 03 00 .....................j...&...$..
a200 00 01 03 00 00 f1 02 00 00 dd 02 00 00 c1 02 00 00 aa 02 00 00 9f 02 00 00 9e 02 00 00 7a 02 00 .............................z..
a220 00 74 02 00 00 45 02 00 00 35 02 00 00 2f 02 00 00 2e 02 00 00 17 02 00 00 16 02 00 00 15 02 00 .t...E...5.../..................
a240 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 72 65 61 64 28 66 64 2c 6d 61 67 69 63 2c 31 31 ................read(fd,magic,11
a260 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 );......}.........return;.......
a280 20 20 57 41 52 4e 31 28 22 43 6f 75 6c 64 6e 27 74 20 6f 70 65 6e 20 73 70 72 69 74 65 20 66 69 ..WARN1("Couldn't.open.sprite.fi
a2a0 6c 65 22 2c 66 6e 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 66 64 3d 6f 70 65 6e 28 le",fn);.....{.....if.((fd=open(
a2c0 66 6e 2c 4f 5f 52 44 4f 4e 4c 59 29 29 3d 3d 2d 31 29 00 00 20 20 20 20 47 43 20 67 63 3b 00 20 fn,O_RDONLY))==-1)......GC.gc;..
a2e0 20 20 20 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 20 75 73 3b 00 20 20 20 20 75 6e 73 69 67 6e ...unsigned.short.us;.....unsign
a300 65 64 20 63 68 61 72 20 2a 64 61 74 61 2c 2a 70 3b 00 20 20 20 20 63 68 61 72 20 6d 61 67 69 63 ed.char.*data,*p;.....char.magic
a320 5b 31 31 5d 3b 00 20 20 20 20 69 6e 74 20 66 64 2c 78 2c 79 3b 00 20 20 20 20 50 69 78 6d 61 70 [11];.....int.fd,x,y;.....Pixmap
a340 20 70 69 78 69 6d 67 2c 70 69 78 6d 61 73 6b 2c 70 69 78 73 61 76 65 3b 00 7b 00 76 6f 69 64 20 .piximg,pixmask,pixsave;.{.void.
a360 4c 6f 61 64 53 70 72 69 74 65 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 66 6e 2c 20 58 53 70 72 69 LoadSprite(const.char.*fn,.XSpri
a380 74 65 20 2a 73 70 72 2c 20 63 6f 6e 73 74 20 58 43 6f 6c 6f 72 20 78 63 5b 32 35 36 5d 29 00 2f te.*spr,.const.XColor.xc[256])./
a3a0 2a 20 53 70 72 69 74 65 20 72 6f 75 74 69 6e 65 73 20 2a 2f 00 00 00 7d 00 09 20 20 20 20 7d 00 *.Sprite.routines.*/...}......}.
a3c0 09 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 ..}.........................brea
a3e0 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 k;.........................retur
a400 6e 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e n;.....................case.XFUN
a420 43 53 54 4f 50 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 CSTOP:..........................
a440 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 break;.....................case.
a460 58 46 55 4e 43 49 47 4e 4f 52 45 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 XFUNCIGNORE:....................
a480 20 63 61 73 65 20 58 46 55 4e 43 43 4f 4e 54 3a 00 09 09 7b 00 20 20 20 20 20 20 20 20 20 20 20 .case.XFUNCCONT:...{............
a4a0 20 20 20 20 20 73 77 69 74 63 68 20 28 70 72 6f 63 65 73 73 28 29 29 00 09 20 20 20 20 7b 00 20 .....switch.(process())......{..
a4c0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 72 6f 63 65 73 73 29 00 20 20 20 20 20 20 20 20 ...........if.(process).........
a4e0 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 else.............}..............
a500 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 ...}.....................break;.
a520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 00 00 20 20 20 20 20 20 ................default:........
a540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 7d 00 09 09 09 ..............break;.......}....
a560 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 }...............................
a580 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..break;........................
a5a0 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........return;................
a5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 53 54 4f 50 3a 00 09 09 09 .............case.XFUNCSTOP:....
a5e0 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 {...............................
a600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 26 65 76 65 6e 74 29 29 00 20 20 20 20 20 20 20 20 ...............&event)).........
a620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
a640 20 20 20 20 20 58 52 45 4c 45 41 53 45 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....XRELEASE,..................
a660 20 20 20 20 20 20 20 73 77 69 74 63 68 28 6b 65 79 5b 69 5d 2e 66 75 6e 63 28 65 76 65 6e 74 2e .......switch(key[i].func(event.
a680 78 6b 65 79 2e 77 69 6e 64 6f 77 2c 00 09 09 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 xkey.window,.......{............
a6a0 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 4b 65 79 57 69 6e 28 65 76 65 6e 74 2e 78 6b 65 79 .........if.(IsKeyWin(event.xkey
a6c0 2e 77 69 6e 64 6f 77 2c 6b 65 79 2c 26 69 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .window,key,&i))................
a6e0 20 63 61 73 65 20 4b 65 79 52 65 6c 65 61 73 65 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 .case.KeyRelease:...............
a700 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 7d 00 09 09 09 7d 00 20 20 20 20 20 .......break;.......}....}......
a720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b ...........................break
a740 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;...............................
a760 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..return;.......................
a780 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e 43 53 54 4f 50 3a 00 09 09 09 7b 00 20 20 20 20 20 ......case.XFUNCSTOP:....{......
a7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
a7c0 20 20 20 20 20 20 26 65 76 65 6e 74 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......&event))..................
a7e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 50 52 45 53 53 ..........................XPRESS
a800 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 ,.........................switch
a820 28 6b 65 79 5b 69 5d 2e 66 75 6e 63 28 65 76 65 6e 74 2e 78 6b 65 79 2e 77 69 6e 64 6f 77 2c 00 (key[i].func(event.xkey.window,.
a840 09 09 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 ......{.....................if.(
a860 49 73 4b 65 79 57 69 6e 28 65 76 65 6e 74 2e 78 6b 65 79 2e 77 69 6e 64 6f 77 2c 6b 65 79 2c 26 IsKeyWin(event.xkey.window,key,&
a880 69 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4b 65 79 50 72 65 73 i)).................case.KeyPres
a8a0 73 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 09 s:......................break;..
a8c0 09 20 20 20 20 7d 00 09 09 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .....}....}.....................
a8e0 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 ............break;..............
a900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 ...................return;......
a920 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 58 46 55 4e .......................case.XFUN
a940 43 53 54 4f 50 3a 00 09 09 09 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 CSTOP:....{.....................
a960 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 78 62 75 74 74 .....................event.xbutt
a980 6f 6e 2e 78 2c 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 79 29 29 00 20 20 20 20 20 20 20 20 20 on.x,event.xbutton.y))..........
a9a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
a9c0 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 62 75 74 74 6f 6e 2c 00 20 20 20 20 20 20 20 20 20 20 event.xbutton.button,...........
a9e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 ...............................X
aa00 52 45 4c 45 41 53 45 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 RELEASE,........................
aa20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e .................(event.xbutton.
aa40 77 69 6e 64 6f 77 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 window,.........................
aa60 73 77 69 74 63 68 28 62 75 74 74 6f 6e 5b 69 5d 2e 66 75 6e 63 00 09 09 20 20 20 20 7b 00 20 20 switch(button[i].func.......{...
aa80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 42 75 74 74 6f 6e 57 69 ..................if.(IsButtonWi
aaa0 6e 28 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 77 69 6e 64 6f 77 2c 62 75 74 74 6f 6e 2c 26 69 n(event.xbutton.window,button,&i
aac0 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 42 75 74 74 6f 6e 52 65 )).................case.ButtonRe
aae0 6c 65 61 73 65 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 lease:......................brea
ab00 6b 3b 00 09 09 20 20 20 20 7d 00 09 09 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 k;.......}....}.................
ab20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 ................break;..........
ab40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 .......................return;..
ab60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 ...........................case.
ab80 58 46 55 4e 43 53 54 4f 50 3a 00 09 09 09 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 XFUNCSTOP:....{.................
aba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 78 .........................event.x
abc0 62 75 74 74 6f 6e 2e 78 2c 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 79 29 29 00 20 20 20 20 20 button.x,event.xbutton.y))......
abe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
ac00 20 20 20 20 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 62 75 74 74 6f 6e 2c 00 20 20 20 20 20 20 ....event.xbutton.button,.......
ac20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
ac40 20 20 20 58 50 52 45 53 53 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...XPRESS,......................
ac60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 76 65 6e 74 2e 78 62 75 74 74 6f ...................(event.xbutto
ac80 6e 2e 77 69 6e 64 6f 77 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 n.window,.......................
aca0 20 20 73 77 69 74 63 68 28 62 75 74 74 6f 6e 5b 69 5d 2e 66 75 6e 63 00 09 09 20 20 20 20 7b 00 ..switch(button[i].func.......{.
acc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 42 75 74 74 6f 6e ....................if.(IsButton
ace0 57 69 6e 28 65 76 65 6e 74 2e 78 62 75 74 74 6f 6e 2e 77 69 6e 64 6f 77 2c 62 75 74 74 6f 6e 2c Win(event.xbutton.window,button,
ad00 26 69 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 42 75 74 74 6f 6e &i)).................case.Button
ad20 50 72 65 73 73 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 Press:......................brea
ad40 6b 3b 00 09 09 20 20 20 20 7d 00 09 09 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 k;.......}....}.................
ad60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 20 20 ................break;..........
ad80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 .......................return;..
ada0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 ...........................case.
adc0 58 46 55 4e 43 53 54 4f 50 3a 00 09 09 09 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 XFUNCSTOP:....{.................
ade0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e ............................even
ae00 74 2e 78 6d 6f 74 69 6f 6e 2e 79 29 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.xmotion.y))...................
ae20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e ..........................event.
ae40 78 6d 6f 74 69 6f 6e 2e 78 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 xmotion.x,......................
ae60 20 20 20 73 77 69 74 63 68 28 6d 6f 76 65 5b 69 5d 2e 66 75 6e 63 28 65 76 65 6e 74 2e 78 6d 6f ...switch(move[i].func(event.xmo
ae80 74 69 6f 6e 2e 77 69 6e 64 6f 77 2c 00 09 09 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 tion.window,.......{............
aea0 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 4d 6f 76 65 57 69 6e 28 65 76 65 6e 74 2e 78 6d 6f .........if.(IsMoveWin(event.xmo
aec0 74 69 6f 6e 2e 77 69 6e 64 6f 77 2c 6d 6f 76 65 2c 26 69 29 29 00 20 20 20 20 20 20 20 20 20 20 tion.window,move,&i))...........
aee0 20 20 20 20 20 20 63 61 73 65 20 4d 6f 74 69 6f 6e 4e 6f 74 69 66 79 3a 00 00 20 20 20 20 20 20 ......case.MotionNotify:........
af00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 00 20 20 20 20 20 20 20 20 20 20 ..............break;............
af20 20 20 20 20 20 20 20 20 20 20 50 4f 50 57 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..........POPW;.................
af40 20 20 20 20 52 65 64 72 61 77 28 63 75 72 72 65 6e 74 2d 3e 6f 78 2c 63 75 72 72 65 6e 74 2d 3e ....Redraw(current->ox,current->
af60 6f 79 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 43 75 72 72 oy);.....................SetCurr
af80 65 6e 74 57 69 6e 28 65 76 65 6e 74 2e 78 65 78 70 6f 73 65 2e 77 69 6e 64 6f 77 29 3b 00 20 20 entWin(event.xexpose.window);...
afa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 55 53 48 57 3b 00 00 20 20 20 20 20 20 ..................PUSHW;........
afc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 00 20 20 20 20 20 20 20 ..................break;........
afe0 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 78 65 78 70 6f 73 65 2e 63 .............if.(event.xexpose.c
b000 6f 75 6e 74 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 45 78 70 6f 73 ount).................case.Expos
b020 65 3a 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 00 61 64 00 00 2a 00 00 00 52 02 00 e:.................{.ad..*...R..
b040 00 00 10 00 00 85 00 00 00 d8 0f 00 00 d2 0f 00 00 a7 0f 00 00 94 0f 00 00 84 0f 00 00 7e 0f 00 .............................~..
b060 00 7d 0f 00 00 68 0f 00 00 67 0f 00 00 3e 0f 00 00 28 0f 00 00 ff 0e 00 00 e9 0e 00 00 e8 0e 00 .}...h...g...>...(..............
b080 00 c1 0e 00 00 bb 0e 00 00 84 0e 00 00 71 0e 00 00 61 0e 00 00 5b 0e 00 00 5a 0e 00 00 26 0e 00 .............q...a...[...Z...&..
b0a0 00 20 0e 00 00 f4 0d 00 00 e1 0d 00 00 d4 0d 00 00 c4 0d 00 00 be 0d 00 00 bd 0d 00 00 ae 0d 00 ................................
b0c0 00 ad 0d 00 00 80 0d 00 00 7f 0d 00 00 56 0d 00 00 29 0d 00 00 28 0d 00 00 e0 0c 00 00 97 0c 00 .............V...)...(..........
b0e0 00 4e 0c 00 00 4d 0c 00 00 41 0c 00 00 40 0c 00 00 26 0c 00 00 20 0c 00 00 02 0c 00 00 ff 0b 00 .N...M...A...@...&..............
b100 00 d1 0b 00 00 a9 0b 00 00 a8 0b 00 00 94 0b 00 00 5f 0b 00 00 4e 0b 00 00 19 0b 00 00 18 0b 00 ................._...N..........
b120 00 ef 0a 00 00 ee 0a 00 00 e4 0a 00 00 e1 0a 00 00 db 0a 00 00 da 0a 00 00 c4 0a 00 00 ad 0a 00 ................................
b140 00 96 0a 00 00 95 0a 00 00 85 0a 00 00 83 0a 00 00 82 0a 00 00 80 0a 00 00 43 0a 00 00 41 0a 00 .........................C...A..
b160 00 36 0a 00 00 35 0a 00 00 25 0a 00 00 24 0a 00 00 09 0a 00 00 ef 09 00 00 ce 09 00 00 bc 09 00 .6...5...%...$..................
b180 00 96 09 00 00 70 09 00 00 31 09 00 00 ff 08 00 00 b1 08 00 00 9f 08 00 00 8e 08 00 00 7c 08 00 .....p...1...................|..
b1a0 00 56 08 00 00 30 08 00 00 f3 07 00 00 c1 07 00 00 73 07 00 00 61 07 00 00 60 07 00 00 51 07 00 .V...0...........s...a...`...Q..
b1c0 00 3b 07 00 00 1e 07 00 00 d6 06 00 00 be 06 00 00 70 06 00 00 63 06 00 00 1d 06 00 00 05 06 00 .;...............p...c..........
b1e0 00 b7 05 00 00 b6 05 00 00 a8 05 00 00 92 05 00 00 75 05 00 00 2d 05 00 00 15 05 00 00 c7 04 00 .................u...-..........
b200 00 ba 04 00 00 74 04 00 00 5c 04 00 00 0e 04 00 00 0d 04 00 00 ee 03 00 00 ec 03 00 00 eb 03 00 .....t...\......................
b220 00 e9 03 00 00 bf 03 00 00 bd 03 00 00 b2 03 00 00 b1 03 00 00 a1 03 00 00 a0 03 00 00 8a 03 00 ................................
b240 00 6d 03 00 00 25 03 00 00 0d 03 00 00 bd 02 00 00 b0 02 00 00 6a 02 00 00 52 02 00 00 51 02 00 .m...%...............j...R...Q..
b260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
b280 00 00 00 00 00 00 00 09 20 20 20 20 09 09 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 00 20 ..............current->gc,0,0,..
b2a0 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 73 70 72 ...........XCopyArea(display,spr
b2c0 5b 66 5d 2d 3e 73 61 76 65 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 [f]->save,current->pm[current->p
b2e0 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 mi],.........else...............
b300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 77 2c ......................spr[f]->w,
b320 73 70 72 5b 66 5d 2d 3e 68 2c 73 70 72 5b 66 5d 2d 3e 6c 78 2c 73 70 72 5b 66 5d 2d 3e 6c 79 29 spr[f]->h,spr[f]->lx,spr[f]->ly)
b340 3b 00 09 20 20 20 20 09 09 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 00 20 20 20 20 20 20 ;........current->gc,0,0,.......
b360 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 73 70 72 5b 66 5d 2d 3e ......XCopyArea(display,spr[f]->
b380 73 61 76 65 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5e 31 5d save,current->pm[current->pmi^1]
b3a0 2c 00 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 20 ,.........if.(current->buffer)..
b3c0 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 2b 2b 29 00 00 20 20 20 20 57 4d 28 47 58 63 ...for(f=0;f<no;f++)......WM(GXc
b3e0 6f 70 79 29 3b 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 76 6f 69 64 20 58 45 72 61 73 65 53 opy);......int.f;.{.void.XEraseS
b400 70 72 69 74 65 73 28 58 53 70 72 69 74 65 20 2a 73 70 72 5b 5d 2c 69 6e 74 20 6e 6f 29 00 20 00 prites(XSprite.*spr[],int.no)...
b420 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 29 .}.....WM(current->lastuserfunc)
b440 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;...............................
b460 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 73 70 72 5b 66 .......spr[f]->w,spr[f]->h,spr[f
b480 5d 2d 3e 78 2c 73 70 72 5b 66 5d 2d 3e 79 29 3b 00 09 20 20 20 20 09 09 63 75 72 72 65 6e 74 2d ]->x,spr[f]->y);........current-
b4a0 3e 67 63 2c 30 2c 30 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 >gc,0,0,.............XCopyArea(d
b4c0 69 73 70 6c 61 79 2c 73 70 72 5b 66 5d 2d 3e 64 61 74 61 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b isplay,spr[f]->data,current->pm[
b4e0 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 current->pmi],.........else.....
b500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
b520 73 70 72 5b 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 73 70 72 5b 66 5d 2d 3e 78 2c 73 70 spr[f]->w,spr[f]->h,spr[f]->x,sp
b540 72 5b 66 5d 2d 3e 79 29 3b 00 09 20 20 20 20 09 09 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 r[f]->y);........current->gc,0,0
b560 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c ,.............XCopyArea(display,
b580 73 70 72 5b 66 5d 2d 3e 64 61 74 61 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 spr[f]->data,current->pm[current
b5a0 2d 3e 70 6d 69 5e 31 5d 2c 00 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 ->pmi^1],.........if.(current->b
b5c0 75 66 66 65 72 29 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 2b 2b 29 00 20 20 20 uffer).....for(f=0;f<no;f++)....
b5e0 20 57 4d 28 47 58 6f 72 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .WM(GXor);......................
b600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d ................spr[f]->w,spr[f]
b620 2d 3e 68 2c 73 70 72 5b 66 5d 2d 3e 78 2c 73 70 72 5b 66 5d 2d 3e 79 29 3b 00 09 20 20 20 20 09 ->h,spr[f]->x,spr[f]->y);.......
b640 09 63 75 72 72 65 6e 74 2d 3e 67 63 2c 30 2c 30 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 58 43 .current->gc,0,0,.............XC
b660 6f 70 79 41 72 65 61 28 64 69 73 70 6c 61 79 2c 73 70 72 5b 66 5d 2d 3e 6d 61 73 6b 2c 63 75 72 opyArea(display,spr[f]->mask,cur
b680 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 rent->pm[current->pmi],.........
b6a0 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 else............................
b6c0 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 73 70 72 .........spr[f]->w,spr[f]->h,spr
b6e0 5b 66 5d 2d 3e 78 2c 73 70 72 5b 66 5d 2d 3e 79 29 3b 00 09 20 20 20 20 09 09 63 75 72 72 65 6e [f]->x,spr[f]->y);........curren
b700 74 2d 3e 67 63 2c 30 2c 30 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 t->gc,0,0,.............XCopyArea
b720 28 64 69 73 70 6c 61 79 2c 73 70 72 5b 66 5d 2d 3e 6d 61 73 6b 2c 63 75 72 72 65 6e 74 2d 3e 70 (display,spr[f]->mask,current->p
b740 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 5e 31 5d 2c 00 20 20 20 20 20 20 20 20 69 66 20 28 63 m[current->pmi^1],.........if.(c
b760 75 72 72 65 6e 74 2d 3e 62 75 66 66 65 72 29 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f urrent->buffer).....for(f=0;f<no
b780 3b 66 2b 2b 29 00 20 20 20 20 57 4d 28 47 58 61 6e 64 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 ;f++).....WM(GXand);............
b7a0 20 20 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......}.........................
b7c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b ............................spr[
b7e0 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 30 2c 30 29 3b 00 09 09 09 09 73 70 72 5b 66 5d f]->w,spr[f]->h,0,0);.....spr[f]
b800 2d 3e 73 61 76 65 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 73 70 72 5b 66 5d 2d 3e 78 2c 73 70 72 ->save,current->gc,spr[f]->x,spr
b820 5b 66 5d 2d 3e 79 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 [f]->y,.................XCopyAre
b840 61 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 a(display,current->pm[current->p
b860 6d 69 5d 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 6c 79 3d mi],.................spr[f]->ly=
b880 73 70 72 5b 66 5d 2d 3e 79 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 spr[f]->y;.................spr[f
b8a0 5d 2d 3e 6c 78 3d 73 70 72 5b 66 5d 2d 3e 78 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ]->lx=spr[f]->x;................
b8c0 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 .{.............else.............
b8e0 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ....}...........................
b900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d ..........................spr[f]
b920 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 30 2c 30 29 3b 00 09 09 09 09 73 70 72 5b 66 5d 2d 3e ->w,spr[f]->h,0,0);.....spr[f]->
b940 73 61 76 65 2c 63 75 72 72 65 6e 74 2d 3e 67 63 2c 73 70 72 5b 66 5d 2d 3e 78 2c 73 70 72 5b 66 save,current->gc,spr[f]->x,spr[f
b960 5d 2d 3e 79 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 70 79 41 72 65 61 28 ]->y,.................XCopyArea(
b980 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 70 6d 5b 63 75 72 72 65 6e 74 2d 3e 70 6d 69 display,current->pm[current->pmi
b9a0 5e 31 5d 2c 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 6c 79 3d ^1],.................spr[f]->ly=
b9c0 73 70 72 5b 66 5d 2d 3e 79 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 spr[f]->y;.................spr[f
b9e0 5d 2d 3e 6c 78 3d 73 70 72 5b 66 5d 2d 3e 78 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ]->lx=spr[f]->x;................
ba00 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 62 75 66 66 .{.............if.(current->buff
ba20 65 72 29 00 20 20 20 20 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 2b 2b 29 00 20 20 er).........for(f=0;f<no;f++)...
ba40 20 20 69 66 20 28 21 28 63 74 6c 26 58 53 50 52 4e 4f 53 41 56 45 29 29 00 00 20 20 20 20 57 4d ..if.(!(ctl&XSPRNOSAVE))......WM
ba60 28 47 58 63 6f 70 79 29 3b 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 76 6f 69 64 20 58 44 72 (GXcopy);......int.f;.{.void.XDr
ba80 61 77 53 70 72 69 74 65 73 28 58 53 70 72 69 74 65 20 2a 73 70 72 5b 5d 2c 69 6e 74 20 6e 6f 2c awSprites(XSprite.*spr[],int.no,
baa0 20 58 53 70 72 69 74 65 43 6f 6e 74 72 6f 6c 20 63 74 6c 29 00 20 00 00 7d 00 20 20 20 20 66 72 .XSpriteControl.ctl)....}.....fr
bac0 65 65 28 64 61 74 61 29 3b 00 00 20 20 20 20 73 70 72 2d 3e 73 61 76 65 3d 70 69 78 73 61 76 65 ee(data);......spr->save=pixsave
bae0 3b 00 20 20 20 20 73 70 72 2d 3e 6d 61 73 6b 3d 70 69 78 6d 61 73 6b 3b 00 20 20 20 20 73 70 72 ;.....spr->mask=pixmask;.....spr
bb00 2d 3e 64 61 74 61 3d 70 69 78 69 6d 67 3b 00 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 70 2b ->data=piximg;......}..}......p+
bb20 2b 3b 00 00 09 20 20 20 20 58 44 72 61 77 50 6f 69 6e 74 28 64 69 73 70 6c 61 79 2c 70 69 78 6d +;.......XDrawPoint(display,pixm
bb40 61 73 6b 2c 67 63 2c 78 2c 79 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 58 53 ask,gc,x,y);..................XS
bb60 65 74 46 6f 72 65 67 72 6f 75 6e 64 28 64 69 73 70 6c 61 79 2c 67 63 2c 78 62 5f 62 6c 61 63 6b etForeground(display,gc,xb_black
bb80 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 );.............else.............
bba0 20 20 20 20 58 53 65 74 46 6f 72 65 67 72 6f 75 6e 64 28 64 69 73 70 6c 61 79 2c 67 63 2c 78 62 ....XSetForeground(display,gc,xb
bbc0 5f 77 68 69 74 65 29 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 2a 70 29 00 00 09 20 _white);.............if.(*p)....
bbe0 20 20 20 58 44 72 61 77 50 6f 69 6e 74 28 64 69 73 70 6c 61 79 2c 70 69 78 69 6d 67 2c 67 63 2c ...XDrawPoint(display,piximg,gc,
bc00 78 2c 79 29 3b 00 09 20 20 20 20 58 53 65 74 46 6f 72 65 67 72 6f 75 6e 64 28 64 69 73 70 6c 61 x,y);......XSetForeground(displa
bc20 79 2c 67 63 2c 78 63 5b 2a 70 5d 2e 70 69 78 65 6c 29 3b 00 09 7b 00 20 20 20 20 20 20 20 20 66 y,gc,xc[*p].pixel);..{.........f
bc40 6f 72 28 78 3d 30 3b 78 3c 73 70 72 2d 3e 77 3b 78 2b 2b 29 00 20 20 20 20 7b 00 20 20 20 20 66 or(x=0;x<spr->w;x++).....{.....f
bc60 6f 72 28 79 3d 30 3b 79 3c 73 70 72 2d 3e 68 3b 79 2b 2b 29 00 00 20 20 20 20 70 3d 64 61 74 61 or(y=0;y<spr->h;y++)......p=data
bc80 3b 00 00 20 20 20 20 70 69 78 73 61 76 65 3d 58 43 72 65 61 74 65 50 69 78 6d 61 70 28 64 69 73 ;......pixsave=XCreatePixmap(dis
bca0 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 73 70 72 2d 3e 77 2c 73 70 72 2d 3e 68 2c 76 69 play,current->w,spr->w,spr->h,vi
bcc0 6e 66 6f 2e 64 65 70 74 68 29 3b 00 20 20 20 20 70 69 78 6d 61 73 6b 3d 58 43 72 65 61 74 65 50 nfo.depth);.....pixmask=XCreateP
bce0 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 73 70 72 2d 3e 77 2c ixmap(display,current->w,spr->w,
bd00 73 70 72 2d 3e 68 2c 76 69 6e 66 6f 2e 64 65 70 74 68 29 3b 00 20 20 20 20 70 69 78 69 6d 67 3d spr->h,vinfo.depth);.....piximg=
bd20 58 43 72 65 61 74 65 50 69 78 6d 61 70 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 XCreatePixmap(display,current->w
bd40 2c 73 70 72 2d 3e 77 2c 73 70 72 2d 3e 68 2c 76 69 6e 66 6f 2e 64 65 70 74 68 29 3b 00 00 20 20 ,spr->w,spr->h,vinfo.depth);....
bd60 20 20 58 53 65 74 47 72 61 70 68 69 63 73 45 78 70 6f 73 75 72 65 73 28 64 69 73 70 6c 61 79 2c ..XSetGraphicsExposures(display,
bd80 67 63 2c 46 61 6c 73 65 29 3b 00 20 20 20 20 58 53 65 74 50 6c 61 6e 65 4d 61 73 6b 28 64 69 73 gc,False);.....XSetPlaneMask(dis
bda0 70 6c 61 79 2c 67 63 2c 41 6c 6c 50 6c 61 6e 65 73 29 3b 00 00 20 20 20 20 67 63 3d 58 43 72 65 play,gc,AllPlanes);......gc=XCre
bdc0 61 74 65 47 43 28 64 69 73 70 6c 61 79 2c 63 75 72 72 65 6e 74 2d 3e 77 2c 30 2c 4e 55 4c 4c 29 ateGC(display,current->w,0,NULL)
bde0 3b 00 00 20 20 20 20 63 6c 6f 73 65 28 66 64 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 ;......close(fd);......}........
be00 20 72 65 74 75 72 6e 3b 00 09 66 72 65 65 28 64 61 74 61 29 3b 00 20 20 20 20 20 20 20 20 63 6c .return;..free(data);.........cl
be20 6f 73 65 28 66 64 29 3b 00 20 20 20 20 20 20 20 20 57 41 52 4e 28 22 43 6f 75 6c 64 6e 27 74 20 ose(fd);.........WARN("Couldn't.
be40 6c 6f 61 64 20 73 70 72 69 74 65 20 69 6d 61 67 65 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 load.sprite.image");.....{.....i
be60 66 20 28 72 65 61 64 28 66 64 2c 64 61 74 61 2c 73 70 72 2d 3e 77 2a 73 70 72 2d 3e 68 29 21 3d f.(read(fd,data,spr->w*spr->h)!=
be80 73 70 72 2d 3e 77 2a 73 70 72 2d 3e 68 29 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 65 spr->w*spr->h)......}.........re
bea0 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 63 6c 6f 73 65 28 66 64 29 3b 00 20 20 20 20 20 20 20 turn;.........close(fd);........
bec0 20 57 41 52 4e 28 22 43 6f 75 6c 64 6e 27 74 20 67 72 61 62 20 6d 65 6d 6f 72 79 20 66 6f 72 20 .WARN("Couldn't.grab.memory.for.
bee0 73 70 72 69 74 65 20 69 6d 61 67 65 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 28 sprite.image");.....{.....if.(!(
bf00 64 61 74 61 3d 6d 61 6c 6c 6f 63 28 73 70 72 2d 3e 77 2a 73 70 72 2d 3e 68 29 29 29 00 00 20 20 data=malloc(spr->w*spr->h)))....
bf20 20 20 73 70 72 2d 3e 68 3d 6e 74 6f 68 73 28 75 73 29 3b 00 20 20 20 20 72 65 61 64 28 66 64 2c ..spr->h=ntohs(us);.....read(fd,
bf40 26 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 29 29 3b 00 20 20 20 &us,sizeof(unsigned.short));....
bf60 20 73 70 72 2d 3e 77 3d 6e 74 6f 68 73 28 75 73 29 3b 00 20 20 20 20 72 65 61 64 28 66 64 2c 26 .spr->w=ntohs(us);.....read(fd,&
bf80 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 29 29 3b 00 00 20 20 20 us,sizeof(unsigned.short));.....
bfa0 20 73 70 72 2d 3e 78 3d 73 70 72 2d 3e 79 3d 30 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 .spr->x=spr->y=0;......}........
bfc0 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 63 6c 6f 73 65 28 66 64 29 3b 00 20 20 20 20 .return;.........close(fd);.....
bfe0 20 20 20 20 57 41 52 4e 31 28 66 6e 2c 22 69 73 20 6e 6f 74 20 61 20 73 70 72 69 74 65 20 66 69 ....WARN1(fn,"is.not.a.sprite.fi
c000 6c 65 21 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 73 74 72 6e 63 6d 70 28 6d 61 67 le!");.....{.....if.(strncmp(mag
c020 69 63 2c 22 58 62 69 74 53 70 72 69 74 65 22 2c 31 30 29 29 00 61 64 00 00 47 00 00 00 1f 03 00 ic,"XbitSprite",10)).ad..G......
c040 00 00 10 00 00 b1 00 00 00 b0 0f 00 00 af 0f 00 00 90 0f 00 00 8e 0f 00 00 8d 0f 00 00 8c 0f 00 ................................
c060 00 5a 0f 00 00 58 0f 00 00 4a 0f 00 00 33 0f 00 00 32 0f 00 00 0e 0f 00 00 08 0f 00 00 e0 0e 00 .Z...X...J...3...2..............
c080 00 d0 0e 00 00 ca 0e 00 00 c9 0e 00 00 b2 0e 00 00 ac 0e 00 00 95 0e 00 00 6b 0e 00 00 3e 0e 00 .........................k...>..
c0a0 00 21 0e 00 00 f4 0d 00 00 d5 0d 00 00 a8 0d 00 00 8a 0d 00 00 84 0d 00 00 82 0d 00 00 81 0d 00 .!..............................
c0c0 00 80 0d 00 00 48 0d 00 00 46 0d 00 00 37 0d 00 00 28 0d 00 00 27 0d 00 00 11 0d 00 00 0b 0d 00 .....H...F...7...(...'..........
c0e0 00 bd 0c 00 00 ba 0c 00 00 70 0c 00 00 4f 0c 00 00 3e 0c 00 00 37 0c 00 00 03 0c 00 00 02 0c 00 .........p...O...>...7..........
c100 00 f9 0b 00 00 f8 0b 00 00 e2 0b 00 00 cf 0b 00 00 ce 0b 00 00 b7 0b 00 00 a3 0b 00 00 a2 0b 00 ................................
c120 00 8a 0b 00 00 75 0b 00 00 74 0b 00 00 5e 0b 00 00 5a 0b 00 00 37 0b 00 00 0e 0b 00 00 0a 0b 00 .....u...t...^...Z...7..........
c140 00 03 0b 00 00 ff 0a 00 00 dc 0a 00 00 b3 0a 00 00 af 0a 00 00 a8 0a 00 00 a5 0a 00 00 98 0a 00 ................................
c160 00 95 0a 00 00 6a 0a 00 00 3b 0a 00 00 38 0a 00 00 32 0a 00 00 30 0a 00 00 2f 0a 00 00 2e 0a 00 .....j...;...8...2...0.../......
c180 00 f1 09 00 00 ef 09 00 00 e4 09 00 00 d5 09 00 00 d4 09 00 00 be 09 00 00 b8 09 00 00 9f 09 00 ................................
c1a0 00 84 09 00 00 6a 09 00 00 43 09 00 00 42 09 00 00 fc 08 00 00 df 08 00 00 d2 08 00 00 cf 08 00 .....j...C...B..................
c1c0 00 9e 08 00 00 9d 08 00 00 6b 08 00 00 64 08 00 00 45 08 00 00 20 08 00 00 19 08 00 00 0f 08 00 .........k...d...E..............
c1e0 00 08 08 00 00 e9 07 00 00 c4 07 00 00 bd 07 00 00 ba 07 00 00 b4 07 00 00 b2 07 00 00 b1 07 00 ................................
c200 00 b0 07 00 00 84 07 00 00 6c 07 00 00 55 07 00 00 53 07 00 00 43 07 00 00 2f 07 00 00 19 07 00 .........l...U...S...C.../......
c220 00 04 07 00 00 ef 06 00 00 e3 06 00 00 d0 06 00 00 b9 06 00 00 a1 06 00 00 a0 06 00 00 9f 06 00 ................................
c240 00 7e 06 00 00 77 06 00 00 60 06 00 00 53 06 00 00 52 06 00 00 25 06 00 00 1e 06 00 00 14 06 00 .~...w...`...S...R...%..........
c260 00 ff 05 00 00 f8 05 00 00 f7 05 00 00 de 05 00 00 d7 05 00 00 b8 05 00 00 b7 05 00 00 a4 05 00 ................................
c280 00 90 05 00 00 8f 05 00 00 5e 05 00 00 57 05 00 00 30 05 00 00 2f 05 00 00 19 05 00 00 13 05 00 .........^...W...0.../..........
c2a0 00 ec 04 00 00 e9 04 00 00 b7 04 00 00 a9 04 00 00 9c 04 00 00 99 04 00 00 98 04 00 00 84 04 00 ................................
c2c0 00 83 04 00 00 5e 04 00 00 5b 04 00 00 2d 04 00 00 1f 04 00 00 12 04 00 00 0f 04 00 00 0e 04 00 .....^...[...-..................
c2e0 00 e8 03 00 00 d3 03 00 00 ad 03 00 00 98 03 00 00 97 03 00 00 68 03 00 00 65 03 00 00 31 03 00 .....................h...e...1..
c300 00 23 03 00 00 20 03 00 00 1f 03 00 00 1e 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .#..............................
c320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 7d 00 09 20 20 20 20 65 78 69 ......................}......exi
c360 74 28 31 29 3b 00 09 20 20 20 20 57 41 52 4e 28 22 43 6f 75 6c 64 6e 27 74 20 67 72 61 62 20 6d t(1);......WARN("Couldn't.grab.m
c380 65 6d 6f 72 79 20 66 6f 72 20 73 70 72 69 74 65 20 69 6d 61 67 65 22 29 3b 00 09 7b 00 09 69 66 emory.for.sprite.image");..{..if
c3a0 20 28 21 28 73 70 72 5b 66 5d 2e 64 61 74 61 3d 6d 61 6c 6c 6f 63 28 73 70 72 5b 66 5d 2e 77 2a .(!(spr[f].data=malloc(spr[f].w*
c3c0 73 70 72 5b 66 5d 2e 68 29 29 29 00 00 09 73 70 72 5b 66 5d 2e 68 3d 6e 74 6f 68 73 28 75 73 29 spr[f].h)))...spr[f].h=ntohs(us)
c3e0 3b 00 09 72 65 61 64 28 66 64 2c 26 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 ;..read(fd,&us,sizeof(unsigned.s
c400 68 6f 72 74 29 29 3b 00 09 73 70 72 5b 66 5d 2e 77 3d 6e 74 6f 68 73 28 75 73 29 3b 00 09 72 65 hort));..spr[f].w=ntohs(us);..re
c420 61 64 28 66 64 2c 26 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 29 ad(fd,&us,sizeof(unsigned.short)
c440 29 3b 00 00 09 7d 00 09 20 20 20 20 72 65 74 75 72 6e 3b 00 09 20 20 20 20 65 78 69 74 28 31 29 );...}......return;......exit(1)
c460 3b 00 09 20 20 20 20 57 41 52 4e 31 28 73 70 72 66 6e 5b 66 5d 2c 22 69 73 20 6e 6f 74 20 61 20 ;......WARN1(sprfn[f],"is.not.a.
c480 73 70 72 69 74 65 20 66 69 6c 65 21 22 29 3b 00 09 7b 00 09 69 66 20 28 73 74 72 6e 63 6d 70 28 sprite.file!");..{..if.(strncmp(
c4a0 6d 61 67 69 63 2c 22 58 62 69 74 53 70 72 69 74 65 22 2c 31 30 29 29 00 00 09 72 65 61 64 28 66 magic,"XbitSprite",10))...read(f
c4c0 64 2c 6d 61 67 69 63 2c 31 31 29 3b 00 00 09 7d 00 09 20 20 20 20 72 65 74 75 72 6e 3b 00 09 20 d,magic,11);...}......return;...
c4e0 20 20 20 65 78 69 74 28 31 29 3b 00 09 20 20 20 20 57 41 52 4e 31 28 22 43 6f 75 6c 64 6e 27 74 ...exit(1);......WARN1("Couldn't
c500 20 6f 70 65 6e 20 73 70 72 69 74 65 20 66 69 6c 65 22 2c 73 70 72 66 6e 5b 66 5d 29 3b 00 09 7b .open.sprite.file",sprfn[f]);..{
c520 00 09 69 66 20 28 28 66 64 3d 6f 70 65 6e 28 73 70 72 66 6e 5b 66 5d 2c 4f 5f 52 44 4f 4e 4c 59 ..if.((fd=open(sprfn[f],O_RDONLY
c540 29 29 3d 3d 2d 31 29 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 ))==-1).....{.....for(f=0;f<no;f
c560 2b 2b 29 00 00 20 20 20 20 73 70 72 3d 6d 61 6c 6c 6f 63 28 73 69 7a 65 6f 66 28 53 70 72 69 74 ++)......spr=malloc(sizeof(Sprit
c580 65 44 61 74 61 29 2a 6e 6f 29 3b 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 4c 6f 61 64 20 69 eData)*no);.....*/...../*.Load.i
c5a0 6e 20 73 70 72 69 74 65 73 20 61 6e 64 20 73 6f 72 74 20 6f 75 74 20 63 6f 6c 6f 75 72 20 75 73 n.sprites.and.sort.out.colour.us
c5c0 61 67 65 00 00 20 20 20 20 73 65 74 2d 3e 6e 6f 5f 73 70 72 3d 6e 6f 3b 00 20 20 20 20 73 65 74 age......set->no_spr=no;.....set
c5e0 2d 3e 6e 6f 5f 63 6f 6c 3d 30 3b 00 00 20 20 20 20 4c 6f 61 64 43 6f 6c 6f 72 6d 61 70 28 63 6d ->no_col=0;......LoadColormap(cm
c600 61 70 66 6e 2c 78 63 6f 6c 29 3b 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 4c 6f 61 64 20 69 apfn,xcol);.....*/...../*.Load.i
c620 6e 20 63 6f 6c 6f 75 72 6d 61 70 00 00 09 6e 6f 2b 2b 3b 00 20 20 20 20 77 68 69 6c 65 28 73 70 n.colourmap...no++;.....while(sp
c640 72 66 6e 5b 6e 6f 5d 29 00 20 20 20 20 6e 6f 3d 30 3b 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a rfn[no]).....no=0;.....*/...../*
c660 20 43 6f 75 6e 74 20 61 6e 64 20 61 6c 6c 6f 63 61 74 65 20 72 65 66 65 72 65 6e 63 65 64 20 73 .Count.and.allocate.referenced.s
c680 70 72 69 74 65 73 00 00 09 75 73 65 64 5b 66 5d 3d 2d 31 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 prites...used[f]=-1;.....for(f=0
c6a0 3b 66 3c 32 35 36 3b 66 2b 2b 29 00 20 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 41 6c 6c 6f 63 61 ;f<256;f++).....*/...../*.Alloca
c6c0 74 65 20 72 65 66 65 72 65 6e 63 65 64 20 74 61 62 6c 65 00 00 00 20 20 20 20 75 6e 73 69 67 6e te.referenced.table.......unsign
c6e0 65 64 20 63 68 61 72 20 62 79 74 65 3b 00 20 20 20 20 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 ed.char.byte;.....unsigned.short
c700 20 75 73 3b 00 20 20 20 20 69 6e 74 20 75 73 65 64 5b 32 35 36 5d 3b 00 20 20 20 20 69 6e 74 20 .us;.....int.used[256];.....int.
c720 6e 6f 3b 00 20 20 20 20 53 70 72 69 74 65 44 61 74 61 20 2a 73 70 72 3b 00 20 20 20 20 43 6f 6c no;.....SpriteData.*spr;.....Col
c740 6f 75 72 20 63 6f 6c 5b 32 35 36 5d 3b 00 20 20 20 20 58 43 6f 6c 6f 72 20 78 63 6f 6c 5b 32 35 our.col[256];.....XColor.xcol[25
c760 36 5d 3b 00 20 20 20 20 63 68 61 72 20 6d 61 67 69 63 5b 31 31 5d 3b 00 20 20 20 20 69 6e 74 20 6];.....char.magic[11];.....int.
c780 66 2c 72 2c 66 64 3b 00 7b 00 09 09 09 53 70 72 69 74 65 44 61 74 61 53 65 74 20 2a 73 65 74 29 f,r,fd;.{....SpriteDataSet.*set)
c7a0 00 09 09 09 63 6f 6e 73 74 20 63 68 61 72 20 2a 73 70 72 66 6e 5b 5d 2c 00 76 6f 69 64 20 4c 6f ....const.char.*sprfn[],.void.Lo
c7c0 61 64 53 70 72 69 74 65 44 61 74 61 53 65 74 20 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 63 6d 61 adSpriteDataSet.(const.char.*cma
c7e0 70 66 6e 2c 00 00 00 7d 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 7d 00 09 09 70 69 78 5b 66 pfn,...}.....}..}......}...pix[f
c800 5d 3d 42 6c 61 63 6b 50 69 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 09 09 ]=BlackPixel(display,screen);...
c820 57 41 52 4e 28 22 64 65 66 61 75 6c 74 69 6e 67 20 74 6f 20 62 6c 61 63 6b 22 29 3b 00 09 20 20 WARN("defaulting.to.black");....
c840 20 20 7b 00 09 20 20 20 20 65 6c 73 65 00 09 20 20 20 20 7d 00 09 09 70 69 78 5b 66 5d 3d 57 68 ..{......else......}...pix[f]=Wh
c860 69 74 65 50 69 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 09 09 57 41 52 4e itePixel(display,screen);...WARN
c880 28 22 64 65 66 61 75 6c 74 69 6e 67 20 74 6f 20 77 68 69 74 65 22 29 3b 00 09 20 20 20 20 7b 00 ("defaulting.to.white");......{.
c8a0 09 20 20 20 20 69 66 20 28 28 63 6f 6c 5b 66 5d 2e 72 2b 63 6f 6c 5b 66 5d 2e 67 2b 63 6f 6c 5b .....if.((col[f].r+col[f].g+col[
c8c0 66 5d 2e 62 29 3e 28 30 78 38 30 30 30 2a 33 29 29 00 00 20 20 20 20 20 20 20 20 20 20 20 20 57 f].b)>(0x8000*3))..............W
c8e0 41 52 4e 28 22 63 6f 75 6c 64 6e 27 74 20 61 6c 6c 6f 63 61 74 65 20 52 47 42 20 63 6f 6c 6f 72 ARN("couldn't.allocate.RGB.color
c900 22 29 3b 00 09 7b 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 ");..{.........else.............
c920 70 69 78 5b 66 5d 3d 78 63 2e 70 69 78 65 6c 3b 00 20 20 20 20 20 20 20 20 69 66 20 28 58 41 6c pix[f]=xc.pixel;.........if.(XAl
c940 6c 6f 63 43 6f 6c 6f 72 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 43 6f 6c 6f 72 6d 61 70 locColor(display,DefaultColormap
c960 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 2c 26 78 63 29 29 00 00 20 20 20 20 20 20 20 20 (display,screen),&xc))..........
c980 78 63 2e 66 6c 61 67 73 3d 44 6f 52 65 64 7c 44 6f 42 6c 75 65 7c 44 6f 47 72 65 65 6e 3b 00 20 xc.flags=DoRed|DoBlue|DoGreen;..
c9a0 20 20 20 20 20 20 20 78 63 2e 62 6c 75 65 3d 63 6f 6c 5b 66 5d 2e 62 3b 00 20 20 20 20 20 20 20 .......xc.blue=col[f].b;........
c9c0 20 78 63 2e 67 72 65 65 6e 3d 63 6f 6c 5b 66 5d 2e 67 3b 00 20 20 20 20 20 20 20 20 78 63 2e 72 .xc.green=col[f].g;.........xc.r
c9e0 65 64 3d 63 6f 6c 5b 66 5d 2e 72 3b 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 ed=col[f].r;.....{.....for(f=0;f
ca00 3c 6e 6f 3b 66 2b 2b 29 00 00 20 20 20 20 58 43 6f 6c 6f 72 20 78 63 3b 00 20 20 20 20 69 6e 74 <no;f++)......XColor.xc;.....int
ca20 20 66 3b 00 7b 00 76 6f 69 64 20 41 6c 6c 6f 63 43 6f 6c 6f 72 73 52 47 42 28 69 6e 74 20 6e 6f .f;.{.void.AllocColorsRGB(int.no
ca40 2c 20 75 6c 6f 6e 67 20 70 69 78 5b 5d 2c 20 63 6f 6e 73 74 20 43 6f 6c 6f 75 72 20 63 6f 6c 5b ,.ulong.pix[],.const.Colour.col[
ca60 5d 29 00 00 00 7d 00 20 20 20 20 7d 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 70 69 78 5b ])...}.....}..}.............pix[
ca80 66 5d 3d 57 68 69 74 65 50 69 78 65 6c 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 20 f]=WhitePixel(display,screen);..
caa0 20 20 20 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 6e 6f 74 20 61 20 63 6f 6c 6f 72 20 22 2c ...........WARN1("not.a.color.",
cac0 6e 61 6d 65 5b 66 5d 29 3b 00 09 7b 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 09 7d 00 09 20 20 name[f]);..{.........else..}....
cae0 20 20 7d 00 09 09 7d 00 09 09 20 20 20 20 70 69 78 5b 66 5d 3d 42 6c 61 63 6b 50 69 78 65 6c 28 ..}...}.......pix[f]=BlackPixel(
cb00 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 3b 00 09 09 20 20 20 20 57 41 52 4e 28 22 64 65 66 display,screen);.......WARN("def
cb20 61 75 6c 74 69 6e 67 20 74 6f 20 62 6c 61 63 6b 22 29 3b 00 09 09 7b 00 09 09 65 6c 73 65 00 09 aulting.to.black");...{...else..
cb40 09 7d 00 09 09 20 20 20 20 70 69 78 5b 66 5d 3d 57 68 69 74 65 50 69 78 65 6c 28 64 69 73 70 6c .}.......pix[f]=WhitePixel(displ
cb60 61 79 2c 73 63 72 65 65 6e 29 3b 00 09 09 20 20 20 20 57 41 52 4e 28 22 64 65 66 61 75 6c 74 69 ay,screen);.......WARN("defaulti
cb80 6e 67 20 74 6f 20 77 68 69 74 65 22 29 3b 00 09 09 7b 00 09 09 69 66 20 28 63 6f 6c 3e 28 30 78 ng.to.white");...{...if.(col>(0x
cba0 38 30 30 30 2a 33 29 29 00 00 09 09 20 20 20 20 63 6f 6c 2b 3d 78 63 2e 67 72 65 65 6e 3b 00 09 8000*3))........col+=xc.green;..
cbc0 09 69 66 20 28 78 63 2e 66 6c 61 67 73 26 44 6f 47 72 65 65 6e 29 00 00 09 09 20 20 20 20 63 6f .if.(xc.flags&DoGreen)........co
cbe0 6c 2b 3d 78 63 2e 62 6c 75 65 3b 00 09 09 69 66 20 28 78 63 2e 66 6c 61 67 73 26 44 6f 42 6c 75 l+=xc.blue;...if.(xc.flags&DoBlu
cc00 65 29 00 00 09 09 20 20 20 20 63 6f 6c 2b 3d 78 63 2e 72 65 64 3b 00 09 09 69 66 20 28 78 63 2e e)........col+=xc.red;...if.(xc.
cc20 66 6c 61 67 73 26 44 6f 52 65 64 29 00 00 09 09 63 6f 6c 3d 30 3b 00 00 20 20 20 20 20 20 20 20 flags&DoRed)....col=0;..........
cc40 20 20 20 20 20 20 20 20 57 41 52 4e 31 28 22 63 6f 75 6c 64 6e 27 74 20 61 6c 6c 6f 63 61 74 65 ........WARN1("couldn't.allocate
cc60 22 2c 6e 61 6d 65 5b 66 5d 29 3b 00 09 20 20 20 20 7b 00 20 20 20 20 20 20 20 20 20 20 20 20 65 ",name[f]);......{.............e
cc80 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 69 78 5b 66 5d 3d 78 63 2e 70 69 lse.................pix[f]=xc.pi
cca0 78 65 6c 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 58 41 6c 6c 6f 63 43 6f 6c 6f 72 xel;.............if.(XAllocColor
ccc0 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 43 6f 6c 6f 72 6d 61 70 28 64 69 73 70 6c 61 79 (display,DefaultColormap(display
cce0 2c 73 63 72 65 65 6e 29 2c 26 78 63 29 29 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 58 50 ,screen),&xc))..{.........if.(XP
cd00 61 72 73 65 43 6f 6c 6f 72 28 64 69 73 70 6c 61 79 2c 44 65 66 61 75 6c 74 43 6f 6c 6f 72 6d 61 arseColor(display,DefaultColorma
cd20 70 28 64 69 73 70 6c 61 79 2c 73 63 72 65 65 6e 29 2c 6e 61 6d 65 5b 66 5d 2c 26 78 63 29 29 00 p(display,screen),name[f],&xc)).
cd40 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 3b 66 2b 2b 29 00 00 20 20 20 ....{.....for(f=0;f<no;f++).....
cd60 20 58 43 6f 6c 6f 72 20 78 63 3b 00 20 20 20 20 69 6e 74 20 66 2c 63 6f 6c 3b 00 7b 00 76 6f 69 .XColor.xc;.....int.f,col;.{.voi
cd80 64 20 41 6c 6c 6f 63 43 6f 6c 6f 72 73 28 69 6e 74 20 6e 6f 2c 75 6c 6f 6e 67 20 70 69 78 5b 5d d.AllocColors(int.no,ulong.pix[]
cda0 2c 63 6f 6e 73 74 20 63 68 61 72 20 2a 6e 61 6d 65 5b 5d 29 00 00 00 7d 00 20 20 20 20 7d 00 20 ,const.char.*name[])...}.....}..
cdc0 20 20 20 20 20 20 20 78 63 5b 66 5d 2e 62 6c 75 65 3d 6e 74 6f 68 73 28 75 73 29 3b 00 20 20 20 .......xc[f].blue=ntohs(us);....
cde0 20 20 20 20 20 72 65 61 64 28 66 64 2c 26 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 .....read(fd,&us,sizeof(unsigned
ce00 20 73 68 6f 72 74 29 29 3b 00 20 20 20 20 20 20 20 20 78 63 5b 66 5d 2e 67 72 65 65 6e 3d 6e 74 .short));.........xc[f].green=nt
ce20 6f 68 73 28 75 73 29 3b 00 20 20 20 20 20 20 20 20 72 65 61 64 28 66 64 2c 26 75 73 2c 73 69 7a ohs(us);.........read(fd,&us,siz
ce40 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 29 29 3b 00 20 20 20 20 20 20 20 20 78 63 eof(unsigned.short));.........xc
ce60 5b 66 5d 2e 72 65 64 3d 6e 74 6f 68 73 28 75 73 29 3b 00 20 20 20 20 20 20 20 20 72 65 61 64 28 [f].red=ntohs(us);.........read(
ce80 66 64 2c 26 75 73 2c 73 69 7a 65 6f 66 28 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 29 29 3b 00 fd,&us,sizeof(unsigned.short));.
cea0 20 20 20 20 20 20 20 20 78 63 5b 66 5d 2e 66 6c 61 67 73 3d 44 6f 52 65 64 7c 44 6f 47 72 65 65 ........xc[f].flags=DoRed|DoGree
cec0 6e 7c 44 6f 42 6c 75 65 3b 00 20 20 20 20 20 20 20 20 78 63 5b 66 5d 2e 70 69 78 65 6c 3d 66 3b n|DoBlue;.........xc[f].pixel=f;
cee0 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 32 35 36 3b 66 2b 2b 29 00 00 20 .....{.....for(f=0;f<256;f++)...
cf00 20 20 20 7d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 00 20 20 20 20 20 20 20 20 57 41 52 ...}.........return;.........WAR
cf20 4e 31 28 22 43 6f 75 6c 64 6e 27 74 20 6f 70 65 6e 20 63 6d 61 70 22 2c 66 6e 29 3b 00 20 20 20 N1("Couldn't.open.cmap",fn);....
cf40 20 7b 00 20 20 20 20 69 66 20 28 28 66 64 3d 6f 70 65 6e 28 66 6e 2c 4f 5f 52 44 4f 4e 4c 59 29 .{.....if.((fd=open(fn,O_RDONLY)
cf60 29 3d 3d 2d 31 29 00 00 20 20 20 20 75 6e 73 69 67 6e 65 64 20 73 68 6f 72 74 20 75 73 3b 00 20 )==-1)......unsigned.short.us;..
cf80 20 20 20 69 6e 74 20 66 64 2c 66 3b 00 7b 00 76 6f 69 64 20 4c 6f 61 64 43 6f 6c 6f 72 6d 61 70 ...int.fd,f;.{.void.LoadColormap
cfa0 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 66 6e 2c 20 58 43 6f 6c 6f 72 20 78 63 5b 32 35 36 5d 29 (const.char.*fn,.XColor.xc[256])
cfc0 00 00 00 7d 00 20 20 20 20 57 4d 28 63 75 72 72 65 6e 74 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e ...}.....WM(current->lastuserfun
cfe0 63 29 3b 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 c);.............................
d000 20 20 20 20 20 20 20 20 20 73 70 72 5b 66 5d 2d 3e 77 2c 73 70 72 5b 66 5d 2d 3e 68 2c 73 70 72 .........spr[f]->w,spr[f]->h,spr
d020 5b 66 5d 2d 3e 6c 78 2c 73 70 72 5b 66 5d 2d 3e 6c 79 29 3b 00 61 64 00 00 01 00 00 00 f5 02 00 [f]->lx,spr[f]->ly);.ad.........
d040 00 00 10 00 00 b8 00 00 00 c0 0f 00 00 83 0f 00 00 72 0f 00 00 6c 0f 00 00 6b 0f 00 00 5b 0f 00 .................r...l...k...[..
d060 00 55 0f 00 00 42 0f 00 00 2f 0f 00 00 29 0f 00 00 20 0f 00 00 1a 0f 00 00 01 0f 00 00 ee 0e 00 .U...B.../...)..................
d080 00 e8 0e 00 00 e7 0e 00 00 d3 0e 00 00 d2 0e 00 00 c4 0e 00 00 b5 0e 00 00 b4 0e 00 00 a2 0e 00 ................................
d0a0 00 90 0e 00 00 80 0e 00 00 6a 0e 00 00 54 0e 00 00 3e 0e 00 00 2f 0e 00 00 20 0e 00 00 10 0e 00 .........j...T...>.../..........
d0c0 00 00 0e 00 00 f1 0d 00 00 e2 0d 00 00 cc 0d 00 00 ae 0d 00 00 9a 0d 00 00 80 0d 00 00 63 0d 00 .............................c..
d0e0 00 61 0d 00 00 60 0d 00 00 5f 0d 00 00 44 0d 00 00 42 0d 00 00 31 0d 00 00 24 0d 00 00 23 0d 00 .a...`..._...D...B...1...$...#..
d100 00 11 0d 00 00 0b 0d 00 00 c9 0c 00 00 c6 0c 00 00 89 0c 00 00 62 0c 00 00 54 0c 00 00 51 0c 00 .....................b...T...Q..
d120 00 50 0c 00 00 3e 0c 00 00 2e 0c 00 00 19 0c 00 00 ed 0b 00 00 c0 0b 00 00 99 0b 00 00 74 0b 00 .P...>.......................t..
d140 00 4e 0b 00 00 27 0b 00 00 fc 0a 00 00 f1 0a 00 00 eb 0a 00 00 e2 0a 00 00 dc 0a 00 00 be 0a 00 .N...'..........................
d160 00 a9 0a 00 00 95 0a 00 00 85 0a 00 00 78 0a 00 00 5b 0a 00 00 47 0a 00 00 32 0a 00 00 31 0a 00 .............x...[...G...2...1..
d180 00 26 0a 00 00 13 0a 00 00 12 0a 00 00 f5 09 00 00 f4 09 00 00 d4 09 00 00 d0 09 00 00 a3 09 00 .&..............................
d1a0 00 77 09 00 00 5b 09 00 00 5a 09 00 00 3a 09 00 00 37 09 00 00 11 09 00 00 03 09 00 00 00 09 00 .w...[...Z...:...7..............
d1c0 00 ff 08 00 00 c0 08 00 00 9a 08 00 00 99 08 00 00 76 08 00 00 75 08 00 00 52 08 00 00 4e 08 00 .................v...u...R...N..
d1e0 00 1e 08 00 00 1b 08 00 00 ef 07 00 00 e1 07 00 00 de 07 00 00 dd 07 00 00 c6 07 00 00 c0 07 00 ................................
d200 00 bf 07 00 00 ab 07 00 00 9b 07 00 00 99 07 00 00 98 07 00 00 97 07 00 00 7b 07 00 00 79 07 00 .........................{...y..
d220 00 40 07 00 00 3e 07 00 00 3d 07 00 00 3c 07 00 00 1c 07 00 00 1a 07 00 00 fb 06 00 00 f5 06 00 .@...>...=...<..................
d240 00 c3 06 00 00 c2 06 00 00 a2 06 00 00 7b 06 00 00 7a 06 00 00 59 06 00 00 28 06 00 00 27 06 00 .............{...z...Y...(...'..
d260 00 09 06 00 00 03 06 00 00 02 06 00 00 ea 05 00 00 d0 05 00 00 ce 05 00 00 cd 05 00 00 cc 05 00 ................................
d280 00 af 05 00 00 ad 05 00 00 9e 05 00 00 9d 05 00 00 90 05 00 00 8f 05 00 00 82 05 00 00 7c 05 00 .............................|..
d2a0 00 67 05 00 00 64 05 00 00 4d 05 00 00 39 05 00 00 36 05 00 00 35 05 00 00 22 05 00 00 1c 05 00 .g...d...M...9...6...5..."......
d2c0 00 1b 05 00 00 f0 04 00 00 ee 04 00 00 ed 04 00 00 ec 04 00 00 d2 04 00 00 c3 04 00 00 b4 04 00 ................................
d2e0 00 92 04 00 00 80 04 00 00 6c 04 00 00 57 04 00 00 39 04 00 00 37 04 00 00 23 04 00 00 13 04 00 .........l...W...9...7...#......
d300 00 f6 03 00 00 de 03 00 00 cf 03 00 00 ce 03 00 00 bc 03 00 00 b6 03 00 00 7e 03 00 00 7b 03 00 .........................~...{..
d320 00 43 03 00 00 f5 02 00 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .C..............................
d340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 76 5b 30 5d 2c 20 58 44 69 73 70 ..................argv[0],.XDisp
d360 6c 61 79 4e 61 6d 65 28 64 69 73 70 6c 61 79 5f 6e 61 6d 65 29 29 3b 00 20 20 20 20 20 20 20 20 layName(display_name));.........
d380 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 25 73 3a 20 63 61 6e 27 74 20 63 6f ....fprintf(stderr,"%s:.can't.co
d3a0 6e 6e 65 63 74 20 74 6f 20 25 73 5c 6e 22 2c 00 09 7b 00 20 20 20 20 20 20 20 20 69 66 20 28 28 nnect.to.%s\n",..{.........if.((
d3c0 64 69 73 70 6c 61 79 3d 58 4f 70 65 6e 44 69 73 70 6c 61 79 28 64 69 73 70 6c 61 79 5f 6e 61 6d display=XOpenDisplay(display_nam
d3e0 65 29 29 3d 3d 4e 55 4c 4c 29 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 64 69 73 70 6c 61 e))==NULL).....{.....if.(!displa
d400 79 29 00 00 20 20 20 20 69 6e 74 20 69 2c 6a 2c 6b 3b 00 20 20 20 20 50 69 78 6d 61 70 20 69 63 y)......int.i,j,k;.....Pixmap.ic
d420 6f 6e 5f 70 69 78 6d 61 70 3b 00 20 20 20 20 63 68 61 72 20 2a 64 69 73 70 6c 61 79 5f 6e 61 6d on_pixmap;.....char.*display_nam
d440 65 3d 4e 55 4c 4c 3b 00 20 20 20 20 47 43 20 20 20 20 20 20 67 63 3b 00 20 20 20 20 57 69 6e 64 e=NULL;.....GC......gc;.....Wind
d460 6f 77 20 20 77 69 6e 64 6f 77 3b 00 7b 00 09 09 75 6c 6f 6e 67 20 2a 62 6c 61 63 6b 2c 20 75 6c ow..window;.{...ulong.*black,.ul
d480 6f 6e 67 20 2a 77 68 69 74 65 29 00 09 09 58 53 69 7a 65 48 69 6e 74 73 20 2a 68 69 6e 74 73 2c ong.*white)...XSizeHints.*hints,
d4a0 00 09 09 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 65 76 2c 00 09 09 69 6e 74 20 70 77 2c 20 69 ...unsigned.long.ev,...int.pw,.i
d4c0 6e 74 20 70 68 2c 00 09 09 69 6e 74 20 77 78 2c 20 69 6e 74 20 77 79 2c 20 69 6e 74 20 77 77 2c nt.ph,...int.wx,.int.wy,.int.ww,
d4e0 20 69 6e 74 20 77 68 2c 00 09 09 63 68 61 72 20 2a 74 69 74 6c 65 2c 00 09 09 63 68 61 72 20 2a .int.wh,...char.*title,...char.*
d500 2a 61 72 67 76 2c 00 57 69 6e 64 6f 77 20 4f 70 65 6e 57 69 6e 20 28 69 6e 74 20 61 72 67 63 2c *argv,.Window.OpenWin.(int.argc,
d520 00 00 00 7d 00 20 20 20 20 57 41 52 4e 28 22 41 73 6b 65 64 20 66 6f 72 20 6e 6f 6e 2d 65 78 69 ...}.....WARN("Asked.for.non-exi
d540 73 74 61 6e 74 20 77 69 6e 64 6f 77 22 29 3b 00 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 6c stant.window");......}.........l
d560 3d 6c 2d 3e 6e 65 78 74 3b 00 00 09 7d 00 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e =l->next;...}.............return
d580 3b 00 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 3d 6c 3b 00 09 7b 00 20 20 20 20 ;.............current=l;..{.....
d5a0 20 20 20 20 69 66 20 28 6c 2d 3e 77 3d 3d 77 29 00 20 20 20 20 7b 00 20 20 20 20 77 68 69 6c 65 ....if.(l->w==w).....{.....while
d5c0 28 6c 29 00 00 20 20 20 20 6c 3d 77 68 65 61 64 3b 00 00 20 20 20 20 57 45 6e 74 72 79 20 2a 6c (l)......l=whead;......WEntry.*l
d5e0 3b 00 7b 00 76 6f 69 64 20 53 65 74 43 75 72 72 65 6e 74 57 69 6e 28 57 69 6e 64 6f 77 20 77 29 ;.{.void.SetCurrentWin(Window.w)
d600 00 00 00 7d 00 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 6c 61 79 2c 46 61 6c 73 65 29 3b 00 20 ...}.....XSync(display,False);..
d620 20 20 20 58 44 65 73 74 72 6f 79 49 6d 61 67 65 28 69 6d 67 29 3b 00 00 20 20 20 20 7d 00 09 63 ...XDestroyImage(img);......}..c
d640 75 72 72 65 6e 74 2d 3e 75 73 65 64 5f 4d 49 54 5f 53 48 4d 3d 46 61 6c 73 65 3b 00 00 09 20 20 urrent->used_MIT_SHM=False;.....
d660 20 20 73 68 6d 63 74 6c 28 63 75 72 72 65 6e 74 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 73 68 6d 69 64 ..shmctl(current->shm_info.shmid
d680 2c 49 50 43 5f 52 4d 49 44 2c 30 29 3b 00 09 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 73 68 6d 5f ,IPC_RMID,0);..if.(current->shm_
d6a0 69 6e 66 6f 2e 73 68 6d 69 64 3e 3d 30 29 00 00 09 20 20 20 20 73 68 6d 64 74 28 63 75 72 72 65 info.shmid>=0).......shmdt(curre
d6c0 6e 74 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 73 68 6d 61 64 64 72 29 3b 00 09 69 66 20 28 63 75 72 72 nt->shm_info.shmaddr);..if.(curr
d6e0 65 6e 74 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 73 68 6d 61 64 64 72 29 00 00 20 20 20 20 20 20 20 20 ent->shm_info.shmaddr)..........
d700 58 53 68 6d 44 65 74 61 63 68 28 64 69 73 70 6c 61 79 2c 26 28 63 75 72 72 65 6e 74 2d 3e 73 68 XShmDetach(display,&(current->sh
d720 6d 5f 69 6e 66 6f 29 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 2d m_info));.....{.....if.(current-
d740 3e 75 73 65 64 5f 4d 49 54 5f 53 48 4d 29 00 7b 00 76 6f 69 64 20 44 65 73 74 72 6f 79 58 49 6d >used_MIT_SHM).{.void.DestroyXIm
d760 61 67 65 28 58 49 6d 61 67 65 20 2a 69 6d 67 29 00 00 00 7d 00 20 20 20 20 6d 65 6d 73 65 74 28 age(XImage.*img)...}.....memset(
d780 69 6d 67 2d 3e 64 61 74 61 2c 30 2c 69 6d 67 2d 3e 62 79 74 65 73 5f 70 65 72 5f 6c 69 6e 65 2a img->data,0,img->bytes_per_line*
d7a0 69 6d 67 2d 3e 68 65 69 67 68 74 29 3b 00 7b 00 76 6f 69 64 20 43 6c 73 58 49 6d 61 67 65 28 58 img->height);.{.void.ClsXImage(X
d7c0 49 6d 61 67 65 20 2a 69 6d 67 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 69 6d 67 3b 00 Image.*img)...}.....return.img;.
d7e0 20 20 20 20 43 6c 73 58 49 6d 61 67 65 28 69 6d 67 29 3b 00 00 20 20 20 20 7d 00 09 58 53 79 6e ....ClsXImage(img);......}..XSyn
d800 63 28 64 69 73 70 6c 61 79 2c 46 61 6c 73 65 29 3b 00 00 09 7d 00 09 20 20 20 20 65 78 69 74 28 c(display,False);...}......exit(
d820 31 29 3b 00 09 20 20 20 20 57 41 52 4e 28 22 46 61 69 6c 65 64 20 74 6f 20 61 74 74 61 63 68 20 1);......WARN("Failed.to.attach.
d840 4d 49 54 53 48 4d 20 62 6c 6f 63 6b 22 29 3b 00 09 7b 00 09 69 66 20 28 21 58 53 68 6d 41 74 74 MITSHM.block");..{..if.(!XShmAtt
d860 61 63 68 28 64 69 73 70 6c 61 79 2c 26 28 63 75 72 72 65 6e 74 2d 3e 73 68 6d 5f 69 6e 66 6f 29 ach(display,&(current->shm_info)
d880 29 29 00 09 2a 2f 00 09 2f 2a 20 54 72 79 20 61 6e 64 20 61 74 74 61 63 68 65 64 20 73 68 61 72 ))..*/../*.Try.and.attached.shar
d8a0 65 64 20 6d 65 6d 6f 72 79 00 00 09 63 75 72 72 65 6e 74 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 72 65 ed.memory...current->shm_info.re
d8c0 61 64 4f 6e 6c 79 3d 46 61 6c 73 65 3b 00 00 09 69 6d 67 2d 3e 64 61 74 61 3d 63 75 72 72 65 6e adOnly=False;...img->data=curren
d8e0 74 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 73 68 6d 61 64 64 72 3b 00 09 63 75 72 72 65 6e 74 2d 3e 73 t->shm_info.shmaddr;..current->s
d900 68 6d 5f 69 6e 66 6f 2e 73 68 6d 61 64 64 72 3d 73 68 6d 61 74 28 63 75 72 72 65 6e 74 2d 3e 73 hm_info.shmaddr=shmat(current->s
d920 68 6d 5f 69 6e 66 6f 2e 73 68 6d 69 64 2c 30 2c 30 29 3b 00 00 09 7d 00 09 20 20 20 20 65 78 69 hm_info.shmid,0,0);...}......exi
d940 74 28 31 29 3b 00 09 20 20 20 20 57 41 52 4e 28 22 43 6f 75 6c 64 6e 27 74 20 67 65 74 20 4d 49 t(1);......WARN("Couldn't.get.MI
d960 54 53 48 4d 20 6d 65 6d 22 29 3b 00 09 7b 00 09 69 66 20 28 63 75 72 72 65 6e 74 2d 3e 73 68 6d TSHM.mem");..{..if.(current->shm
d980 5f 69 6e 66 6f 2e 73 68 6d 69 64 3c 30 29 00 00 09 09 09 09 20 20 20 20 20 20 20 49 50 43 5f 43 _info.shmid<0).............IPC_C
d9a0 52 45 41 54 7c 30 37 37 37 29 3b 00 09 09 09 09 20 20 20 20 20 20 20 69 6d 67 2d 3e 62 79 74 65 REAT|0777);............img->byte
d9c0 73 5f 70 65 72 5f 6c 69 6e 65 2a 69 6d 67 2d 3e 68 65 69 67 68 74 2c 00 09 63 75 72 72 65 6e 74 s_per_line*img->height,..current
d9e0 2d 3e 73 68 6d 5f 69 6e 66 6f 2e 73 68 6d 69 64 3d 73 68 6d 67 65 74 28 49 50 43 5f 50 52 49 56 ->shm_info.shmid=shmget(IPC_PRIV
da00 41 54 45 2c 00 09 2a 2f 00 09 2f 2a 20 47 65 74 20 73 68 61 72 65 64 20 6d 65 6d 6f 72 79 20 66 ATE,..*/../*.Get.shared.memory.f
da20 6f 72 20 69 6d 61 67 65 00 00 09 63 75 72 72 65 6e 74 2d 3e 75 73 65 64 5f 4d 49 54 5f 53 48 4d or.image...current->used_MIT_SHM
da40 3d 54 72 75 65 3b 00 00 09 20 20 20 20 72 65 74 75 72 6e 28 4e 55 4c 4c 29 3b 00 09 69 66 20 28 =True;.......return(NULL);..if.(
da60 21 69 6d 67 29 00 00 09 09 09 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 68 29 3b 00 09 09 09 20 !img).........current->ph);.....
da80 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 2c 00 09 09 09 20 20 20 20 26 28 63 75 72 72 65 6e 74 ...current->pw,........&(current
daa0 2d 3e 73 68 6d 5f 69 6e 66 6f 29 2c 00 09 09 09 20 20 20 20 4e 55 4c 4c 2c 00 09 09 09 20 20 20 ->shm_info),........NULL,.......
dac0 20 5a 50 69 78 6d 61 70 2c 00 09 09 09 20 20 20 20 76 69 6e 66 6f 2e 64 65 70 74 68 2c 00 09 09 .ZPixmap,........vinfo.depth,...
dae0 09 20 20 20 20 76 69 6e 66 6f 2e 76 69 73 75 61 6c 2c 00 09 69 6d 67 3d 58 53 68 6d 43 72 65 61 .....vinfo.visual,..img=XShmCrea
db00 74 65 49 6d 61 67 65 28 64 69 73 70 6c 61 79 2c 00 20 20 20 20 7b 00 20 20 20 20 65 6c 73 65 00 teImage(display,.....{.....else.
db20 20 20 20 20 7d 00 09 09 20 20 20 20 20 30 29 3b 00 09 09 20 20 20 20 20 38 2c 20 20 20 20 20 20 ....}........0);........8,......
db40 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 42 69 74 6d 61 70 20 70 61 64 20 2a 2f 00 09 09 20 20 .........../*.Bitmap.pad.*/.....
db60 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 68 2c 20 20 20 20 20 20 20 2f 2a 20 48 65 69 67 68 74 20 ...current->ph,......./*.Height.
db80 2a 2f 00 09 09 20 20 20 20 20 63 75 72 72 65 6e 74 2d 3e 70 77 2c 20 20 20 20 20 20 20 2f 2a 20 */........current->pw,......./*.
dba0 57 69 64 74 68 20 2a 2f 00 09 09 20 20 20 20 20 70 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Width.*/........p,..............
dbc0 20 20 20 2f 2a 20 44 61 74 61 20 2a 2f 00 09 09 20 20 20 20 20 30 2c 20 20 20 20 20 20 20 20 20 .../*.Data.*/........0,.........
dbe0 20 20 20 20 20 20 20 20 2f 2a 20 4f 66 66 73 65 74 20 2a 2f 00 09 09 20 20 20 20 20 5a 50 69 78 ......../*.Offset.*/........ZPix
dc00 6d 61 70 2c 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 49 6d 61 67 65 20 66 6f 72 6d 61 74 20 2a map,.........../*.Image.format.*
dc20 2f 00 09 09 20 20 20 20 20 76 69 6e 66 6f 2e 64 65 70 74 68 2c 20 20 20 20 20 20 20 2f 2a 20 49 /........vinfo.depth,......./*.I
dc40 6d 61 67 65 20 64 65 70 74 68 20 2a 2f 00 09 09 20 20 20 20 20 76 69 6e 66 6f 2e 76 69 73 75 61 mage.depth.*/........vinfo.visua
dc60 6c 2c 00 09 09 20 20 20 20 28 64 69 73 70 6c 61 79 2c 00 09 69 6d 67 3d 58 43 72 65 61 74 65 49 l,.......(display,..img=XCreateI
dc80 6d 61 67 65 00 00 09 7d 00 09 20 20 20 20 65 78 69 74 28 31 29 3b 00 09 09 09 09 09 22 43 6f 75 mage...}......exit(1);......"Cou
dca0 6c 64 6e 27 74 20 6d 61 6c 6c 6f 63 28 29 20 58 49 6d 61 67 65 20 64 61 74 61 22 29 3b 00 09 20 ldn't.malloc().XImage.data");...
dcc0 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 25 73 28 25 64 29 20 3a 20 46 41 54 41 ...fprintf(stderr,"%s(%d).:.FATA
dce0 4c 3a 25 73 5c 6e 22 2c 5f 5f 46 49 4c 45 5f 5f 2c 5f 5f 4c 49 4e 45 5f 5f 2c 00 09 7b 00 09 69 L:%s\n",__FILE__,__LINE__,..{..i
dd00 66 20 28 21 28 70 3d 6d 61 6c 6c 6f 63 28 63 75 72 72 65 6e 74 2d 3e 70 77 2a 63 75 72 72 65 6e f.(!(p=malloc(current->pw*curren
dd20 74 2d 3e 70 68 2a 28 76 69 6e 66 6f 2e 62 69 74 73 5f 70 65 72 5f 72 67 62 2f 38 29 29 29 29 00 t->ph*(vinfo.bits_per_rgb/8)))).
dd40 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 75 73 65 5f 73 68 6d 29 00 00 20 20 20 20 63 68 61 ....{.....if.(!use_shm)......cha
dd60 72 20 2a 70 3b 00 20 20 20 20 58 49 6d 61 67 65 20 2a 69 6d 67 3b 00 7b 00 58 49 6d 61 67 65 20 r.*p;.....XImage.*img;.{.XImage.
dd80 2a 43 72 65 61 74 65 58 49 6d 61 67 65 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 6e 65 77 2d *CreateXImage(void)...}.....new-
dda0 3e 75 73 65 64 5f 4d 49 54 5f 53 48 4d 3d 46 61 6c 73 65 3b 00 20 20 20 20 6e 65 77 2d 3e 73 70 >used_MIT_SHM=False;.....new->sp
ddc0 6c 69 6e 65 5f 74 68 72 65 73 68 3d 31 3b 00 20 20 20 20 6e 65 77 2d 3e 6c 61 73 74 66 67 3d 2d line_thresh=1;.....new->lastfg=-
dde0 31 3b 00 20 20 20 20 6e 65 77 2d 3e 6c 61 73 74 75 73 65 72 66 75 6e 63 3d 47 58 63 6f 70 79 3b 1;.....new->lastuserfunc=GXcopy;
de00 00 20 20 20 20 6e 65 77 2d 3e 66 75 6e 63 3d 47 58 63 6f 70 79 3b 00 20 20 20 20 6e 65 77 2d 3e .....new->func=GXcopy;.....new->
de20 70 68 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e 70 77 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e 77 68 ph=0;.....new->pw=0;.....new->wh
de40 3d 77 68 3b 00 20 20 20 20 6e 65 77 2d 3e 77 77 3d 77 77 3b 00 20 20 20 20 6e 65 77 2d 3e 6f 79 =wh;.....new->ww=ww;.....new->oy
de60 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e 6f 78 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e 6d 75 6c 74 =0;.....new->ox=0;.....new->mult
de80 69 3d 46 61 6c 73 65 3b 00 20 20 20 20 6e 65 77 2d 3e 75 73 65 5f 70 6d 3d 54 72 75 65 3b 00 20 i=False;.....new->use_pm=True;..
dea0 20 20 20 6e 65 77 2d 3e 62 75 66 66 65 72 3d 54 72 75 65 3b 00 20 20 20 20 6e 65 77 2d 3e 70 6d ...new->buffer=True;.....new->pm
dec0 69 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e 70 6d 5b 31 5d 3d 30 3b 00 20 20 20 20 6e 65 77 2d 3e i=0;.....new->pm[1]=0;.....new->
dee0 70 6d 5b 30 5d 3d 30 3b 00 00 20 20 20 20 6e 65 77 2d 3e 67 63 3d 67 3b 00 20 20 20 20 6e 65 77 pm[0]=0;......new->gc=g;.....new
df00 2d 3e 77 3d 77 3b 00 00 20 20 20 20 6e 65 77 2d 3e 6e 65 78 74 3d 4e 55 4c 4c 3b 00 00 20 20 20 ->w=w;......new->next=NULL;.....
df20 20 7d 00 20 20 20 20 20 20 20 20 77 74 61 69 6c 3d 6e 65 77 3b 00 20 20 20 20 20 20 20 20 77 74 .}.........wtail=new;.........wt
df40 61 69 6c 2d 3e 6e 65 78 74 3d 6e 65 77 3b 00 20 20 20 20 7b 00 20 20 20 20 65 6c 73 65 00 20 20 ail->next=new;.....{.....else...
df60 20 20 7d 00 20 20 20 20 20 20 20 20 77 74 61 69 6c 3d 6e 65 77 3b 00 20 20 20 20 20 20 20 20 77 ..}.........wtail=new;.........w
df80 68 65 61 64 3d 6e 65 77 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 77 68 65 61 64 29 00 head=new;.....{.....if.(!whead).
dfa0 00 20 20 20 20 7d 00 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b 00 20 20 20 20 20 20 20 20 .....}.........exit(1);.........
dfc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 43 6f 75 6c 64 6e 27 ........................"Couldn'
dfe0 74 20 6d 61 6c 6c 6f 63 28 29 20 57 45 6e 74 72 79 22 29 3b 00 20 20 20 20 20 20 20 20 66 70 72 t.malloc().WEntry");.........fpr
e000 69 6e 74 66 28 73 74 64 65 72 72 2c 22 25 73 28 25 64 29 20 3a 20 46 41 54 41 4c 3a 25 73 5c 6e intf(stderr,"%s(%d).:.FATAL:%s\n
e020 22 2c 5f 5f 46 49 4c 45 5f 5f 2c 5f 5f 4c 49 4e 45 5f 5f 2c 00 ",__FILE__,__LINE__,.