home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
325_01
/
b4.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-28
|
15KB
|
376 lines
/* see comments in b1.c */
#include <stdio.h>
#include <stdlib.h>
#include <grph.h>
#include <ops2d.h>
#include <font.h>
extern void far nature(float,float,float,float);
static float x1[] = {-73.0f,-73.0f,-72.0f,-69.0f,-63.0f,-61.0f,-60.0f,\
-59.0f,-57.0f,-56.0f,-50.0f,-37.0f,-26.0f,-29.0f,\
-30.0f,-30.0f,-29.0f,-26.0f,-22.0f,-16.0f,-15.0f,\
-17.0f,-12.0f,-10.0f, 1.0f, 0.0f, 8.0f, 9.0f,\
14.0f, 12.0f, 17.0f, 15.0f, 26.0f, 24.0f, 39.0f,\
42.0f, 45.0f, 47.0f, 49.0f, 53.0f, 51.0f, 41.0f,\
34.0f, 29.0f, 29.0f, 20.0f, 13.0f, 4.0f, 0.0f,\
-6.0f,-10.0f,-20.0f,-24.0f,-28.0f,-32.0f,-35.0f,\
-39.0f,-44.0f,-50.0f,-54.0f,-68.0f,-70.0f,-71.0f,\
-73.0f};
static float y1[] = { 13.0f, 10.0f, 8.0f, 5.0f, 0.0f, -1.0f, -3.0f,\
-7.0f,-10.0f,-14.0f,-18.0f,-24.0f,-30.0f,-26.0f,\
-23.0f,-20.0f,-16.0f,-13.0f,-10.0f, -9.0f, -8.0f,\
-6.0f, -5.0f, -3.0f, -2.0f, 0.0f, 0.0f, 2.0f,\
4.0f, 6.0f, 7.0f, 9.0f, 14.0f, 16.0f, 22.0f,\
28.0f, 35.0f, 39.0f, 43.0f, 56.0f, 57.0f, 55.0f,\
53.0f, 49.0f, 48.0f, 46.0f, 45.0f, 43.0f, 41.0f,\
39.0f, 32.0f, 32.0f, 27.0f, 23.0f, 16.0f, 13.0f,\
10.0f, 6.0f, 5.0f, 5.0f, 11.0f, 12.0f, 12.0f,\
13.0f};
static float x2[] = {-48.0f,-48.0f,-49.0f,-50.0f,-53.0f,-54.0f,-54.0f,\
-53.0f,-52.0f,-50.0f,-48.0f,-51.0f,-50.0f,-51.0f};
static float y2[] = {-10.0f, -8.0f, -7.0f, -5.0f, -5.0f, -6.0f, -8.0f,\
-9.0f,-10.0f,-10.0f,-10.0f, -7.0f, -9.0f, -9.0f};
static float x3[] = {-73.0f,-73.0f,-72.0f,-69.0f,-63.0f,-61.0f,-59.0f,\
-56.0f,-48.0f,-51.0f,-54.0f,-68.0f,-70.0f,-71.0f,-73.0f};
static float y3[] = { 13.0f, 10.0f, 8.0f, 5.0f, 0.0f, -1.0f, 0.0f,\
-2.0f, -1.0f, 5.0f, 5.0f, 11.0f, 12.0f, 12.0f, 13.0f};
static float x4[] = {-71.0f,-67.0f,-55.0f,-59.0f,-58.0f,-58.0f,-56.0f,-54.0f,\
-51.0f,-48.0f,-55.0f,-56.0f,-57.0f,-56.0f,-57.0f,-57.0f,\
-54.0f,-51.0f,-48.0f,-56.0f,-59.0f,-60.0f};
static float y4[] = { 11.0f, 8.0f, 2.0f, -1.0f, -2.0f, -6.0f,-10.0f,-13.0f,\
-14.0f,-15.0f, -3.0f, -4.0f, -6.0f,-10.0f, -6.0f, 0.0f,\
4.0f, 1.0f, -1.0f, -2.0f, 0.0f, -1.0f};
static float x5[] = {-30.0f,-35.0f,-38.0f,-41.0f,-46.0f,-40.0f,-36.0f,-33.0f,\
-32.0f,-33.0f,-35.0f,-30.0f,-25.0f,-23.0f,-23.0f,-24.0f,\
-26.0f,-28.0f,-30.0f,-32.0f,-28.0f,-25.0f,-22.0f,-21.0f,\
-18.0f,-20.0f,-19.0f,-19.0f,-20.0f,-25.0f,-25.0f,-28.0f,\
-26.0f,-29.0f,-30.0f,-32.0f,-28.0f,-30.0f,-29.0f,-26.0f};
static float y5[] = {-20.0f,-20.0f,-19.0f,-17.0f,-13.0f,-13.0f,-13.0f,-12.0f,\
-9.0f, -6.0f, -3.0f, -3.0f, -1.0f, 2.0f, 10.0f, 14.0f,\
16.0f, 18.0f, 17.0f, 16.0f, 23.0f, 23.0f, 21.0f, 19.0f,\
20.0f, 15.0f, 4.0f, 0.0f, -4.0f, -6.0f, -8.0f, -7.0f,\
-13.0f,-16.0f,-20.0f, 16.0f, 23.0f,-20.0f,-16.0f,-13.0f};
static float x6[] = {-28.0f,-25.0f,-22.0f,-21.0f,-18.0f,-20.0f,-19.0f,-19.0f,\
-20.0f,-25.0f,-25.0f,-28.0f,-26.0f,-22.0f,-16.0f,-15.0f,\
-17.0f,-12.0f,-10.0f, 1.0f, 0.0f, 8.0f, 9.0f, 14.0f,\
12.0f, 17.0f, 15.0f, 26.0f, 24.0f, 39.0f, 42.0f, 45.0f,\
47.0f, 49.0f, 53.0f, 51.0f, 41.0f, 34.0f, 29.0f, 20.0f,\
13.0f, 4.0f, 0.0f, -6.0f,-10.0f,-20.0f,-24.0f,-28.0f};
static float y6[] = { 23.0f, 23.0f, 21.0f, 19.0f, 20.0f, 15.0f, 4.0f, 0.0f,\
-4.0f, -6.0f, -8.0f, -7.0f,-13.0f,-10.0f, -9.0f, -8.0f,\
-6.0f, -5.0f, -3.0f, -2.0f, 0.0f, 0.0f, 2.0f, 4.0f,\
6.0f, 7.0f, 9.0f, 14.0f, 16.0f, 22.0f, 28.0f, 35.0f,\
39.0f, 43.0f, 56.0f, 57.0f, 55.0f, 53.0f, 49.0f, 48.0f,\
46.0f, 45.0f, 43.0f, 41.0f, 39.0f, 32.0f, 27.0f, 23.0f};
static float x7[] = { 47.0f, 60.0f, 70.0f, 80.0f, 85.0f, 90.0f, 94.0f, 96.0f,\
97.0f, 93.0f, 90.0f, 93.0f, 94.0f, 90.0f, 84.0f, 86.0f,\
87.0f, 87.0f, 85.0f, 80.0f, 83.0f, 83.0f, 80.0f, 76.0f,\
80.0f, 79.0f, 70.0f, 72.0f, 74.0f, 73.0f, 70.0f, 67.0f,\
68.0f, 67.0f, 63.0f, 61.0f, 61.0f, 60.0f, 56.0f, 54.0f,\
55.0f, 53.0f, 50.0f, 48.0f, 47.0f, 43.0f, 40.0f, 38.0f,\
36.0f, 35.0f, 34.0f, 34.0f, 34.0f, 60.0f};
static float y7[] = { 39.0f, 43.0f, 46.0f, 49.0f, 52.0f, 54.0f, 57.0f, 60.0f,\
62.0f, 62.0f, 61.0f, 64.0f, 66.0f, 66.0f, 64.0f, 66.0f,\
70.0f, 73.0f, 73.0f, 71.0f, 75.0f, 77.0f, 76.0f, 75.0f,\
82.0f, 83.0f, 79.0f, 82.0f, 86.0f, 87.0f, 86.0f, 84.0f,\
87.0f, 89.0f, 88.0f, 85.0f, 90.0f, 92.0f, 90.0f, 86.0f,\
92.0f, 94.0f, 90.0f, 87.0f, 90.0f, 86.0f, 82.0f, 77.0f,\
73.0f, 67.0f, 63.0f, 58.0f, 53.0f, 70.0f};
static float x8[] = { 90.0f, 83.0f, 76.0f, 69.0f, 60.0f, 54.0f, 84.0f, 80.0f,\
75.0f, 70.0f, 63.0f, 54.0f, 80.0f, 75.0f, 70.0f, 66.0f,\
60.0f, 52.0f, 76.0f, 73.0f, 69.0f, 65.0f, 62.0f, 56.0f,\
70.0f, 66.0f, 63.0f, 60.0f, 56.0f, 52.0f, 67.0f, 64.0f,\
60.0f, 56.0f, 54.0f, 50.0f, 61.0f, 57.0f, 54.0f, 50.0f,\
48.0f, 44.0f, 54.0f, 50.0f, 47.0f, 45.0f, 43.0f, 41.0f,\
48.0f, 45.0f, 43.0f, 40.0f, 38.0f, 37.0f};
static float y8[] = { 61.0f, 56.0f, 52.0f, 48.0f, 45.0f, 43.0f, 64.0f, 60.0f,\
56.0f, 54.0f, 51.0f, 47.0f, 71.0f, 65.0f, 61.0f, 57.0f,\
54.0f, 50.0f, 75.0f, 70.0f, 67.0f, 64.0f, 61.0f, 57.0f,\
79.0f, 75.0f, 72.0f, 70.0f, 65.0f, 59.0f, 84.0f, 80.0f,\
76.0f, 71.0f, 67.0f, 61.0f, 85.0f, 80.0f, 75.0f, 70.0f,\
65.0f, 57.0f, 86.0f, 80.0f, 75.0f, 70.0f, 65.0f, 57.0f,\
87.0f, 82.0f, 76.0f, 70.0f, 65.0f, 58.0f};
static float x9[] = {-20.0f,-17.0f,-12.0f, -8.0f, -5.0f,-16.0f,-12.0f, -7.0f,\
2.0f, -2.0f, 5.0f, 42.0f, 42.0f, 40.0f, 40.0f, 37.0f,\
36.0f, 35.0f, 33.0f,-56.0f,-53.0f,-50.0f,-42.0f,-35.0f,\
-31.0f,-46.0f,-40.0f,-33.0f, 4.0f, -5.0f, -6.0f, -6.0f,\
-8.0f, -7.0f, -2.0f, 0.0f, 8.0f, 10.0f, 12.0f, 10.0f,\
0.0f, 1.0f, 0.0f, 2.0f, 1.0f, -2.0f, -2.0f, 2.0f,\
7.0f, 8.0f, 6.0f, 7.0f, 8.0f, 0.0f, -4.0f, -5.0f,\
-6.0f, 8.0f, 7.0f, 4.0f, 1.0f, 3.0f, 4.0f, 2.0f,\
3.0f, 5.0f, 23.0f, 26.0f, 29.0f, 30.0f, 31.0f, 30.0f,\
29.0f, 27.0f, 27.0f, 28.0f, 22.0f, 20.0f, 21.0f, 22.0f,\
20.0f, 15.0f, 15.0f, 17.0f, 20.0f, 23.0f, 15.0f, 12.0f,\
11.0f, 11.0f, 14.0f, 16.0f, 17.0f, 16.0f, 14.0f, 15.0f,\
21.0f, 23.0f, 25.0f, 29.0f, 28.0f, 27.0f, 17.0f, 19.0f,\
21.0f, 87.0f, 91.0f, 86.0f, 90.0f, 83.0f, 87.0f, 81.0f,\
85.0f, 79.0f, 82.0f, 77.0f, 81.0f, 74.0f, 77.0f, 73.0f,\
75.0f, 70.0f, 73.0f, 68.0f, 71.0f, 65.0f, 69.0f, 64.0f,\
67.0f, 61.0f, 64.0f, 60.0f, 63.0f, 57.0f, 59.0f, 55.0f,\
57.0f, 50.0f, 52.0f, 49.0f, 50.0f, 44.0f, 45.0f, 92.0f,\
94.0f, 88.0f, 91.0f, 83.0f, 86.0f, 79.0f, 81.0f, 74.0f,\
77.0f, 70.0f, 72.0f, 65.0f, 66.0f, 59.0f, 60.0f, 52.0f,\
53.0f, 46.0f, 47.0f, 35.0f, 40.0f, 40.0f, 45.0f, 2.0f,\
11.0f, 5.0f, 14.0f, 9.0f, 16.0f};
static float y9[] = { 27.0f, 30.0f, 34.0f, 36.0f, 38.0f, 27.0f, 30.0f, 33.0f,\
38.0f, 39.0f, 43.0f, 35.0f, 38.0f, 37.0f, 41.0f, 41.0f,\
44.0f, 44.0f, 46.0f,-12.0f,-15.0f,-16.0f,-20.0f,-24.0f,\
-26.0f,-17.0f,-20.0f,-23.0f, 45.0f, 47.0f, 48.0f, 50.0f,\
54.0f, 56.0f, 59.0f, 59.0f, 57.0f, 56.0f, 50.0f, 46.0f,\
59.0f, 58.0f, 56.0f, 55.0f, 53.0f, 52.0f, 50.0f, 49.0f,\
49.0f, 52.0f, 55.0f, 57.0f, 57.0f, 56.0f, 56.0f, 55.0f,\
50.0f, 57.0f, 59.0f, 60.0f, 58.0f, 58.0f, 57.0f, 55.0f,\
54.0f, 52.0f, 32.0f, 36.0f, 39.0f, 41.0f, 47.0f, 49.0f,\
49.0f, 47.0f, 45.0f, 42.0f, 36.0f, 35.0f, 37.0f, 39.0f,\
40.0f, 36.0f, 34.0f, 33.0f, 33.0f, 32.0f, 34.0f, 34.0f,\
35.0f, 39.0f, 43.0f, 44.0f, 43.0f, 40.0f, 37.0f, 36.0f,\
40.0f, 42.0f, 43.0f, 49.0f, 51.0f, 53.0f, 43.0f, 45.0f,\
46.0f, 53.0f, 57.0f, 55.0f, 58.0f, 59.0f, 62.0f, 60.0f,\
64.0f, 63.0f, 66.0f, 65.0f, 69.0f, 68.0f, 72.0f, 69.0f,\
74.0f, 72.0f, 75.0f, 74.0f, 77.0f, 77.0f, 80.0f, 78.0f,\
82.0f, 80.0f, 84.0f, 81.0f, 85.0f, 82.0f, 86.0f, 84.0f,\
87.0f, 84.0f, 88.0f, 84.0f, 88.0f, 83.0f, 87.0f, 58.0f,\
60.0f, 63.0f, 64.0f, 69.0f, 72.0f, 73.0f, 76.0f, 77.0f,\
81.0f, 82.0f, 86.0f, 86.0f, 88.0f, 88.0f, 90.0f, 89.0f,\
91.0f, 88.0f, 89.0f, 48.0f, 52.0f, 50.0f, 53.0f, 1.0f,\
-3.0f, 2.0f, 0.0f, 4.0f, 4.0f};
static float x10[]= {-30.0f,-27.0f,-24.0f,-20.0f,-13.0f, -7.0f, 0.0f, 4.0f,\
-5.0f, -6.0f, -6.0f, -8.0f, -8.0f, -2.0f, 2.0f, 6.0f,\
10.0f, 8.0f, 5.0f, 4.0f, 3.0f, 0.0f, -3.0f, -6.0f,\
-7.0f, -7.0f,-10.0f,-15.0f,-17.0f,-18.0f,-20.0f,-24.0f,\
-26.0f,-26.0f,-30.0f,-33.0f,-30.0f,-32.0f,-37.0f,-38.0f,\
-36.0f,-35.0f,-35.0f,-36.0f,-37.0f,-38.0f,-37.0f,-36.0f,\
-33.0f,-30.0f,-30.0f,-26.0f,-26.0f,-26.0f,-20.0f,\
-16.0f,-18.0f,-13.0f,-10.0f, -7.0f, -4.0f, -3.0f, 3.0f,\
4.0f, 4.0f,-16.0f,-16.0f,-10.0f, -9.0f, 2.0f,-16.0f,\
-4.0f, 0.0f, 3.0f, 7.0f, 12.0f, 20.0f, 30.0f, 35.0f,\
40.0f, 45.0f, 48.0f, 50.0f, 52.0f, 53.0f, 54.0f, 53.0f,\
52.0f, 50.0f, 46.0f, 43.0f, 42.0f, 40.0f, 35.0f, 30.0f,\
29.0f, 32.0f, 26.0f, 20.0f, 19.0f, 20.0f, 15.0f, 11.0f,\
10.0f, 13.0f, 10.0f, 6.0f, 2.0f, 10.0f, 4.0f, -2.0f,\
-4.0f, 0.0f, 4.0f, 10.0f, 13.0f, 7.0f, 3.0f, 0.0f,\
5.0f, 10.0f, 13.0f, 14.0f, 15.0f,-17.0f,-19.0f,-16.0f,\
15.0f,-17.0f,-19.0f,-16.0f,-16.0f,
-4.0f, 0.0f, 3.0f, 7.0f, 12.0f, 20.0f, 30.0f, 35.0f,\
40.0f, 45.0f, 48.0f, 50.0f, 52.0f, 53.0f, 54.0f, 53.0f,\
52.0f, 50.0f, 46.0f, 43.0f, 42.0f, 40.0f, 35.0f, 30.0f,\
29.0f, 32.0f, 26.0f, 20.0f, 19.0f, 20.0f, 15.0f, 11.0f,\
10.0f, 13.0f, 10.0f, 6.0f, 2.0f, 10.0f, 4.0f, -2.0f,\
-4.0f, 0.0f, 4.0f, 10.0f, 13.0f, 7.0f, 3.0f, 0.0f,\
5.0f, 10.0f, 13.0f, 14.0f, 15.0f, 15.0f, 13.0f, 10.0f,\
5.0f, 0.0f, 13.0f, 19.0f, 23.0f, 10.0f, 17.0f, 26.0f,\
13.0f, 23.0f, 31.0f, 20.0f, 28.0f, 34.0f, 32.0f, 40.0f,\
45.0f, 42.0f, 46.0f, 50.0f, 23.0f, 24.0f, 26.0f, 30.0f,\
31.0f, 38.0f, 34.0f, 42.0f, 45.0f, 48.0f};
static float y10[]= { 20.0f, 25.0f, 28.0f, 32.0f, 37.0f, 40.0f, 43.0f, 45.0f,\
47.0f, 48.0f, 50.0f, 53.0f, 56.0f, 58.0f, 58.0f, 60.0f,\
59.0f, 65.0f, 72.0f, 73.0f, 71.0f, 77.0f, 82.0f, 85.0f,\
84.0f, 81.0f, 85.0f, 88.0f, 88.0f, 86.0f, 89.0f, 91.0f,\
90.0f, 85.0f, 89.0f, 88.0f, 77.0f, 81.0f, 82.0f, 80.0f,\
73.0f, 65.0f, 57.0f, 50.0f, 40.0f, 35.0f, 30.0f, 26.0f,\
23.0f, 20.0f, 77.0f, 64.0f, 44.0f, 85.0f, 73.0f,\
57.0f, 86.0f, 78.0f, 64.0f, 81.0f, 70.0f, 62.0f, 71.0f,\
67.0f, 63.0f, 57.0f, 43.0f, 64.0f, 50.0f, 52.0f, -9.0f,\
-9.0f,-10.0f,-13.0f,-13.0f,-11.0f, -7.0f, 0.0f, 4.0f,\
9.0f, 16.0f, 20.0f, 24.0f, 30.0f, 33.0f, 37.0f, 40.0f,\
46.0f, 50.0f, 54.0f, 57.0f, 55.0f, 57.0f, 61.0f, 63.0f,\
62.0f, 58.0f, 62.0f, 63.0f, 62.0f, 59.0f, 62.0f, 62.0f,\
61.0f, 57.0f, 59.0f, 60.0f, 58.0f, 50.0f, 53.0f, 54.0f,\
53.0f, 50.0f, 45.0f, 40.0f, 34.0f, 40.0f, 42.0f, 41.0f,\
34.0f, 27.0f, 20.0f, 15.0f, 10.0f, -3.0f, -7.0f, -9.0f,\
10.0f, -3.0f, -7.0f, -9.0f, -9.0f,
-9.0f,-10.0f,-13.0f,-13.0f,-11.0f, -7.0f, 0.0f, 4.0f,\
9.0f, 16.0f, 20.0f, 24.0f, 30.0f, 33.0f, 37.0f, 40.0f,\
46.0f, 50.0f, 54.0f, 57.0f, 55.0f, 57.0f, 61.0f, 63.0f,\
62.0f, 58.0f, 62.0f, 63.0f, 62.0f, 59.0f, 62.0f, 62.0f,\
61.0f, 57.0f, 59.0f, 60.0f, 58.0f, 50.0f, 53.0f, 54.0f,\
53.0f, 50.0f, 45.0f, 40.0f, 34.0f, 40.0f, 42.0f, 41.0f,\
34.0f, 27.0f, 20.0f, 15.0f, 10.0f, 5.0f, 0.0f, -5.0f,\
-9.0f,-10.0f, 34.0f, 27.0f, 17.0f, 50.0f, 44.0f, 33.0f,\
57.0f, 47.0f, 38.0f, 59.0f, 54.0f, 46.0f, 58.0f, 50.0f,\
40.0f, 55.0f, 50.0f, 40.0f, 17.0f, 14.0f, 33.0f, 25.0f,\
38.0f, 24.0f, 46.0f, 30.0f, 40.0f, 33.0f};
int main (void)
{
Byte m;
struct VP vp1;
int i;
Word j;
void far *p;
int a1,b1,a2,b2;
do
{
scanf("%x" ,&m);
}
while ((m !=1) && (m != 2));
OpenGraph(m,0);
vp1.x1=0;
vp1.y1=0;
vp1.x2=XRes;
vp1.y2=YRes;
/*
nature(0.0f,0.0f,320.0f,200.0f);
*/
MapWorld(-320.0f,200.0f,320.0f,-200.0f);
/*MapWorld(220.0f,140.0f,-220.0f,-140.0f);*/
PxlClr=7;
FllClr=7;
FillPoly(64,x1,y1);
PolyLine(64,x1,y1);
PxlClr=7;
FllClr=0;
FillPoly(11,x2,y2); /*draw eye*/
PolyLine(11,x2,y2);
PxlClr=15;
for (i=11;i<14;i++) /*highlight eye*/
SetPixel(WtoDX(x2[i]),WtoDY(y2[i]));
PxlClr=7;
FllClr=0;
FillPoly(15,x3,y3); /* cheek start + outline beak*/
PolyLine(15,x3,y3);
PolyLine(3,x4,y4); /* mouth*/
PxlClr=0;
PolyLine(7,&x4[3],&y4[3]);
PolyLine(4,&x4[10],&y4[10]);
PolyLine(2,&x4[14],&y4[14]);
PolyLine(6,&x4[16],&y4[16]);
PxlClr=0;
FllClr=0;
FillPoly(35,x5,y5);
PolyLine(35,x5,y5);
PxlClr=7;
PolyLine(2,&x5[35],&y5[35]);
PolyLine(3,&x5[37],&y5[37]);
PxlClr=7;
FllClr=9;
FillPoly(48,x6,y6);
PolyLine(48,x6,y6);
FllClr = 9;
PxlClr = 7;
FillPoly(53,x7,y7);
PolyLine(53,x7,y7);
for (i=0;i<9;i++)
PolyLine(6,&x8[6*i],&y8[6*i]);
PolyLine(5,x9,y9);
PolyLine(4,&x9[5],&y9[5]);
PolyLine(2,&x9[9],&y9[9]);
for (i=0;i<4;i++)
PolyLine(2,&x9[11+i*2],&y9[11+i*2]);
PxlClr = 9;
PolyLine(6,&x9[19],&y9[19]);
PolyLine(3,&x9[25],&y9[25]);
PxlClr = 8;
FllClr = 7;
FillPoly(12,&x9[28],&y9[28]);
PolyLine(12,&x9[28],&y9[28]);
PxlClr = 0;
FllClr = 0;
FillPoly(13,&x9[40],&y9[40]);
PolyLine(13,&x9[40],&y9[40]);
PolyLine(4,&x9[53],&y9[53]);
PxlClr = 7;
for (i=0;i<2;i++)
PolyLine(3,&x9[57+i*3],&y9[57+i*3]);
PxlClr = 0;
FllClr = 7;
FillPoly(20,&x9[66],&y9[66]);
PolyLine(20,&x9[66],&y9[66]);
PxlClr = 0;
FllClr = 7;
FillPoly(10,&x9[86],&y9[86]);
PolyLine(10,&x9[86],&y9[86]);
PxlClr = 7;
for (i=0;i<3;i++)
PolyLine(3,&x9[96+i*3],&y9[96+i*3]);
PxlClr = 1;
PolyLine(19,&x9[105],&y9[105]);
PolyLine(10,&x9[124],&y9[124]);
PolyLine(5,&x9[134],&y9[134]);
/* wings 1*/
FllClr = 9;
PxlClr = 7;
FillPoly(50,x10,y10);
PolyLine(50,x10,y10);
for (i=0;i<5;i++)
PolyLine(3,&x10[50+i*3],&y10[50+i*3]);
for (i=0;i<2;i++)
PolyLine(2,&x10[65+i*2],&y10[65+i*2]);
FillArea(WtoDX(x10[69]),WtoDY(y10[69]),PxlClr);
FllClr = 9;
FillPoly(57,&x10[70],&y10[70]);
PolyLine(57,&x10[70],&y10[70]);
PxlClr = 9;
PolyLine(4,&x10[127],&y10[127]);
PxlClr = 7;
FllClr = 1;
FillPoly(59,&x10[131],&y10[131]);
PolyLine(59,&x10[131],&y10[131]);
for (i=0;i<6;i++)
PolyLine(3,&x10[190+i*3],&y10[190+i*3]);
for (i=0;i<5;i++)
PolyLine(2,&x10[208+i*2],&y10[208+i*2]);
a1 = WtoDX(-80.0f);
b1 = WtoDY(-80.0f);
a2 = WtoDX(110.0f);
b2 = WtoDY(105.0f);
j = ImageSize(a1,b1,a2,b2);
p = (void far *)malloc(j);
GetImage(a1,b1,a2,b2,(void far *)p);
SaveImage("b413",(void far *)p,j);
CloseGraph();
return 0;
}