summaryrefslogtreecommitdiff
path: root/.lunar.c.swp
blob: ad8cb4a8c900eab7f8cf58a960a8dd81f5ad6fab (plain)
ofshex dumpascii
0000 62 30 56 49 4d 20 36 2e 33 00 00 00 00 10 00 00 ef a9 82 42 fb cc 01 00 7b 0d 00 00 69 61 6e 63 b0VIM.6.3..........B....{...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 6c 75 6e 61 72 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 lunar.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 0a 00 ff 00 00 00 02 00 00 00 96 00 00 00 01 00 00 00 01 00 00 00 04 00 00 00 c2 00 00 00 tp..............................
1020 97 00 00 00 01 00 00 00 05 00 00 00 c3 00 00 00 59 01 00 00 01 00 00 00 06 00 00 00 de 00 00 00 ................Y...............
1040 1c 02 00 00 01 00 00 00 07 00 00 00 ec 00 00 00 fa 02 00 00 01 00 00 00 08 00 00 00 c1 00 00 00 ................................
1060 e6 03 00 00 01 00 00 00 09 00 00 00 ce 00 00 00 a7 04 00 00 01 00 00 00 0a 00 00 00 d5 00 00 00 ................................
1080 75 05 00 00 01 00 00 00 0b 00 00 00 bd 00 00 00 4a 06 00 00 01 00 00 00 03 00 00 00 2d 00 00 00 u...............J...........-...
10a0 07 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 ................................
10c0 00 00 00 00 00 00 00 00 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 1e 00 00 00 8a 02 00 00 00 10 00 00 96 00 00 00 fd 0f 00 00 fc 0f 00 00 d8 0f 00 00 ad..............................
2020 d7 0f 00 00 97 0f 00 00 96 0f 00 00 4d 0f 00 00 04 0f 00 00 be 0e 00 00 96 0e 00 00 95 0e 00 00 ............M...................
2040 51 0e 00 00 0e 0e 00 00 cc 0d 00 00 9b 0d 00 00 9a 0d 00 00 54 0d 00 00 14 0d 00 00 c6 0c 00 00 Q...................T...........
2060 c5 0c 00 00 77 0c 00 00 76 0c 00 00 28 0c 00 00 27 0c 00 00 24 0c 00 00 07 0c 00 00 06 0c 00 00 ....w...v...(...'...$...........
2080 f0 0b 00 00 d9 0b 00 00 c4 0b 00 00 ad 0b 00 00 95 0b 00 00 94 0b 00 00 80 0b 00 00 6d 0b 00 00 ............................m...
20a0 5b 0b 00 00 48 0b 00 00 34 0b 00 00 33 0b 00 00 21 0b 00 00 20 0b 00 00 0e 0b 00 00 fc 0a 00 00 [...H...4...3...!...............
20c0 ea 0a 00 00 d7 0a 00 00 c5 0a 00 00 b2 0a 00 00 b1 0a 00 00 94 0a 00 00 93 0a 00 00 79 0a 00 00 ............................y...
20e0 5f 0a 00 00 5e 0a 00 00 37 0a 00 00 0c 0a 00 00 e2 09 00 00 e1 09 00 00 bb 09 00 00 ba 09 00 00 _...^...7.......................
2100 9f 09 00 00 84 09 00 00 83 09 00 00 4e 09 00 00 0c 09 00 00 0b 09 00 00 ed 08 00 00 d2 08 00 00 ............N...................
2120 bb 08 00 00 a3 08 00 00 8e 08 00 00 74 08 00 00 5f 08 00 00 45 08 00 00 44 08 00 00 22 08 00 00 ............t..._...E...D..."...
2140 21 08 00 00 e2 07 00 00 95 07 00 00 66 07 00 00 65 07 00 00 5a 07 00 00 57 07 00 00 47 07 00 00 !...........f...e...Z...W...G...
2160 46 07 00 00 37 07 00 00 35 07 00 00 23 07 00 00 13 07 00 00 06 07 00 00 fe 06 00 00 fd 06 00 00 F...7...5...#...................
2180 e4 06 00 00 df 06 00 00 c9 06 00 00 b3 06 00 00 9d 06 00 00 97 06 00 00 96 06 00 00 87 06 00 00 ................................
21a0 84 06 00 00 6a 06 00 00 5f 06 00 00 56 06 00 00 49 06 00 00 3c 06 00 00 32 06 00 00 31 06 00 00 ....j..._...V...I...<...2...1...
21c0 20 06 00 00 0c 06 00 00 f7 05 00 00 e5 05 00 00 d5 05 00 00 c4 05 00 00 b4 05 00 00 a1 05 00 00 ................................
21e0 8c 05 00 00 7b 05 00 00 7a 05 00 00 62 05 00 00 46 05 00 00 29 05 00 00 05 05 00 00 e6 04 00 00 ....{...z...b...F...)...........
2200 e5 04 00 00 e4 04 00 00 97 04 00 00 62 04 00 00 4f 04 00 00 4c 04 00 00 3b 04 00 00 2b 04 00 00 ............b...O...L...;...+...
2220 17 04 00 00 03 04 00 00 e3 03 00 00 c7 03 00 00 c6 03 00 00 c5 03 00 00 b6 03 00 00 b3 03 00 00 ................................
2240 a1 03 00 00 7a 03 00 00 4d 03 00 00 4c 03 00 00 31 03 00 00 14 03 00 00 0b 03 00 00 ee 02 00 00 ....z...M...L...1...............
2260 cc 02 00 00 ac 02 00 00 8a 02 00 00 8e 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2280 00 00 00 00 00 00 00 00 00 00 09 09 09 09 52 47 42 28 31 30 30 2c 32 35 35 2c 31 30 30 29 2c 09 ..............RGB(100,255,100),.
22a0 2f 2a 20 47 52 45 45 4e 20 2a 2f 00 09 09 09 09 52 47 42 28 32 35 35 2c 31 30 30 2c 31 30 30 29 /*.GREEN.*/.....RGB(255,100,100)
22c0 2c 09 2f 2a 20 52 45 44 20 2a 2f 00 09 09 09 09 52 47 42 28 32 35 35 2c 32 35 35 2c 32 35 35 29 ,./*.RED.*/.....RGB(255,255,255)
22e0 2c 09 2f 2a 20 57 48 49 54 45 20 2a 2f 00 09 09 09 09 52 47 42 28 30 2c 30 2c 30 29 2c 09 09 2f ,./*.WHITE.*/.....RGB(0,0,0),../
2300 2a 20 42 4c 41 43 4b 20 2a 2f 00 09 09 09 20 20 20 20 7b 00 73 74 61 74 69 63 20 43 6f 6c 6f 75 *.BLACK.*/........{.static.Colou
2320 72 09 09 63 6f 6c 73 5b 4e 4f 43 4f 4c 53 5d 3d 00 73 74 61 74 69 63 20 75 6c 6f 6e 67 09 09 70 r..cols[NOCOLS]=.static.ulong..p
2340 69 78 5b 4e 4f 43 4f 4c 53 5d 3b 00 00 23 64 65 66 69 6e 65 20 52 47 42 28 72 2c 67 2c 62 29 09 ix[NOCOLS];..#define.RGB(r,g,b).
2360 7b 28 72 29 2a 32 35 35 2c 28 67 29 2a 32 35 35 2c 28 62 29 2a 32 35 35 7d 00 23 64 65 66 69 6e {(r)*255,(g)*255,(b)*255}.#defin
2380 65 20 52 4e 44 43 4f 4c 09 09 70 69 78 5b 28 52 4e 44 28 4e 4f 43 4f 4c 53 2d 32 29 2b 32 29 5d e.RNDCOL..pix[(RND(NOCOLS-2)+2)]
23a0 00 23 64 65 66 69 6e 65 20 4e 4f 43 4f 4c 53 09 09 38 00 2a 2f 00 2f 2a 20 43 6f 6c 6f 75 72 20 .#define.NOCOLS..8.*/./*.Colour.
23c0 76 61 72 73 00 00 00 23 64 65 66 69 6e 65 20 43 4d 49 4e 45 28 78 29 09 28 28 78 29 2b 30 78 38 vars...#define.CMINE(x).((x)+0x8
23e0 30 29 00 23 64 65 66 69 6e 65 20 49 53 43 4d 49 4e 45 28 63 29 09 28 28 63 29 26 28 30 78 38 30 0).#define.ISCMINE(c).((c)&(0x80
2400 29 29 00 23 64 65 66 69 6e 65 20 43 4d 4f 55 4e 54 41 49 4e 09 33 00 23 64 65 66 69 6e 65 20 43 )).#define.CMOUNTAIN.3.#define.C
2420 41 53 54 45 52 4f 49 44 09 32 00 23 64 65 66 69 6e 65 20 43 50 41 44 09 09 31 00 23 64 65 66 69 ASTEROID.2.#define.CPAD..1.#defi
2440 6e 65 20 43 4e 4f 4e 45 09 09 30 00 2a 2f 00 09 09 09 20 20 20 20 20 20 20 77 69 74 68 20 27 33 ne.CNONE..0.*/...........with.'3
2460 27 00 09 09 09 20 20 20 20 20 20 20 63 6f 6c 6c 69 73 69 6f 6e 20 6f 66 20 27 34 27 20 77 69 6c '...........collision.of.'4'.wil
2480 6c 20 6f 76 65 72 72 69 64 65 20 61 20 63 6f 6c 6c 69 73 69 6f 6e 00 2f 2a 20 43 6f 6c 6c 69 73 l.override.a.collision./*.Collis
24a0 69 6f 6e 20 64 61 74 61 20 63 6f 64 65 73 20 2d 20 4e 42 20 3a 20 6f 72 64 65 72 20 69 73 20 69 ion.data.codes.-.NB.:.order.is.i
24c0 6d 70 6f 72 74 61 6e 74 20 66 6f 72 20 56 65 63 74 6f 72 20 63 6f 6c 6c 69 73 69 6f 6e 73 20 2d mportant.for.Vector.collisions.-
24e0 20 61 20 00 00 00 09 09 09 09 20 46 61 6c 73 65 2c 46 61 6c 73 65 2c 46 61 6c 73 65 2c 46 61 6c .a.........False,False,False,Fal
2500 73 65 7d 3b 00 09 09 09 09 7b 46 61 6c 73 65 2c 46 61 6c 73 65 2c 46 61 6c 73 65 2c 46 61 6c 73 se};.....{False,False,False,Fals
2520 65 2c 46 61 6c 73 65 2c 00 73 74 61 74 69 63 20 69 6e 74 09 09 6b 65 79 6d 61 70 5b 50 41 55 53 e,False,.static.int..keymap[PAUS
2540 45 2b 31 5d 3d 00 73 74 61 74 69 63 20 4b 65 79 53 79 6d 09 09 6c 61 73 74 5f 6b 65 79 73 79 6d E+1]=.static.KeySym..last_keysym
2560 3b 00 73 74 61 74 69 63 20 69 6e 74 09 09 69 6e 6b 65 79 3d 4e 4f 4e 45 3b 00 00 23 64 65 66 69 ;.static.int..inkey=NONE;..#defi
2580 6e 65 20 50 41 55 53 45 09 09 38 00 23 64 65 66 69 6e 65 20 53 43 41 4c 45 5f 44 4f 57 4e 09 37 ne.PAUSE..8.#define.SCALE_DOWN.7
25a0 00 23 64 65 66 69 6e 65 20 53 43 41 4c 45 5f 55 50 09 36 00 23 64 65 66 69 6e 65 20 51 55 49 54 .#define.SCALE_UP.6.#define.QUIT
25c0 09 09 35 00 23 64 65 66 69 6e 65 20 52 49 47 48 54 09 09 34 00 23 64 65 66 69 6e 65 09 4c 45 46 ..5.#define.RIGHT..4.#define.LEF
25e0 54 09 09 33 00 23 64 65 66 69 6e 65 20 54 48 52 55 53 54 09 09 32 00 23 64 65 66 69 6e 65 20 46 T..3.#define.THRUST..2.#define.F
2600 49 4e 45 5f 52 49 47 48 54 09 31 00 23 64 65 66 69 6e 65 20 46 49 4e 45 5f 4c 45 46 54 09 30 00 INE_RIGHT.1.#define.FINE_LEFT.0.
2620 23 64 65 66 69 6e 65 20 4e 4f 4e 45 09 09 2d 31 00 00 09 09 09 20 20 20 20 7d 3b 00 09 09 09 09 #define.NONE..-1.........};.....
2640 7b 30 2c 4e 55 4c 4c 7d 00 09 09 09 09 7b 30 2c 4b 65 79 7d 2c 00 09 09 09 20 20 20 20 7b 00 09 {0,NULL}.....{0,Key},........{..
2660 09 09 6b 65 79 5b 32 5d 3d 00 73 74 61 74 69 63 20 58 57 69 6e 64 6f 77 4b 65 79 43 61 6c 6c 62 ..key[2]=.static.XWindowKeyCallb
2680 61 63 6b 00 2a 2f 00 2f 2a 20 4b 65 79 63 6f 6e 74 72 6f 6c 73 00 00 09 09 09 7d 3b 00 09 09 09 ack.*/./*.Keycontrols.....};....
26a0 20 20 20 20 7b 22 4e 2e 42 22 2c 31 30 30 2c 31 7d 2c 00 09 09 09 20 20 20 20 7b 22 4e 2e 42 22 ....{"N.B",100,1},........{"N.B"
26c0 2c 31 30 30 2c 31 7d 2c 00 09 09 09 20 20 20 20 7b 22 4e 2e 42 22 2c 31 30 30 2c 31 7d 2c 00 09 ,100,1},........{"N.B",100,1},..
26e0 09 09 7b 00 73 74 61 74 69 63 20 48 69 53 63 09 09 68 69 73 63 5b 4e 4f 48 49 5d 3d 00 00 7d 20 ..{.static.HiSc..hisc[NOHI]=..}.
2700 48 69 53 63 3b 00 20 20 20 20 69 6e 74 09 09 6e 6f 3b 00 20 20 20 20 69 6e 74 09 09 73 63 6f 72 HiSc;.....int..no;.....int..scor
2720 65 3b 00 20 20 20 20 63 68 61 72 09 6e 61 6d 65 5b 34 5d 3b 00 7b 00 74 79 70 65 64 65 66 20 73 e;.....char.name[4];.{.typedef.s
2740 74 72 75 63 74 00 00 23 64 65 66 69 6e 65 20 4e 4f 48 49 09 09 33 00 2a 2f 00 2f 2a 20 48 69 73 truct..#define.NOHI..3.*/./*.His
2760 63 6f 72 65 00 00 09 09 09 50 72 6f 63 65 73 73 47 61 6d 65 4f 76 65 72 28 76 6f 69 64 29 2c 50 core.....ProcessGameOver(void),P
2780 72 6f 63 65 73 73 48 69 53 63 6f 72 65 28 76 6f 69 64 29 3b 00 73 74 61 74 69 63 20 58 46 75 6e rocessHiScore(void);.static.XFun
27a0 63 43 6f 6e 74 72 6f 6c 09 50 72 6f 63 65 73 73 54 69 74 6c 65 28 76 6f 69 64 29 2c 50 72 6f 63 cControl.ProcessTitle(void),Proc
27c0 65 73 73 49 6e 74 72 6f 28 76 6f 69 64 29 2c 50 72 6f 63 65 73 73 47 61 6d 65 28 76 6f 69 64 29 essIntro(void),ProcessGame(void)
27e0 2c 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e 74 72 6f 6c 09 4b 65 79 28 57 69 6e 64 6f 77 ,.static.XFuncControl.Key(Window
2800 20 77 2c 20 58 50 72 65 73 73 52 65 6c 65 61 73 65 20 73 2c 20 58 45 76 65 6e 74 20 2a 65 29 3b .w,.XPressRelease.s,.XEvent.*e);
2820 00 00 73 74 61 74 69 63 20 64 6f 75 62 6c 65 09 09 73 69 5b 33 36 30 30 5d 2c 63 6f 5b 33 36 30 ..static.double..si[3600],co[360
2840 30 5d 3b 00 00 73 74 61 74 69 63 20 75 63 68 61 72 09 09 2a 63 6f 6c 6c 5f 64 61 74 61 3b 00 73 0];..static.uchar..*coll_data;.s
2860 74 61 74 69 63 20 58 49 6d 61 67 65 09 09 2a 69 6d 67 3b 00 73 74 61 74 69 63 20 58 46 6f 6e 74 tatic.XImage..*img;.static.XFont
2880 53 74 72 75 63 74 09 2a 66 6f 6e 74 3b 00 73 74 61 74 69 63 20 43 6f 6c 6f 72 6d 61 70 09 09 63 Struct.*font;.static.Colormap..c
28a0 6d 3b 00 73 74 61 74 69 63 20 57 69 6e 64 6f 77 09 09 74 6f 70 2c 73 75 62 3b 00 73 74 61 74 69 m;.static.Window..top,sub;.stati
28c0 63 20 44 69 73 70 6c 61 79 09 09 2a 64 69 73 70 3b 00 73 74 61 74 69 63 20 75 6c 6f 6e 67 09 09 c.Display..*disp;.static.ulong..
28e0 62 6c 61 63 6b 2c 77 68 69 74 65 3b 00 73 74 61 74 69 63 20 58 53 69 7a 65 48 69 6e 74 73 09 73 black,white;.static.XSizeHints.s
2900 69 7a 65 5f 68 69 6e 74 73 3b 00 00 23 64 65 66 69 6e 65 20 43 48 53 43 28 78 2c 79 2c 73 78 2c ize_hints;..#define.CHSC(x,y,sx,
2920 73 79 29 09 28 28 78 29 2a 53 43 41 4c 45 29 2c 28 28 79 29 2a 53 43 41 4c 45 29 2c 53 43 41 4c sy).((x)*SCALE),((y)*SCALE),SCAL
2940 45 2a 73 78 2c 53 43 41 4c 45 2a 73 79 00 23 64 65 66 69 6e 65 20 43 48 28 78 2c 79 29 09 09 28 E*sx,SCALE*sy.#define.CH(x,y)..(
2960 28 78 29 2a 53 43 41 4c 45 29 2c 28 28 79 29 2a 53 43 41 4c 45 29 2c 53 43 41 4c 45 2c 53 43 41 (x)*SCALE),((y)*SCALE),SCALE,SCA
2980 4c 45 00 00 23 64 65 66 69 6e 65 20 4c 45 56 45 4c 44 49 52 09 22 4c 45 56 45 4c 53 2f 22 00 23 LE..#define.LEVELDIR."LEVELS/".#
29a0 64 65 66 69 6e 65 20 48 49 53 43 46 49 4c 45 09 22 68 69 73 63 2e 6c 6c 22 00 00 23 64 65 66 69 define.HISCFILE."hisc.ll"..#defi
29c0 6e 65 20 41 54 28 70 2c 78 2c 79 29 09 2a 28 28 70 29 2b 28 78 29 2b 28 79 29 2a 57 49 4e 57 29 ne.AT(p,x,y).*((p)+(x)+(y)*WINW)
29e0 00 00 23 64 65 66 69 6e 65 20 44 41 42 53 28 78 29 09 09 28 28 78 29 3c 30 2e 30 20 3f 20 28 2d ..#define.DABS(x)..((x)<0.0.?.(-
2a00 28 78 29 29 20 3a 20 28 78 29 29 00 23 64 65 66 69 6e 65 20 53 47 4e 28 78 29 09 09 28 28 78 29 (x)).:.(x)).#define.SGN(x)..((x)
2a20 20 3f 20 28 28 78 29 2f 41 42 53 28 78 29 29 20 3a 20 28 30 29 29 00 23 64 65 66 69 6e 65 20 41 .?.((x)/ABS(x)).:.(0)).#define.A
2a40 42 53 28 78 29 09 09 28 28 78 29 3c 30 20 3f 20 28 2d 28 78 29 29 20 3a 20 28 78 29 29 00 00 23 BS(x)..((x)<0.?.(-(x)).:.(x))..#
2a60 64 65 66 69 6e 65 20 46 54 4f 49 28 78 29 09 09 28 28 78 29 3e 3e 38 29 00 23 64 65 66 69 6e 65 define.FTOI(x)..((x)>>8).#define
2a80 20 49 54 4f 46 28 78 29 09 09 28 28 78 29 3c 3c 38 29 00 00 23 64 65 66 69 6e 65 20 52 4e 44 28 .ITOF(x)..((x)<<8)..#define.RND(
2aa0 78 29 09 09 28 72 61 6e 64 28 29 25 28 78 29 29 00 00 23 64 65 66 69 6e 65 20 57 49 4e 48 48 09 x)..(rand()%(x))..#define.WINHH.
2ac0 09 31 30 30 00 23 64 65 66 69 6e 65 20 57 49 4e 48 09 09 32 30 30 00 23 64 65 66 69 6e 65 20 57 .100.#define.WINH..200.#define.W
2ae0 49 4e 57 48 09 09 31 36 30 00 23 64 65 66 69 6e 65 20 57 49 4e 57 09 09 33 32 30 00 23 64 65 66 INWH..160.#define.WINW..320.#def
2b00 69 6e 65 20 57 49 4e 59 09 09 31 30 30 00 23 64 65 66 69 6e 65 20 57 49 4e 58 09 09 31 30 30 00 ine.WINY..100.#define.WINX..100.
2b20 00 23 69 6e 63 6c 75 64 65 20 22 58 62 69 74 2e 68 22 00 00 23 69 6e 63 6c 75 64 65 20 3c 73 74 .#include."Xbit.h"..#include.<st
2b40 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 63 6c ring.h>.#include.<fcntl.h>.#incl
2b60 75 64 65 20 3c 6d 61 74 68 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 69 6f 2e 68 3e 00 ude.<math.h>.#include.<stdio.h>.
2b80 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 6c 69 62 2e 68 3e 00 00 23 69 6e 63 6c 75 64 65 20 3c 58 #include.<stdlib.h>..#include.<X
2ba0 31 31 2f 6b 65 79 73 79 6d 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 61 74 6f 6d 11/keysym.h>.#include.<X11/Xatom
2bc0 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 6f 73 2e 68 3e 00 23 69 6e 63 6c 75 64 .h>.#include.<X11/Xos.h>.#includ
2be0 65 20 3c 58 31 31 2f 58 75 74 69 6c 2e 68 3e 00 23 69 6e 63 6c 75 64 65 20 3c 58 31 31 2f 58 6c e.<X11/Xutil.h>.#include.<X11/Xl
2c00 69 62 2e 68 3e 00 00 73 74 61 74 69 63 20 63 68 61 72 20 72 63 73 5f 69 64 5b 5d 3d 22 24 49 64 ib.h>..static.char.rcs_id[]="$Id
2c20 3a 20 2e 6c 75 6e 61 72 2e 63 2e 73 77 70 2c 76 20 31 2e 31 2e 31 2e 31 20 32 30 30 35 2d 30 35 :..lunar.c.swp,v.1.1.1.1.2005-05
2c40 2d 31 32 20 30 30 3a 35 39 3a 33 39 20 69 61 6e 63 20 45 78 70 20 24 22 3b 00 2a 2f 00 00 20 20 -12.00:59:39.ianc.Exp.$";.*/....
2c60 20 20 54 68 69 73 20 63 6f 64 65 20 69 73 20 72 61 74 68 65 72 20 6d 65 73 73 79 20 61 73 20 69 ..This.code.is.rather.messy.as.i
2c80 74 20 69 73 20 61 20 71 75 69 63 6b 20 74 69 64 79 20 75 70 20 66 72 6f 6d 20 74 68 65 20 4b 26 t.is.a.quick.tidy.up.from.the.K&
2ca0 52 20 6f 72 69 67 69 6e 61 6c 2e 00 00 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d R.original.......---------------
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 00 00 20 20 20 20 --------------------------......
2d00 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 61 63 Foundation,.Inc.,.59.Temple.Plac
2d20 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 31 2d e,.Suite.330,.Boston,.MA..02111-
2d40 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 70 72 1307..USA.....along.with.this.pr
2d60 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 65 65 ogram;.if.not,.write.to.the.Free
2d80 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 72 65 .Software.....You.should.have.re
2da0 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 61 6c ceived.a.copy.of.the.GNU.General
2dc0 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 61 6c .Public.License......GNU.General
2de0 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 6c 73 .Public.License.for.more.details
2e00 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 53 53 ......MERCHANTABILITY.or.FITNESS
2e20 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 65 20 .FOR.A.PARTICULAR.PURPOSE...See.
2e40 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 54 59 the.....but.WITHOUT.ANY.WARRANTY
2e60 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 72 61 ;.without.even.the.implied.warra
2e80 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 74 72 nty.of.....This.program.is.distr
2ea0 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 6c 20 ibuted.in.the.hope.that.it.will.
2ec0 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 6e 29 be.useful,......(at.your.option)
2ee0 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 65 65 .any.later.version......the.Free
2f00 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 65 72 .Software.Foundation;.either.ver
2f20 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 69 74 sion.2.of.the.License,.or.....it
2f40 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 6e 65 .under.the.terms.of.the.GNU.Gene
2f60 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 64 20 ral.Public.License.as.published.
2f80 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 66 74 by.....This.program.is.free.soft
2fa0 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 61 6e ware;.you.can.redistribute.it.an
2fc0 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 20 32 d/or.modify......Copyright.(C).2
2fe0 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 78 2e 005..Ian.Cowburn.(ianc@noddybox.
3000 64 65 6d 6f 6e 2e 63 6f 2e 75 6b 29 00 00 20 20 20 20 6c 75 6e 61 72 20 2d 20 53 69 6d 70 6c 65 demon.co.uk)......lunar.-.Simple
3020 20 58 31 31 20 4c 75 6e 61 72 20 4c 61 6e 64 65 72 00 00 2f 2a 00 61 64 00 00 39 0c 00 00 01 0d .X11.Lunar.Lander../*.ad..9.....
3040 00 00 00 10 00 00 2d 00 00 00 e9 0f 00 00 e8 0f 00 00 bc 0f 00 00 90 0f 00 00 8f 0f 00 00 78 0f ......-.......................x.
3060 00 00 77 0f 00 00 69 0f 00 00 68 0f 00 00 47 0f 00 00 40 0f 00 00 11 0f 00 00 e2 0e 00 00 e1 0e ..w...i...h...G...@.............
3080 00 00 d6 0e 00 00 c2 0e 00 00 bb 0e 00 00 ba 0e 00 00 92 0e 00 00 6a 0e 00 00 69 0e 00 00 4f 0e ......................j...i...O.
30a0 00 00 48 0e 00 00 24 0e 00 00 f6 0d 00 00 ef 0d 00 00 ee 0d 00 00 de 0d 00 00 ca 0d 00 00 c9 0d ..H...$.........................
30c0 00 00 ab 0d 00 00 a4 0d 00 00 72 0d 00 00 68 0d 00 00 61 0d 00 00 5e 0d 00 00 5d 0d 00 00 45 0d ..........r...h...a...^...]...E.
30e0 00 00 44 0d 00 00 37 0d 00 00 31 0d 00 00 30 0d 00 00 13 0d 00 00 03 0d 00 00 01 0d 00 00 00 0d ..D...7...1...0.................
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 7d 00 09 66 72 65 65 28 6e .......................}..free(n
3d40 61 6d 65 5b 66 5d 29 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 5f 6c 65 76 65 6c 73 ame[f]);.....for(f=0;f<no_levels
3d60 3b 66 2b 2b 29 00 00 20 20 20 20 7d 00 09 66 63 6c 6f 73 65 28 66 70 29 3b 00 00 09 6c 65 76 64 ;f++)......}..fclose(fp);...levd
3d80 61 74 61 5b 66 5d 2e 6e 6f 3d 70 6f 6c 79 5f 6e 6f 3b 00 00 09 7d 00 09 20 20 20 20 7d 00 09 09 ata[f].no=poly_no;...}......}...
3da0 65 72 72 28 73 29 3b 00 09 09 73 70 72 69 6e 74 66 28 73 2c 22 54 6f 6f 20 6d 61 6e 79 20 70 6f err(s);...sprintf(s,"Too.many.po
3dc0 6c 79 67 6f 6e 73 20 69 6e 20 27 25 73 27 22 2c 6e 61 6d 65 5b 66 5d 29 3b 00 09 20 20 20 20 7b lygons.in.'%s'",name[f]);......{
3de0 00 09 20 20 20 20 69 66 20 28 70 6f 6c 79 5f 6e 6f 3d 3d 4d 41 58 4c 45 56 50 4f 4c 59 29 00 00 ......if.(poly_no==MAXLEVPOLY)..
3e00 09 20 20 20 20 70 3d 47 65 74 4c 69 6e 65 28 66 70 29 3b 00 09 20 20 20 20 70 6f 6c 79 5f 6e 6f .....p=GetLine(fp);......poly_no
3e20 2b 2b 3b 00 00 09 20 20 20 20 7d 00 09 09 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f ++;.......}...levdata[f].v[poly_
3e40 6e 6f 5d 2e 6c 6e 5b 6c 5d 2e 70 32 3d 28 6c 2b 31 29 25 70 74 5f 6e 6f 3b 00 09 09 6c 65 76 64 no].ln[l].p2=(l+1)%pt_no;...levd
3e60 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 6c 6e 5b 6c 5d 2e 70 31 3d 6c 3b 00 09 20 ata[f].v[poly_no].ln[l].p1=l;...
3e80 20 20 20 7b 00 09 20 20 20 20 66 6f 72 28 6c 3d 30 3b 6c 3c 70 74 5f 6e 6f 3b 6c 2b 2b 29 00 00 ...{......for(l=0;l<pt_no;l++)..
3ea0 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 6e 6f 5f 6c 6e .....levdata[f].v[poly_no].no_ln
3ec0 3d 70 74 5f 6e 6f 3b 00 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e =pt_no;......levdata[f].v[poly_n
3ee0 6f 5d 2e 6e 6f 5f 70 74 3d 70 74 5f 6e 6f 3b 00 00 09 20 20 20 20 7d 00 09 09 47 65 74 4e 75 6d o].no_pt=pt_no;.......}...GetNum
3f00 28 66 70 2c 26 78 2c 26 79 29 3b 00 09 09 70 74 5f 6e 6f 2b 2b 3b 00 00 09 09 6c 65 76 64 61 74 (fp,&x,&y);...pt_no++;....levdat
3f20 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 70 74 5b 70 74 5f 6e 6f 5d 2e 79 3d 28 64 6f 75 a[f].v[poly_no].pt[pt_no].y=(dou
3f40 62 6c 65 29 79 3b 00 09 09 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 70 ble)y;...levdata[f].v[poly_no].p
3f60 74 5b 70 74 5f 6e 6f 5d 2e 78 3d 28 64 6f 75 62 6c 65 29 78 3b 00 09 20 20 20 20 7b 00 09 20 20 t[pt_no].x=(double)x;......{....
3f80 20 20 77 68 69 6c 65 28 28 78 21 3d 2d 36 36 36 29 7c 7c 28 79 21 3d 2d 36 36 36 29 29 00 00 09 ..while((x!=-666)||(y!=-666))...
3fa0 20 20 20 20 70 74 5f 6e 6f 3d 30 3b 00 00 09 20 20 20 20 47 65 74 4e 75 6d 28 66 70 2c 26 78 2c ....pt_no=0;.......GetNum(fp,&x,
3fc0 26 79 29 3b 00 00 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d &y);.......levdata[f].v[poly_no]
3fe0 2e 70 6f 73 2e 79 3d 28 64 6f 75 62 6c 65 29 79 3b 00 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 .pos.y=(double)y;......levdata[f
4000 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 70 6f 73 2e 78 3d 28 64 6f 75 62 6c 65 29 78 3b 00 00 09 ].v[poly_no].pos.x=(double)x;...
4020 20 20 20 20 47 65 74 4e 75 6d 28 66 70 2c 26 78 2c 26 79 29 3b 00 61 64 00 00 1e 00 00 00 3a 03 ....GetNum(fp,&x,&y);.ad......:.
4040 00 00 00 10 00 00 c2 00 00 00 df 0f 00 00 bd 0f 00 00 9d 0f 00 00 7d 0f 00 00 73 0f 00 00 72 0f ......................}...s...r.
4060 00 00 60 0f 00 00 4e 0f 00 00 3e 0f 00 00 2c 0f 00 00 1b 0f 00 00 08 0f 00 00 f7 0e 00 00 e5 0e ..`...N...>...,.................
4080 00 00 e4 0e 00 00 c9 0e 00 00 ae 0e 00 00 97 0e 00 00 7c 0e 00 00 63 0e 00 00 46 0e 00 00 2d 0e ..................|...c...F...-.
40a0 00 00 12 0e 00 00 11 0e 00 00 10 0e 00 00 fe 0d 00 00 fb 0d 00 00 e9 0d 00 00 d7 0d 00 00 d6 0d ................................
40c0 00 00 c7 0d 00 00 c4 0d 00 00 b6 0d 00 00 ac 0d 00 00 ab 0d 00 00 aa 0d 00 00 9b 0d 00 00 98 0d ................................
40e0 00 00 8b 0d 00 00 7f 0d 00 00 7e 0d 00 00 7d 0d 00 00 6e 0d 00 00 6b 0d 00 00 5e 0d 00 00 53 0d ..........~...}...n...k...^...S.
4100 00 00 46 0d 00 00 33 0d 00 00 26 0d 00 00 11 0d 00 00 fc 0c 00 00 ec 0c 00 00 dc 0c 00 00 c9 0c ..F...3...&.....................
4120 00 00 bb 0c 00 00 ba 0c 00 00 b9 0c 00 00 a1 0c 00 00 9e 0c 00 00 80 0c 00 00 77 0c 00 00 5d 0c ..........................w...].
4140 00 00 4a 0c 00 00 49 0c 00 00 34 0c 00 00 1d 0c 00 00 05 0c 00 00 ed 0b 00 00 d5 0b 00 00 bd 0b ..J...I...4.....................
4160 00 00 a5 0b 00 00 8d 0b 00 00 75 0b 00 00 6a 0b 00 00 69 0b 00 00 54 0b 00 00 3d 0b 00 00 2e 0b ..........u...j...i...T...=.....
4180 00 00 1f 0b 00 00 10 0b 00 00 01 0b 00 00 f2 0a 00 00 e7 0a 00 00 e6 0a 00 00 d1 0a 00 00 c2 0a ................................
41a0 00 00 bb 0a 00 00 ba 0a 00 00 9f 0a 00 00 83 0a 00 00 6c 0a 00 00 62 0a 00 00 61 0a 00 00 48 0a ..................l...b...a...H.
41c0 00 00 47 0a 00 00 46 0a 00 00 2e 0a 00 00 2b 0a 00 00 18 0a 00 00 06 0a 00 00 f6 09 00 00 e5 09 ..G...F.......+.................
41e0 00 00 d3 09 00 00 d2 09 00 00 c3 09 00 00 c0 09 00 00 b2 09 00 00 a3 09 00 00 a2 09 00 00 8e 09 ................................
4200 00 00 8b 09 00 00 7f 09 00 00 70 09 00 00 61 09 00 00 4d 09 00 00 40 09 00 00 3f 09 00 00 1c 09 ..........p...a...M...@...?.....
4220 00 00 f9 08 00 00 f8 08 00 00 f7 08 00 00 ad 08 00 00 5f 08 00 00 5c 08 00 00 48 08 00 00 39 08 .................._...\...H...9.
4240 00 00 36 08 00 00 28 08 00 00 1d 08 00 00 1c 08 00 00 fc 07 00 00 fb 07 00 00 fa 07 00 00 af 07 ..6...(.........................
4260 00 00 79 07 00 00 76 07 00 00 60 07 00 00 48 07 00 00 47 07 00 00 32 07 00 00 1b 07 00 00 03 07 ..y...v...`...H...G...2.........
4280 00 00 f2 06 00 00 e0 06 00 00 df 06 00 00 d0 06 00 00 cd 06 00 00 c3 06 00 00 b5 06 00 00 9d 06 ................................
42a0 00 00 85 06 00 00 6b 06 00 00 5e 06 00 00 5d 06 00 00 46 06 00 00 2d 06 00 00 09 06 00 00 f1 05 ......k...^...]...F...-.........
42c0 00 00 f0 05 00 00 ef 05 00 00 e0 05 00 00 dd 05 00 00 c7 05 00 00 b1 05 00 00 9a 05 00 00 84 05 ................................
42e0 00 00 83 05 00 00 6f 05 00 00 6e 05 00 00 5e 05 00 00 5b 05 00 00 45 05 00 00 30 05 00 00 1c 05 ......o...n...^...[...E...0.....
4300 00 00 07 05 00 00 f0 04 00 00 d4 04 00 00 b8 04 00 00 a0 04 00 00 9f 04 00 00 89 04 00 00 4c 04 ..............................L.
4320 00 00 0e 04 00 00 d0 03 00 00 cf 03 00 00 b8 03 00 00 a3 03 00 00 7c 03 00 00 5f 03 00 00 49 03 ......................|..._...I.
4340 00 00 48 03 00 00 47 03 00 00 3d 03 00 00 3a 03 00 00 37 03 00 00 00 00 00 00 00 00 00 00 00 00 ..H...G...=...:...7.............
4360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2a 2f 2a 2f 00 2f 2a 20 50 72 6f 74 6f 73 00 00 00 73 ..............*/*/./*.Protos...s
4380 74 61 74 69 63 20 69 6e 74 09 6f 66 66 78 2c 6f 66 66 79 3b 00 73 74 61 74 69 63 20 64 6f 75 62 tatic.int.offx,offy;.static.doub
43a0 6c 65 09 73 68 69 70 78 69 2c 73 68 69 70 79 69 3b 00 73 74 61 74 69 63 20 69 6e 74 09 73 63 6f le.shipxi,shipyi;.static.int.sco
43c0 72 65 2c 72 6f 74 2c 66 75 65 6c 2c 6c 61 6e 64 69 6e 67 2c 6c 65 76 3b 00 73 74 61 74 69 63 20 re,rot,fuel,landing,lev;.static.
43e0 69 6e 74 09 64 6f 5f 69 6e 74 72 6f 3b 00 73 74 61 74 69 63 20 69 6e 74 09 71 75 69 74 3d 46 61 int.do_intro;.static.int.quit=Fa
4400 6c 73 65 3b 00 00 73 74 61 74 69 63 20 76 6f 69 64 09 28 2a 50 4f 4b 45 49 4d 47 29 28 58 49 6d lse;..static.void.(*POKEIMG)(XIm
4420 61 67 65 20 2a 69 6d 67 2c 20 69 6e 74 20 78 2c 20 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 6f age.*img,.int.x,.int.y,.ulong.co
4440 6c 29 3b 00 73 74 61 74 69 63 20 76 6f 69 64 09 50 4f 4b 45 49 4d 47 5f 4e 53 28 58 49 6d 61 67 l);.static.void.POKEIMG_NS(XImag
4460 65 20 2a 69 6d 67 2c 20 69 6e 74 20 78 2c 20 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 6f 6c 29 e.*img,.int.x,.int.y,.ulong.col)
4480 3b 00 73 74 61 74 69 63 20 76 6f 69 64 09 50 4f 4b 45 49 4d 47 5f 53 28 58 49 6d 61 67 65 20 2a ;.static.void.POKEIMG_S(XImage.*
44a0 69 6d 67 2c 20 69 6e 74 20 78 2c 20 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 6f 6c 29 3b 00 73 img,.int.x,.int.y,.ulong.col);.s
44c0 74 61 74 69 63 20 69 6e 74 09 53 43 41 4c 45 09 09 3d 31 3b 00 00 73 74 61 74 69 63 20 64 6f 75 tatic.int.SCALE..=1;..static.dou
44e0 62 6c 65 09 4a 45 54 09 3d 30 2e 35 3b 00 73 74 61 74 69 63 20 64 6f 75 62 6c 65 09 4d 41 58 47 ble.JET.=0.5;.static.double.MAXG
4500 52 41 56 09 3d 38 2e 30 3b 00 73 74 61 74 69 63 20 64 6f 75 62 6c 65 09 47 52 41 56 49 54 59 09 RAV.=8.0;.static.double.GRAVITY.
4520 3d 30 2e 31 3b 00 73 74 61 74 69 63 20 69 6e 74 09 53 48 4f 57 56 45 43 09 3d 30 3b 00 73 74 61 =0.1;.static.int.SHOWVEC.=0;.sta
4540 74 69 63 20 69 6e 74 09 4c 45 56 45 4c 09 3d 30 3b 00 73 74 61 74 69 63 20 69 6e 74 09 46 4f 4e tic.int.LEVEL.=0;.static.int.FON
4560 54 09 3d 31 3b 00 73 74 61 74 69 63 20 69 6e 74 09 53 43 4f 52 45 09 3d 30 3b 00 73 74 61 74 69 T.=1;.static.int.SCORE.=0;.stati
4580 63 20 69 6e 74 09 46 55 45 4c 09 3d 35 30 30 3b 00 2a 2f 00 2f 2a 20 43 6f 6e 74 72 6f 6c 20 76 c.int.FUEL.=500;.*/./*.Control.v
45a0 61 72 73 00 00 73 74 61 74 69 63 20 69 6e 74 09 09 64 61 6d 61 67 65 3b 00 00 23 64 65 66 69 6e ars..static.int..damage;..#defin
45c0 65 20 44 41 4d 41 47 45 5f 4d 41 49 4e 09 33 00 23 64 65 66 69 6e 65 20 44 41 4d 41 47 45 5f 52 e.DAMAGE_MAIN.3.#define.DAMAGE_R
45e0 49 47 48 54 09 32 00 23 64 65 66 69 6e 65 20 44 41 4d 41 47 45 5f 4c 45 46 54 09 31 00 23 64 65 IGHT.2.#define.DAMAGE_LEFT.1.#de
4600 66 69 6e 65 20 44 41 4d 41 47 45 5f 4e 4f 4e 45 09 30 00 2a 2f 00 2f 2a 20 44 61 6d 61 67 65 20 fine.DAMAGE_NONE.0.*/./*.Damage.
4620 76 61 72 73 00 00 00 73 74 61 74 69 63 20 4c 65 76 65 6c 44 65 66 09 09 6c 65 76 65 6c 3b 00 73 vars...static.LevelDef..level;.s
4640 74 61 74 69 63 20 4c 65 76 65 6c 44 65 66 09 09 6c 65 76 64 61 74 61 5b 4d 41 58 4c 45 56 45 4c tatic.LevelDef..levdata[MAXLEVEL
4660 5d 3b 00 73 74 61 74 69 63 20 63 68 61 72 09 09 2a 6c 65 76 65 6c 5f 73 65 74 3b 00 73 74 61 74 ];.static.char..*level_set;.stat
4680 69 63 20 69 6e 74 09 09 6e 6f 5f 6c 65 76 65 6c 73 3b 00 00 09 7d 20 4c 65 76 65 6c 44 65 66 3b ic.int..no_levels;...}.LevelDef;
46a0 00 09 56 65 63 4f 62 6a 65 63 74 09 76 5b 4d 41 58 4c 45 56 50 4f 4c 59 5d 3b 00 09 69 6e 74 09 ..VecObject.v[MAXLEVPOLY];..int.
46c0 09 64 72 61 77 5b 4d 41 58 4c 45 56 50 4f 4c 59 5d 3b 00 09 69 6e 74 09 09 74 79 70 65 5b 4d 41 .draw[MAXLEVPOLY];..int..type[MA
46e0 58 4c 45 56 50 4f 4c 59 5d 3b 00 09 63 68 61 72 09 09 2a 6e 61 6d 65 3b 00 09 69 6e 74 09 09 6e XLEVPOLY];..char..*name;..int..n
4700 6f 3b 00 09 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 00 00 23 64 65 66 69 6e 65 09 09 09 o;..{.typedef.struct..#define...
4720 4d 49 4e 45 09 09 34 00 23 64 65 66 69 6e 65 09 09 09 50 41 44 09 09 33 00 23 64 65 66 69 6e 65 MINE..4.#define...PAD..3.#define
4740 09 09 09 41 53 54 45 52 4f 49 44 41 43 57 09 32 00 23 64 65 66 69 6e 65 09 09 09 41 53 54 45 52 ...ASTEROIDACW.2.#define...ASTER
4760 4f 49 44 43 57 09 31 00 23 64 65 66 69 6e 65 09 09 09 4d 4f 55 4e 54 41 49 4e 09 30 00 00 23 64 OIDCW.1.#define...MOUNTAIN.0..#d
4780 65 66 69 6e 65 09 09 09 4d 41 58 4c 45 56 50 4f 4c 59 09 36 34 00 23 64 65 66 69 6e 65 09 09 09 efine...MAXLEVPOLY.64.#define...
47a0 4d 41 58 4c 45 56 45 4c 09 33 32 00 2a 2f 00 09 09 6c 65 76 65 6c 20 64 65 66 69 6e 69 74 69 6f MAXLEVEL.32.*/...level.definitio
47c0 6e 73 20 69 73 20 70 72 6f 62 61 62 6c 79 20 61 20 62 69 74 20 5f 74 6f 6f 5f 20 6d 75 63 68 21 ns.is.probably.a.bit._too_.much!
47e0 20 3a 2d 7d 00 2f 2a 20 4c 65 76 65 6c 20 64 61 74 61 20 2d 20 73 68 6f 75 6c 64 20 69 6d 70 72 .:-}./*.Level.data.-.should.impr
4800 6f 76 65 20 74 68 69 73 20 72 65 61 6c 6c 79 2e 2e 2e 20 20 55 73 69 6e 67 20 75 70 20 33 4d 62 ove.this.really.....Using.up.3Mb
4820 20 73 74 61 74 69 63 61 6c 6c 79 20 66 6f 72 00 00 00 73 74 61 74 69 63 20 42 64 53 74 61 72 09 .statically.for...static.BdStar.
4840 09 62 64 72 6f 70 5b 4e 4f 42 44 53 54 41 52 5d 3b 00 00 09 7d 20 42 64 53 74 61 72 3b 00 09 64 .bdrop[NOBDSTAR];...}.BdStar;..d
4860 6f 75 62 6c 65 09 09 78 2c 79 3b 00 09 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 00 23 64 ouble..x,y;..{.typedef.struct.#d
4880 65 66 69 6e 65 20 4e 4f 42 44 53 54 41 52 09 35 30 00 2a 2f 00 20 20 20 70 6f 77 65 72 20 66 6f efine.NOBDSTAR.50.*/....power.fo
48a0 72 20 73 6f 6d 65 20 62 61 63 6b 67 72 6f 75 6e 64 20 73 74 61 72 73 20 74 6f 20 67 69 76 65 20 r.some.background.stars.to.give.
48c0 74 68 65 20 70 6c 61 79 65 72 20 61 20 76 69 73 75 61 6c 20 63 75 65 20 6f 66 20 62 65 61 72 69 the.player.a.visual.cue.of.beari
48e0 6e 67 00 2f 2a 20 4e 6f 77 20 77 65 20 61 72 65 20 75 73 69 6e 67 20 4d 49 54 2d 53 48 4d 20 73 ng./*.Now.we.are.using.MIT-SHM.s
4900 74 72 75 63 74 75 72 65 73 2c 20 74 68 65 72 65 20 73 68 6f 75 6c 64 20 62 65 20 6d 6f 72 65 20 tructures,.there.should.be.more.
4920 74 68 61 6e 20 65 6e 6f 75 67 68 20 00 00 00 73 74 61 74 69 63 20 50 61 72 74 69 63 6c 65 09 09 than.enough....static.Particle..
4940 2a 70 5f 74 61 69 6c 5b 4e 4f 50 4c 49 53 54 5d 3b 00 73 74 61 74 69 63 20 50 61 72 74 69 63 6c *p_tail[NOPLIST];.static.Particl
4960 65 09 09 2a 70 5f 68 65 61 64 5b 4e 4f 50 4c 49 53 54 5d 3b 00 00 09 7d 20 50 61 72 74 69 63 6c e..*p_head[NOPLIST];...}.Particl
4980 65 3b 00 09 73 74 72 75 63 74 20 70 61 72 74 09 2a 6e 65 78 74 3b 00 09 50 61 72 74 69 63 6c 65 e;..struct.part.*next;..Particle
49a0 50 74 09 69 3b 00 09 50 61 72 74 69 63 6c 65 50 74 09 70 3b 00 09 69 6e 74 09 09 6c 69 66 65 3b Pt.i;..ParticlePt.p;..int..life;
49c0 00 09 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 20 70 61 72 74 00 00 09 7d 20 50 61 72 74 ..{.typedef.struct.part...}.Part
49e0 69 63 6c 65 50 74 3b 00 09 64 6f 75 62 6c 65 09 09 78 2c 79 3b 00 09 7b 00 74 79 70 65 64 65 66 iclePt;..double..x,y;..{.typedef
4a00 20 73 74 72 75 63 74 00 00 23 64 65 66 69 6e 65 09 50 55 4c 54 52 41 09 09 33 00 23 64 65 66 69 .struct..#define.PULTRA..3.#defi
4a20 6e 65 09 50 4c 4f 4e 47 09 09 32 00 23 64 65 66 69 6e 65 20 50 4d 49 44 09 09 31 00 23 64 65 66 ne.PLONG..2.#define.PMID..1.#def
4a40 69 6e 65 20 50 53 48 4f 52 54 09 09 30 00 23 64 65 66 69 6e 65 20 4e 4f 50 4c 49 53 54 09 09 34 ine.PSHORT..0.#define.NOPLIST..4
4a60 00 2a 2f 00 2f 2a 20 50 61 72 74 69 63 6c 65 20 64 65 66 69 6e 69 74 69 6f 6e 73 00 00 00 73 74 .*/./*.Particle.definitions...st
4a80 61 74 69 63 20 56 65 63 4f 62 6a 65 63 74 09 6c 61 6e 64 65 72 3b 00 00 09 09 09 20 20 20 20 7d atic.VecObject.lander;.........}
4aa0 3b 00 09 09 09 09 7b 30 2c 7d 2c 09 09 09 2f 2a 20 63 6f 6c 6c 20 2a 2f 00 09 09 09 09 43 4e 4f ;.....{0,},.../*.coll.*/.....CNO
4ac0 4e 45 2c 09 09 09 2f 2a 20 63 6f 6c 6c 63 6f 64 65 20 2a 2f 00 09 09 09 09 49 57 48 49 54 45 2c NE,.../*.collcode.*/.....IWHITE,
4ae0 09 09 09 2f 2a 20 63 6f 6c 6f 75 72 20 2a 2f 00 00 09 09 09 09 7d 2c 00 09 09 09 09 7b 30 2e 30 .../*.colour.*/......},.....{0.0
4b00 2c 30 2e 30 7d 2c 00 09 09 09 09 7b 09 09 09 2f 2a 20 77 6f 72 6b 5b 5d 20 2a 2f 00 00 09 09 09 ,0.0},.....{.../*.work[].*/.....
4b20 09 20 20 20 20 7d 2c 00 09 09 09 09 20 20 20 20 7b 34 2c 36 7d 2c 00 09 09 09 09 20 20 20 20 7b .....},.........{4,6},.........{
4b40 33 2c 35 7d 2c 00 09 09 09 09 20 20 20 20 7b 32 2c 30 7d 2c 00 09 09 09 09 20 20 20 20 7b 31 2c 3,5},.........{2,0},.........{1,
4b60 32 7d 2c 00 09 09 09 09 20 20 20 20 7b 30 2c 31 7d 2c 00 09 09 09 09 20 20 20 20 7b 09 09 09 2f 2},.........{0,1},.........{.../
4b80 2a 20 6c 6e 5b 5d 20 2a 2f 00 09 09 09 09 35 2c 09 09 09 2f 2a 20 6e 6f 5f 6c 6e 20 2a 2f 00 00 *.ln[].*/.....5,.../*.no_ln.*/..
4ba0 09 09 09 09 20 20 20 20 7d 2c 00 09 09 09 09 20 20 20 20 7b 20 31 30 2e 30 2c 09 20 32 30 2e 30 ........},.........{.10.0,..20.0
4bc0 7d 2c 00 09 09 09 09 20 20 20 20 7b 2d 31 30 2e 30 2c 09 20 32 30 2e 30 7d 2c 00 09 09 09 09 20 },.........{-10.0,..20.0},......
4be0 20 20 20 7b 20 20 37 2e 30 2c 09 20 31 30 2e 30 7d 2c 00 09 09 09 09 20 20 20 20 7b 20 2d 37 2e ...{..7.0,..10.0},.........{.-7.
4c00 30 2c 09 20 31 30 2e 30 7d 2c 00 09 09 09 09 20 20 20 20 7b 20 31 30 2e 30 2c 09 20 31 30 2e 30 0,..10.0},.........{.10.0,..10.0
4c20 7d 2c 00 09 09 09 09 20 20 20 20 7b 2d 31 30 2e 30 2c 09 20 31 30 2e 30 7d 2c 00 09 09 09 09 20 },.........{-10.0,..10.0},......
4c40 20 20 20 7b 20 20 30 2e 30 2c 09 2d 31 30 2e 30 7d 2c 00 09 09 09 09 20 20 20 20 7b 09 09 09 2f ...{..0.0,.-10.0},.........{.../
4c60 2a 20 70 74 5b 5d 20 2a 2f 00 09 09 09 09 37 2c 09 09 09 2f 2a 20 6e 6f 5f 70 74 20 2a 2f 00 00 *.pt[].*/.....7,.../*.no_pt.*/..
4c80 09 09 09 09 30 2c 09 09 09 2f 2a 20 61 6e 67 20 2a 2f 00 09 09 09 09 7b 30 2e 30 2c 30 2e 30 7d ....0,.../*.ang.*/.....{0.0,0.0}
4ca0 2c 09 09 2f 2a 20 70 6f 73 20 2a 2f 00 09 09 09 20 20 20 20 7b 00 73 74 61 74 69 63 20 56 65 63 ,../*.pos.*/........{.static.Vec
4cc0 4f 62 6a 65 63 74 09 62 61 73 65 5f 6c 61 6e 64 65 72 3d 00 2a 2f 00 2f 2a 20 4c 61 6e 64 65 72 Object.base_lander=.*/./*.Lander
4ce0 20 76 65 63 74 6f 72 20 6f 62 6a 65 63 74 00 00 00 09 7d 20 56 65 63 4f 62 6a 65 63 74 3b 00 09 .vector.object....}.VecObject;..
4d00 69 6e 74 09 09 63 6f 6c 6c 5b 56 45 43 4c 4e 5d 3b 00 09 69 6e 74 09 09 63 6f 6c 6c 63 6f 64 65 int..coll[VECLN];..int..collcode
4d20 3b 00 09 75 6c 6f 6e 67 09 09 63 6f 6c 6f 75 72 3b 00 09 56 65 63 50 74 09 09 77 6f 72 6b 5b 56 ;..ulong..colour;..VecPt..work[V
4d40 45 43 50 54 5d 3b 00 09 56 65 63 4c 69 6e 65 09 09 6c 6e 5b 56 45 43 4c 4e 5d 3b 00 09 69 6e 74 ECPT];..VecLine..ln[VECLN];..int
4d60 09 09 6e 6f 5f 6c 6e 3b 00 09 56 65 63 50 74 09 09 70 74 5b 56 45 43 50 54 5d 3b 00 09 69 6e 74 ..no_ln;..VecPt..pt[VECPT];..int
4d80 09 09 6e 6f 5f 70 74 3b 00 09 69 6e 74 09 09 61 6e 67 3b 00 09 56 65 63 50 74 09 09 70 6f 73 3b ..no_pt;..int..ang;..VecPt..pos;
4da0 00 09 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 00 00 00 09 7d 20 56 65 63 4c 69 6e 65 3b ..{.typedef.struct....}.VecLine;
4dc0 00 09 69 6e 74 09 09 70 31 2c 70 32 3b 00 09 7b 00 74 79 70 65 64 65 66 20 73 74 72 75 63 74 00 ..int..p1,p2;..{.typedef.struct.
4de0 00 00 09 7d 20 56 65 63 50 74 3b 00 09 64 6f 75 62 6c 65 09 09 78 2c 79 3b 00 09 7b 00 74 79 70 ...}.VecPt;..double..x,y;..{.typ
4e00 65 64 65 66 20 73 74 72 75 63 74 00 00 23 64 65 66 69 6e 65 20 56 45 43 4c 4e 09 09 33 32 00 23 edef.struct..#define.VECLN..32.#
4e20 64 65 66 69 6e 65 20 56 45 43 50 54 09 09 33 32 00 2a 2f 00 2f 2a 20 32 44 20 56 65 63 74 6f 72 define.VECPT..32.*/./*.2D.Vector
4e40 20 64 65 66 73 00 00 00 23 64 65 66 69 6e 65 20 42 52 4f 57 4e 09 09 70 69 78 5b 49 42 52 4f 57 .defs...#define.BROWN..pix[IBROW
4e60 4e 5d 00 23 64 65 66 69 6e 65 20 43 59 41 4e 09 09 70 69 78 5b 49 43 59 41 4e 5d 00 23 64 65 66 N].#define.CYAN..pix[ICYAN].#def
4e80 69 6e 65 20 59 45 4c 4c 4f 57 09 09 70 69 78 5b 49 59 45 4c 4c 4f 57 5d 00 23 64 65 66 69 6e 65 ine.YELLOW..pix[IYELLOW].#define
4ea0 20 42 4c 55 45 09 09 70 69 78 5b 49 42 4c 55 45 5d 00 23 64 65 66 69 6e 65 20 47 52 45 45 4e 09 .BLUE..pix[IBLUE].#define.GREEN.
4ec0 09 70 69 78 5b 49 47 52 45 45 4e 5d 00 23 64 65 66 69 6e 65 20 52 45 44 09 09 70 69 78 5b 49 52 .pix[IGREEN].#define.RED..pix[IR
4ee0 45 44 5d 00 23 64 65 66 69 6e 65 20 57 48 49 54 45 09 09 70 69 78 5b 49 57 48 49 54 45 5d 00 23 ED].#define.WHITE..pix[IWHITE].#
4f00 64 65 66 69 6e 65 20 42 4c 41 43 4b 09 09 70 69 78 5b 49 42 4c 41 43 4b 5d 00 00 23 64 65 66 69 define.BLACK..pix[IBLACK]..#defi
4f20 6e 65 20 49 42 52 4f 57 4e 09 09 37 00 23 64 65 66 69 6e 65 20 49 43 59 41 4e 09 09 36 00 23 64 ne.IBROWN..7.#define.ICYAN..6.#d
4f40 65 66 69 6e 65 20 49 59 45 4c 4c 4f 57 09 09 35 00 23 64 65 66 69 6e 65 20 49 42 4c 55 45 09 09 efine.IYELLOW..5.#define.IBLUE..
4f60 34 00 23 64 65 66 69 6e 65 20 49 47 52 45 45 4e 09 09 33 00 23 64 65 66 69 6e 65 20 49 52 45 44 4.#define.IGREEN..3.#define.IRED
4f80 09 09 32 00 23 64 65 66 69 6e 65 20 49 57 48 49 54 45 09 09 31 00 23 64 65 66 69 6e 65 20 49 42 ..2.#define.IWHITE..1.#define.IB
4fa0 4c 41 43 4b 09 09 30 00 00 09 09 09 20 20 20 20 7d 3b 00 09 09 09 09 52 47 42 28 31 36 35 2c 34 LACK..0.........};.....RGB(165,4
4fc0 32 2c 34 32 29 09 09 2f 2a 20 42 52 4f 57 4e 20 2a 2f 00 09 09 09 09 52 47 42 28 30 2c 32 35 35 2,42)../*.BROWN.*/.....RGB(0,255
4fe0 2c 32 35 35 29 2c 09 09 2f 2a 20 43 59 41 4e 20 2a 2f 00 09 09 09 09 52 47 42 28 32 35 35 2c 32 ,255),../*.CYAN.*/.....RGB(255,2
5000 35 35 2c 30 29 2c 09 09 2f 2a 20 59 45 4c 4c 4f 57 20 2a 2f 00 09 09 09 09 52 47 42 28 31 30 30 55,0),../*.YELLOW.*/.....RGB(100
5020 2c 31 30 30 2c 32 35 35 29 2c 09 2f 2a 20 42 4c 55 45 20 2a 2f 00 61 64 00 00 05 00 00 00 25 03 ,100,255),./*.BLUE.*/.ad......%.
5040 00 00 00 10 00 00 c3 00 00 00 e2 0f 00 00 c3 0f 00 00 9d 0f 00 00 7b 0f 00 00 5e 0f 00 00 44 0f ......................{...^...D.
5060 00 00 26 0f 00 00 07 0f 00 00 e9 0e 00 00 e8 0e 00 00 e7 0e 00 00 c7 0e 00 00 c5 0e 00 00 aa 0e ..&.............................
5080 00 00 90 0e 00 00 8f 0e 00 00 84 0e 00 00 73 0e 00 00 72 0e 00 00 60 0e 00 00 3e 0e 00 00 3b 0e ..............s...r...`...>...;.
50a0 00 00 2a 0e 00 00 1e 0e 00 00 1b 0e 00 00 1a 0e 00 00 08 0e 00 00 02 0e 00 00 ea 0d 00 00 e9 0d ..*.............................
50c0 00 00 db 0d 00 00 d8 0d 00 00 a6 0d 00 00 98 0d 00 00 95 0d 00 00 8f 0d 00 00 8e 0d 00 00 7c 0d ..............................|.
50e0 00 00 67 0d 00 00 5e 0d 00 00 4a 0d 00 00 49 0d 00 00 31 0d 00 00 2b 0d 00 00 10 0d 00 00 f5 0c ..g...^...J...I...1...+.........
5100 00 00 ef 0c 00 00 ee 0c 00 00 d3 0c 00 00 b8 0c 00 00 b7 0c 00 00 a9 0c 00 00 94 0c 00 00 93 0c ................................
5120 00 00 5b 0c 00 00 44 0c 00 00 2d 0c 00 00 f7 0b 00 00 bf 0b 00 00 a0 0b 00 00 80 0b 00 00 7f 0b ..[...D...-.....................
5140 00 00 57 0b 00 00 56 0b 00 00 33 0b 00 00 0d 0b 00 00 f1 0a 00 00 e4 0a 00 00 c3 0a 00 00 c2 0a ..W...V...3.....................
5160 00 00 b0 0a 00 00 af 0a 00 00 94 0a 00 00 7d 0a 00 00 7c 0a 00 00 67 0a 00 00 66 0a 00 00 57 0a ..............}...|...g...f...W.
5180 00 00 48 0a 00 00 47 0a 00 00 2f 0a 00 00 2e 0a 00 00 06 0a 00 00 00 0a 00 00 c9 09 00 00 bf 09 ..H...G.../.....................
51a0 00 00 b9 09 00 00 b8 09 00 00 92 09 00 00 91 09 00 00 7f 09 00 00 7e 09 00 00 4e 09 00 00 4d 09 ......................~...N...M.
51c0 00 00 33 09 00 00 32 09 00 00 1d 09 00 00 1c 09 00 00 0a 09 00 00 09 09 00 00 dd 08 00 00 dc 08 ..3...2.........................
51e0 00 00 cb 08 00 00 c5 08 00 00 b7 08 00 00 ab 08 00 00 9f 08 00 00 93 08 00 00 83 08 00 00 82 08 ................................
5200 00 00 7e 08 00 00 7b 08 00 00 67 08 00 00 50 08 00 00 3e 08 00 00 3d 08 00 00 2a 08 00 00 23 08 ..~...{...g...P...>...=...*...#.
5220 00 00 11 08 00 00 02 08 00 00 d8 07 00 00 d1 07 00 00 d0 07 00 00 9b 07 00 00 8a 07 00 00 79 07 ..............................y.
5240 00 00 60 07 00 00 5f 07 00 00 33 07 00 00 20 07 00 00 1f 07 00 00 10 07 00 00 0d 07 00 00 fb 06 ..`..._...3.....................
5260 00 00 cb 06 00 00 ca 06 00 00 b7 06 00 00 94 06 00 00 90 06 00 00 64 06 00 00 53 06 00 00 4f 06 ......................d...S...O.
5280 00 00 4c 06 00 00 4b 06 00 00 3d 06 00 00 14 06 00 00 0e 06 00 00 0d 06 00 00 f4 05 00 00 dc 05 ..L...K...=.....................
52a0 00 00 c3 05 00 00 c1 05 00 00 c0 05 00 00 bf 05 00 00 7c 05 00 00 79 05 00 00 3b 05 00 00 39 05 ..................|...y...;...9.
52c0 00 00 24 05 00 00 1e 05 00 00 02 05 00 00 01 05 00 00 cc 04 00 00 c9 04 00 00 b9 04 00 00 a9 04 ..$.............................
52e0 00 00 8e 04 00 00 85 04 00 00 84 04 00 00 74 04 00 00 64 04 00 00 48 04 00 00 3f 04 00 00 3e 04 ..............t...d...H...?...>.
5300 00 00 2e 04 00 00 1e 04 00 00 08 04 00 00 ff 03 00 00 fe 03 00 00 ee 03 00 00 de 03 00 00 c7 03 ................................
5320 00 00 be 03 00 00 bd 03 00 00 a8 03 00 00 90 03 00 00 87 03 00 00 86 03 00 00 76 03 00 00 66 03 ..........................v...f.
5340 00 00 4f 03 00 00 46 03 00 00 45 03 00 00 35 03 00 00 25 03 00 00 24 03 00 00 00 09 20 20 20 20 ..O...F...E...5...%...$.........
5360 63 61 73 65 20 58 4b 5f 71 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 51 3a 00 00 09 09 62 72 case.XK_q:......case.XK_Q:....br
5380 65 61 6b 3b 00 09 09 6b 65 79 6d 61 70 5b 50 41 55 53 45 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 eak;...keymap[PAUSE]=False;.....
53a0 20 63 61 73 65 20 58 4b 5f 70 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 50 3a 00 00 09 09 62 .case.XK_p:......case.XK_P:....b
53c0 72 65 61 6b 3b 00 09 09 6b 65 79 6d 61 70 5b 54 48 52 55 53 54 5d 3d 46 61 6c 73 65 3b 00 09 20 reak;...keymap[THRUST]=False;...
53e0 20 20 20 63 61 73 65 20 58 4b 5f 70 65 72 69 6f 64 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 6b ...case.XK_period:....break;...k
5400 65 79 6d 61 70 5b 52 49 47 48 54 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 63 61 73 65 20 58 4b eymap[RIGHT]=False;......case.XK
5420 5f 63 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 43 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 _c:......case.XK_C:....break;...
5440 6b 65 79 6d 61 70 5b 4c 45 46 54 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 63 61 73 65 20 58 4b keymap[LEFT]=False;......case.XK
5460 5f 7a 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 5a 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 _z:......case.XK_Z:....break;...
5480 6b 65 79 6d 61 70 5b 46 49 4e 45 5f 52 49 47 48 54 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 63 keymap[FINE_RIGHT]=False;......c
54a0 61 73 65 20 58 4b 5f 64 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 44 3a 00 00 09 09 62 72 65 ase.XK_d:......case.XK_D:....bre
54c0 61 6b 3b 00 09 09 6b 65 79 6d 61 70 5b 46 49 4e 45 5f 4c 45 46 54 5d 3d 46 61 6c 73 65 3b 00 09 ak;...keymap[FINE_LEFT]=False;..
54e0 20 20 20 20 63 61 73 65 20 58 4b 5f 61 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 41 3a 00 09 ....case.XK_a:......case.XK_A:..
5500 7b 00 09 73 77 69 74 63 68 28 58 4c 6f 6f 6b 75 70 4b 65 79 73 79 6d 28 28 58 4b 65 79 45 76 65 {..switch(XLookupKeysym((XKeyEve
5520 6e 74 20 2a 29 65 2c 53 68 69 66 74 4d 61 70 49 6e 64 65 78 29 29 00 00 09 6c 61 73 74 5f 6b 65 nt.*)e,ShiftMapIndex))...last_ke
5540 79 73 79 6d 3d 58 4b 5f 56 6f 69 64 53 79 6d 62 6f 6c 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 ysym=XK_VoidSymbol;.....{.....if
5560 20 28 73 3d 3d 58 52 45 4c 45 41 53 45 29 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e .(s==XRELEASE).{.static.XFuncCon
5580 74 72 6f 6c 20 4b 65 79 28 57 69 6e 64 6f 77 20 77 2c 20 58 50 72 65 73 73 52 65 6c 65 61 73 65 trol.Key(Window.w,.XPressRelease
55a0 20 73 2c 20 58 45 76 65 6e 74 20 2a 65 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .s,.XEvent.*e).*/./*.-----------
55c0 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 --------------------------------
55e0 2d 2d 2d 2d 20 4b 45 59 20 41 4e 44 20 55 54 49 4c 49 54 59 00 00 00 7d 00 20 20 20 20 58 43 6c ----.KEY.AND.UTILITY...}.....XCl
5600 6f 73 65 44 69 73 70 6c 61 79 28 64 69 73 70 29 3b 00 20 20 20 20 44 65 73 74 72 6f 79 58 49 6d oseDisplay(disp);.....DestroyXIm
5620 61 67 65 28 69 6d 67 29 3b 00 20 20 20 20 58 41 75 74 6f 52 65 70 65 61 74 4f 6e 28 64 69 73 70 age(img);.....XAutoRepeatOn(disp
5640 29 3b 00 00 20 20 20 20 7d 00 09 58 44 6f 57 69 6e 64 6f 77 73 28 4e 55 4c 4c 2c 4e 55 4c 4c 2c );......}..XDoWindows(NULL,NULL,
5660 6b 65 79 2c 50 72 6f 63 65 73 73 54 69 74 6c 65 29 3b 00 09 43 6c 65 61 72 4b 65 79 73 28 29 3b key,ProcessTitle);..ClearKeys();
5680 00 00 09 7d 00 09 09 7d 00 09 09 57 72 69 74 65 53 63 6f 72 65 73 28 29 3b 00 09 09 58 44 6f 57 ...}...}...WriteScores();...XDoW
56a0 69 6e 64 6f 77 73 28 4e 55 4c 4c 2c 4e 55 4c 4c 2c 6b 65 79 2c 50 72 6f 63 65 73 73 48 69 53 63 indows(NULL,NULL,key,ProcessHiSc
56c0 6f 72 65 29 3b 00 09 09 7b 00 09 20 20 20 20 69 66 20 28 73 63 6f 72 65 3e 68 69 73 63 5b 4e 4f ore);...{......if.(score>hisc[NO
56e0 48 49 2d 31 5d 2e 73 63 6f 72 65 29 00 09 20 20 20 20 52 65 61 64 53 63 6f 72 65 73 28 29 3b 00 HI-1].score)......ReadScores();.
5700 00 09 20 20 20 20 58 44 6f 57 69 6e 64 6f 77 73 28 4e 55 4c 4c 2c 4e 55 4c 4c 2c 6b 65 79 2c 50 ......XDoWindows(NULL,NULL,key,P
5720 72 6f 63 65 73 73 47 61 6d 65 4f 76 65 72 29 3b 00 09 20 20 20 20 43 6c 65 61 72 4b 65 79 73 28 rocessGameOver);......ClearKeys(
5740 29 3b 00 09 7b 00 09 69 66 20 28 73 63 6f 72 65 3e 2d 31 29 00 00 09 7d 20 77 68 69 6c 65 20 28 );..{..if.(score>-1)...}.while.(
5760 66 75 65 6c 3e 30 29 3b 00 09 20 20 20 20 58 44 6f 57 69 6e 64 6f 77 73 28 4e 55 4c 4c 2c 4e 55 fuel>0);......XDoWindows(NULL,NU
5780 4c 4c 2c 6b 65 79 2c 50 72 6f 63 65 73 73 47 61 6d 65 29 3b 00 00 09 20 20 20 20 64 61 6d 61 67 LL,key,ProcessGame);.......damag
57a0 65 3d 44 41 4d 41 47 45 5f 4e 4f 4e 45 3b 00 09 20 20 20 20 73 68 69 70 79 69 3d 30 2e 30 3b 00 e=DAMAGE_NONE;......shipyi=0.0;.
57c0 09 20 20 20 20 73 68 69 70 78 69 3d 30 2e 30 3b 00 09 20 20 20 20 6d 65 6d 63 70 79 28 26 6c 61 .....shipxi=0.0;......memcpy(&la
57e0 6e 64 65 72 2c 26 62 61 73 65 5f 6c 61 6e 64 65 72 2c 73 69 7a 65 6f 66 28 56 65 63 4f 62 6a 65 nder,&base_lander,sizeof(VecObje
5800 63 74 29 29 3b 00 00 09 20 20 20 20 7d 00 09 09 58 44 6f 57 69 6e 64 6f 77 73 28 4e 55 4c 4c 2c ct));.......}...XDoWindows(NULL,
5820 4e 55 4c 4c 2c 6b 65 79 2c 50 72 6f 63 65 73 73 49 6e 74 72 6f 29 3b 00 09 09 43 6c 65 61 72 4b NULL,key,ProcessIntro);...ClearK
5840 65 79 73 28 29 3b 00 09 09 64 6f 5f 69 6e 74 72 6f 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 7b 00 eys();...do_intro=False;......{.
5860 09 20 20 20 20 69 66 20 28 64 6f 5f 69 6e 74 72 6f 29 00 00 09 20 20 20 20 49 6e 69 74 42 64 72 .....if.(do_intro).......InitBdr
5880 6f 70 28 29 3b 00 09 20 20 20 20 43 6c 65 61 72 50 61 72 74 69 63 6c 65 73 28 29 3b 00 09 20 20 op();......ClearParticles();....
58a0 20 20 44 65 66 69 6e 65 4c 65 76 65 6c 28 29 3b 00 09 7b 00 09 64 6f 00 00 09 64 6f 5f 69 6e 74 ..DefineLevel();..{..do...do_int
58c0 72 6f 3d 54 72 75 65 3b 00 09 6c 61 6e 64 69 6e 67 3d 30 3b 00 09 6c 65 76 3d 4c 45 56 45 4c 3b ro=True;..landing=0;..lev=LEVEL;
58e0 00 09 66 75 65 6c 3d 46 55 45 4c 3b 00 09 73 63 6f 72 65 3d 53 43 4f 52 45 3b 00 20 20 20 20 7b ..fuel=FUEL;..score=SCORE;.....{
5900 00 20 20 20 20 77 68 69 6c 65 28 21 71 75 69 74 29 00 00 20 20 20 20 58 44 6f 57 69 6e 64 6f 77 .....while(!quit)......XDoWindow
5920 73 28 4e 55 4c 4c 2c 4e 55 4c 4c 2c 6b 65 79 2c 50 72 6f 63 65 73 73 54 69 74 6c 65 29 3b 00 00 s(NULL,NULL,key,ProcessTitle);..
5940 20 20 20 20 52 65 61 64 53 63 6f 72 65 73 28 29 3b 00 00 20 20 20 20 58 49 53 65 74 46 6f 6e 74 ....ReadScores();......XISetFont
5960 28 46 4f 4e 54 29 3b 00 00 20 20 20 20 58 41 75 74 6f 52 65 70 65 61 74 4f 66 66 28 64 69 73 70 (FONT);......XAutoRepeatOff(disp
5980 29 3b 00 00 20 20 20 20 62 61 73 65 5f 6c 61 6e 64 65 72 2e 63 6f 6c 6f 75 72 3d 70 69 78 5b 62 );......base_lander.colour=pix[b
59a0 61 73 65 5f 6c 61 6e 64 65 72 2e 63 6f 6c 6f 75 72 5d 3b 00 00 20 20 20 20 52 65 61 64 4c 65 76 ase_lander.colour];......ReadLev
59c0 65 6c 73 28 29 3b 00 00 20 20 20 20 41 6c 6c 6f 63 43 6f 6c 6f 75 72 73 52 47 42 28 4e 4f 43 4f els();......AllocColoursRGB(NOCO
59e0 4c 53 2c 70 69 78 2c 63 6f 6c 73 29 3b 00 00 20 20 20 20 7d 00 09 65 78 69 74 28 31 29 3b 00 09 LS,pix,cols);......}..exit(1);..
5a00 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 43 6f 75 6c 64 6e 27 74 20 6d 61 6c 6c 6f 63 28 fprintf(stderr,"Couldn't.malloc(
5a20 29 20 63 6f 6c 6c 69 73 69 6f 6e 20 64 61 74 61 5c 6e 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 ).collision.data\n");.....{.....
5a40 69 66 20 28 21 28 63 6f 6c 6c 5f 64 61 74 61 3d 6d 61 6c 6c 6f 63 28 57 49 4e 57 2a 57 49 4e 48 if.(!(coll_data=malloc(WINW*WINH
5a60 29 29 29 00 00 20 20 20 20 69 6d 67 3d 43 72 65 61 74 65 58 49 6d 61 67 65 28 29 3b 00 00 09 44 )))......img=CreateXImage();...D
5a80 69 73 61 62 6c 65 53 68 6d 28 29 3b 00 20 20 20 20 69 66 20 28 6e 6f 73 68 6d 29 00 00 20 20 20 isableShm();.....if.(noshm).....
5aa0 20 44 69 73 61 62 6c 65 50 69 78 6d 61 70 28 29 3b 00 00 20 20 20 20 64 69 73 70 3d 47 65 74 44 .DisablePixmap();......disp=GetD
5ac0 69 73 70 6c 61 79 28 29 3b 00 20 20 20 20 44 69 73 61 62 6c 65 44 6f 75 62 6c 65 42 75 66 66 65 isplay();.....DisableDoubleBuffe
5ae0 72 28 29 3b 00 00 20 20 20 20 6b 65 79 5b 30 5d 2e 77 3d 74 6f 70 3b 00 00 09 09 20 20 20 26 73 r();......key[0].w=top;.......&s
5b00 69 7a 65 5f 68 69 6e 74 73 2c 26 62 6c 61 63 6b 2c 26 77 68 69 74 65 29 3b 00 09 09 20 20 20 65 ize_hints,&black,&white);......e
5b20 76 6d 61 73 6b 2c 00 09 09 20 20 20 57 49 4e 57 2a 53 43 41 4c 45 2c 57 49 4e 48 2a 53 43 41 4c vmask,......WINW*SCALE,WINH*SCAL
5b40 45 2c 00 09 09 20 20 20 57 49 4e 58 2c 57 49 4e 59 2c 57 49 4e 57 2a 53 43 41 4c 45 2c 57 49 4e E,......WINX,WINY,WINW*SCALE,WIN
5b60 48 2a 53 43 41 4c 45 2c 00 20 20 20 20 74 6f 70 3d 4f 70 65 6e 57 69 6e 28 61 72 67 63 2c 61 72 H*SCALE,.....top=OpenWin(argc,ar
5b80 67 76 2c 61 72 67 76 5b 30 5d 2c 00 00 20 20 20 20 65 76 6d 61 73 6b 3d 4b 65 79 50 72 65 73 73 gv,argv[0],......evmask=KeyPress
5ba0 4d 61 73 6b 7c 4b 65 79 52 65 6c 65 61 73 65 4d 61 73 6b 3b 00 00 20 20 20 20 73 69 7a 65 5f 68 Mask|KeyReleaseMask;......size_h
5bc0 69 6e 74 73 2e 6d 61 78 5f 68 65 69 67 68 74 3d 57 49 4e 48 3b 00 20 20 20 20 73 69 7a 65 5f 68 ints.max_height=WINH;.....size_h
5be0 69 6e 74 73 2e 6d 61 78 5f 77 69 64 74 68 3d 57 49 4e 57 3b 00 20 20 20 20 73 69 7a 65 5f 68 69 ints.max_width=WINW;.....size_hi
5c00 6e 74 73 2e 68 65 69 67 68 74 3d 73 69 7a 65 5f 68 69 6e 74 73 2e 6d 69 6e 5f 68 65 69 67 68 74 nts.height=size_hints.min_height
5c20 3d 57 49 4e 48 2a 53 43 41 4c 45 3b 00 20 20 20 20 73 69 7a 65 5f 68 69 6e 74 73 2e 77 69 64 74 =WINH*SCALE;.....size_hints.widt
5c40 68 3d 73 69 7a 65 5f 68 69 6e 74 73 2e 6d 69 6e 5f 77 69 64 74 68 3d 57 49 4e 57 2a 53 43 41 4c h=size_hints.min_width=WINW*SCAL
5c60 45 3b 00 20 20 20 20 73 69 7a 65 5f 68 69 6e 74 73 2e 79 3d 57 49 4e 59 3b 00 20 20 20 20 73 69 E;.....size_hints.y=WINY;.....si
5c80 7a 65 5f 68 69 6e 74 73 2e 78 3d 57 49 4e 58 3b 00 20 20 20 20 73 69 7a 65 5f 68 69 6e 74 73 2e ze_hints.x=WINX;.....size_hints.
5ca0 66 6c 61 67 73 3d 50 50 6f 73 69 74 69 6f 6e 7c 50 53 69 7a 65 7c 50 4d 69 6e 53 69 7a 65 7c 50 flags=PPosition|PSize|PMinSize|P
5cc0 4d 61 78 53 69 7a 65 3b 00 00 20 20 20 20 73 72 61 6e 64 28 67 65 74 70 69 64 28 29 29 3b 00 20 MaxSize;......srand(getpid());..
5ce0 20 20 20 75 6d 61 73 6b 28 30 29 3b 00 00 09 70 5f 68 65 61 64 5b 66 5d 3d 70 5f 74 61 69 6c 5b ...umask(0);...p_head[f]=p_tail[
5d00 66 5d 3d 4e 55 4c 4c 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 50 4c 49 53 54 3b 66 f]=NULL;.....for(f=0;f<NOPLIST;f
5d20 2b 2b 29 00 00 20 20 20 20 7d 00 09 63 6f 5b 66 5d 3d 63 6f 73 28 4d 5f 50 49 2f 31 38 30 30 2e ++)......}..co[f]=cos(M_PI/1800.
5d40 30 2a 66 29 3b 00 09 73 69 5b 66 5d 3d 73 69 6e 28 4d 5f 50 49 2f 31 38 30 30 2e 30 2a 66 29 3b 0*f);..si[f]=sin(M_PI/1800.0*f);
5d60 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 33 36 30 30 3b 66 2b 2b 29 00 00 .....{.....for(f=0;f<3600;f++)..
5d80 09 50 4f 4b 45 49 4d 47 3d 50 4f 4b 45 49 4d 47 5f 53 3b 00 20 20 20 20 65 6c 73 65 00 09 50 4f .POKEIMG=POKEIMG_S;.....else..PO
5da0 4b 45 49 4d 47 3d 50 4f 4b 45 49 4d 47 5f 4e 53 3b 00 20 20 20 20 69 66 20 28 53 43 41 4c 45 3d KEIMG=POKEIMG_NS;.....if.(SCALE=
5dc0 3d 31 29 00 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 65 78 69 74 28 31 29 3b 00 09 20 20 20 =1)......}..}......exit(1);.....
5de0 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 73 63 61 6c 65 20 70 61 72 61 6d 20 6d 75 73 .fprintf(stderr,"scale.param.mus
5e00 74 20 62 65 20 2b 76 65 5c 6e 22 29 3b 00 09 7b 00 09 69 66 20 28 53 43 41 4c 45 3c 31 29 00 00 t.be.+ve\n");..{..if.(SCALE<1)..
5e20 09 53 43 41 4c 45 3d 61 74 6f 69 28 61 72 67 76 5b 61 72 67 5d 29 3b 00 20 20 20 20 7b 00 20 20 .SCALE=atoi(argv[arg]);.....{...
5e40 20 20 69 66 20 28 61 72 67 63 3e 61 72 67 29 00 00 09 7d 00 09 20 20 20 20 61 72 67 2b 2b 3b 00 ..if.(argc>arg)...}......arg++;.
5e60 09 20 20 20 20 6e 6f 73 68 6d 3d 54 72 75 65 3b 00 09 7b 00 09 69 66 20 28 21 73 74 72 63 6d 70 .....noshm=True;..{..if.(!strcmp
5e80 28 61 72 67 76 5b 61 72 67 5d 2c 22 2d 6e 6f 73 68 6d 22 29 29 00 20 20 20 20 69 66 20 28 61 72 (argv[arg],"-noshm")).....if.(ar
5ea0 67 63 3e 61 72 67 29 00 00 20 20 20 20 6e 6f 73 68 6d 3d 46 61 6c 73 65 3b 00 20 20 20 20 61 72 gc>arg)......noshm=False;.....ar
5ec0 67 3d 31 3b 00 00 20 20 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 65 76 6d 61 73 6b 3b 00 g=1;......unsigned.long.evmask;.
5ee0 20 20 20 20 69 6e 74 20 66 2c 72 2c 78 2c 79 2c 61 72 67 2c 6e 6f 73 68 6d 3b 00 7b 00 69 6e 74 ....int.f,r,x,y,arg,noshm;.{.int
5f00 20 6d 61 69 6e 28 69 6e 74 20 61 72 67 63 2c 63 68 61 72 20 2a 61 72 67 76 5b 5d 29 00 00 00 73 .main(int.argc,char.*argv[])...s
5f20 74 61 74 69 63 20 76 6f 69 64 09 52 65 61 64 4c 65 76 65 6c 73 28 76 6f 69 64 29 3b 00 73 74 61 tatic.void.ReadLevels(void);.sta
5f40 74 69 63 20 76 6f 69 64 09 57 72 69 74 65 53 63 6f 72 65 73 28 76 6f 69 64 29 3b 00 73 74 61 74 tic.void.WriteScores(void);.stat
5f60 69 63 20 76 6f 69 64 09 52 65 61 64 53 63 6f 72 65 73 28 76 6f 69 64 29 3b 00 73 74 61 74 69 63 ic.void.ReadScores(void);.static
5f80 20 69 6e 74 09 50 61 75 73 65 64 28 69 6e 74 20 6b 29 3b 00 73 74 61 74 69 63 20 76 6f 69 64 09 .int.Paused(int.k);.static.void.
5fa0 49 6e 69 74 42 64 72 6f 70 28 76 6f 69 64 29 3b 00 73 74 61 74 69 63 20 76 6f 69 64 09 43 6c 65 InitBdrop(void);.static.void.Cle
5fc0 61 72 50 61 72 74 69 63 6c 65 73 28 76 6f 69 64 29 3b 00 73 74 61 74 69 63 20 76 6f 69 64 09 44 arParticles(void);.static.void.D
5fe0 72 61 77 4f 62 6a 65 63 74 28 56 65 63 4f 62 6a 65 63 74 20 2a 6f 29 3b 00 73 74 61 74 69 63 20 rawObject(VecObject.*o);.static.
6000 76 6f 69 64 09 44 65 66 69 6e 65 4c 65 76 65 6c 28 76 6f 69 64 29 3b 00 73 74 61 74 69 63 20 76 void.DefineLevel(void);.static.v
6020 6f 69 64 20 09 43 6c 65 61 72 4b 65 79 73 28 76 6f 69 64 29 3b 00 61 64 00 00 19 00 00 00 a5 03 oid..ClearKeys(void);.ad........
6040 00 00 00 10 00 00 de 00 00 00 ea 0f 00 00 e1 0f 00 00 e0 0f 00 00 c6 0f 00 00 aa 0f 00 00 a1 0f ................................
6060 00 00 a0 0f 00 00 85 0f 00 00 6b 0f 00 00 62 0f 00 00 61 0f 00 00 53 0f 00 00 3d 0f 00 00 34 0f ..........k...b...a...S...=...4.
6080 00 00 31 0f 00 00 2b 0f 00 00 2a 0f 00 00 17 0f 00 00 11 0f 00 00 04 0f 00 00 03 0f 00 00 c2 0e ..1...+...*.....................
60a0 00 00 bf 0e 00 00 af 0e 00 00 9f 0e 00 00 8c 0e 00 00 83 0e 00 00 82 0e 00 00 72 0e 00 00 62 0e ..........................r...b.
60c0 00 00 4e 0e 00 00 45 0e 00 00 44 0e 00 00 34 0e 00 00 24 0e 00 00 16 0e 00 00 0d 0e 00 00 0c 0e ..N...E...D...4...$.............
60e0 00 00 fc 0d 00 00 ec 0d 00 00 dd 0d 00 00 d4 0d 00 00 d3 0d 00 00 be 0d 00 00 ae 0d 00 00 a5 0d ................................
6100 00 00 a4 0d 00 00 94 0d 00 00 84 0d 00 00 75 0d 00 00 6c 0d 00 00 6b 0d 00 00 5b 0d 00 00 4b 0d ..............u...l...k...[...K.
6120 00 00 3d 0d 00 00 34 0d 00 00 33 0d 00 00 19 0d 00 00 05 0d 00 00 fc 0c 00 00 fb 0c 00 00 e0 0c ..=...4...3.....................
6140 00 00 ce 0c 00 00 c5 0c 00 00 c4 0c 00 00 b6 0c 00 00 a8 0c 00 00 9f 0c 00 00 9c 0c 00 00 9b 0c ................................
6160 00 00 89 0c 00 00 70 0c 00 00 6a 0c 00 00 69 0c 00 00 53 0c 00 00 51 0c 00 00 50 0c 00 00 4f 0c ......p...j...i...S...Q...P...O.
6180 00 00 37 0c 00 00 35 0c 00 00 24 0c 00 00 23 0c 00 00 e6 0b 00 00 c3 0b 00 00 b6 0b 00 00 b5 0b ..7...5...$...#.................
61a0 00 00 a7 0b 00 00 a5 0b 00 00 a4 0b 00 00 a3 0b 00 00 88 0b 00 00 87 0b 00 00 85 0b 00 00 6b 0b ..............................k.
61c0 00 00 6a 0b 00 00 4b 0b 00 00 3d 0b 00 00 3b 0b 00 00 3a 0b 00 00 39 0b 00 00 1d 0b 00 00 1b 0b ..j...K...=...;...:...9.........
61e0 00 00 10 0b 00 00 0f 0b 00 00 ff 0a 00 00 fe 0a 00 00 e9 0a 00 00 d7 0a 00 00 d5 0a 00 00 d4 0a ................................
6200 00 00 d3 0a 00 00 91 0a 00 00 8e 0a 00 00 78 0a 00 00 76 0a 00 00 62 0a 00 00 3b 0a 00 00 39 0a ..............x...v...b...;...9.
6220 00 00 38 0a 00 00 37 0a 00 00 1e 0a 00 00 1c 0a 00 00 07 0a 00 00 f0 09 00 00 ee 09 00 00 ed 09 ..8...7.........................
6240 00 00 ec 09 00 00 ba 09 00 00 b8 09 00 00 84 09 00 00 82 09 00 00 81 09 00 00 80 09 00 00 48 09 ..............................H.
6260 00 00 46 09 00 00 2c 09 00 00 2a 09 00 00 29 09 00 00 28 09 00 00 f1 08 00 00 ef 08 00 00 e0 08 ..F...,...*...)...(.............
6280 00 00 df 08 00 00 c3 08 00 00 aa 08 00 00 7d 08 00 00 7b 08 00 00 7a 08 00 00 79 08 00 00 51 08 ..............}...{...z...y...Q.
62a0 00 00 4f 08 00 00 23 08 00 00 0e 08 00 00 0c 08 00 00 0b 08 00 00 0a 08 00 00 cb 07 00 00 c8 07 ..O...#.........................
62c0 00 00 aa 07 00 00 a8 07 00 00 75 07 00 00 73 07 00 00 72 07 00 00 71 07 00 00 55 07 00 00 53 07 ..........u...s...r...q...U...S.
62e0 00 00 48 07 00 00 47 07 00 00 2b 07 00 00 17 07 00 00 14 07 00 00 f5 06 00 00 d6 06 00 00 d5 06 ..H...G...+.....................
6300 00 00 ba 06 00 00 b3 06 00 00 a2 06 00 00 95 06 00 00 82 06 00 00 5d 06 00 00 44 06 00 00 37 06 ......................]...D...7.
6320 00 00 23 06 00 00 01 06 00 00 e8 05 00 00 db 05 00 00 cf 05 00 00 c2 05 00 00 b5 05 00 00 a8 05 ..#.............................
6340 00 00 a1 05 00 00 a0 05 00 00 82 05 00 00 7f 05 00 00 7d 05 00 00 7c 05 00 00 7b 05 00 00 3a 05 ..................}...|...{...:.
6360 00 00 37 05 00 00 20 05 00 00 1f 05 00 00 fe 04 00 00 fd 04 00 00 fc 04 00 00 bd 04 00 00 bb 04 ..7.............................
6380 00 00 8f 04 00 00 86 04 00 00 85 04 00 00 6d 04 00 00 6c 04 00 00 48 04 00 00 2b 04 00 00 2a 04 ..............m...l...H...+...*.
63a0 00 00 16 04 00 00 fe 03 00 00 fc 03 00 00 fb 03 00 00 fa 03 00 00 b2 03 00 00 b0 03 00 00 a5 03 ................................
63c0 00 00 a4 03 00 00 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 ...............................i
63e0 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 4c 69 6e 65 28 56 65 63 50 74 20 2a nt.f;.{.static.void.Line(VecPt.*
6400 70 31 2c 56 65 63 50 74 20 2a 70 32 2c 20 75 6c 6f 6e 67 20 63 2c 20 69 6e 74 20 63 6f 6c 6c 63 p1,VecPt.*p2,.ulong.c,.int.collc
6420 6f 64 65 2c 20 69 6e 74 20 2a 63 6f 6c 6c 29 00 00 00 7d 00 09 41 54 28 63 6f 6c 6c 5f 64 61 74 ode,.int.*coll)...}..AT(coll_dat
6440 61 2c 78 2c 79 29 3d 63 6f 6c 3b 00 20 20 20 20 69 66 20 28 63 6f 6c 21 3d 43 4e 4f 4e 45 29 00 a,x,y)=col;.....if.(col!=CNONE).
6460 00 09 2a 72 65 74 63 6f 6c 6c 3d 41 54 28 63 6f 6c 6c 5f 64 61 74 61 2c 78 2c 79 29 3b 00 20 20 ..*retcoll=AT(coll_data,x,y);...
6480 20 20 69 66 20 28 41 54 28 63 6f 6c 6c 5f 64 61 74 61 2c 78 2c 79 29 3e 2a 72 65 74 63 6f 6c 6c ..if.(AT(coll_data,x,y)>*retcoll
64a0 29 00 00 20 20 20 20 50 4f 4b 45 49 4d 47 28 69 6d 67 2c 78 2c 79 2c 63 29 3b 00 00 09 72 65 74 )......POKEIMG(img,x,y,c);...ret
64c0 75 72 6e 3b 00 20 20 20 20 69 66 20 28 28 78 3c 30 29 7c 7c 28 78 3e 3d 57 49 4e 57 29 7c 7c 28 urn;.....if.((x<0)||(x>=WINW)||(
64e0 79 3c 30 29 7c 7c 28 79 3e 3d 57 49 4e 48 29 29 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 4c y<0)||(y>=WINH)).{.static.void.L
6500 69 6e 65 50 6c 6f 74 28 69 6e 74 20 78 2c 69 6e 74 20 79 2c 75 6c 6f 6e 67 20 63 2c 69 6e 74 20 inePlot(int.x,int.y,ulong.c,int.
6520 63 6f 6c 2c 69 6e 74 20 2a 72 65 74 63 6f 6c 6c 29 00 00 00 23 64 65 66 69 6e 65 20 53 65 74 53 col,int.*retcoll)...#define.SetS
6540 63 61 6c 65 28 73 29 09 76 65 63 73 63 61 6c 65 3d 28 73 29 00 00 73 74 61 74 69 63 20 69 6e 74 cale(s).vecscale=(s)..static.int
6560 20 76 65 63 73 63 61 6c 65 3d 30 3b 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .vecscale=0;.*/./*.-------------
6580 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 --------------------------------
65a0 2d 2d 20 56 45 43 54 4f 52 20 4f 42 4a 45 43 54 00 00 00 7d 00 09 7d 00 09 20 20 20 20 44 72 61 --.VECTOR.OBJECT...}..}......Dra
65c0 77 4f 62 6a 65 63 74 28 26 6c 65 76 65 6c 2e 76 5b 66 5d 29 3b 00 00 09 20 20 20 20 7d 00 09 09 wObject(&level.v[f]);.......}...
65e0 20 20 20 20 62 72 65 61 6b 3b 00 09 09 63 61 73 65 20 4d 49 4e 45 3a 00 09 09 20 20 20 20 62 72 ....break;...case.MINE:.......br
6600 65 61 6b 3b 00 09 09 63 61 73 65 20 50 41 44 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 eak;...case.PAD:.......break;...
6620 09 6c 65 76 65 6c 2e 76 5b 66 5d 2e 61 6e 67 2b 3d 33 36 30 30 3b 00 09 09 20 20 20 20 69 66 20 .level.v[f].ang+=3600;.......if.
6640 28 28 6c 65 76 65 6c 2e 76 5b 66 5d 2e 61 6e 67 2d 3d 32 30 29 3c 30 29 00 09 09 63 61 73 65 20 ((level.v[f].ang-=20)<0)...case.
6660 41 53 54 45 52 4f 49 44 41 43 57 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 09 6c 65 76 ASTEROIDACW:.......break;....lev
6680 65 6c 2e 76 5b 66 5d 2e 61 6e 67 2d 3d 33 36 30 30 3b 00 09 09 20 20 20 20 69 66 20 28 28 6c 65 el.v[f].ang-=3600;.......if.((le
66a0 76 65 6c 2e 76 5b 66 5d 2e 61 6e 67 2b 3d 32 30 29 3e 33 35 39 39 29 00 09 09 63 61 73 65 20 41 vel.v[f].ang+=20)>3599)...case.A
66c0 53 54 45 52 4f 49 44 43 57 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 63 61 73 65 20 4d STEROIDCW:.......break;...case.M
66e0 4f 55 4e 54 41 49 4e 3a 00 09 20 20 20 20 7b 00 09 20 20 20 20 73 77 69 74 63 68 28 6c 65 76 65 OUNTAIN:......{......switch(leve
6700 6c 2e 74 79 70 65 5b 66 5d 29 00 00 09 20 20 20 20 6c 65 76 65 6c 2e 76 5b 66 5d 2e 70 6f 73 2e l.type[f]).......level.v[f].pos.
6720 79 2b 3d 73 68 69 70 79 69 3b 00 09 20 20 20 20 6c 65 76 65 6c 2e 76 5b 66 5d 2e 70 6f 73 2e 78 y+=shipyi;......level.v[f].pos.x
6740 2b 3d 73 68 69 70 78 69 3b 00 09 7b 00 09 69 66 20 28 6c 65 76 65 6c 2e 64 72 61 77 5b 66 5d 29 +=shipxi;..{..if.(level.draw[f])
6760 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6c 65 76 65 6c 2e 6e 6f 3b 66 2b 2b 29 00 00 20 20 .....for(f=0;f<level.no;f++)....
6780 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 44 72 61 77 4c 65 76 65 6c ..int.f;.{.static.void.DrawLevel
67a0 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 6d 65 6d 63 70 79 28 26 6c 65 76 65 6c 2c 26 6c 65 (void)...}.....memcpy(&level,&le
67c0 76 64 61 74 61 5b 6c 65 76 5d 2c 73 69 7a 65 6f 66 28 4c 65 76 65 6c 44 65 66 29 29 3b 00 7b 00 vdata[lev],sizeof(LevelDef));.{.
67e0 73 74 61 74 69 63 20 76 6f 69 64 20 44 65 66 69 6e 65 4c 65 76 65 6c 28 76 6f 69 64 29 00 2a 2f static.void.DefineLevel(void).*/
6800 00 2f 2a 20 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 ./*.----------------------------
6820 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 4c 45 56 45 4c 20 55 54 49 4c 53 00 -------------------.LEVEL.UTILS.
6840 00 00 7d 00 09 50 4f 4b 45 49 4d 47 28 69 6d 67 2c 78 2c 79 2c 63 29 3b 00 20 20 20 20 69 66 20 ..}..POKEIMG(img,x,y,c);.....if.
6860 28 28 78 3e 3d 30 29 26 26 28 78 3c 57 49 4e 57 29 26 26 28 79 3e 3d 30 29 26 26 28 79 3c 57 49 ((x>=0)&&(x<WINW)&&(y>=0)&&(y<WI
6880 4e 48 29 29 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 50 6c 6f 74 28 69 6e 74 20 78 2c 20 69 NH)).{.static.void.Plot(int.x,.i
68a0 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 09 20 20 20 20 58 50 75 74 50 69 78 65 nt.y,.ulong.c)...}......XPutPixe
68c0 6c 28 69 6d 67 2c 78 2a 53 43 41 4c 45 2b 73 78 2c 79 2a 53 43 41 4c 45 2b 73 79 2c 63 29 3b 00 l(img,x*SCALE+sx,y*SCALE+sy,c);.
68e0 09 66 6f 72 28 73 79 3d 30 3b 73 79 3c 53 43 41 4c 45 3b 73 79 2b 2b 29 00 20 20 20 20 66 6f 72 .for(sy=0;sy<SCALE;sy++).....for
6900 28 73 78 3d 30 3b 73 78 3c 53 43 41 4c 45 3b 73 78 2b 2b 29 00 00 20 20 20 20 69 6e 74 20 73 78 (sx=0;sx<SCALE;sx++)......int.sx
6920 2c 73 79 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 50 4f 4b 45 49 4d 47 5f 53 28 58 49 6d ,sy;.{.static.void.POKEIMG_S(XIm
6940 61 67 65 20 2a 69 6d 67 2c 69 6e 74 20 78 2c 69 6e 74 20 79 2c 75 6c 6f 6e 67 20 63 29 00 00 00 age.*img,int.x,int.y,ulong.c)...
6960 7d 00 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 7b 00 73 74 }.....XPutPixel(img,x,y,c);.{.st
6980 61 74 69 63 20 76 6f 69 64 20 50 4f 4b 45 49 4d 47 5f 4e 53 28 58 49 6d 61 67 65 20 2a 69 6d 67 atic.void.POKEIMG_NS(XImage.*img
69a0 2c 69 6e 74 20 78 2c 69 6e 74 20 79 2c 75 6c 6f 6e 67 20 63 29 00 00 00 7d 00 20 20 20 20 58 49 ,int.x,int.y,ulong.c)...}.....XI
69c0 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 57 49 4e 57 48 2d 73 74 72 6c 65 6e 28 73 29 2a 34 2c printf(img,CH(WINWH-strlen(s)*4,
69e0 79 29 2c 63 2c 22 25 73 22 2c 73 29 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 43 65 6e 74 y),c,"%s",s);.{.static.void.Cent
6a00 72 65 28 69 6e 74 20 79 2c 20 75 6c 6f 6e 67 20 63 2c 20 63 6f 6e 73 74 20 63 68 61 72 20 2a 73 re(int.y,.ulong.c,.const.char.*s
6a20 29 00 00 00 7d 00 20 20 20 20 58 53 79 6e 63 28 64 69 73 70 2c 46 61 6c 73 65 29 3b 00 20 20 20 )...}.....XSync(disp,False);....
6a40 20 44 72 61 77 58 49 6d 61 67 65 28 69 6d 67 29 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 .DrawXImage(img);.{.static.void.
6a60 55 70 64 61 74 65 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 6d 65 6d 73 65 74 28 63 6f 6c 6c Update(void)...}.....memset(coll
6a80 5f 64 61 74 61 2c 43 4e 4f 4e 45 2c 57 49 4e 57 2a 57 49 4e 48 29 3b 00 20 20 20 20 43 6c 73 58 _data,CNONE,WINW*WINH);.....ClsX
6aa0 49 6d 61 67 65 28 69 6d 67 29 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 43 6c 73 28 76 6f Image(img);.{.static.void.Cls(vo
6ac0 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d id).*/./*.----------------------
6ae0 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 20 47 52 41 50 48 49 -------------------------.GRAPHI
6b00 43 53 20 55 54 49 4c 53 00 00 00 7d 00 09 6b 65 79 6d 61 70 5b 66 5d 3d 46 61 6c 73 65 3b 00 20 CS.UTILS...}..keymap[f]=False;..
6b20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 35 3b 66 2b 2b 29 00 00 20 20 20 20 69 6e 6b 65 79 3d 4e ...for(f=0;f<5;f++)......inkey=N
6b40 4f 4e 45 3b 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 43 ONE;......int.f;.{.static.void.C
6b60 6c 65 61 72 4b 65 79 73 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 6b 3b learKeys(void)...}.....return.k;
6b80 00 20 20 20 20 6c 61 73 74 5f 6b 65 79 73 79 6d 3d 58 4b 5f 56 6f 69 64 53 79 6d 62 6f 6c 3b 00 .....last_keysym=XK_VoidSymbol;.
6ba0 00 20 20 20 20 4b 65 79 53 79 6d 20 6b 3d 6c 61 73 74 5f 6b 65 79 73 79 6d 3b 00 7b 00 00 73 74 .....KeySym.k=last_keysym;.{..st
6bc0 61 74 69 63 20 4b 65 79 53 79 6d 20 52 61 77 4b 65 79 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 atic.KeySym.RawKey(void)...}....
6be0 20 72 65 74 75 72 6e 20 6b 3b 00 00 09 69 6e 6b 65 79 3d 4e 4f 4e 45 3b 00 09 09 09 09 28 69 6e .return.k;...inkey=NONE;.....(in
6c00 6b 65 79 3d 3d 51 55 49 54 29 7c 7c 28 69 6e 6b 65 79 3d 54 48 52 55 53 54 29 29 00 20 20 20 20 key==QUIT)||(inkey=THRUST)).....
6c20 69 66 20 28 28 69 6e 6b 65 79 3d 53 43 41 4c 45 5f 55 50 29 7c 7c 28 69 6e 6b 65 79 3d 53 43 41 if.((inkey=SCALE_UP)||(inkey=SCA
6c40 4c 45 5f 55 50 29 7c 7c 28 69 6e 6b 65 79 3d 3d 50 41 55 53 45 29 7c 7c 00 00 20 20 20 20 69 6e LE_UP)||(inkey==PAUSE)||......in
6c60 74 20 6b 3d 69 6e 6b 65 79 3b 00 7b 00 73 74 61 74 69 63 20 69 6e 74 20 47 65 74 4b 65 79 28 76 t.k=inkey;.{.static.int.GetKey(v
6c80 6f 69 64 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 58 46 55 4e 43 43 4f 4e 54 3b 00 00 oid)...}.....return.XFUNCCONT;..
6ca0 20 20 20 20 7d 00 09 20 20 20 20 6b 65 79 6d 61 70 5b 69 6e 6b 65 79 5d 3d 54 72 75 65 3b 00 09 ....}......keymap[inkey]=True;..
6cc0 69 66 20 28 69 6e 6b 65 79 21 3d 4e 4f 4e 45 29 00 00 09 7d 00 09 09 62 72 65 61 6b 3b 00 09 09 if.(inkey!=NONE)...}...break;...
6ce0 69 6e 6b 65 79 3d 4e 4f 4e 45 3b 00 09 20 20 20 20 64 65 66 61 75 6c 74 3a 00 00 09 09 62 72 65 inkey=NONE;......default:....bre
6d00 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 53 43 41 4c 45 5f 55 50 3b 00 09 20 20 20 20 63 61 73 65 20 ak;...inkey=SCALE_UP;......case.
6d20 58 4b 5f 62 72 61 63 6b 65 74 72 69 67 68 74 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 69 6e 6b XK_bracketright:....break;...ink
6d40 65 79 3d 53 43 41 4c 45 5f 44 4f 57 4e 3b 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 62 72 61 63 ey=SCALE_DOWN;......case.XK_brac
6d60 6b 65 74 6c 65 66 74 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 51 55 49 54 3b ketleft:....break;...inkey=QUIT;
6d80 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 71 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 51 3a ......case.XK_q:......case.XK_Q:
6da0 00 00 09 09 62 72 65 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 50 41 55 53 45 3b 00 09 20 20 20 20 63 ....break;...inkey=PAUSE;......c
6dc0 61 73 65 20 58 4b 5f 70 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 50 3a 00 00 09 09 62 72 65 ase.XK_p:......case.XK_P:....bre
6de0 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 54 48 52 55 53 54 3b 00 09 20 20 20 20 63 61 73 65 20 58 4b ak;...inkey=THRUST;......case.XK
6e00 5f 70 65 72 69 6f 64 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 52 49 47 48 54 _period:....break;...inkey=RIGHT
6e20 3b 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 63 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 43 ;......case.XK_c:......case.XK_C
6e40 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 4c 45 46 54 3b 00 09 20 20 20 20 63 :....break;...inkey=LEFT;......c
6e60 61 73 65 20 58 4b 5f 7a 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 5a 3a 00 00 09 09 62 72 65 ase.XK_z:......case.XK_Z:....bre
6e80 61 6b 3b 00 09 09 69 6e 6b 65 79 3d 46 49 4e 45 5f 52 49 47 48 54 3b 00 09 20 20 20 20 63 61 73 ak;...inkey=FINE_RIGHT;......cas
6ea0 65 20 58 4b 5f 64 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 44 3a 00 00 09 09 62 72 65 61 6b e.XK_d:......case.XK_D:....break
6ec0 3b 00 09 09 69 6e 6b 65 79 3d 46 49 4e 45 5f 4c 45 46 54 3b 00 09 20 20 20 20 63 61 73 65 20 58 ;...inkey=FINE_LEFT;......case.X
6ee0 4b 5f 61 3a 00 09 20 20 20 20 63 61 73 65 20 58 4b 5f 41 3a 00 09 7b 00 09 73 77 69 74 63 68 28 K_a:......case.XK_A:..{..switch(
6f00 6c 61 73 74 5f 6b 65 79 73 79 6d 3d 58 4c 6f 6f 6b 75 70 4b 65 79 73 79 6d 28 28 58 4b 65 79 45 last_keysym=XLookupKeysym((XKeyE
6f20 76 65 6e 74 20 2a 29 65 2c 53 68 69 66 74 4d 61 70 49 6e 64 65 78 29 29 00 00 09 69 6e 6b 65 79 vent.*)e,ShiftMapIndex))...inkey
6f40 3d 4e 4f 4e 45 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 73 3d 3d 58 50 52 45 53 53 29 00 =NONE;.....{.....if.(s==XPRESS).
6f60 00 20 20 20 20 7d 00 09 7d 00 09 09 62 72 65 61 6b 3b 00 09 09 6b 65 79 6d 61 70 5b 4e 4f 4e 45 .....}..}...break;...keymap[NONE
6f80 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 64 65 66 61 75 6c 74 3a 00 00 09 09 62 72 65 61 6b 3b ]=False;......default:....break;
6fa0 00 09 09 6b 65 79 6d 61 70 5b 53 43 41 4c 45 5f 55 50 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 20 ...keymap[SCALE_UP]=False;......
6fc0 63 61 73 65 20 58 4b 5f 62 72 61 63 6b 65 74 72 69 67 68 74 3a 00 00 09 09 62 72 65 61 6b 3b 00 case.XK_bracketright:....break;.
6fe0 09 09 6b 65 79 6d 61 70 5b 53 43 41 4c 45 5f 44 4f 57 4e 5d 3d 46 61 6c 73 65 3b 00 09 20 20 20 ..keymap[SCALE_DOWN]=False;.....
7000 20 63 61 73 65 20 58 4b 5f 62 72 61 63 6b 65 74 6c 65 66 74 3a 00 00 09 09 62 72 65 61 6b 3b 00 .case.XK_bracketleft:....break;.
7020 09 09 6b 65 79 6d 61 70 5b 51 55 49 54 5d 3d 46 61 6c 73 65 3b 00 61 64 00 00 00 00 00 00 c4 03 ..keymap[QUIT]=False;.ad........
7040 00 00 00 10 00 00 ec 00 00 00 d2 0f 00 00 b9 0f 00 00 b8 0f 00 00 a4 0f 00 00 90 0f 00 00 7c 0f ..............................|.
7060 00 00 68 0f 00 00 67 0f 00 00 4d 0f 00 00 44 0f 00 00 43 0f 00 00 21 0f 00 00 18 0f 00 00 17 0f ..h...g...M...D...C...!.........
7080 00 00 fd 0e 00 00 f4 0e 00 00 f3 0e 00 00 d1 0e 00 00 c8 0e 00 00 c7 0e 00 00 b7 0e 00 00 a7 0e ................................
70a0 00 00 a6 0e 00 00 96 0e 00 00 86 0e 00 00 85 0e 00 00 75 0e 00 00 65 0e 00 00 64 0e 00 00 55 0e ..................u...e...d...U.
70c0 00 00 4f 0e 00 00 42 0e 00 00 36 0e 00 00 29 0e 00 00 16 0e 00 00 10 0e 00 00 07 0e 00 00 01 0e ..O...B...6...).................
70e0 00 00 f3 0d 00 00 e7 0d 00 00 da 0d 00 00 c7 0d 00 00 c1 0d 00 00 c0 0d 00 00 b5 0d 00 00 aa 0d ................................
7100 00 00 a9 0d 00 00 86 0d 00 00 85 0d 00 00 76 0d 00 00 67 0d 00 00 64 0d 00 00 55 0d 00 00 4e 0d ..............v...g...d...U...N.
7120 00 00 42 0d 00 00 39 0d 00 00 32 0d 00 00 28 0d 00 00 21 0d 00 00 14 0d 00 00 0b 0d 00 00 02 0d ..B...9...2...(...!.............
7140 00 00 fb 0c 00 00 fa 0c 00 00 d6 0c 00 00 d3 0c 00 00 ca 0c 00 00 bb 0c 00 00 b8 0c 00 00 a9 0c ................................
7160 00 00 a2 0c 00 00 96 0c 00 00 8d 0c 00 00 86 0c 00 00 7c 0c 00 00 75 0c 00 00 68 0c 00 00 5f 0c ..................|...u...h..._.
7180 00 00 56 0c 00 00 4f 0c 00 00 4e 0c 00 00 2a 0c 00 00 27 0c 00 00 25 0c 00 00 24 0c 00 00 23 0c ..V...O...N...*...'...%...$...#.
71a0 00 00 f5 0b 00 00 f3 0b 00 00 d9 0b 00 00 d8 0b 00 00 c9 0b 00 00 ba 0b 00 00 b9 0b 00 00 ab 0b ................................
71c0 00 00 9d 0b 00 00 9c 0b 00 00 7e 0b 00 00 63 0b 00 00 61 0b 00 00 60 0b 00 00 5f 0b 00 00 43 0b ..........~...c...a...`..._...C.
71e0 00 00 41 0b 00 00 2d 0b 00 00 19 0b 00 00 17 0b 00 00 16 0b 00 00 15 0b 00 00 f0 0a 00 00 ee 0a ..A...-.........................
7200 00 00 e3 0a 00 00 e2 0a 00 00 d2 0a 00 00 b9 0a 00 00 b6 0a 00 00 8b 0a 00 00 6e 0a 00 00 51 0a ..........................n...Q.
7220 00 00 50 0a 00 00 3d 0a 00 00 29 0a 00 00 28 0a 00 00 0e 0a 00 00 f4 09 00 00 f1 09 00 00 e8 09 ..P...=...)...(.................
7240 00 00 cf 09 00 00 cc 09 00 00 a5 09 00 00 7e 09 00 00 7d 09 00 00 6a 09 00 00 56 09 00 00 55 09 ..............~...}...j...V...U.
7260 00 00 3b 09 00 00 21 09 00 00 1e 09 00 00 1d 09 00 00 01 09 00 00 fb 08 00 00 e8 08 00 00 cb 08 ..;...!.........................
7280 00 00 ae 08 00 00 9d 08 00 00 8a 08 00 00 76 08 00 00 70 08 00 00 6e 08 00 00 6d 08 00 00 6c 08 ..............v...p...n...m...l.
72a0 00 00 27 08 00 00 24 08 00 00 03 08 00 00 01 08 00 00 f0 07 00 00 e5 07 00 00 e4 07 00 00 c9 07 ..'...$.........................
72c0 00 00 c3 07 00 00 af 07 00 00 ac 07 00 00 94 07 00 00 86 07 00 00 83 07 00 00 72 07 00 00 6c 07 ..........................r...l.
72e0 00 00 6a 07 00 00 69 07 00 00 68 07 00 00 2b 07 00 00 29 07 00 00 16 07 00 00 15 07 00 00 e3 06 ..j...i...h...+...).............
7300 00 00 dd 06 00 00 cc 06 00 00 cb 06 00 00 bd 06 00 00 ba 06 00 00 a8 06 00 00 99 06 00 00 90 06 ................................
7320 00 00 8f 06 00 00 7f 06 00 00 70 06 00 00 67 06 00 00 66 06 00 00 55 06 00 00 45 06 00 00 3c 06 ..........p...g...f...U...E...<.
7340 00 00 3b 06 00 00 29 06 00 00 19 06 00 00 10 06 00 00 0f 06 00 00 01 06 00 00 f4 05 00 00 ea 05 ..;...).........................
7360 00 00 e7 05 00 00 e6 05 00 00 c6 05 00 00 a7 05 00 00 8c 05 00 00 72 05 00 00 71 05 00 00 5e 05 ......................r...q...^.
7380 00 00 5b 05 00 00 3e 05 00 00 27 05 00 00 24 05 00 00 1e 05 00 00 fa 04 00 00 f4 04 00 00 f2 04 ..[...>...'...$.................
73a0 00 00 f1 04 00 00 f0 04 00 00 d0 04 00 00 ce 04 00 00 bd 04 00 00 b2 04 00 00 b1 04 00 00 96 04 ................................
73c0 00 00 90 04 00 00 6d 04 00 00 6a 04 00 00 4b 04 00 00 39 04 00 00 2b 04 00 00 28 04 00 00 27 04 ......m...j...K...9...+...(...'.
73e0 00 00 19 04 00 00 0f 04 00 00 0c 04 00 00 fc 03 00 00 e0 03 00 00 c4 03 00 00 09 20 20 20 20 70 ...............................p
7400 2d 3e 70 2e 79 2b 3d 70 2d 3e 69 2e 79 2b 73 68 69 70 79 69 3b 00 09 20 20 20 20 70 2d 3e 70 2e ->p.y+=p->i.y+shipyi;......p->p.
7420 78 2b 3d 70 2d 3e 69 2e 78 2b 73 68 69 70 78 69 3b 00 09 20 20 20 20 70 2d 3e 6c 69 66 65 2d 2d x+=p->i.x+shipxi;......p->life--
7440 3b 00 09 7b 00 09 77 68 69 6c 65 28 70 29 00 09 70 3d 70 5f 68 65 61 64 5b 66 5d 3b 00 00 09 7d ;..{..while(p)..p=p_head[f];...}
7460 00 09 20 20 20 20 66 72 65 65 28 70 29 3b 00 09 09 70 5f 74 61 69 6c 5b 66 5d 3d 4e 55 4c 4c 3b ......free(p);...p_tail[f]=NULL;
7480 00 09 20 20 20 20 69 66 20 28 21 28 70 5f 68 65 61 64 5b 66 5d 3d 70 2d 3e 6e 65 78 74 29 29 00 ......if.(!(p_head[f]=p->next)).
74a0 09 7b 00 09 77 68 69 6c 65 20 28 28 70 3d 70 5f 68 65 61 64 5b 66 5d 29 26 26 28 21 70 2d 3e 6c .{..while.((p=p_head[f])&&(!p->l
74c0 69 66 65 29 29 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 50 4c 49 53 ife)).....{.....for(f=0;f<NOPLIS
74e0 54 3b 66 2b 2b 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 20 20 20 20 50 61 72 74 69 63 6c 65 20 T;f++)......int.f;.....Particle.
7500 2a 70 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 44 72 61 77 50 61 72 74 69 63 6c 65 73 28 *p;.{.static.void.DrawParticles(
7520 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 7d 00 09 20 20 20 20 70 5f 68 65 61 64 5b 6c 69 73 74 void)...}.....}......p_head[list
7540 5d 3d 70 5f 74 61 69 6c 5b 6c 69 73 74 5d 3d 6e 65 77 3b 00 09 65 6c 73 65 00 09 7d 00 09 20 20 ]=p_tail[list]=new;..else..}....
7560 20 20 70 5f 74 61 69 6c 5b 6c 69 73 74 5d 3d 6e 65 77 3b 00 09 20 20 20 20 70 5f 74 61 69 6c 5b ..p_tail[list]=new;......p_tail[
7580 6c 69 73 74 5d 2d 3e 6e 65 78 74 3d 6e 65 77 3b 00 09 7b 00 09 69 66 20 28 70 5f 68 65 61 64 5b list]->next=new;..{..if.(p_head[
75a0 6c 69 73 74 5d 29 00 00 09 6e 65 77 2d 3e 69 2e 79 3d 63 6f 5b 61 6e 67 5d 2f 77 65 69 67 68 74 list])...new->i.y=co[ang]/weight
75c0 3b 00 09 6e 65 77 2d 3e 69 2e 78 3d 2d 73 69 5b 61 6e 67 5d 2f 77 65 69 67 68 74 3b 00 09 6e 65 ;..new->i.x=-si[ang]/weight;..ne
75e0 77 2d 3e 70 2e 79 3d 28 64 6f 75 62 6c 65 29 72 61 64 2a 63 6f 5b 61 6e 67 5d 3b 00 09 6e 65 77 w->p.y=(double)rad*co[ang];..new
7600 2d 3e 70 2e 78 3d 2d 28 64 6f 75 62 6c 65 29 72 61 64 2a 73 69 5b 61 6e 67 5d 3b 00 00 09 7d 00 ->p.x=-(double)rad*si[ang];...}.
7620 09 09 72 65 74 75 72 6e 3b 00 09 09 66 72 65 65 28 6e 65 77 29 3b 00 09 20 20 20 20 64 65 66 61 ..return;...free(new);......defa
7640 75 6c 74 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 6e 65 77 2d 3e 6c 69 66 65 3d 34 30 3b 00 09 ult:....break;...new->life=40;..
7660 20 20 20 20 63 61 73 65 20 50 55 4c 54 52 41 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 6e 65 77 ....case.PULTRA:....break;...new
7680 2d 3e 6c 69 66 65 3d 32 30 3b 00 09 20 20 20 20 63 61 73 65 20 50 4c 4f 4e 47 3a 00 00 09 09 62 ->life=20;......case.PLONG:....b
76a0 72 65 61 6b 3b 00 09 09 6e 65 77 2d 3e 6c 69 66 65 3d 37 3b 00 09 20 20 20 20 63 61 73 65 20 50 reak;...new->life=7;......case.P
76c0 4d 49 44 3a 00 00 09 09 62 72 65 61 6b 3b 00 09 09 6e 65 77 2d 3e 6c 69 66 65 3d 33 3b 00 09 20 MID:....break;...new->life=3;...
76e0 20 20 20 63 61 73 65 20 50 53 48 4f 52 54 3a 00 09 7b 00 09 73 77 69 74 63 68 28 6c 69 73 74 29 ...case.PSHORT:..{..switch(list)
7700 00 00 09 6e 65 77 2d 3e 6e 65 78 74 3d 4e 55 4c 4c 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 ...new->next=NULL;.....{.....if.
7720 28 6e 65 77 3d 28 50 61 72 74 69 63 6c 65 20 2a 29 6d 61 6c 6c 6f 63 28 73 69 7a 65 6f 66 28 50 (new=(Particle.*)malloc(sizeof(P
7740 61 72 74 69 63 6c 65 29 29 29 00 00 20 20 20 20 50 61 72 74 69 63 6c 65 20 2a 6e 65 77 3b 00 7b article)))......Particle.*new;.{
7760 00 73 74 61 74 69 63 20 76 6f 69 64 20 41 64 64 50 61 72 74 69 63 6c 65 28 69 6e 74 20 61 6e 67 .static.void.AddParticle(int.ang
7780 2c 69 6e 74 20 72 61 64 2c 69 6e 74 20 6c 69 73 74 2c 69 6e 74 20 77 65 69 67 68 74 29 00 00 00 ,int.rad,int.list,int.weight)...
77a0 7d 00 20 20 20 20 7d 00 09 70 5f 74 61 69 6c 5b 66 5d 3d 4e 55 4c 4c 3b 00 09 7d 00 09 20 20 20 }.....}..p_tail[f]=NULL;..}.....
77c0 20 66 72 65 65 28 70 29 3b 00 09 20 20 20 20 70 5f 68 65 61 64 5b 66 5d 3d 70 2d 3e 6e 65 78 74 .free(p);......p_head[f]=p->next
77e0 3b 00 09 7b 00 09 77 68 69 6c 65 28 70 3d 70 5f 68 65 61 64 5b 66 5d 29 00 20 20 20 20 7b 00 20 ;..{..while(p=p_head[f]).....{..
7800 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 50 4c 49 53 54 3b 66 2b 2b 29 00 00 20 20 20 20 69 ...for(f=0;f<NOPLIST;f++)......i
7820 6e 74 20 66 3b 00 20 20 20 20 50 61 72 74 69 63 6c 65 20 2a 70 3b 00 7b 00 73 74 61 74 69 63 20 nt.f;.....Particle.*p;.{.static.
7840 76 6f 69 64 20 43 6c 65 61 72 50 61 72 74 69 63 6c 65 73 28 76 6f 69 64 29 00 2a 2f 00 2f 2a 20 void.ClearParticles(void).*/./*.
7860 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 --------------------------------
7880 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 50 41 52 54 49 43 4c 45 20 52 4f 55 54 49 4e 45 ---------------.PARTICLE.ROUTINE
78a0 53 00 00 00 7d 00 20 20 20 20 7d 00 09 20 20 20 20 20 26 6f 2d 3e 63 6f 6c 6c 5b 66 5d 29 3b 00 S...}.....}.......&o->coll[f]);.
78c0 09 20 20 20 20 20 6f 2d 3e 63 6f 6c 6c 63 6f 64 65 2c 00 09 20 20 20 20 20 6f 2d 3e 63 6f 6c 6f ......o->collcode,.......o->colo
78e0 75 72 2c 00 09 20 20 20 20 20 26 6f 2d 3e 77 6f 72 6b 5b 6f 2d 3e 6c 6e 5b 66 5d 2e 70 32 5d 2c ur,.......&o->work[o->ln[f].p2],
7900 00 09 4c 69 6e 65 28 26 6f 2d 3e 77 6f 72 6b 5b 6f 2d 3e 6c 6e 5b 66 5d 2e 70 31 5d 2c 00 09 6f ..Line(&o->work[o->ln[f].p1],..o
7920 2d 3e 63 6f 6c 6c 5b 66 5d 3d 43 4e 4f 4e 45 3b 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 ->coll[f]=CNONE;.....{.....for(f
7940 3d 30 3b 66 3c 6f 2d 3e 6e 6f 5f 6c 6e 3b 66 2b 2b 29 00 00 09 7d 00 09 20 20 20 20 6f 2d 3e 77 =0;f<o->no_ln;f++)...}......o->w
7960 6f 72 6b 5b 66 5d 2e 79 2b 3d 57 49 4e 48 48 3b 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b 5b 66 5d ork[f].y+=WINHH;......o->work[f]
7980 2e 78 2b 3d 57 49 4e 57 48 3b 00 00 09 09 53 63 61 6c 65 28 6f 2d 3e 77 6f 72 6b 2b 66 29 3b 00 .x+=WINWH;....Scale(o->work+f);.
79a0 09 20 20 20 20 69 66 20 28 76 65 63 73 63 61 6c 65 29 00 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b .....if.(vecscale).......o->work
79c0 5b 66 5d 2e 79 3d 6f 2d 3e 70 74 5b 66 5d 2e 79 2b 6f 2d 3e 70 6f 73 2e 79 3b 00 09 20 20 20 20 [f].y=o->pt[f].y+o->pos.y;......
79e0 6f 2d 3e 77 6f 72 6b 5b 66 5d 2e 78 3d 6f 2d 3e 70 74 5b 66 5d 2e 78 2b 6f 2d 3e 70 6f 73 2e 78 o->work[f].x=o->pt[f].x+o->pos.x
7a00 3b 00 09 7b 00 09 66 6f 72 28 66 3d 30 3b 66 3c 6f 2d 3e 6e 6f 5f 70 74 3b 66 2b 2b 29 00 20 20 ;..{..for(f=0;f<o->no_pt;f++)...
7a20 20 20 65 6c 73 65 00 09 7d 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b 5b 66 5d 2e 79 2b 3d 57 49 4e ..else..}......o->work[f].y+=WIN
7a40 48 48 3b 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b 5b 66 5d 2e 78 2b 3d 57 49 4e 57 48 3b 00 00 09 HH;......o->work[f].x+=WINWH;...
7a60 09 53 63 61 6c 65 28 6f 2d 3e 77 6f 72 6b 2b 66 29 3b 00 09 20 20 20 20 69 66 20 28 76 65 63 73 .Scale(o->work+f);......if.(vecs
7a80 63 61 6c 65 29 00 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b 5b 66 5d 2e 79 2b 3d 6f 2d 3e 70 6f 73 cale).......o->work[f].y+=o->pos
7aa0 2e 79 3b 00 09 20 20 20 20 6f 2d 3e 77 6f 72 6b 5b 66 5d 2e 78 2b 3d 6f 2d 3e 70 6f 73 2e 78 3b .y;......o->work[f].x+=o->pos.x;
7ac0 00 09 20 20 20 20 52 6f 74 61 74 65 28 28 6f 2d 3e 70 74 29 2b 66 2c 28 6f 2d 3e 77 6f 72 6b 29 ......Rotate((o->pt)+f,(o->work)
7ae0 2b 66 2c 6f 2d 3e 61 6e 67 29 3b 00 09 7b 00 09 66 6f 72 28 66 3d 30 3b 66 3c 6f 2d 3e 6e 6f 5f +f,o->ang);..{..for(f=0;f<o->no_
7b00 70 74 3b 66 2b 2b 29 00 20 20 20 20 69 66 20 28 6f 2d 3e 61 6e 67 29 00 00 20 20 20 20 69 6e 74 pt;f++).....if.(o->ang)......int
7b20 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 44 72 61 77 4f 62 6a 65 63 74 28 56 65 63 .f;.{.static.void.DrawObject(Vec
7b40 4f 62 6a 65 63 74 20 2a 6f 29 00 00 00 7d 00 20 20 20 20 70 2d 3e 79 2f 3d 76 65 63 73 63 61 6c Object.*o)...}.....p->y/=vecscal
7b60 65 3b 00 20 20 20 20 70 2d 3e 78 2f 3d 76 65 63 73 63 61 6c 65 3b 00 7b 00 73 74 61 74 69 63 20 e;.....p->x/=vecscale;.{.static.
7b80 76 6f 69 64 20 53 63 61 6c 65 28 56 65 63 50 74 20 2a 70 29 00 00 00 7d 00 20 20 20 20 70 32 2d void.Scale(VecPt.*p)...}.....p2-
7ba0 3e 79 3d 28 64 73 69 2a 64 78 2b 64 63 6f 2a 64 79 29 3b 00 20 20 20 20 70 32 2d 3e 78 3d 28 64 >y=(dsi*dx+dco*dy);.....p2->x=(d
7bc0 63 6f 2a 64 78 2b 28 2d 64 73 69 29 2a 64 79 29 3b 00 00 20 20 20 20 64 79 3d 70 31 2d 3e 79 3b co*dx+(-dsi)*dy);......dy=p1->y;
7be0 00 20 20 20 20 64 78 3d 70 31 2d 3e 78 3b 00 00 20 20 20 20 64 73 69 3d 73 69 5b 61 5d 3b 00 20 .....dx=p1->x;......dsi=si[a];..
7c00 20 20 20 64 63 6f 3d 63 6f 5b 61 5d 3b 00 00 20 20 20 20 64 6f 75 62 6c 65 20 64 78 2c 64 79 2c ...dco=co[a];......double.dx,dy,
7c20 64 63 6f 2c 64 73 69 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 52 6f 74 61 74 65 28 56 65 dco,dsi;.{.static.void.Rotate(Ve
7c40 63 50 74 20 2a 70 31 2c 56 65 63 50 74 20 2a 70 32 2c 69 6e 74 20 61 29 00 00 00 7d 00 09 7d 00 cPt.*p1,VecPt.*p2,int.a)...}..}.
7c60 09 20 20 20 20 4c 69 6e 65 50 6c 6f 74 28 78 2c 79 2c 63 2c 63 6f 6c 6c 63 6f 64 65 2c 63 6f 6c .....LinePlot(x,y,c,collcode,col
7c80 6c 29 3b 00 00 09 20 20 20 20 7d 00 09 09 78 2b 3d 69 78 3b 00 09 09 79 2b 3d 69 79 3b 00 09 09 l);.......}...x+=ix;...y+=iy;...
7ca0 64 2b 3d 69 6e 63 72 4e 45 3b 00 09 20 20 20 20 7b 00 09 20 20 20 20 65 6c 73 65 00 09 20 20 20 d+=incrNE;......{......else.....
7cc0 20 7d 00 09 09 78 2b 3d 69 78 3b 00 09 09 64 2b 3d 69 6e 63 72 45 3b 00 09 20 20 20 20 7b 00 09 .}...x+=ix;...d+=incrE;......{..
7ce0 20 20 20 20 69 66 20 28 64 3c 3d 30 29 00 09 7b 00 09 77 68 69 6c 65 28 78 21 3d 70 32 78 29 00 ....if.(d<=0)..{..while(x!=p2x).
7d00 20 20 20 20 65 6c 73 65 00 09 7d 00 09 20 20 20 20 4c 69 6e 65 50 6c 6f 74 28 78 2c 79 2c 63 2c ....else..}......LinePlot(x,y,c,
7d20 63 6f 6c 6c 63 6f 64 65 2c 63 6f 6c 6c 29 3b 00 00 09 20 20 20 20 7d 00 09 09 78 2b 3d 69 78 3b collcode,coll);.......}...x+=ix;
7d40 00 09 09 79 2b 3d 69 79 3b 00 09 09 64 2b 3d 69 6e 63 72 4e 45 3b 00 09 20 20 20 20 7b 00 09 20 ...y+=iy;...d+=incrNE;......{...
7d60 20 20 20 65 6c 73 65 00 09 20 20 20 20 7d 00 09 09 79 2b 3d 69 79 3b 00 09 09 64 2b 3d 69 6e 63 ...else......}...y+=iy;...d+=inc
7d80 72 45 3b 00 09 20 20 20 20 7b 00 09 20 20 20 20 69 66 20 28 64 3c 3d 30 29 00 09 7b 00 09 77 68 rE;......{......if.(d<=0)..{..wh
7da0 69 6c 65 28 79 21 3d 70 32 79 29 00 20 20 20 20 69 66 20 28 79 6d 6f 64 65 29 00 00 20 20 20 20 ile(y!=p2y).....if.(ymode)......
7dc0 4c 69 6e 65 50 6c 6f 74 28 78 2c 79 2c 63 2c 63 6f 6c 6c 63 6f 64 65 2c 63 6f 6c 6c 29 3b 00 00 LinePlot(x,y,c,collcode,coll);..
7de0 20 20 20 20 79 3d 70 31 79 3b 00 20 20 20 20 78 3d 70 31 78 3b 00 00 20 20 20 20 7d 00 09 69 6e ....y=p1y;.....x=p1x;......}..in
7e00 63 72 4e 45 3d 28 64 79 2d 64 78 29 2a 32 3b 00 09 69 6e 63 72 45 3d 64 79 2a 32 3b 00 09 64 3d crNE=(dy-dx)*2;..incrE=dy*2;..d=
7e20 64 79 2a 32 2d 64 78 3b 00 09 79 6d 6f 64 65 3d 46 61 6c 73 65 3b 00 20 20 20 20 7b 00 20 20 20 dy*2-dx;..ymode=False;.....{....
7e40 20 65 6c 73 65 00 20 20 20 20 7d 00 09 69 6e 63 72 4e 45 3d 28 64 78 2d 64 79 29 2a 32 3b 00 09 .else.....}..incrNE=(dx-dy)*2;..
7e60 69 6e 63 72 45 3d 64 78 2a 32 3b 00 09 64 3d 64 78 2a 32 2d 64 79 3b 00 09 79 6d 6f 64 65 3d 54 incrE=dx*2;..d=dx*2-dy;..ymode=T
7e80 72 75 65 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 64 79 3e 64 78 29 00 00 20 20 20 20 64 rue;.....{.....if.(dy>dx)......d
7ea0 79 3d 41 42 53 28 64 79 29 3b 00 20 20 20 20 64 78 3d 41 42 53 28 64 78 29 3b 00 00 20 20 20 20 y=ABS(dy);.....dx=ABS(dx);......
7ec0 69 79 3d 53 47 4e 28 64 79 29 3b 00 20 20 20 20 69 78 3d 53 47 4e 28 64 78 29 3b 00 00 20 20 20 iy=SGN(dy);.....ix=SGN(dx);.....
7ee0 20 64 79 3d 70 32 79 2d 70 31 79 3b 00 20 20 20 20 64 78 3d 70 32 78 2d 70 31 78 3b 00 00 09 72 .dy=p2y-p1y;.....dx=p2x-p1x;...r
7f00 65 74 75 72 6e 3b 00 20 20 20 20 69 66 20 28 28 70 31 79 3e 3d 57 49 4e 48 29 26 26 28 70 32 79 eturn;.....if.((p1y>=WINH)&&(p2y
7f20 3e 3d 57 49 4e 48 29 29 00 00 09 72 65 74 75 72 6e 3b 00 20 20 20 20 69 66 20 28 28 70 31 79 3c >=WINH))...return;.....if.((p1y<
7f40 30 29 26 26 28 70 32 79 3c 30 29 29 00 00 09 72 65 74 75 72 6e 3b 00 20 20 20 20 69 66 20 28 28 0)&&(p2y<0))...return;.....if.((
7f60 70 31 78 3e 3d 57 49 4e 57 29 26 26 28 70 32 78 3e 3d 57 49 4e 57 29 29 00 00 09 72 65 74 75 72 p1x>=WINW)&&(p2x>=WINW))...retur
7f80 6e 3b 00 20 20 20 20 69 66 20 28 28 70 31 78 3c 30 29 26 26 28 70 32 78 3c 30 29 29 00 00 20 20 n;.....if.((p1x<0)&&(p2x<0))....
7fa0 20 20 70 32 79 3d 28 69 6e 74 29 70 32 2d 3e 79 3b 00 20 20 20 20 70 32 78 3d 28 69 6e 74 29 70 ..p2y=(int)p2->y;.....p2x=(int)p
7fc0 32 2d 3e 78 3b 00 20 20 20 20 70 31 79 3d 28 69 6e 74 29 70 31 2d 3e 79 3b 00 20 20 20 20 70 31 2->x;.....p1y=(int)p1->y;.....p1
7fe0 78 3d 28 69 6e 74 29 70 31 2d 3e 78 3b 00 00 20 20 20 20 69 6e 74 20 70 31 78 2c 70 31 79 2c 70 x=(int)p1->x;......int.p1x,p1y,p
8000 32 78 2c 70 32 79 3b 00 20 20 20 20 69 6e 74 20 64 78 2c 64 79 2c 69 78 2c 69 79 2c 69 6e 63 72 2x,p2y;.....int.dx,dy,ix,iy,incr
8020 45 2c 69 6e 63 72 4e 45 2c 64 2c 78 2c 79 2c 79 6d 6f 64 65 3b 00 61 64 00 00 2c 00 00 00 44 03 E,incrNE,d,x,y,ymode;.ad..,...D.
8040 00 00 00 10 00 00 c1 00 00 00 ed 0f 00 00 ca 0f 00 00 a3 0f 00 00 99 0f 00 00 65 0f 00 00 55 0f ..........................e...U.
8060 00 00 52 0f 00 00 4c 0f 00 00 4a 0f 00 00 49 0f 00 00 48 0f 00 00 2b 0f 00 00 29 0f 00 00 1a 0f ..R...L...J...I...H...+...).....
8080 00 00 19 0f 00 00 0b 0f 00 00 0a 0f 00 00 ef 0e 00 00 dd 0e 00 00 dc 0e 00 00 cc 0e 00 00 ca 0e ................................
80a0 00 00 c9 0e 00 00 c8 0e 00 00 a5 0e 00 00 a3 0e 00 00 98 0e 00 00 97 0e 00 00 82 0e 00 00 5d 0e ..............................].
80c0 00 00 5b 0e 00 00 5a 0e 00 00 59 0e 00 00 14 0e 00 00 11 0e 00 00 f5 0d 00 00 f3 0d 00 00 e8 0d ..[...Z...Y.....................
80e0 00 00 e7 0d 00 00 cb 0d 00 00 c5 0d 00 00 a6 0d 00 00 87 0d 00 00 81 0d 00 00 7f 0d 00 00 7e 0d ..............................~.
8100 00 00 7d 0d 00 00 61 0d 00 00 5f 0d 00 00 54 0d 00 00 53 0d 00 00 37 0d 00 00 31 0d 00 00 22 0d ..}...a..._...T...S...7...1...".
8120 00 00 1f 0d 00 00 fd 0c 00 00 db 0c 00 00 d8 0c 00 00 d2 0c 00 00 cf 0c 00 00 b6 0c 00 00 9d 0c ................................
8140 00 00 9a 0c 00 00 99 0c 00 00 84 0c 00 00 65 0c 00 00 64 0c 00 00 45 0c 00 00 26 0c 00 00 25 0c ..............e...d...E...&...%.
8160 00 00 24 0c 00 00 0f 0c 00 00 f0 0b 00 00 ef 0b 00 00 d0 0b 00 00 b1 0b 00 00 b0 0b 00 00 81 0b ..$.............................
8180 00 00 7b 0b 00 00 79 0b 00 00 78 0b 00 00 77 0b 00 00 37 0b 00 00 34 0b 00 00 16 0b 00 00 14 0b ..{...y...x...w...7...4.........
81a0 00 00 f3 0a 00 00 e5 0a 00 00 da 0a 00 00 d9 0a 00 00 be 0a 00 00 a5 0a 00 00 a4 0a 00 00 90 0a ................................
81c0 00 00 8d 0a 00 00 84 0a 00 00 83 0a 00 00 6f 0a 00 00 39 0a 00 00 38 0a 00 00 1a 0a 00 00 de 09 ..............o...9...8.........
81e0 00 00 c0 09 00 00 96 09 00 00 78 09 00 00 51 09 00 00 33 09 00 00 0b 09 00 00 ed 08 00 00 c6 08 ..........x...Q...3.............
8200 00 00 c5 08 00 00 8f 08 00 00 5c 08 00 00 21 08 00 00 20 08 00 00 15 08 00 00 0e 08 00 00 ff 07 ..........\...!.................
8220 00 00 ec 07 00 00 d3 07 00 00 ca 07 00 00 bb 07 00 00 a1 07 00 00 92 07 00 00 89 07 00 00 7a 07 ..............................z.
8240 00 00 6f 07 00 00 5c 07 00 00 53 07 00 00 44 07 00 00 2d 07 00 00 24 07 00 00 15 07 00 00 fc 06 ..o...\...S...D...-...$.........
8260 00 00 ee 06 00 00 e5 06 00 00 d6 06 00 00 c2 06 00 00 b9 06 00 00 aa 06 00 00 9f 06 00 00 93 06 ................................
8280 00 00 8a 06 00 00 7b 06 00 00 6d 06 00 00 56 06 00 00 4d 06 00 00 3e 06 00 00 32 06 00 00 1b 06 ......{...m...V...M...>...2.....
82a0 00 00 12 06 00 00 0b 06 00 00 08 06 00 00 06 06 00 00 05 06 00 00 04 06 00 00 dd 05 00 00 db 05 ................................
82c0 00 00 bc 05 00 00 ac 05 00 00 9f 05 00 00 9e 05 00 00 93 05 00 00 92 05 00 00 87 05 00 00 86 05 ................................
82e0 00 00 70 05 00 00 3b 05 00 00 3a 05 00 00 15 05 00 00 14 05 00 00 f6 04 00 00 d5 04 00 00 b5 04 ..p...;...:.....................
8300 00 00 b4 04 00 00 9f 04 00 00 99 04 00 00 78 04 00 00 63 04 00 00 60 04 00 00 3d 04 00 00 0a 04 ..............x...c...`...=.....
8320 00 00 ec 03 00 00 e9 03 00 00 e3 03 00 00 da 03 00 00 d4 03 00 00 b3 03 00 00 8c 03 00 00 5f 03 .............................._.
8340 00 00 59 03 00 00 58 03 00 00 44 03 00 00 43 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..Y...X...D...C.................
8360 00 00 00 00 00 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 66 ..............................if
8380 20 28 28 63 74 72 2f 31 30 29 25 32 29 00 00 20 20 20 20 7d 00 09 43 65 6e 74 72 65 28 31 33 30 .((ctr/10)%2)......}..Centre(130
83a0 2c 52 45 44 2c 22 77 77 77 2e 6e 6f 64 64 79 62 6f 78 2e 64 65 6d 6f 6e 2e 63 6f 2e 75 6b 22 29 ,RED,"www.noddybox.demon.co.uk")
83c0 3b 00 09 43 65 6e 74 72 65 28 31 31 35 2c 52 45 44 2c 22 4e 4f 44 44 59 42 4f 58 20 27 39 35 20 ;..Centre(115,RED,"NODDYBOX.'95.
83e0 2d 20 27 30 35 22 29 3b 00 09 43 65 6e 74 72 65 28 31 30 30 2c 52 45 44 2c 22 50 52 45 53 45 4e -.'05");..Centre(100,RED,"PRESEN
8400 54 45 44 20 42 59 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 7d 00 09 TED.BY");.....{.....else.....}..
8420 7d 00 09 20 20 20 20 43 65 6e 74 72 65 28 39 35 2b 66 2a 31 30 2c 57 48 49 54 45 2c 73 29 3b 00 }......Centre(95+f*10,WHITE,s);.
8440 09 09 09 20 20 20 20 66 2b 31 2c 68 69 73 63 5b 66 5d 2e 6e 61 6d 65 2c 68 69 73 63 5b 66 5d 2e .......f+1,hisc[f].name,hisc[f].
8460 73 63 6f 72 65 2c 68 69 73 63 5b 66 5d 2e 6e 6f 29 3b 00 09 20 20 20 20 73 70 72 69 6e 74 66 28 score,hisc[f].no);......sprintf(
8480 73 2c 22 25 32 64 20 25 2d 33 73 20 25 38 64 20 25 33 64 22 2c 00 09 7b 00 09 66 6f 72 28 66 3d s,"%2d.%-3s.%8d.%3d",..{..for(f=
84a0 30 3b 66 3c 4e 4f 48 49 3b 66 2b 2b 29 00 09 43 65 6e 74 72 65 28 37 30 2c 52 4e 44 43 4f 4c 2c 0;f<NOHI;f++)..Centre(70,RNDCOL,
84c0 22 54 4f 50 20 50 49 4c 4f 54 53 22 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 63 74 "TOP.PILOTS");.....{.....if.((ct
84e0 72 2f 31 30 30 29 25 32 29 00 00 20 20 20 20 43 65 6e 74 72 65 28 34 37 2c 57 48 49 54 45 2c 6c r/100)%2)......Centre(47,WHITE,l
8500 65 76 65 6c 5f 73 65 74 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 34 36 2c 59 45 4c 4c 4f 57 2c evel_set);.....Centre(46,YELLOW,
8520 6c 65 76 65 6c 5f 73 65 74 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 34 35 2c 52 45 44 2c 6c 65 level_set);.....Centre(45,RED,le
8540 76 65 6c 5f 73 65 74 29 3b 00 00 20 20 20 20 43 65 6e 74 72 65 28 32 35 2c 57 48 49 54 45 2c 22 vel_set);......Centre(25,WHITE,"
8560 4c 55 4e 41 52 20 4c 41 4e 44 45 52 22 29 3b 00 00 09 43 65 6e 74 72 65 28 31 35 2b 66 2c 28 28 LUNAR.LANDER");...Centre(15+f,((
8580 63 74 72 2b 66 29 25 28 4e 4f 43 4f 4c 53 2d 32 29 29 2b 32 2c 22 4c 55 4e 41 52 20 4c 41 4e 44 ctr+f)%(NOCOLS-2))+2,"LUNAR.LAND
85a0 45 52 22 29 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 31 30 3b 66 2b 2b 29 00 00 20 20 20 ER");.....for(f=0;f<10;f++).....
85c0 20 43 6c 73 28 29 3b 00 00 20 20 20 20 63 74 72 2b 2b 3b 00 00 20 20 20 20 69 6e 74 20 66 2c 6b .Cls();......ctr++;......int.f,k
85e0 3b 00 20 20 20 20 63 68 61 72 20 73 5b 38 30 5d 3b 00 20 20 20 20 73 74 61 74 69 63 20 75 6e 73 ;.....char.s[80];.....static.uns
8600 69 67 6e 65 64 20 69 6e 74 20 63 74 72 3d 30 3b 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 igned.int.ctr=0;.{.static.XFuncC
8620 6f 6e 74 72 6f 6c 20 50 72 6f 63 65 73 73 54 69 74 6c 65 28 76 6f 69 64 29 00 00 00 7d 00 09 7d ontrol.ProcessTitle(void)...}..}
8640 00 09 20 20 20 20 7d 00 09 09 62 72 65 61 6b 3b 00 09 09 53 43 4f 52 45 3d 68 69 73 63 5b 30 5d ......}...break;...SCORE=hisc[0]
8660 2e 73 63 6f 72 65 3b 00 09 09 46 55 45 4c 3d 31 30 30 3b 00 09 20 20 20 20 63 61 73 65 20 27 77 .score;...FUEL=100;......case.'w
8680 27 3a 00 09 09 62 72 65 61 6b 3b 00 09 09 53 43 4f 52 45 3d 68 69 73 63 5b 30 5d 2e 73 63 6f 72 ':...break;...SCORE=hisc[0].scor
86a0 65 3b 00 09 09 46 55 45 4c 3d 31 30 30 30 30 3b 00 09 20 20 20 20 63 61 73 65 20 27 6f 27 3a 00 e;...FUEL=10000;......case.'o':.
86c0 09 09 62 72 65 61 6b 3b 00 09 09 46 55 45 4c 3d 35 30 30 3b 00 09 09 53 43 4f 52 45 3d 30 3b 00 ..break;...FUEL=500;...SCORE=0;.
86e0 09 20 20 20 20 63 61 73 65 20 27 78 27 3a 00 09 09 62 72 65 61 6b 3b 00 09 09 53 48 4f 57 56 45 .....case.'x':...break;...SHOWVE
8700 43 3d 21 53 48 4f 57 56 45 43 3b 00 09 20 20 20 20 63 61 73 65 20 27 73 27 3a 00 09 09 62 72 65 C=!SHOWVEC;......case.'s':...bre
8720 61 6b 3b 00 09 09 20 20 20 20 46 55 45 4c 3d 30 3b 00 09 09 69 66 20 28 28 46 55 45 4c 2b 3d 35 ak;.......FUEL=0;...if.((FUEL+=5
8740 30 30 29 3e 31 30 30 30 30 29 00 09 20 20 20 20 63 61 73 65 20 27 6c 27 3a 00 09 09 62 72 65 61 00)>10000)......case.'l':...brea
8760 6b 3b 00 09 09 53 43 4f 52 45 3d 68 69 73 63 5b 30 5d 2e 73 63 6f 72 65 3b 00 09 20 20 20 20 63 k;...SCORE=hisc[0].score;......c
8780 61 73 65 20 27 68 27 3a 00 09 09 62 72 65 61 6b 3b 00 09 09 58 49 53 65 74 46 6f 6e 74 28 46 4f ase.'h':...break;...XISetFont(FO
87a0 4e 54 29 3b 00 09 09 46 4f 4e 54 5e 3d 31 3b 00 09 20 20 20 20 63 61 73 65 20 27 66 27 3a 00 09 NT);...FONT^=1;......case.'f':..
87c0 09 62 72 65 61 6b 3b 00 09 09 20 20 20 20 4c 45 56 45 4c 3d 30 3b 00 09 09 69 66 20 28 2b 2b 4c .break;.......LEVEL=0;...if.(++L
87e0 45 56 45 4c 3d 3d 6e 6f 5f 6c 65 76 65 6c 73 29 00 09 20 20 20 20 63 61 73 65 20 27 79 27 3a 00 EVEL==no_levels)......case.'y':.
8800 09 09 62 72 65 61 6b 3b 00 09 09 20 20 20 20 4c 45 56 45 4c 3d 6e 6f 5f 6c 65 76 65 6c 73 2d 31 ..break;.......LEVEL=no_levels-1
8820 3b 00 09 09 69 66 20 28 2d 2d 4c 45 56 45 4c 3d 3d 2d 31 29 00 09 20 20 20 20 63 61 73 65 20 27 ;...if.(--LEVEL==-1)......case.'
8840 75 27 3a 00 09 20 20 20 20 7b 00 09 73 77 69 74 63 68 28 6b 29 00 00 09 58 49 70 72 69 6e 74 66 u':......{..switch(k)...XIprintf
8860 28 69 6d 67 2c 43 48 28 30 2c 31 31 36 29 2c 43 59 41 4e 2c 22 28 77 29 20 20 53 45 54 20 54 4f (img,CH(0,116),CYAN,"(w)..SET.TO
8880 20 53 4d 41 4c 4c 45 52 20 44 45 42 55 47 22 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c .SMALLER.DEBUG");..XIprintf(img,
88a0 43 48 28 30 2c 31 30 38 29 2c 43 59 41 4e 2c 22 28 6f 29 20 20 53 45 54 20 54 4f 20 44 45 42 55 CH(0,108),CYAN,"(o)..SET.TO.DEBU
88c0 47 22 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 2c 31 30 30 29 2c 43 59 41 G");..XIprintf(img,CH(0,100),CYA
88e0 4e 2c 22 28 78 29 20 20 53 45 54 20 54 4f 20 44 45 46 41 55 4c 54 53 22 29 3b 00 00 09 09 09 20 N,"(x)..SET.TO.DEFAULTS");......
8900 20 20 20 22 28 6c 29 20 20 46 55 45 4c 20 20 20 20 20 20 20 20 3a 20 25 35 64 22 2c 46 55 45 4c ..."(l)..FUEL........:.%5d",FUEL
8920 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 2c 31 39 30 29 2c 43 59 41 4e 2c );..XIprintf(img,CH(0,190),CYAN,
8940 00 09 09 09 20 20 20 20 22 28 68 29 20 20 53 43 4f 52 45 20 20 20 20 20 20 20 3a 20 25 35 64 22 ........"(h)..SCORE.......:.%5d"
8960 2c 53 43 4f 52 45 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 2c 31 38 30 29 ,SCORE);..XIprintf(img,CH(0,180)
8980 2c 43 59 41 4e 2c 00 09 09 09 20 20 20 20 22 28 66 29 20 20 46 4f 4e 54 20 20 20 20 20 20 20 20 ,CYAN,........"(f)..FONT........
89a0 3a 20 25 35 64 22 2c 46 4f 4e 54 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 :.%5d",FONT);..XIprintf(img,CH(0
89c0 2c 31 37 30 29 2c 43 59 41 4e 2c 00 09 09 09 20 20 20 20 22 28 73 29 20 20 53 48 4f 57 20 56 45 ,170),CYAN,........"(s)..SHOW.VE
89e0 43 54 4f 52 20 3a 20 25 35 64 22 2c 53 48 4f 57 56 45 43 29 3b 00 09 58 49 70 72 69 6e 74 66 28 CTOR.:.%5d",SHOWVEC);..XIprintf(
8a00 69 6d 67 2c 43 48 28 30 2c 31 36 30 29 2c 43 59 41 4e 2c 00 09 09 09 20 20 20 20 22 28 79 2f 75 img,CH(0,160),CYAN,........"(y/u
8a20 29 20 20 4c 45 56 45 4c 20 25 32 64 20 20 3a 20 25 73 22 2c 4c 45 56 45 4c 2c 6c 65 76 64 61 74 )..LEVEL.%2d..:.%s",LEVEL,levdat
8a40 61 5b 4c 45 56 45 4c 5d 2e 6e 61 6d 65 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 a[LEVEL].name);..XIprintf(img,CH
8a60 28 30 2c 31 35 30 29 2c 43 59 41 4e 2c 00 00 09 20 20 20 20 58 49 70 72 69 6e 74 66 28 69 6d 67 (0,150),CYAN,.......XIprintf(img
8a80 2c 43 48 28 28 66 25 34 30 29 2a 38 2c 28 66 2f 34 30 29 2a 38 29 2c 43 59 41 4e 2c 22 25 63 22 ,CH((f%40)*8,(f/40)*8),CYAN,"%c"
8aa0 2c 66 29 3b 00 09 66 6f 72 28 66 3d 30 3b 66 3c 31 32 38 3b 66 2b 2b 29 00 00 09 43 6c 73 20 28 ,f);..for(f=0;f<128;f++)...Cls.(
8ac0 29 3b 00 09 7b 00 20 20 20 20 69 66 20 28 64 65 62 75 67 5f 6d 65 6e 75 29 00 00 09 64 65 62 75 );..{.....if.(debug_menu)...debu
8ae0 67 5f 6d 65 6e 75 3d 21 64 65 62 75 67 5f 6d 65 6e 75 3b 00 20 20 20 20 69 66 20 28 28 6b 3d 52 g_menu=!debug_menu;.....if.((k=R
8b00 61 77 4b 65 79 28 29 29 3d 3d 27 72 27 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 20 20 20 20 4b awKey())=='r')......int.f;.....K
8b20 65 79 53 79 6d 20 6b 3b 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 64 65 62 75 67 5f 6d 65 eySym.k;.....static.int.debug_me
8b40 6e 75 3d 46 61 6c 73 65 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 44 6f 44 65 62 75 67 4d nu=False;.{.static.void.DoDebugM
8b60 65 6e 75 28 76 6f 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d enu(void).*/./*.----------------
8b80 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 20 -------------------------------.
8ba0 54 49 54 4c 45 20 53 43 52 45 45 4e 00 00 00 7d 00 20 20 20 20 7d 00 09 50 6c 6f 74 28 28 69 6e TITLE.SCREEN...}.....}..Plot((in
8bc0 74 29 62 64 72 6f 70 5b 66 5d 2e 78 2c 28 69 6e 74 29 62 64 72 6f 70 5b 66 5d 2e 79 2c 59 45 4c t)bdrop[f].x,(int)bdrop[f].y,YEL
8be0 4c 4f 57 29 3b 00 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d 2e 79 2d 3d 28 64 6f 75 62 6c 65 29 LOW);.......bdrop[f].y-=(double)
8c00 57 49 4e 48 3b 00 09 69 66 20 28 62 64 72 6f 70 5b 66 5d 2e 79 3e 3d 28 64 6f 75 62 6c 65 29 57 WINH;..if.(bdrop[f].y>=(double)W
8c20 49 4e 48 29 00 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d 2e 79 2b 3d 28 64 6f 75 62 6c 65 29 57 INH).......bdrop[f].y+=(double)W
8c40 49 4e 48 3b 00 09 69 66 20 28 62 64 72 6f 70 5b 66 5d 2e 79 3c 30 2e 30 29 00 00 00 09 20 20 20 INH;..if.(bdrop[f].y<0.0).......
8c60 20 62 64 72 6f 70 5b 66 5d 2e 78 2d 3d 28 64 6f 75 62 6c 65 29 57 49 4e 57 3b 00 09 69 66 20 28 .bdrop[f].x-=(double)WINW;..if.(
8c80 62 64 72 6f 70 5b 66 5d 2e 78 3e 3d 28 64 6f 75 62 6c 65 29 57 49 4e 57 29 00 00 09 20 20 20 20 bdrop[f].x>=(double)WINW).......
8ca0 62 64 72 6f 70 5b 66 5d 2e 78 2b 3d 28 64 6f 75 62 6c 65 29 57 49 4e 57 3b 00 09 69 66 20 28 62 bdrop[f].x+=(double)WINW;..if.(b
8cc0 64 72 6f 70 5b 66 5d 2e 78 3c 30 2e 30 29 00 00 09 7d 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d drop[f].x<0.0)...}......bdrop[f]
8ce0 2e 78 2b 3d 73 68 69 70 78 69 3b 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d 2e 79 2b 3d 73 68 69 .x+=shipxi;......bdrop[f].y+=shi
8d00 70 79 69 3b 00 09 7b 00 09 65 6c 73 65 00 09 7d 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d 2e 79 pyi;..{..else..}......bdrop[f].y
8d20 2b 3d 73 68 69 70 79 69 2f 76 65 63 73 63 61 6c 65 3b 00 09 20 20 20 20 62 64 72 6f 70 5b 66 5d +=shipyi/vecscale;......bdrop[f]
8d40 2e 78 2b 3d 73 68 69 70 78 69 2f 76 65 63 73 63 61 6c 65 3b 00 09 7b 00 09 69 66 20 28 76 65 63 .x+=shipxi/vecscale;..{..if.(vec
8d60 73 63 61 6c 65 29 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 42 44 53 scale).....{.....for(f=0;f<NOBDS
8d80 54 41 52 3b 66 2b 2b 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f TAR;f++)......int.f;.{.static.vo
8da0 69 64 20 44 72 61 77 42 64 72 6f 70 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 7d 00 09 62 64 id.DrawBdrop(void)...}.....}..bd
8dc0 72 6f 70 5b 66 5d 2e 79 3d 28 64 6f 75 62 6c 65 29 52 4e 44 28 57 49 4e 48 29 3b 00 09 62 64 72 rop[f].y=(double)RND(WINH);..bdr
8de0 6f 70 5b 66 5d 2e 78 3d 28 64 6f 75 62 6c 65 29 52 4e 44 28 57 49 4e 57 29 3b 00 20 20 20 20 7b op[f].x=(double)RND(WINW);.....{
8e00 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 42 44 53 54 41 52 3b 66 2b 2b 29 00 00 20 20 .....for(f=0;f<NOBDSTAR;f++)....
8e20 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 49 6e 69 74 42 64 72 6f 70 ..int.f;.{.static.void.InitBdrop
8e40 28 76 6f 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d (void).*/./*.-------------------
8e60 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 20 42 41 43 ----------------------------.BAC
8e80 4b 44 52 4f 50 20 52 4f 55 54 49 4e 45 53 00 00 00 7d 00 09 41 64 64 50 61 72 74 69 63 6c 65 28 KDROP.ROUTINES...}..AddParticle(
8ea0 52 4e 44 28 33 36 30 30 29 2c 52 4e 44 28 32 30 29 2c 70 2c 31 29 3b 00 20 20 20 20 66 6f 72 28 RND(3600),RND(20),p,1);.....for(
8ec0 66 3d 30 3b 66 3c 6e 3b 66 2b 2b 29 00 00 20 20 20 20 69 6e 74 20 66 3b 00 7b 00 73 74 61 74 69 f=0;f<n;f++)......int.f;.{.stati
8ee0 63 20 76 6f 69 64 20 45 78 70 6c 6f 73 69 6f 6e 28 69 6e 74 20 6e 2c 69 6e 74 20 70 29 00 00 00 c.void.Explosion(int.n,int.p)...
8f00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 72 65 74 3b 00 00 09 72 65 74 26 3d 21 70 5f 68 65 61 64 }.....return.ret;...ret&=!p_head
8f20 5b 66 5d 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 50 4c 49 53 54 3b 66 2b 2b 29 00 [f];.....for(f=0;f<NOPLIST;f++).
8f40 00 20 20 20 20 72 65 74 3d 54 72 75 65 3b 00 00 20 20 20 20 69 6e 74 20 66 2c 72 65 74 3b 00 7b .....ret=True;......int.f,ret;.{
8f60 00 73 74 61 74 69 63 20 69 6e 74 20 4e 6f 50 61 72 74 69 63 6c 65 73 28 76 6f 69 64 29 00 00 00 .static.int.NoParticles(void)...
8f80 7d 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 70 3d 70 2d 3e 6e 65 78 74 3b 00 09 09 50 6c 6f }.....}..}......p=p->next;...Plo
8fa0 74 28 57 49 4e 57 48 2b 28 69 6e 74 29 70 2d 3e 70 2e 78 2c 57 49 4e 48 48 2b 28 69 6e 74 29 70 t(WINWH+(int)p->p.x,WINHH+(int)p
8fc0 2d 3e 70 2e 79 2c 52 4e 44 43 4f 4c 29 3b 00 09 20 20 20 20 65 6c 73 65 00 09 09 09 57 49 4e 48 ->p.y,RNDCOL);......else....WINH
8fe0 48 2b 28 69 6e 74 29 70 2d 3e 70 2e 79 2f 76 65 63 73 63 61 6c 65 2c 52 4e 44 43 4f 4c 29 3b 00 H+(int)p->p.y/vecscale,RNDCOL);.
9000 09 09 50 6c 6f 74 28 57 49 4e 57 48 2b 28 69 6e 74 29 70 2d 3e 70 2e 78 2f 76 65 63 73 63 61 6c ..Plot(WINWH+(int)p->p.x/vecscal
9020 65 2c 00 09 20 20 20 20 69 66 20 28 76 65 63 73 63 61 6c 65 29 00 61 64 00 00 0e 00 00 00 5a 03 e,......if.(vecscale).ad......Z.
9040 00 00 00 10 00 00 ce 00 00 00 d5 0f 00 00 d4 0f 00 00 c1 0f 00 00 c0 0f 00 00 b2 0f 00 00 b1 0f ................................
9060 00 00 a1 0f 00 00 a0 0f 00 00 8d 0f 00 00 7a 0f 00 00 64 0f 00 00 5e 0f 00 00 52 0f 00 00 3f 0f ..............z...d...^...R...?.
9080 00 00 39 0f 00 00 30 0f 00 00 1d 0f 00 00 1b 0f 00 00 1a 0f 00 00 19 0f 00 00 da 0e 00 00 d7 0e ..9...0.........................
90a0 00 00 d6 0e 00 00 af 0e 00 00 ad 0e 00 00 9d 0e 00 00 9c 0e 00 00 91 0e 00 00 90 0e 00 00 6f 0e ..............................o.
90c0 00 00 59 0e 00 00 40 0e 00 00 28 0e 00 00 27 0e 00 00 00 0e 00 00 ea 0d 00 00 d4 0d 00 00 bb 0d ..Y...@...(...'.................
90e0 00 00 a3 0d 00 00 a2 0d 00 00 94 0d 00 00 93 0d 00 00 7b 0d 00 00 75 0d 00 00 67 0d 00 00 54 0d ..................{...u...g...T.
9100 00 00 4e 0d 00 00 4d 0d 00 00 37 0d 00 00 35 0d 00 00 34 0d 00 00 33 0d 00 00 f5 0c 00 00 f2 0c ..N...M...7...5...4...3.........
9120 00 00 c1 0c 00 00 bf 0c 00 00 b2 0c 00 00 b1 0c 00 00 a0 0c 00 00 8f 0c 00 00 8e 0c 00 00 56 0c ..............................V.
9140 00 00 50 0c 00 00 27 0c 00 00 24 0c 00 00 13 0c 00 00 03 0c 00 00 f1 0b 00 00 e1 0b 00 00 c5 0b ..P...'...$.....................
9160 00 00 b1 0b 00 00 b0 0b 00 00 98 0b 00 00 91 0b 00 00 5f 0b 00 00 2e 0b 00 00 27 0b 00 00 26 0b .................._.......'...&.
9180 00 00 15 0b 00 00 04 0b 00 00 f7 0a 00 00 f4 0a 00 00 ee 0a 00 00 eb 0a 00 00 cf 0a 00 00 bb 0a ................................
91a0 00 00 aa 0a 00 00 93 0a 00 00 89 0a 00 00 78 0a 00 00 67 0a 00 00 5a 0a 00 00 57 0a 00 00 51 0a ..............x...g...Z...W...Q.
91c0 00 00 50 0a 00 00 30 0a 00 00 f0 09 00 00 d1 09 00 00 ce 09 00 00 b2 09 00 00 9e 09 00 00 8d 09 ..P...0.........................
91e0 00 00 76 09 00 00 6c 09 00 00 5b 09 00 00 4a 09 00 00 3d 09 00 00 3a 09 00 00 39 09 00 00 19 09 ..v...l...[...J...=...:...9.....
9200 00 00 fb 08 00 00 f8 08 00 00 e9 08 00 00 e8 08 00 00 cb 08 00 00 a0 08 00 00 9c 08 00 00 81 08 ................................
9220 00 00 6f 08 00 00 6b 08 00 00 6a 08 00 00 50 08 00 00 43 08 00 00 40 08 00 00 3e 08 00 00 3d 08 ..o...k...j...P...C...@...>...=.
9240 00 00 3c 08 00 00 16 08 00 00 14 08 00 00 f9 07 00 00 e1 07 00 00 cb 07 00 00 af 07 00 00 9f 07 ..<.............................
9260 00 00 90 07 00 00 8f 07 00 00 80 07 00 00 7a 07 00 00 72 07 00 00 64 07 00 00 52 07 00 00 45 07 ..............z...r...d...R...E.
9280 00 00 36 07 00 00 30 07 00 00 2f 07 00 00 24 07 00 00 23 07 00 00 13 07 00 00 12 07 00 00 ff 06 ..6...0.../...$...#.............
92a0 00 00 ec 06 00 00 eb 06 00 00 e0 06 00 00 df 06 00 00 c7 06 00 00 c0 06 00 00 a4 06 00 00 9e 06 ................................
92c0 00 00 8c 06 00 00 8b 06 00 00 5a 06 00 00 57 06 00 00 48 06 00 00 41 06 00 00 27 06 00 00 0f 06 ..........Z...W...H...A...'.....
92e0 00 00 0e 06 00 00 fa 05 00 00 f6 05 00 00 cc 05 00 00 a3 05 00 00 9f 05 00 00 98 05 00 00 95 05 ................................
9300 00 00 5f 05 00 00 5c 05 00 00 4d 05 00 00 46 05 00 00 29 05 00 00 11 05 00 00 10 05 00 00 fd 04 .._...\...M...F...).............
9320 00 00 f9 04 00 00 d0 04 00 00 a6 04 00 00 a2 04 00 00 9b 04 00 00 98 04 00 00 67 04 00 00 64 04 ..........................g...d.
9340 00 00 55 04 00 00 4e 04 00 00 34 04 00 00 1c 04 00 00 1b 04 00 00 08 04 00 00 04 04 00 00 da 03 ..U...N...4.....................
9360 00 00 b2 03 00 00 ae 03 00 00 a7 03 00 00 a4 03 00 00 73 03 00 00 70 03 00 00 61 03 00 00 5a 03 ..................s...p...a...Z.
9380 00 00 59 03 00 00 00 00 00 00 00 00 00 00 00 00 09 20 20 20 20 7b 00 09 20 20 20 20 69 66 20 28 ..Y..................{......if.(
93a0 66 75 65 6c 29 00 09 7b 00 09 65 6c 73 65 20 69 66 20 28 28 6b 65 79 6d 61 70 5b 52 49 47 48 54 fuel)..{..else.if.((keymap[RIGHT
93c0 5d 29 26 26 28 64 61 6d 61 67 65 3c 44 41 4d 41 47 45 5f 4c 45 46 54 29 29 00 09 7d 00 09 20 20 ])&&(damage<DAMAGE_LEFT))..}....
93e0 20 20 7d 00 09 09 7d 00 09 09 20 20 20 20 41 64 64 50 61 72 74 69 63 6c 65 28 6e 61 2c 38 2b 52 ..}...}.......AddParticle(na,8+R
9400 4e 44 28 33 29 2c 50 4d 49 44 2c 31 30 29 3b 00 09 09 20 20 20 20 6e 61 3d 28 6c 61 6e 64 65 72 ND(3),PMID,10);.......na=(lander
9420 2e 61 6e 67 2b 32 36 30 30 2b 52 4e 44 28 32 30 30 29 29 25 33 36 30 30 3b 00 09 09 7b 00 09 09 .ang+2600+RND(200))%3600;...{...
9440 66 6f 72 28 66 3d 30 3b 66 3c 35 3b 66 2b 2b 29 00 00 09 09 20 20 20 20 6c 61 6e 64 65 72 2e 61 for(f=0;f<5;f++)........lander.a
9460 6e 67 2b 3d 33 36 30 30 3b 00 09 09 69 66 20 28 28 6c 61 6e 64 65 72 2e 61 6e 67 2d 3d 38 30 29 ng+=3600;...if.((lander.ang-=80)
9480 3c 30 29 00 09 20 20 20 20 7b 00 09 20 20 20 20 69 66 20 28 66 75 65 6c 29 00 09 7b 00 09 65 6c <0)......{......if.(fuel)..{..el
94a0 73 65 20 69 66 20 28 28 6b 65 79 6d 61 70 5b 4c 45 46 54 5d 29 26 26 28 64 61 6d 61 67 65 3c 44 se.if.((keymap[LEFT])&&(damage<D
94c0 41 4d 41 47 45 5f 52 49 47 48 54 29 29 00 09 7d 00 09 20 20 20 20 7d 00 09 09 7d 00 09 09 20 20 AMAGE_RIGHT))..}......}...}.....
94e0 20 20 41 64 64 50 61 72 74 69 63 6c 65 28 6e 61 2c 38 2b 52 4e 44 28 33 29 2c 50 53 48 4f 52 54 ..AddParticle(na,8+RND(3),PSHORT
9500 2c 31 30 29 3b 00 09 09 20 20 20 20 6e 61 3d 28 6c 61 6e 64 65 72 2e 61 6e 67 2b 38 30 30 2b 52 ,10);.......na=(lander.ang+800+R
9520 4e 44 28 32 30 30 29 29 25 33 36 30 30 3b 00 09 09 7b 00 09 09 66 6f 72 28 66 3d 30 3b 66 3c 35 ND(200))%3600;...{...for(f=0;f<5
9540 3b 66 2b 2b 29 00 00 09 09 20 20 20 20 6c 61 6e 64 65 72 2e 61 6e 67 2d 3d 33 36 30 30 3b 00 09 ;f++)........lander.ang-=3600;..
9560 09 69 66 20 28 28 6c 61 6e 64 65 72 2e 61 6e 67 2b 3d 32 30 29 3e 33 35 39 39 29 00 09 20 20 20 .if.((lander.ang+=20)>3599).....
9580 20 7b 00 09 20 20 20 20 69 66 20 28 66 75 65 6c 29 00 09 7b 00 09 65 6c 73 65 20 69 66 20 28 28 .{......if.(fuel)..{..else.if.((
95a0 6b 65 79 6d 61 70 5b 46 49 4e 45 5f 52 49 47 48 54 5d 29 26 26 28 64 61 6d 61 67 65 3c 44 41 4d keymap[FINE_RIGHT])&&(damage<DAM
95c0 41 47 45 5f 4c 45 46 54 29 29 00 09 7d 00 09 20 20 20 20 7d 00 09 09 7d 00 09 09 20 20 20 20 41 AGE_LEFT))..}......}...}.......A
95e0 64 64 50 61 72 74 69 63 6c 65 28 6e 61 2c 38 2b 52 4e 44 28 33 29 2c 50 4c 4f 4e 47 2c 31 30 29 ddParticle(na,8+RND(3),PLONG,10)
9600 3b 00 09 09 20 20 20 20 6e 61 3d 28 6c 61 6e 64 65 72 2e 61 6e 67 2b 32 36 30 30 2b 52 4e 44 28 ;.......na=(lander.ang+2600+RND(
9620 32 30 30 29 29 25 33 36 30 30 3b 00 09 09 7b 00 09 09 66 6f 72 28 66 3d 30 3b 66 3c 35 30 3b 66 200))%3600;...{...for(f=0;f<50;f
9640 2b 2b 29 00 00 09 09 20 20 20 20 6c 61 6e 64 65 72 2e 61 6e 67 2b 3d 33 36 30 30 3b 00 09 09 69 ++)........lander.ang+=3600;...i
9660 66 20 28 28 6c 61 6e 64 65 72 2e 61 6e 67 2d 3d 32 30 29 3c 30 29 00 09 20 20 20 20 7b 00 09 20 f.((lander.ang-=20)<0)......{...
9680 20 20 20 69 66 20 28 66 75 65 6c 29 00 09 7b 00 09 69 66 20 28 28 6b 65 79 6d 61 70 5b 46 49 4e ...if.(fuel)..{..if.((keymap[FIN
96a0 45 5f 4c 45 46 54 5d 29 26 26 28 64 61 6d 61 67 65 3c 44 41 4d 41 47 45 5f 52 49 47 48 54 29 29 E_LEFT])&&(damage<DAMAGE_RIGHT))
96c0 00 00 09 73 68 69 70 79 69 2d 3d 47 52 41 56 49 54 59 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 ...shipyi-=GRAVITY;.....{.....if
96e0 20 28 28 21 64 65 61 64 29 26 26 28 21 6c 61 6e 64 65 64 29 29 00 20 20 20 20 2a 2f 00 20 20 20 .((!dead)&&(!landed)).....*/....
9700 20 2f 2a 20 50 72 6f 63 65 73 73 20 6d 6f 76 65 6d 65 6e 74 00 00 20 20 20 20 43 6c 73 28 29 3b ./*.Process.movement......Cls();
9720 00 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 43 4f 4e 54 3b 00 20 20 20 20 69 66 20 28 50 61 75 ...return.XFUNCCONT;.....if.(Pau
9740 73 65 64 28 6b 29 29 00 00 20 20 20 20 6b 3d 47 65 74 4b 65 79 28 29 3b 00 00 20 20 20 20 63 74 sed(k))......k=GetKey();......ct
9760 72 2b 2b 3b 00 00 20 20 20 20 7d 00 09 6c 61 6e 64 65 64 3d 46 61 6c 73 65 3b 00 09 64 65 61 64 r++;......}..landed=False;..dead
9780 3d 46 61 6c 73 65 3b 00 09 53 65 74 53 63 61 6c 65 28 73 63 61 6c 65 29 3b 00 09 66 69 72 73 74 =False;..SetScale(scale);..first
97a0 3d 46 61 6c 73 65 3b 00 09 63 74 72 3d 30 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 66 69 =False;..ctr=0;.....{.....if.(fi
97c0 72 73 74 29 00 00 20 20 20 20 63 68 61 72 20 2a 64 6d 67 3b 00 20 20 20 20 69 6e 74 20 66 2c 6e rst)......char.*dmg;.....int.f,n
97e0 61 2c 6b 3b 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 64 65 61 64 2c 6c 61 6e 64 65 64 3b a,k;.....static.int.dead,landed;
9800 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 63 74 72 3d 30 3b 00 20 20 20 20 73 74 61 74 69 .....static.int.ctr=0;.....stati
9820 63 20 69 6e 74 20 73 63 61 6c 65 3d 32 3b 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 66 69 c.int.scale=2;.....static.int.fi
9840 72 73 74 3d 54 72 75 65 3b 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e 74 72 6f 6c 20 rst=True;.{.static.XFuncControl.
9860 50 72 6f 63 65 73 73 47 61 6d 65 28 76 6f 69 64 29 00 00 00 7d 00 09 7d 00 09 20 20 20 20 72 65 ProcessGame(void)...}..}......re
9880 74 75 72 6e 3b 00 09 20 20 20 20 45 78 70 6c 6f 73 69 6f 6e 28 31 30 30 2c 50 4d 49 44 29 3b 00 turn;......Explosion(100,PMID);.
98a0 00 09 09 7d 00 09 09 20 20 20 20 72 3d 6c 65 76 65 6c 2e 6e 6f 3b 00 09 09 20 20 20 20 6c 65 76 ...}.......r=level.no;.......lev
98c0 65 6c 2e 64 72 61 77 5b 72 5d 3d 46 61 6c 73 65 3b 00 09 09 7b 00 09 09 69 66 20 28 6c 65 76 65 el.draw[r]=False;...{...if.(leve
98e0 6c 2e 76 5b 72 5d 2e 63 6f 6c 6c 63 6f 64 65 3d 3d 6c 61 6e 64 65 72 2e 63 6f 6c 6c 5b 66 5d 29 l.v[r].collcode==lander.coll[f])
9900 00 09 20 20 20 20 66 6f 72 28 72 3d 30 3b 72 3c 6c 65 76 65 6c 2e 6e 6f 3b 72 2b 2b 29 00 00 09 ......for(r=0;r<level.no;r++)...
9920 20 20 20 20 64 61 6d 61 67 65 2b 2b 3b 00 09 7b 00 09 69 66 20 28 49 53 43 4d 49 4e 45 28 6c 61 ....damage++;..{..if.(ISCMINE(la
9940 6e 64 65 72 2e 63 6f 6c 6c 5b 66 5d 29 29 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6c 61 6e nder.coll[f])).....for(f=0;f<lan
9960 64 65 72 2e 6e 6f 5f 6c 6e 3b 66 2b 2b 29 00 00 09 7d 00 09 20 20 20 20 72 65 74 75 72 6e 3b 00 der.no_ln;f++)...}......return;.
9980 09 20 20 20 20 73 68 69 70 79 69 3d 30 2e 30 3b 00 09 20 20 20 20 73 68 69 70 78 69 3d 30 2e 30 .....shipyi=0.0;......shipxi=0.0
99a0 3b 00 09 09 66 75 65 6c 3d 30 3b 00 09 20 20 20 20 69 66 20 28 28 66 75 65 6c 2d 3d 35 30 29 3c ;...fuel=0;......if.((fuel-=50)<
99c0 30 29 00 09 20 20 20 20 2a 64 65 61 64 3d 54 72 75 65 3b 00 09 09 45 78 70 6c 6f 73 69 6f 6e 28 0)......*dead=True;...Explosion(
99e0 32 30 30 2c 72 29 3b 00 09 20 20 20 20 66 6f 72 28 72 3d 30 3b 72 3c 4e 4f 50 4c 49 53 54 3b 72 200,r);......for(r=0;r<NOPLIST;r
9a00 2b 2b 29 00 09 7b 00 09 09 09 09 09 09 09 28 6c 61 6e 64 65 72 2e 63 6f 6c 6c 5b 66 5d 3d 3d 43 ++)..{........(lander.coll[f]==C
9a20 50 41 44 29 29 00 09 69 66 20 28 28 6c 61 6e 64 65 72 2e 63 6f 6c 6c 5b 66 5d 3d 3d 43 4d 4f 55 PAD))..if.((lander.coll[f]==CMOU
9a40 4e 54 41 49 4e 29 7c 7c 28 6c 61 6e 64 65 72 2e 63 6f 6c 6c 5b 66 5d 3d 3d 43 41 53 54 45 52 4f NTAIN)||(lander.coll[f]==CASTERO
9a60 49 44 29 7c 7c 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6c 61 6e 64 65 72 2e 6e 6f 5f 6c 6e ID)||.....for(f=0;f<lander.no_ln
9a80 3b 66 2b 2b 29 00 00 20 20 20 20 7d 00 09 7d 00 09 20 20 20 20 72 65 74 75 72 6e 3b 00 09 20 20 ;f++)......}..}......return;....
9aa0 20 20 73 68 69 70 79 69 3d 30 2e 30 3b 00 09 20 20 20 20 73 68 69 70 78 69 3d 30 2e 30 3b 00 09 ..shipyi=0.0;......shipxi=0.0;..
9ac0 09 66 75 65 6c 3d 30 3b 00 09 20 20 20 20 69 66 20 28 28 66 75 65 6c 2d 3d 35 30 29 3c 30 29 00 .fuel=0;......if.((fuel-=50)<0).
9ae0 09 20 20 20 20 2a 64 65 61 64 3d 54 72 75 65 3b 00 09 09 45 78 70 6c 6f 73 69 6f 6e 28 32 30 30 .....*dead=True;...Explosion(200
9b00 2c 72 29 3b 00 09 20 20 20 20 66 6f 72 28 72 3d 30 3b 72 3c 4e 4f 50 4c 49 53 54 3b 72 2b 2b 29 ,r);......for(r=0;r<NOPLIST;r++)
9b20 00 09 7b 00 09 65 6c 73 65 00 09 7d 00 09 20 20 20 20 72 65 74 75 72 6e 3b 00 09 20 20 20 20 73 ..{..else..}......return;......s
9b40 68 69 70 79 69 3d 30 2e 30 3b 00 09 20 20 20 20 73 68 69 70 78 69 3d 30 2e 30 3b 00 00 09 20 20 hipyi=0.0;......shipxi=0.0;.....
9b60 20 20 7d 00 09 09 41 64 64 50 61 72 74 69 63 6c 65 28 39 30 30 2b 52 4e 44 28 35 30 30 29 2c 52 ..}...AddParticle(900+RND(500),R
9b80 4e 44 28 31 30 29 2b 31 30 2c 50 55 4c 54 52 41 2c 31 29 3b 00 09 09 41 64 64 50 61 72 74 69 63 ND(10)+10,PULTRA,1);...AddPartic
9ba0 6c 65 28 32 37 30 30 2d 52 4e 44 28 35 30 30 29 2c 52 4e 44 28 31 30 29 2b 31 30 2c 50 55 4c 54 le(2700-RND(500),RND(10)+10,PULT
9bc0 52 41 2c 31 29 3b 00 09 20 20 20 20 7b 00 09 20 20 20 20 66 6f 72 28 72 3d 30 3b 72 3c 35 30 30 RA,1);......{......for(r=0;r<500
9be0 3b 72 2b 2b 29 00 00 09 20 20 20 20 64 6f 5f 69 6e 74 72 6f 3d 54 72 75 65 3b 00 09 20 20 20 20 ;r++).......do_intro=True;......
9c00 6c 65 76 3d 28 6c 65 76 2b 31 29 25 6e 6f 5f 6c 65 76 65 6c 73 3b 00 09 20 20 20 20 66 75 65 6c lev=(lev+1)%no_levels;......fuel
9c20 2b 3d 32 30 30 3b 00 09 20 20 20 20 73 63 6f 72 65 2b 3d 66 75 65 6c 3b 00 09 20 20 20 20 6c 61 +=200;......score+=fuel;......la
9c40 6e 64 69 6e 67 2b 2b 3b 00 09 20 20 20 20 2a 6c 61 6e 64 3d 54 72 75 65 3b 00 09 7b 00 09 69 66 nding++;......*land=True;..{..if
9c60 20 28 28 44 41 42 53 28 73 68 69 70 78 69 29 3c 3d 30 2e 37 29 26 26 28 73 68 69 70 79 69 3e 2d .((DABS(shipxi)<=0.7)&&(shipyi>-
9c80 32 2e 30 29 29 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 6c 61 6e 64 65 72 2e 63 6f 6c 6c 2.0)).....{.....if.((lander.coll
9ca0 5b 33 5d 3d 3d 43 50 41 44 29 26 26 28 6c 61 6e 64 65 72 2e 63 6f 6c 6c 5b 34 5d 3d 3d 43 50 41 [3]==CPAD)&&(lander.coll[4]==CPA
9cc0 44 29 29 00 00 20 20 20 20 2a 6c 61 6e 64 3d 46 61 6c 73 65 3b 00 20 20 20 20 2a 64 65 61 64 3d D))......*land=False;.....*dead=
9ce0 46 61 6c 73 65 3b 00 00 20 20 20 20 69 6e 74 20 66 2c 72 3b 00 7b 00 73 74 61 74 69 63 20 76 6f False;......int.f,r;.{.static.vo
9d00 69 64 20 43 68 65 63 6b 43 6f 6c 6c 69 73 69 6f 6e 73 28 69 6e 74 20 2a 6c 61 6e 64 2c 69 6e 74 id.CheckCollisions(int.*land,int
9d20 20 2a 64 65 61 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .*dead).*/./*.------------------
9d40 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 20 50 4c -----------------------------.PL
9d60 41 59 20 4c 45 56 45 4c 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 58 46 55 4e 43 43 4f 4e AY.LEVEL...}.....return.XFUNCCON
9d80 54 3b 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 53 54 4f 50 3b 00 09 43 6c T;......}..return.XFUNCSTOP;..Cl
9da0 65 61 72 4b 65 79 73 28 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 47 65 74 4b 65 79 28 earKeys();.....{.....if.(GetKey(
9dc0 29 21 3d 4e 4f 4e 45 29 00 00 20 20 20 20 55 70 64 61 74 65 28 29 3b 00 00 20 20 20 20 43 65 6e )!=NONE)......Update();......Cen
9de0 74 72 65 28 36 37 2c 57 48 49 54 45 2c 73 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 36 36 2c 59 tre(67,WHITE,s);.....Centre(66,Y
9e00 45 4c 4c 4f 57 2c 73 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 36 35 2c 52 45 44 2c 73 29 3b 00 ELLOW,s);.....Centre(65,RED,s);.
9e20 20 20 20 20 43 65 6e 74 72 65 28 36 34 2c 52 45 44 2c 73 29 3b 00 20 20 20 20 73 70 72 69 6e 74 ....Centre(64,RED,s);.....sprint
9e40 66 28 73 2c 22 25 73 22 2c 6c 65 76 64 61 74 61 5b 6c 65 76 5d 2e 6e 61 6d 65 29 3b 00 00 20 20 f(s,"%s",levdata[lev].name);....
9e60 20 20 43 65 6e 74 72 65 28 34 37 2c 57 48 49 54 45 2c 73 29 3b 00 20 20 20 20 43 65 6e 74 72 65 ..Centre(47,WHITE,s);.....Centre
9e80 28 34 36 2c 59 45 4c 4c 4f 57 2c 73 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 34 35 2c 52 45 44 (46,YELLOW,s);.....Centre(45,RED
9ea0 2c 73 29 3b 00 20 20 20 20 73 70 72 69 6e 74 66 28 73 2c 22 4c 65 76 65 6c 20 25 64 22 2c 6c 65 ,s);.....sprintf(s,"Level.%d",le
9ec0 76 2b 31 29 3b 00 00 20 20 20 20 43 6c 73 28 29 3b 00 00 20 20 20 20 63 68 61 72 20 73 5b 38 30 v+1);......Cls();......char.s[80
9ee0 5d 3b 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e 74 72 6f 6c 20 50 72 6f 63 65 73 73 ];.{.static.XFuncControl.Process
9f00 49 6e 74 72 6f 28 76 6f 69 64 29 00 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d Intro(void)..*/./*.-------------
9f20 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 --------------------------------
9f40 2d 2d 20 49 4e 54 52 4f 20 4c 45 56 45 4c 00 00 00 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 --.INTRO.LEVEL...}..return.XFUNC
9f60 43 4f 4e 54 3b 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 CONT;.....else.....}..return.XFU
9f80 4e 43 53 54 4f 50 3b 00 09 71 75 69 74 3d 54 72 75 65 3b 00 20 20 20 20 7b 00 20 20 20 20 65 6c NCSTOP;..quit=True;.....{.....el
9fa0 73 65 20 69 66 20 28 6b 3d 3d 51 55 49 54 29 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 53 54 4f se.if.(k==QUIT)..return.XFUNCSTO
9fc0 50 3b 00 20 20 20 20 69 66 20 28 6b 3d 3d 54 48 52 55 53 54 29 00 00 20 20 20 20 6b 3d 47 65 74 P;.....if.(k==THRUST)......k=Get
9fe0 4b 65 79 28 29 3b 00 00 20 20 20 20 55 70 64 61 74 65 28 29 3b 00 00 20 20 20 20 44 6f 44 65 62 Key();......Update();......DoDeb
a000 75 67 4d 65 6e 75 28 29 3b 00 00 09 43 65 6e 74 72 65 28 31 38 30 2c 57 48 49 54 45 2c 22 50 52 ugMenu();...Centre(180,WHITE,"PR
a020 45 53 53 20 54 48 52 55 53 54 20 54 4f 20 50 4c 41 59 22 29 3b 00 61 64 00 00 12 00 00 00 7a 03 ESS.THRUST.TO.PLAY");.ad......z.
a040 00 00 00 10 00 00 d5 00 00 00 e3 0f 00 00 cb 0f 00 00 ca 0f 00 00 b7 0f 00 00 b3 0f 00 00 8a 0f ................................
a060 00 00 62 0f 00 00 5e 0f 00 00 57 0f 00 00 54 0f 00 00 53 0f 00 00 1c 0f 00 00 19 0f 00 00 f8 0e ..b...^...W...T...S.............
a080 00 00 d7 0e 00 00 c0 0e 00 00 b9 0e 00 00 93 0e 00 00 68 0e 00 00 61 0e 00 00 54 0e 00 00 51 0e ..................h...a...T...Q.
a0a0 00 00 50 0e 00 00 3a 0e 00 00 24 0e 00 00 23 0e 00 00 0e 0e 00 00 f9 0d 00 00 f8 0d 00 00 e2 0d ..P...:...$...#.................
a0c0 00 00 cc 0d 00 00 cb 0d 00 00 b6 0d 00 00 a1 0d 00 00 9e 0d 00 00 9d 0d 00 00 8c 0d 00 00 77 0d ..............................w.
a0e0 00 00 66 0d 00 00 65 0d 00 00 56 0d 00 00 50 0d 00 00 3a 0d 00 00 39 0d 00 00 28 0d 00 00 25 0d ..f...e...V...P...:...9...(...%.
a100 00 00 07 0d 00 00 fb 0c 00 00 d8 0c 00 00 b9 0c 00 00 95 0c 00 00 70 0c 00 00 66 0c 00 00 46 0c ......................p...f...F.
a120 00 00 45 0c 00 00 38 0c 00 00 20 0c 00 00 1d 0c 00 00 17 0c 00 00 16 0c 00 00 e3 0b 00 00 e2 0b ..E...8.........................
a140 00 00 d1 0b 00 00 8e 0b 00 00 69 0b 00 00 68 0b 00 00 50 0b 00 00 49 0b 00 00 2d 0b 00 00 0c 0b ..........i...h...P...I...-.....
a160 00 00 0b 0b 00 00 fd 0a 00 00 fc 0a 00 00 e7 0a 00 00 e1 0a 00 00 d1 0a 00 00 c3 0a 00 00 c2 0a ................................
a180 00 00 b4 0a 00 00 a2 0a 00 00 9c 0a 00 00 9b 0a 00 00 84 0a 00 00 7e 0a 00 00 72 0a 00 00 64 0a ......................~...r...d.
a1a0 00 00 5e 0a 00 00 50 0a 00 00 4f 0a 00 00 41 0a 00 00 2f 0a 00 00 29 0a 00 00 28 0a 00 00 17 0a ..^...P...O...A.../...)...(.....
a1c0 00 00 11 0a 00 00 06 0a 00 00 fd 09 00 00 f0 09 00 00 dd 09 00 00 d7 09 00 00 d6 09 00 00 b5 09 ................................
a1e0 00 00 af 09 00 00 a2 09 00 00 8f 09 00 00 89 09 00 00 88 09 00 00 65 09 00 00 5f 09 00 00 52 09 ......................e..._...R.
a200 00 00 3f 09 00 00 39 09 00 00 38 09 00 00 22 09 00 00 20 09 00 00 1f 09 00 00 1e 09 00 00 e0 08 ..?...9...8...".................
a220 00 00 dd 08 00 00 c3 08 00 00 c1 08 00 00 a4 08 00 00 a3 08 00 00 9a 08 00 00 99 08 00 00 87 08 ................................
a240 00 00 67 08 00 00 5e 08 00 00 3d 08 00 00 3c 08 00 00 2e 08 00 00 2c 08 00 00 2b 08 00 00 2a 08 ..g...^...=...<.......,...+...*.
a260 00 00 11 08 00 00 0f 08 00 00 f2 07 00 00 f1 07 00 00 df 07 00 00 ce 07 00 00 cd 07 00 00 bd 07 ................................
a280 00 00 b1 07 00 00 b0 07 00 00 9d 07 00 00 9b 07 00 00 9a 07 00 00 99 07 00 00 5c 07 00 00 59 07 ..........................\...Y.
a2a0 00 00 2f 07 00 00 2d 07 00 00 17 07 00 00 16 07 00 00 0a 07 00 00 09 07 00 00 fe 06 00 00 fd 06 ../...-.........................
a2c0 00 00 e9 06 00 00 c9 06 00 00 c8 06 00 00 ba 06 00 00 b9 06 00 00 a1 06 00 00 8e 06 00 00 85 06 ................................
a2e0 00 00 72 06 00 00 70 06 00 00 6f 06 00 00 6e 06 00 00 31 06 00 00 2e 06 00 00 11 06 00 00 0f 06 ..r...p...o...n...1.............
a300 00 00 01 06 00 00 00 06 00 00 d6 05 00 00 cd 05 00 00 cc 05 00 00 b4 05 00 00 95 05 00 00 94 05 ................................
a320 00 00 85 05 00 00 83 05 00 00 82 05 00 00 81 05 00 00 63 05 00 00 61 05 00 00 53 05 00 00 52 05 ..................c...a...S...R.
a340 00 00 13 05 00 00 0d 05 00 00 dd 04 00 00 d4 04 00 00 ce 04 00 00 cd 04 00 00 b5 04 00 00 95 04 ................................
a360 00 00 94 04 00 00 85 04 00 00 83 04 00 00 82 04 00 00 81 04 00 00 58 04 00 00 56 04 00 00 19 04 ......................X...V.....
a380 00 00 03 04 00 00 ed 03 00 00 d4 03 00 00 b9 03 00 00 a3 03 00 00 8a 03 00 00 7a 03 00 00 79 03 ..........................z...y.
a3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 63 68 61 72 20 73 5b 38 30 5d 3b 00 ....................char.s[80];.
a3c0 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 62 6f 75 6e 63 65 3d 30 3b 00 20 20 20 20 73 74 61 ....static.int.bounce=0;.....sta
a3e0 74 69 63 20 69 6e 74 20 70 6f 73 3d 30 3b 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 66 69 tic.int.pos=0;.....static.int.fi
a400 72 73 74 3d 54 72 75 65 3b 00 20 20 20 20 73 74 61 74 69 63 20 63 68 61 72 20 6e 61 6d 65 5b 34 rst=True;.....static.char.name[4
a420 5d 3b 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 6c 65 6e 3d 30 3b 00 20 20 20 20 73 74 61 ];.....static.int.len=0;.....sta
a440 74 69 63 20 63 68 61 72 20 2a 6c 65 74 3b 00 20 20 20 20 73 74 61 74 69 63 20 63 68 61 72 20 2a tic.char.*let;.....static.char.*
a460 68 69 73 63 5f 6c 65 74 3d 22 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 hisc_let="ABCDEFGHIJKLMNOPQRSTUV
a480 57 58 59 5a 2e 5c 31 37 37 22 3b 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e 74 72 6f WXYZ.\177";.{.static.XFuncContro
a4a0 6c 20 50 72 6f 63 65 73 73 48 69 53 63 6f 72 65 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 63 l.ProcessHiScore(void)...}.....c
a4c0 6c 6f 73 65 28 66 64 29 3b 00 00 09 77 72 69 74 65 28 66 64 2c 68 69 73 63 2b 66 2c 73 69 7a 65 lose(fd);...write(fd,hisc+f,size
a4e0 6f 66 28 48 69 53 63 29 29 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 48 49 3b 66 2b of(HiSc));.....for(f=0;f<NOHI;f+
a500 2b 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 3b 00 09 66 70 72 69 6e 74 66 28 73 74 64 65 +)......}..return;..fprintf(stde
a520 72 72 2c 22 46 61 69 6c 65 64 20 74 6f 20 77 72 69 74 65 20 68 69 73 63 6f 72 65 73 21 5c 6e 22 rr,"Failed.to.write.hiscores!\n"
a540 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 48 49 53 43 46 49 );.....{.....if.((fd=open(HISCFI
a560 4c 45 2c 4f 5f 57 52 4f 4e 4c 59 7c 4f 5f 43 52 45 41 54 7c 4f 5f 54 52 55 4e 43 2c 30 37 37 37 LE,O_WRONLY|O_CREAT|O_TRUNC,0777
a580 29 29 3d 3d 2d 31 29 00 00 20 20 20 20 69 6e 74 20 66 64 2c 66 3b 00 7b 00 73 74 61 74 69 63 20 ))==-1)......int.fd,f;.{.static.
a5a0 76 6f 69 64 20 57 72 69 74 65 53 63 6f 72 65 73 28 76 6f 69 64 29 00 00 00 7d 00 20 20 20 20 63 void.WriteScores(void)...}.....c
a5c0 6c 6f 73 65 28 66 64 29 3b 00 00 09 72 65 61 64 28 66 64 2c 68 69 73 63 2b 66 2c 73 69 7a 65 6f lose(fd);...read(fd,hisc+f,sizeo
a5e0 66 28 48 69 53 63 29 29 3b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 48 49 3b 66 2b 2b f(HiSc));.....for(f=0;f<NOHI;f++
a600 29 00 00 09 72 65 74 75 72 6e 3b 00 20 20 20 20 69 66 20 28 28 66 64 3d 6f 70 65 6e 28 48 49 53 )...return;.....if.((fd=open(HIS
a620 43 46 49 4c 45 2c 4f 5f 52 44 4f 4e 4c 59 29 29 3d 3d 2d 31 29 00 00 20 20 20 20 69 6e 74 20 66 CFILE,O_RDONLY))==-1)......int.f
a640 64 2c 66 3b 00 7b 00 73 74 61 74 69 63 20 76 6f 69 64 20 52 65 61 64 53 63 6f 72 65 73 28 76 6f d,f;.{.static.void.ReadScores(vo
a660 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d id).*/./*.----------------------
a680 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 20 48 49 20 53 43 4f -------------------------.HI.SCO
a6a0 52 45 53 00 00 00 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 53 54 4f 50 3b 00 20 20 20 20 65 RES...}..return.XFUNCSTOP;.....e
a6c0 6c 73 65 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 43 4f 4e 54 3b 00 20 20 20 20 69 66 20 28 47 lse..return.XFUNCCONT;.....if.(G
a6e0 65 74 4b 65 79 28 29 3d 3d 4e 4f 4e 45 29 00 00 20 20 20 20 55 70 64 61 74 65 28 29 3b 00 00 09 etKey()==NONE)......Update();...
a700 43 65 6e 74 72 65 28 31 32 30 2c 57 48 49 54 45 2c 22 47 41 4d 45 20 4f 56 45 52 22 29 3b 00 20 Centre(120,WHITE,"GAME.OVER");..
a720 20 20 20 69 66 20 28 28 63 74 72 2f 31 30 29 25 32 29 00 00 20 20 20 20 63 74 72 2b 2b 3b 00 00 ...if.((ctr/10)%2)......ctr++;..
a740 20 20 20 20 43 6c 73 20 28 29 3b 00 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 63 74 72 3d ....Cls.();......static.int.ctr=
a760 30 3b 00 7b 00 73 74 61 74 69 63 20 58 46 75 6e 63 43 6f 6e 74 72 6f 6c 20 50 72 6f 63 65 73 73 0;.{.static.XFuncControl.Process
a780 47 61 6d 65 4f 76 65 72 28 76 6f 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d GameOver(void).*/./*.-----------
a7a0 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 --------------------------------
a7c0 2d 2d 2d 2d 20 47 41 4d 45 20 4f 56 45 52 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 70 61 ----.GAME.OVER...}.....return.pa
a7e0 75 73 65 64 3b 00 00 09 44 6f 50 61 75 73 65 28 29 3b 00 20 20 20 20 69 66 20 28 70 61 75 73 65 used;...DoPause();.....if.(pause
a800 64 29 00 00 09 70 61 75 73 65 64 3d 21 70 61 75 73 65 64 3b 00 20 20 20 20 69 66 20 28 6b 3d 3d d)...paused=!paused;.....if.(k==
a820 50 41 55 53 45 29 00 00 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 70 61 75 73 65 64 3d 46 61 PAUSE)......static.int.paused=Fa
a840 6c 73 65 3b 00 7b 00 73 74 61 74 69 63 20 69 6e 74 20 50 61 75 73 65 64 28 69 6e 74 20 6b 29 00 lse;.{.static.int.Paused(int.k).
a860 00 00 7d 00 20 20 20 20 55 70 64 61 74 65 28 29 3b 00 00 09 43 65 6e 74 72 65 28 57 49 4e 48 2f ..}.....Update();...Centre(WINH/
a880 34 2c 59 45 4c 4c 4f 57 2c 22 50 41 55 53 45 44 22 29 3b 00 20 20 20 20 65 6c 73 65 00 09 43 65 4,YELLOW,"PAUSED");.....else..Ce
a8a0 6e 74 72 65 28 57 49 4e 48 2f 34 2c 57 48 49 54 45 2c 22 50 41 55 53 45 44 22 29 3b 00 20 20 20 ntre(WINH/4,WHITE,"PAUSED");....
a8c0 20 69 66 20 28 28 63 2f 31 30 29 25 32 29 00 00 20 20 20 20 63 2b 2b 3b 00 00 20 20 20 20 73 74 .if.((c/10)%2)......c++;......st
a8e0 61 74 69 63 20 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 63 3d 30 3b 00 7b 00 73 74 61 74 69 63 20 atic.unsigned.int.c=0;.{.static.
a900 76 6f 69 64 20 44 6f 50 61 75 73 65 28 76 6f 69 64 29 00 2a 2f 00 2f 2a 20 2d 2d 2d 2d 2d 2d 2d void.DoPause(void).*/./*.-------
a920 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 --------------------------------
a940 2d 2d 2d 2d 2d 2d 2d 2d 20 50 41 55 53 45 20 43 4f 44 45 00 00 00 7d 00 20 20 20 20 72 65 74 75 --------.PAUSE.CODE...}.....retu
a960 72 6e 20 58 46 55 4e 43 43 4f 4e 54 3b 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 rn.XFUNCCONT;......}..return.XFU
a980 4e 43 53 54 4f 50 3b 00 09 66 69 72 73 74 3d 54 72 75 65 3b 00 20 20 20 20 7b 00 20 20 20 20 69 NCSTOP;..first=True;.....{.....i
a9a0 66 20 28 28 6c 61 6e 64 65 64 29 26 26 28 4e 6f 50 61 72 74 69 63 6c 65 73 28 29 29 29 00 00 20 f.((landed)&&(NoParticles()))...
a9c0 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 53 54 4f 50 3b 00 09 66 69 72 73 74 3d 54 ...}..return.XFUNCSTOP;..first=T
a9e0 72 75 65 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 28 64 65 61 64 29 26 26 28 4e 6f 50 61 rue;.....{.....if.((dead)&&(NoPa
aa00 72 74 69 63 6c 65 73 28 29 29 29 00 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 rticles()))......}..return.XFUNC
aa20 53 54 4f 50 3b 00 09 66 69 72 73 74 3d 54 72 75 65 3b 00 09 66 75 65 6c 3d 30 3b 00 09 73 63 6f STOP;..first=True;..fuel=0;..sco
aa40 72 65 3d 2d 31 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 6b 3d 3d 51 55 49 54 29 00 00 20 re=-1;.....{.....if.(k==QUIT)...
aa60 20 20 20 7d 00 09 53 65 74 53 63 61 6c 65 28 73 63 61 6c 65 29 3b 00 09 49 6e 69 74 42 64 72 6f ...}..SetScale(scale);..InitBdro
aa80 70 28 29 3b 00 00 09 20 20 20 20 73 63 61 6c 65 3d 32 3b 00 09 65 6c 73 65 00 09 20 20 20 20 73 p();.......scale=2;..else......s
aaa0 63 61 6c 65 2b 2b 3b 00 09 69 66 20 28 73 63 61 6c 65 29 00 20 20 20 20 7b 00 20 20 20 20 69 66 cale++;..if.(scale).....{.....if
aac0 20 28 6b 3d 3d 53 43 41 4c 45 5f 44 4f 57 4e 29 00 00 20 20 20 20 7d 00 09 53 65 74 53 63 61 6c .(k==SCALE_DOWN)......}..SetScal
aae0 65 28 73 63 61 6c 65 29 3b 00 09 49 6e 69 74 42 64 72 6f 70 28 29 3b 00 00 09 20 20 20 20 73 63 e(scale);..InitBdrop();.......sc
ab00 61 6c 65 3d 30 3b 00 09 69 66 20 28 2d 2d 73 63 61 6c 65 3c 32 29 00 20 20 20 20 7b 00 20 20 20 ale=0;..if.(--scale<2).....{....
ab20 20 69 66 20 28 6b 3d 3d 53 43 41 4c 45 5f 55 50 29 00 00 20 20 20 20 55 70 64 61 74 65 28 29 3b .if.(k==SCALE_UP)......Update();
ab40 00 00 09 43 68 65 63 6b 43 6f 6c 6c 69 73 69 6f 6e 73 28 26 6c 61 6e 64 65 64 2c 26 64 65 61 64 ...CheckCollisions(&landed,&dead
ab60 29 3b 00 20 20 20 20 69 66 20 28 28 21 6c 61 6e 64 65 64 29 26 26 28 21 64 65 61 64 29 29 00 20 );.....if.((!landed)&&(!dead))..
ab80 20 20 20 2a 2f 00 20 20 20 20 2f 2a 20 43 68 65 63 6b 20 63 6f 6c 6c 69 73 69 6f 6e 73 00 00 09 ...*/...../*.Check.collisions...
aba0 09 09 09 09 09 20 20 20 20 73 68 69 70 78 69 2c 73 68 69 70 79 69 2c 6c 61 6e 64 65 72 2e 61 6e .........shipxi,shipyi,lander.an
abc0 67 29 3b 00 09 58 49 70 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 2c 57 49 4e 48 2d 38 29 2c 57 g);..XIprintf(img,CH(0,WINH-8),W
abe0 48 49 54 45 2c 22 78 69 3a 20 25 32 2e 33 66 20 20 79 69 3a 20 25 32 2e 33 66 20 20 61 6e 67 3a HITE,"xi:.%2.3f..yi:.%2.3f..ang:
ac00 20 25 34 64 22 2c 00 20 20 20 20 69 66 20 28 53 48 4f 57 56 45 43 29 00 00 20 20 20 20 58 49 70 .%4d",.....if.(SHOWVEC)......XIp
ac20 72 69 6e 74 66 28 69 6d 67 2c 43 48 28 30 2c 30 29 2c 57 48 49 54 45 2c 22 46 75 65 6c 20 3a 20 rintf(img,CH(0,0),WHITE,"Fuel.:.
ac40 25 34 64 22 2c 66 75 65 6c 29 3b 00 00 20 20 20 20 7d 00 09 7d 00 09 09 43 65 6e 74 72 65 28 34 %4d",fuel);......}..}...Centre(4
ac60 38 2c 57 48 49 54 45 2c 64 6d 67 29 3b 00 09 20 20 20 20 69 66 28 64 6d 67 29 00 00 09 09 64 6d 8,WHITE,dmg);......if(dmg)....dm
ac80 67 3d 22 41 4c 4c 20 54 48 52 55 53 54 45 52 53 20 44 41 4d 41 47 45 44 21 22 3b 00 09 20 20 20 g="ALL.THRUSTERS.DAMAGED!";.....
aca0 20 65 6c 73 65 00 09 09 64 6d 67 3d 22 42 4f 54 48 20 53 49 44 45 20 54 48 52 55 53 54 45 52 53 .else...dmg="BOTH.SIDE.THRUSTERS
acc0 20 44 41 4d 41 47 45 44 22 3b 00 09 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 61 6d 61 67 65 3d .DAMAGED";......else.if.(damage=
ace0 3d 44 41 4d 41 47 45 5f 52 49 47 48 54 29 00 09 09 64 6d 67 3d 22 4c 45 46 54 20 54 48 52 55 53 =DAMAGE_RIGHT)...dmg="LEFT.THRUS
ad00 54 45 52 20 44 41 4d 41 47 45 44 22 3b 00 09 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 61 6d 61 TER.DAMAGED";......else.if.(dama
ad20 67 65 3d 3d 44 41 4d 41 47 45 5f 4c 45 46 54 29 00 09 09 64 6d 67 3d 4e 55 4c 4c 3b 00 09 20 20 ge==DAMAGE_LEFT)...dmg=NULL;....
ad40 20 20 69 66 20 28 64 61 6d 61 67 65 3d 3d 44 41 4d 41 47 45 5f 4e 4f 4e 45 29 00 09 7b 00 09 69 ..if.(damage==DAMAGE_NONE)..{..i
ad60 66 20 28 28 63 74 72 2f 31 30 29 25 32 29 00 00 09 44 72 61 77 4f 62 6a 65 63 74 28 26 6c 61 6e f.((ctr/10)%2)...DrawObject(&lan
ad80 64 65 72 29 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 21 64 65 61 64 29 00 00 20 20 20 20 der);.....{.....if.(!dead)......
ada0 44 72 61 77 4c 65 76 65 6c 28 29 3b 00 20 20 20 20 44 72 61 77 50 61 72 74 69 63 6c 65 73 28 29 DrawLevel();.....DrawParticles()
adc0 3b 00 20 20 20 20 44 72 61 77 42 64 72 6f 70 28 29 3b 00 00 09 7d 00 09 20 20 20 20 73 68 69 70 ;.....DrawBdrop();...}......ship
ade0 79 69 3d 4d 41 58 47 52 41 56 3b 00 09 69 66 20 28 73 68 69 70 79 69 3e 4d 41 58 47 52 41 56 29 yi=MAXGRAV;..if.(shipyi>MAXGRAV)
ae00 00 00 09 20 20 20 20 73 68 69 70 79 69 3d 2d 4d 41 58 47 52 41 56 3b 00 09 69 66 20 28 73 68 69 .......shipyi=-MAXGRAV;..if.(shi
ae20 70 79 69 3c 2d 4d 41 58 47 52 41 56 29 00 00 09 20 20 20 20 73 68 69 70 78 69 3d 4d 41 58 47 52 pyi<-MAXGRAV).......shipxi=MAXGR
ae40 41 56 3b 00 09 69 66 20 28 73 68 69 70 78 69 3e 4d 41 58 47 52 41 56 29 00 00 09 20 20 20 20 73 AV;..if.(shipxi>MAXGRAV).......s
ae60 68 69 70 78 69 3d 2d 4d 41 58 47 52 41 56 3b 00 09 69 66 20 28 73 68 69 70 78 69 3c 2d 4d 41 58 hipxi=-MAXGRAV;..if.(shipxi<-MAX
ae80 47 52 41 56 29 00 00 09 7d 00 09 20 20 20 20 66 75 65 6c 2d 2d 3b 00 09 20 20 20 20 7d 00 09 09 GRAV)...}......fuel--;......}...
aea0 41 64 64 50 61 72 74 69 63 6c 65 28 6e 61 2c 31 31 2b 52 4e 44 28 35 29 2c 52 4e 44 28 50 4c 4f AddParticle(na,11+RND(5),RND(PLO
aec0 4e 47 29 2c 31 30 29 3b 00 09 09 6e 61 3d 28 6c 61 6e 64 65 72 2e 61 6e 67 2b 33 34 30 30 2b 52 NG),10);...na=(lander.ang+3400+R
aee0 4e 44 28 34 30 30 29 29 25 33 36 30 30 3b 00 09 20 20 20 20 7b 00 09 20 20 20 20 66 6f 72 28 66 ND(400))%3600;......{......for(f
af00 3d 30 3b 66 3c 31 30 3b 66 2b 2b 29 00 09 20 20 20 20 73 68 69 70 79 69 2b 3d 4a 45 54 2a 63 6f =0;f<10;f++)......shipyi+=JET*co
af20 5b 6c 61 6e 64 65 72 2e 61 6e 67 5d 3b 00 09 20 20 20 20 73 68 69 70 78 69 2d 3d 4a 45 54 2a 73 [lander.ang];......shipxi-=JET*s
af40 69 5b 6c 61 6e 64 65 72 2e 61 6e 67 5d 3b 00 09 7b 00 09 69 66 20 28 28 6b 65 79 6d 61 70 5b 54 i[lander.ang];..{..if.((keymap[T
af60 48 52 55 53 54 5d 29 26 26 28 66 75 65 6c 3e 30 29 26 26 28 64 61 6d 61 67 65 3c 44 41 4d 41 47 HRUST])&&(fuel>0)&&(damage<DAMAG
af80 45 5f 4d 41 49 4e 29 29 00 00 09 7d 00 09 20 20 20 20 7d 00 09 09 7d 00 09 09 20 20 20 20 41 64 E_MAIN))...}......}...}.......Ad
afa0 64 50 61 72 74 69 63 6c 65 28 6e 61 2c 38 2b 52 4e 44 28 33 29 2c 50 4d 49 44 2c 31 30 29 3b 00 dParticle(na,8+RND(3),PMID,10);.
afc0 09 09 20 20 20 20 6e 61 3d 28 6c 61 6e 64 65 72 2e 61 6e 67 2b 38 30 30 2b 52 4e 44 28 32 30 30 ......na=(lander.ang+800+RND(200
afe0 29 29 25 33 36 30 30 3b 00 09 09 7b 00 09 09 66 6f 72 28 66 3d 30 3b 66 3c 35 3b 66 2b 2b 29 00 ))%3600;...{...for(f=0;f<5;f++).
b000 00 09 09 20 20 20 20 6c 61 6e 64 65 72 2e 61 6e 67 2d 3d 33 36 30 30 3b 00 09 09 69 66 20 28 28 .......lander.ang-=3600;...if.((
b020 6c 61 6e 64 65 72 2e 61 6e 67 2b 3d 38 30 29 3e 33 35 39 39 29 00 61 64 00 00 0e 00 00 00 16 03 lander.ang+=80)>3599).ad........
b040 00 00 00 10 00 00 bd 00 00 00 ea 0f 00 00 e9 0f 00 00 da 0f 00 00 d4 0f 00 00 cc 0f 00 00 ba 0f ................................
b060 00 00 ab 0f 00 00 a0 0f 00 00 9f 0f 00 00 87 0f 00 00 69 0f 00 00 60 0f 00 00 5f 0f 00 00 4e 0f ..................i...`..._...N.
b080 00 00 31 0f 00 00 1c 0f 00 00 1b 0f 00 00 ff 0e 00 00 e7 0e 00 00 d0 0e 00 00 c2 0e 00 00 bc 0e ..1.............................
b0a0 00 00 bb 0e 00 00 b0 0e 00 00 af 0e 00 00 86 0e 00 00 59 0e 00 00 2d 0e 00 00 2c 0e 00 00 0e 0e ..................Y...-...,.....
b0c0 00 00 f1 0d 00 00 f0 0d 00 00 d8 0d 00 00 d2 0d 00 00 b3 0d 00 00 84 0d 00 00 55 0d 00 00 4f 0d ..........................U...O.
b0e0 00 00 4e 0d 00 00 2b 0d 00 00 25 0d 00 00 19 0d 00 00 05 0d 00 00 df 0c 00 00 d9 0c 00 00 cd 0c ..N...+...%.....................
b100 00 00 c7 0c 00 00 c6 0c 00 00 a2 0c 00 00 9c 0c 00 00 90 0c 00 00 80 0c 00 00 6d 0c 00 00 67 0c ..........................m...g.
b120 00 00 66 0c 00 00 50 0c 00 00 4a 0c 00 00 3c 0c 00 00 30 0c 00 00 24 0c 00 00 18 0c 00 00 09 0c ..f...P...J...<...0...$.........
b140 00 00 fd 0b 00 00 f7 0b 00 00 f6 0b 00 00 e6 0b 00 00 db 0b 00 00 da 0b 00 00 cc 0b 00 00 cb 0b ................................
b160 00 00 bb 0b 00 00 b5 0b 00 00 a8 0b 00 00 95 0b 00 00 8f 0b 00 00 86 0b 00 00 73 0b 00 00 71 0b ..........................s...q.
b180 00 00 70 0b 00 00 6f 0b 00 00 29 0b 00 00 26 0b 00 00 08 0b 00 00 06 0b 00 00 e8 0a 00 00 db 0a ..p...o...)...&.................
b1a0 00 00 d9 0a 00 00 d8 0a 00 00 d7 0a 00 00 af 0a 00 00 ad 0a 00 00 94 0a 00 00 93 0a 00 00 7b 0a ..............................{.
b1c0 00 00 6a 0a 00 00 69 0a 00 00 5b 0a 00 00 59 0a 00 00 58 0a 00 00 57 0a 00 00 38 0a 00 00 36 0a ..j...i...[...Y...X...W...8...6.
b1e0 00 00 1d 0a 00 00 1c 0a 00 00 06 0a 00 00 05 0a 00 00 e7 09 00 00 d1 09 00 00 d0 09 00 00 c2 09 ................................
b200 00 00 c0 09 00 00 bf 09 00 00 be 09 00 00 94 09 00 00 93 09 00 00 91 09 00 00 6c 09 00 00 6a 09 ..........................l...j.
b220 00 00 69 09 00 00 68 09 00 00 4b 09 00 00 49 09 00 00 3b 09 00 00 16 09 00 00 ef 08 00 00 ee 08 ..i...h...K...I...;.............
b240 00 00 c0 08 00 00 9e 08 00 00 9d 08 00 00 7a 08 00 00 59 08 00 00 58 08 00 00 2b 08 00 00 0d 08 ..............z...Y...X...+.....
b260 00 00 0c 08 00 00 ef 07 00 00 ca 07 00 00 98 07 00 00 97 07 00 00 87 07 00 00 86 07 00 00 69 07 ..............................i.
b280 00 00 63 07 00 00 3d 07 00 00 3a 07 00 00 fb 06 00 00 ee 06 00 00 eb 06 00 00 ea 06 00 00 c4 06 ..c...=...:.....................
b2a0 00 00 b8 06 00 00 ac 06 00 00 ab 06 00 00 9b 06 00 00 9a 06 00 00 87 06 00 00 84 06 00 00 74 06 ..............................t.
b2c0 00 00 6d 06 00 00 61 06 00 00 38 06 00 00 08 06 00 00 de 05 00 00 d1 05 00 00 c5 05 00 00 9a 05 ..m...a...8.....................
b2e0 00 00 6a 05 00 00 40 05 00 00 33 05 00 00 27 05 00 00 fb 04 00 00 cb 04 00 00 a1 04 00 00 94 04 ..j...@...3...'.................
b300 00 00 88 04 00 00 64 04 00 00 39 04 00 00 0f 04 00 00 02 04 00 00 f6 03 00 00 d1 03 00 00 9a 03 ......d...9.....................
b320 00 00 72 03 00 00 65 03 00 00 5e 03 00 00 5d 03 00 00 3b 03 00 00 17 03 00 00 16 03 00 00 15 03 ..r...e...^...]...;.............
b340 00 00 00 00 00 00 00 00 00 00 00 00 00 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 64 72 61 ..................levdata[f].dra
b360 77 5b 70 6f 6c 79 5f 6e 6f 5d 3d 54 72 75 65 3b 00 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d w[poly_no]=True;......levdata[f]
b380 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 61 6e 67 3d 30 3b 00 00 09 20 20 20 20 7d 00 09 09 20 20 20 .v[poly_no].ang=0;.......}......
b3a0 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f .break;.......levdata[f].v[poly_
b3c0 6e 6f 5d 2e 63 6f 6c 6f 75 72 3d 52 45 44 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d no].colour=RED;.......levdata[f]
b3e0 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6c 63 6f 64 65 3d 43 4d 49 4e 45 28 6e 6f 5f 6d 69 .v[poly_no].collcode=CMINE(no_mi
b400 6e 65 2b 2b 29 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 74 79 70 65 5b 70 6f 6c ne++);.......levdata[f].type[pol
b420 79 5f 6e 6f 5d 3d 4d 49 4e 45 3b 00 09 09 63 61 73 65 20 27 4f 27 3a 00 09 09 20 20 20 20 62 72 y_no]=MINE;...case.'O':.......br
b440 65 61 6b 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d eak;.......levdata[f].v[poly_no]
b460 2e 63 6f 6c 6f 75 72 3d 47 52 45 45 4e 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e .colour=GREEN;.......levdata[f].
b480 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6c 63 6f 64 65 3d 43 50 41 44 3b 00 09 09 20 20 20 20 v[poly_no].collcode=CPAD;.......
b4a0 6c 65 76 64 61 74 61 5b 66 5d 2e 74 79 70 65 5b 70 6f 6c 79 5f 6e 6f 5d 3d 50 41 44 3b 00 09 09 levdata[f].type[poly_no]=PAD;...
b4c0 63 61 73 65 20 27 50 27 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 6c 65 76 case.'P':.......break;.......lev
b4e0 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6f 75 72 3d 57 48 49 54 45 3b data[f].v[poly_no].colour=WHITE;
b500 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c .......levdata[f].v[poly_no].col
b520 6c 63 6f 64 65 3d 43 41 53 54 45 52 4f 49 44 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 lcode=CASTEROID;.......levdata[f
b540 5d 2e 74 79 70 65 5b 70 6f 6c 79 5f 6e 6f 5d 3d 41 53 54 45 52 4f 49 44 41 43 57 3b 00 09 09 63 ].type[poly_no]=ASTEROIDACW;...c
b560 61 73 65 20 27 59 27 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 6c 65 76 64 ase.'Y':.......break;.......levd
b580 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6f 75 72 3d 57 48 49 54 45 3b 00 ata[f].v[poly_no].colour=WHITE;.
b5a0 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6c ......levdata[f].v[poly_no].coll
b5c0 63 6f 64 65 3d 43 41 53 54 45 52 4f 49 44 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d code=CASTEROID;.......levdata[f]
b5e0 2e 74 79 70 65 5b 70 6f 6c 79 5f 6e 6f 5d 3d 41 53 54 45 52 4f 49 44 43 57 3b 00 09 09 63 61 73 .type[poly_no]=ASTEROIDCW;...cas
b600 65 20 27 58 27 3a 00 09 09 20 20 20 20 62 72 65 61 6b 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 e.'X':.......break;.......levdat
b620 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6f 75 72 3d 57 48 49 54 45 3b 00 09 09 a[f].v[poly_no].colour=WHITE;...
b640 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 76 5b 70 6f 6c 79 5f 6e 6f 5d 2e 63 6f 6c 6c 63 6f ....levdata[f].v[poly_no].collco
b660 64 65 3d 43 4d 4f 55 4e 54 41 49 4e 3b 00 09 09 20 20 20 20 6c 65 76 64 61 74 61 5b 66 5d 2e 74 de=CMOUNTAIN;.......levdata[f].t
b680 79 70 65 5b 70 6f 6c 79 5f 6e 6f 5d 3d 4d 4f 55 4e 54 41 49 4e 3b 00 09 09 63 61 73 65 20 27 4d ype[poly_no]=MOUNTAIN;...case.'M
b6a0 27 3a 00 09 20 20 20 20 7b 00 09 20 20 20 20 73 77 69 74 63 68 28 2a 70 29 00 09 7b 00 09 77 68 ':......{......switch(*p)..{..wh
b6c0 69 6c 65 20 28 21 66 65 6f 66 28 66 70 29 29 00 00 09 70 3d 47 65 74 4c 69 6e 65 28 66 70 29 3b ile.(!feof(fp))...p=GetLine(fp);
b6e0 00 00 09 6e 6f 5f 6d 69 6e 65 3d 30 3b 00 09 70 6f 6c 79 5f 6e 6f 3d 30 3b 00 09 6c 65 76 64 61 ...no_mine=0;..poly_no=0;..levda
b700 74 61 5b 66 5d 2e 6e 61 6d 65 3d 73 74 72 64 75 70 28 47 65 74 4c 69 6e 65 28 66 70 29 29 3b 00 ta[f].name=strdup(GetLine(fp));.
b720 00 09 7d 00 09 20 20 20 20 65 72 72 28 73 29 3b 00 09 20 20 20 20 73 70 72 69 6e 74 66 28 73 2c ..}......err(s);......sprintf(s,
b740 22 43 6f 75 6c 64 6e 27 74 20 6f 70 65 6e 20 6c 75 6e 61 72 20 6c 65 76 65 6c 20 66 69 6c 65 20 "Couldn't.open.lunar.level.file.
b760 27 25 73 27 22 2c 6e 61 6d 65 5b 66 5d 29 3b 00 09 7b 00 09 69 66 20 28 21 28 66 70 3d 66 6f 70 '%s'",name[f]);..{..if.(!(fp=fop
b780 65 6e 28 46 4e 61 6d 65 28 6e 61 6d 65 5b 66 5d 29 2c 22 72 22 29 29 29 00 20 20 20 20 7b 00 20 en(FName(name[f]),"r"))).....{..
b7a0 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 5f 6c 65 76 65 6c 73 3b 66 2b 2b 29 00 00 20 20 20 ...for(f=0;f<no_levels;f++).....
b7c0 20 66 63 6c 6f 73 65 28 66 70 29 3b 00 00 09 20 20 20 20 65 72 72 28 22 6e 6f 74 20 65 6e 6f 75 .fclose(fp);.......err("not.enou
b7e0 67 68 20 6c 65 76 65 6c 20 6e 61 6d 65 73 20 69 6e 20 6c 75 6e 61 72 2e 64 65 73 63 22 29 3b 00 gh.level.names.in.lunar.desc");.
b800 09 69 66 20 28 21 28 6e 61 6d 65 5b 66 5d 3d 73 74 72 64 75 70 28 47 65 74 4c 69 6e 65 28 66 70 .if.(!(name[f]=strdup(GetLine(fp
b820 29 29 29 29 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 6e 6f 5f 6c 65 76 65 6c 73 3b 66 2b 2b )))).....for(f=0;f<no_levels;f++
b840 29 00 00 09 65 72 72 28 22 69 6c 6c 65 67 61 6c 20 6e 6f 20 6f 66 20 6c 65 76 65 6c 73 22 29 3b )...err("illegal.no.of.levels");
b860 00 20 20 20 20 69 66 20 28 28 6e 6f 5f 6c 65 76 65 6c 73 3c 31 29 7c 7c 28 6e 6f 5f 6c 65 76 65 .....if.((no_levels<1)||(no_leve
b880 6c 73 3e 4d 41 58 4c 45 56 45 4c 29 29 00 00 20 20 20 20 6e 6f 5f 6c 65 76 65 6c 73 3d 61 74 6f ls>MAXLEVEL))......no_levels=ato
b8a0 69 28 47 65 74 4c 69 6e 65 28 66 70 29 29 3b 00 20 20 20 20 6c 65 76 65 6c 5f 73 65 74 3d 73 74 i(GetLine(fp));.....level_set=st
b8c0 72 64 75 70 28 47 65 74 4c 69 6e 65 28 66 70 29 29 3b 00 00 09 65 72 72 28 22 43 6f 75 6c 64 6e rdup(GetLine(fp));...err("Couldn
b8e0 27 74 20 6f 70 65 6e 20 6c 75 6e 61 72 2e 64 65 73 63 22 29 3b 00 20 20 20 20 69 66 20 28 21 28 't.open.lunar.desc");.....if.(!(
b900 66 70 3d 66 6f 70 65 6e 28 46 4e 61 6d 65 28 22 6c 75 6e 61 72 2e 64 65 73 63 22 29 2c 22 72 22 fp=fopen(FName("lunar.desc"),"r"
b920 29 29 29 00 00 20 20 20 20 69 6e 74 20 66 2c 78 2c 79 2c 70 6f 6c 79 5f 6e 6f 2c 70 74 5f 6e 6f )))......int.f,x,y,poly_no,pt_no
b940 2c 6c 2c 6e 6f 5f 6d 69 6e 65 3b 00 20 20 20 20 63 68 61 72 20 73 5b 31 30 32 34 5d 2c 2a 70 2c ,l,no_mine;.....char.s[1024],*p,
b960 2a 6e 61 6d 65 5b 4d 41 58 4c 45 56 45 4c 5d 3b 00 20 20 20 20 46 49 4c 45 20 2a 66 70 3b 00 7b *name[MAXLEVEL];.....FILE.*fp;.{
b980 00 73 74 61 74 69 63 20 76 6f 69 64 20 52 65 61 64 4c 65 76 65 6c 73 28 76 6f 69 64 29 00 00 00 .static.void.ReadLevels(void)...
b9a0 7d 00 20 20 20 20 73 73 63 61 6e 66 28 47 65 74 4c 69 6e 65 28 66 70 29 2c 22 25 64 2c 25 64 22 }.....sscanf(GetLine(fp),"%d,%d"
b9c0 2c 78 2c 79 29 3b 00 7b 00 00 73 74 61 74 69 63 20 69 6e 74 20 47 65 74 4e 75 6d 28 46 49 4c 45 ,x,y);.{..static.int.GetNum(FILE
b9e0 20 2a 66 70 2c 69 6e 74 20 2a 78 2c 69 6e 74 20 2a 79 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 .*fp,int.*x,int.*y)...}.....retu
ba00 72 6e 20 73 3b 00 00 09 73 5b 73 74 72 6c 65 6e 28 73 29 2d 31 5d 3d 27 5c 30 27 3b 00 20 20 20 rn.s;...s[strlen(s)-1]='\0';....
ba20 20 69 66 20 28 73 5b 73 74 72 6c 65 6e 28 73 29 2d 31 5d 3d 3d 27 5c 6e 27 29 00 00 20 20 20 20 .if.(s[strlen(s)-1]=='\n')......
ba40 66 67 65 74 73 28 73 2c 31 30 32 34 2c 66 70 29 3b 00 00 20 20 20 20 73 74 61 74 69 63 20 63 68 fgets(s,1024,fp);......static.ch
ba60 61 72 20 73 5b 31 32 30 34 5d 3b 00 7b 00 73 74 61 74 69 63 20 63 68 61 72 20 2a 47 65 74 4c 69 ar.s[1204];.{.static.char.*GetLi
ba80 6e 65 28 46 49 4c 45 20 2a 66 70 29 00 00 00 7d 00 20 20 20 20 72 65 74 75 72 6e 20 73 3b 00 00 ne(FILE.*fp)...}.....return.s;..
baa0 20 20 20 20 73 74 72 63 61 74 28 73 2c 70 29 3b 00 20 20 20 20 73 74 72 63 70 79 28 73 2c 4c 45 ....strcat(s,p);.....strcpy(s,LE
bac0 56 45 4c 44 49 52 29 3b 00 00 20 20 20 20 73 74 61 74 69 63 20 63 68 61 72 20 73 5b 31 30 32 34 VELDIR);......static.char.s[1024
bae0 5d 3b 00 7b 00 73 74 61 74 69 63 20 63 6f 6e 73 74 20 63 68 61 72 20 2a 46 4e 61 6d 65 28 63 6f ];.{.static.const.char.*FName(co
bb00 6e 73 74 20 63 68 61 72 20 2a 70 29 00 00 00 7d 00 20 20 20 20 65 78 69 74 28 31 29 3b 00 20 20 nst.char.*p)...}.....exit(1);...
bb20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 22 25 73 5c 6e 22 2c 70 29 3b 00 7b 00 73 74 ..fprintf(stderr,"%s\n",p);.{.st
bb40 61 74 69 63 20 69 6e 74 20 65 72 72 28 63 6f 6e 73 74 20 63 68 61 72 20 2a 70 29 00 2a 2f 00 2f atic.int.err(const.char.*p).*/./
bb60 2a 20 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 *.------------------------------
bb80 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 4c 45 56 45 4c 20 52 45 41 44 49 4e 47 20 -----------------.LEVEL.READING.
bba0 43 4f 44 45 00 00 00 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 43 4f 4e 54 3b 00 20 20 20 20 CODE...}..return.XFUNCCONT;.....
bbc0 65 6c 73 65 00 20 20 20 20 7d 00 09 72 65 74 75 72 6e 20 58 46 55 4e 43 53 54 4f 50 3b 00 09 66 else.....}..return.XFUNCSTOP;..f
bbe0 69 72 73 74 3d 54 72 75 65 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 6c 65 6e 3d 3d 33 29 irst=True;.....{.....if.(len==3)
bc00 00 00 20 20 20 20 55 70 64 61 74 65 28 29 3b 00 00 09 62 6f 75 6e 63 65 2d 2d 3b 00 20 20 20 20 ......Update();...bounce--;.....
bc20 69 66 20 28 62 6f 75 6e 63 65 29 00 00 20 20 20 20 7d 00 09 20 20 20 20 62 72 65 61 6b 3b 00 09 if.(bounce)......}......break;..
bc40 20 20 20 20 62 6f 75 6e 63 65 3d 30 3b 00 09 63 61 73 65 20 4e 4f 4e 45 3a 00 09 20 20 20 20 62 ....bounce=0;..case.NONE:......b
bc60 72 65 61 6b 3b 00 09 20 20 20 20 6c 65 6e 2b 2b 3b 00 09 63 61 73 65 20 54 48 52 55 53 54 3a 00 reak;......len++;..case.THRUST:.
bc80 20 20 20 20 7b 00 20 20 20 20 73 77 69 74 63 68 20 28 47 65 74 4b 65 79 28 29 29 00 00 20 20 20 ....{.....switch.(GetKey()).....
bca0 20 7d 00 09 20 20 20 20 6c 65 74 3d 68 69 73 63 5f 6c 65 74 3b 00 09 69 66 20 28 21 28 2a 2b 2b .}......let=hisc_let;..if.(!(*++
bcc0 6c 65 74 29 29 00 09 62 6f 75 6e 63 65 3d 33 30 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 let))..bounce=30;.....{.....if.(
bce0 28 6b 65 79 6d 61 70 5b 52 49 47 48 54 5d 29 26 26 28 21 62 6f 75 6e 63 65 29 29 00 00 20 20 20 (keymap[RIGHT])&&(!bounce)).....
bd00 20 7d 00 09 20 20 20 20 6c 65 74 2d 2d 3b 00 09 65 6c 73 65 00 09 20 20 20 20 6c 65 74 3d 68 69 .}......let--;..else......let=hi
bd20 73 63 5f 6c 65 74 2b 73 74 72 6c 65 6e 28 68 69 73 63 5f 6c 65 74 29 2d 31 3b 00 09 69 66 20 28 sc_let+strlen(hisc_let)-1;..if.(
bd40 6c 65 74 3d 3d 68 69 73 63 5f 6c 65 74 29 00 09 62 6f 75 6e 63 65 3d 33 30 3b 00 20 20 20 20 7b let==hisc_let)..bounce=30;.....{
bd60 00 20 20 20 20 69 66 20 28 28 6b 65 79 6d 61 70 5b 4c 45 46 54 5d 29 26 26 28 21 62 6f 75 6e 63 .....if.((keymap[LEFT])&&(!bounc
bd80 65 29 29 00 00 20 20 20 20 7d 00 09 43 65 6e 74 72 65 28 31 31 30 2b 66 2a 31 30 2c 28 66 3d 3d e))......}..Centre(110+f*10,(f==
bda0 70 6f 73 29 20 3f 20 28 43 59 41 4e 29 20 3a 20 28 52 45 44 29 2c 73 29 3b 00 09 09 09 66 2b 31 pos).?.(CYAN).:.(RED),s);....f+1
bdc0 2c 68 69 73 63 5b 66 5d 2e 6e 61 6d 65 2c 68 69 73 63 5b 66 5d 2e 73 63 6f 72 65 2c 68 69 73 63 ,hisc[f].name,hisc[f].score,hisc
bde0 5b 66 5d 2e 6e 6f 29 3b 00 09 73 70 72 69 6e 74 66 28 73 2c 22 25 32 64 20 25 2d 33 73 20 25 38 [f].no);..sprintf(s,"%2d.%-3s.%8
be00 64 20 25 33 64 22 2c 00 20 20 20 20 7b 00 20 20 20 20 66 6f 72 28 66 3d 30 3b 66 3c 4e 4f 48 49 d.%3d",.....{.....for(f=0;f<NOHI
be20 3b 66 2b 2b 29 00 00 20 20 20 20 68 69 73 63 5b 70 6f 73 5d 2e 6e 61 6d 65 5b 6c 65 6e 2b 31 5d ;f++)......hisc[pos].name[len+1]
be40 3d 30 3b 00 20 20 20 20 68 69 73 63 5b 70 6f 73 5d 2e 6e 61 6d 65 5b 6c 65 6e 5d 3d 2a 6c 65 74 =0;.....hisc[pos].name[len]=*let
be60 3b 00 00 20 20 20 20 43 65 6e 74 72 65 28 34 30 2c 59 45 4c 4c 4f 57 2c 22 46 4f 52 20 54 48 45 ;......Centre(40,YELLOW,"FOR.THE
be80 20 54 4f 50 20 50 49 4c 4f 54 53 22 29 3b 00 20 20 20 20 43 65 6e 74 72 65 28 33 30 2c 59 45 4c .TOP.PILOTS");.....Centre(30,YEL
bea0 4c 4f 57 2c 22 45 4e 54 45 52 20 59 4f 55 52 20 49 4e 49 54 49 41 4c 53 22 29 3b 00 20 20 20 20 LOW,"ENTER.YOUR.INITIALS");.....
bec0 43 65 6e 74 72 65 28 31 36 2c 57 48 49 54 45 2c 22 43 4f 4e 47 52 41 54 55 4c 41 54 49 4f 4e 53 Centre(16,WHITE,"CONGRATULATIONS
bee0 21 22 29 3b 00 00 20 20 20 20 43 6c 73 28 29 3b 00 00 20 20 20 20 7d 00 09 66 69 72 73 74 3d 46 !");......Cls();......}..first=F
bf00 61 6c 73 65 3b 00 09 68 69 73 63 5b 70 6f 73 5d 2e 6e 6f 3d 6c 61 6e 64 69 6e 67 3b 00 09 68 69 alse;..hisc[pos].no=landing;..hi
bf20 73 63 5b 70 6f 73 5d 2e 73 63 6f 72 65 3d 73 63 6f 72 65 3b 00 09 73 74 72 63 70 79 28 68 69 73 sc[pos].score=score;..strcpy(his
bf40 63 5b 70 6f 73 5d 2e 6e 61 6d 65 2c 22 22 29 3b 00 00 09 09 68 69 73 63 5b 66 5d 3d 68 69 73 63 c[pos].name,"");....hisc[f]=hisc
bf60 5b 66 2d 31 5d 3b 00 09 20 20 20 20 66 6f 72 28 66 3d 4e 4f 48 49 2d 31 3b 66 3e 70 6f 73 3b 66 [f-1];......for(f=NOHI-1;f>pos;f
bf80 2d 2d 29 00 09 69 66 20 28 70 6f 73 3c 4e 4f 48 49 2d 31 29 00 00 09 09 70 6f 73 3d 66 3b 00 09 --)..if.(pos<NOHI-1)....pos=f;..
bfa0 20 20 20 20 69 66 20 28 68 69 73 63 5b 66 5d 2e 73 63 6f 72 65 3c 73 63 6f 72 65 29 00 09 66 6f ....if.(hisc[f].score<score)..fo
bfc0 72 28 66 3d 4e 4f 48 49 2d 31 3b 66 3e 2d 31 3b 66 2d 2d 29 00 00 09 62 6f 75 6e 63 65 3d 30 3b r(f=NOHI-1;f>-1;f--)...bounce=0;
bfe0 00 09 6c 65 74 3d 68 69 73 63 5f 6c 65 74 3b 00 09 73 74 72 63 70 79 28 6e 61 6d 65 2c 22 22 29 ..let=hisc_let;..strcpy(name,"")
c000 3b 00 09 6c 65 6e 3d 30 3b 00 20 20 20 20 7b 00 20 20 20 20 69 66 20 28 66 69 72 73 74 29 00 00 ;..len=0;.....{.....if.(first)..
c020 20 20 20 20 69 6e 74 20 66 2c 64 6f 6e 65 3d 46 61 6c 73 65 3b 00 ....int.f,done=False;.