132001f49Smrg#include "lion-render.h" 232001f49Smrg 332001f49Smrg#include <stdlib.h> 432001f49Smrg#include <stdio.h> 532001f49Smrg 632001f49Smrg#define ELEMENTS(x) (sizeof(x)/sizeof((x)[0])) 732001f49Smrg 832001f49Smrgstatic void init(struct lion *l, int i, VGint hexColor, const VGfloat *coords, int elems) 932001f49Smrg{ 1032001f49Smrg static VGubyte cmds[128]; 1132001f49Smrg VGfloat color[4]; 1232001f49Smrg VGint j; 1332001f49Smrg 1432001f49Smrg color[0] = ((hexColor >> 16) & 0xff) / 255.f; 1532001f49Smrg color[1] = ((hexColor >> 8) & 0xff) / 255.f; 1632001f49Smrg color[2] = ((hexColor >> 0) & 0xff) / 255.f; 1732001f49Smrg color[3] = 1.0; 1832001f49Smrg 1932001f49Smrg l->paths[i] = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, 1.0f, 0.0f, 2032001f49Smrg 0, 0, (unsigned int)VG_PATH_CAPABILITY_ALL); 2132001f49Smrg l->fills[i] = vgCreatePaint(); 2232001f49Smrg vgSetParameterfv(l->fills[i], VG_PAINT_COLOR, 4, color); 2332001f49Smrg 2432001f49Smrg cmds[0] = VG_MOVE_TO_ABS; 2532001f49Smrg for (j = 1; j < elems; ++j) { 2632001f49Smrg cmds[j] = VG_LINE_TO_ABS; 2732001f49Smrg } 2832001f49Smrg 2932001f49Smrg vgAppendPathData(l->paths[i], elems, cmds, coords); 3032001f49Smrg} 3132001f49Smrg 3232001f49Smrgstatic void poly0(struct lion *l) 3332001f49Smrg{ 3432001f49Smrg VGfloat color = 0xf2cc99; 3532001f49Smrg static const VGfloat coords[] = {69,18, 82,8, 99,3, 118,5, 135,12, 149,21, 156,13, 165,9, 177,13, 183,28, 3632001f49Smrg 180,50, 164,91, 155,107, 154,114, 151,121, 141,127, 139,136, 155,206, 157,251, 126,342, 3732001f49Smrg 133,357, 128,376, 83,376, 75,368, 67,350, 61,350, 53,369, 4,369, 2,361, 5,354, 3832001f49Smrg 12,342, 16,321, 4,257, 4,244, 7,218, 9,179, 26,127, 43,93, 32,77, 30,70, 3932001f49Smrg 24,67, 16,49, 17,35, 18,23, 30,12, 40,7, 53,7, 62,12 4032001f49Smrg }; 4132001f49Smrg 4232001f49Smrg init(l, 0, color, coords, ELEMENTS(coords)/2); 4332001f49Smrg} 4432001f49Smrg 4532001f49Smrgstatic void poly1(struct lion *l) 4632001f49Smrg{ 4732001f49Smrg VGfloat color = 0xe5b27f; 4832001f49Smrg static const VGfloat coords[] = {142,79, 136,74, 138,82, 133,78, 133,84, 127,78, 128,85, 4932001f49Smrg 124,80, 125,87, 119,82, 119,90, 125,99, 125,96, 128,100, 128,94, 5032001f49Smrg 131,98, 132,93, 135,97, 136,93, 138,97, 139,94, 141,98, 143,94, 5132001f49Smrg 144,85 5232001f49Smrg }; 5332001f49Smrg 5432001f49Smrg init(l, 1, color, coords, ELEMENTS(coords)/2); 5532001f49Smrg} 5632001f49Smrg 5732001f49Smrgstatic void poly2(struct lion *l) 5832001f49Smrg{ 5932001f49Smrg VGfloat color = 0xeb8080; 6032001f49Smrg static const VGfloat coords[] = {127,101, 132,100, 137,99, 144,101, 143,105, 135,110 6132001f49Smrg }; 6232001f49Smrg 6332001f49Smrg init(l, 2, color, coords, ELEMENTS(coords)/2); 6432001f49Smrg} 6532001f49Smrg 6632001f49Smrgstatic void poly3(struct lion *l) 6732001f49Smrg{ 6832001f49Smrg VGfloat color = 0xf2cc99; 6932001f49Smrg static const VGfloat coords[] = {178,229, 157,248, 139,296, 126,349, 137,356, 7032001f49Smrg 158,357, 183,342, 212,332, 235,288, 235,261, 7132001f49Smrg 228,252, 212,250, 188,251 7232001f49Smrg }; 7332001f49Smrg 7432001f49Smrg init(l, 3, color, coords, ELEMENTS(coords)/2); 7532001f49Smrg} 7632001f49Smrg 7732001f49Smrgstatic void poly4(struct lion *l) 7832001f49Smrg{ 7932001f49Smrg VGfloat color = 0x9c826b; 8032001f49Smrg static const VGfloat coords[] = {56,229, 48,241, 48,250, 57,281, 63,325, 71,338, 8132001f49Smrg 81,315, 76,321, 79,311, 83,301, 75,308, 80,298, 8232001f49Smrg 73,303, 76,296, 71,298, 74,292, 69,293, 74,284, 8332001f49Smrg 78,278, 71,278, 74,274, 68,273, 70,268, 66,267, 8432001f49Smrg 68,261, 60,266, 62,259, 65,253, 57,258, 59,251, 8532001f49Smrg 55,254, 55,248, 60,237, 54,240, 58,234, 54,236 8632001f49Smrg }; 8732001f49Smrg 8832001f49Smrg init(l, 4, color, coords, ELEMENTS(coords)/2); 8932001f49Smrg} 9032001f49Smrg 9132001f49Smrgstatic void poly5(struct lion *l) 9232001f49Smrg{ 9332001f49Smrg VGfloat color = 0x9c826b; 9432001f49Smrg static const VGfloat coords[] = {74,363, 79,368, 81,368, 85,362, 89,363, 92,370, 96,373, 9532001f49Smrg 101,372, 108,361, 110,371, 113,373, 116,371, 120,358, 122,363, 9632001f49Smrg 123,371, 126,371, 129,367, 132,357, 135,361, 130,376, 127,377, 9732001f49Smrg 94,378, 84,376, 76,371 9832001f49Smrg }; 9932001f49Smrg 10032001f49Smrg init(l, 5, color, coords, ELEMENTS(coords)/2); 10132001f49Smrg} 10232001f49Smrg 10332001f49Smrgstatic void poly6(struct lion *l) 10432001f49Smrg{ 10532001f49Smrg VGfloat color = 0x9c826b; 10632001f49Smrg static const VGfloat coords[] = {212,250, 219,251, 228,258, 236,270, 235,287, 225,304, 10732001f49Smrg 205,332, 177,343, 171,352, 158,357, 166,352, 168,346, 10832001f49Smrg 168,339, 165,333, 155,327, 155,323, 161,320, 165,316, 10932001f49Smrg 169,316, 167,312, 171,313, 168,308, 173,309, 170,306, 11032001f49Smrg 177,306, 175,308, 177,311, 174,311, 176,316, 171,315, 11132001f49Smrg 174,319, 168,320, 168,323, 175,327, 179,332, 183,326, 11232001f49Smrg 184,332, 189,323, 190,328, 194,320, 194,325, 199,316, 11332001f49Smrg 201,320, 204,313, 206,316, 208,310, 211,305, 219,298, 11432001f49Smrg 226,288, 229,279, 228,266, 224,259, 217,253 11532001f49Smrg }; 11632001f49Smrg 11732001f49Smrg init(l, 6, color, coords, ELEMENTS(coords)/2); 11832001f49Smrg} 11932001f49Smrg 12032001f49Smrgstatic void poly7(struct lion *l) 12132001f49Smrg{ 12232001f49Smrg VGfloat color = 0x9c826b; 12332001f49Smrg static const VGfloat coords[] = {151,205, 151,238, 149,252, 141,268, 128,282, 121,301, 12432001f49Smrg 130,300, 126,313, 118,324, 116,337, 120,346, 133,352, 12532001f49Smrg 133,340, 137,333, 145,329, 156,327, 153,319, 153,291, 12632001f49Smrg 157,271, 170,259, 178,277, 193,250, 174,216 12732001f49Smrg }; 12832001f49Smrg 12932001f49Smrg init(l, 7, color, coords, ELEMENTS(coords)/2); 13032001f49Smrg} 13132001f49Smrg 13232001f49Smrgstatic void poly8(struct lion *l) 13332001f49Smrg{ 13432001f49Smrg VGfloat color = 0x9c826b; 13532001f49Smrg static const VGfloat coords[] = {78,127, 90,142, 95,155, 108,164, 125,167, 139,175, 13632001f49Smrg 150,206, 152,191, 141,140, 121,148, 100,136 13732001f49Smrg }; 13832001f49Smrg 13932001f49Smrg init(l, 8, color, coords, ELEMENTS(coords)/2); 14032001f49Smrg} 14132001f49Smrg 14232001f49Smrgstatic void poly9(struct lion *l) 14332001f49Smrg{ 14432001f49Smrg VGfloat color = 0x9c826b; 14532001f49Smrg static const VGfloat coords[] = {21,58, 35,63, 38,68, 32,69, 42,74, 40,79, 47,80, 54,83, 14632001f49Smrg 45,94, 34,81, 32,73, 24,66 14732001f49Smrg }; 14832001f49Smrg 14932001f49Smrg init(l, 9, color, coords, ELEMENTS(coords)/2); 15032001f49Smrg} 15132001f49Smrg 15232001f49Smrgstatic void poly10(struct lion *l) 15332001f49Smrg{ 15432001f49Smrg VGfloat color = 0x9c826b; 15532001f49Smrg static const VGfloat coords[] = {71,34, 67,34, 66,27, 59,24, 54,17, 48,17, 39,22, 15632001f49Smrg 30,26, 28,31, 31,39, 38,46, 29,45, 36,54, 41,61, 15732001f49Smrg 41,70, 50,69, 54,71, 55,58, 67,52, 76,43, 76,39, 15832001f49Smrg 68,44 15932001f49Smrg }; 16032001f49Smrg 16132001f49Smrg init(l, 10, color, coords, ELEMENTS(coords)/2); 16232001f49Smrg} 16332001f49Smrg 16432001f49Smrgstatic void poly11(struct lion *l) 16532001f49Smrg{ 16632001f49Smrg VGfloat color = 0x9c826b; 16732001f49Smrg static const VGfloat coords[] = {139,74, 141,83, 143,89, 144,104, 148,104, 155,106, 16832001f49Smrg 154,86, 157,77, 155,72, 150,77, 144,77 16932001f49Smrg }; 17032001f49Smrg 17132001f49Smrg init(l, 11, color, coords, ELEMENTS(coords)/2); 17232001f49Smrg} 17332001f49Smrg 17432001f49Smrgstatic void poly12(struct lion *l) 17532001f49Smrg{ 17632001f49Smrg VGfloat color = 0x9c826b; 17732001f49Smrg static const VGfloat coords[] = {105,44, 102,53, 108,58, 111,62, 112,55 17832001f49Smrg }; 17932001f49Smrg 18032001f49Smrg init(l, 12, color, coords, ELEMENTS(coords)/2); 18132001f49Smrg} 18232001f49Smrg 18332001f49Smrgstatic void poly13(struct lion *l) 18432001f49Smrg{ 18532001f49Smrg VGfloat color = 0x9c826b; 18632001f49Smrg static const VGfloat coords[] = {141,48, 141,54, 144,58, 139,62, 137,66, 136,59, 137,52 18732001f49Smrg }; 18832001f49Smrg 18932001f49Smrg init(l, 13, color, coords, ELEMENTS(coords)/2); 19032001f49Smrg} 19132001f49Smrg 19232001f49Smrgstatic void poly14(struct lion *l) 19332001f49Smrg{ 19432001f49Smrg VGfloat color = 0x9c826b; 19532001f49Smrg static const VGfloat coords[] = {98,135, 104,130, 105,134, 108,132, 108,135, 112,134, 19632001f49Smrg 113,137, 116,136, 116,139, 119,139, 124,141, 128,140, 19732001f49Smrg 133,138, 140,133, 139,140, 126,146, 104,144 19832001f49Smrg }; 19932001f49Smrg 20032001f49Smrg init(l, 14, color, coords, ELEMENTS(coords)/2); 20132001f49Smrg} 20232001f49Smrg 20332001f49Smrgstatic void poly15(struct lion *l) 20432001f49Smrg{ 20532001f49Smrg VGfloat color = 0x9c826b; 20632001f49Smrg static const VGfloat coords[] = {97,116, 103,119, 103,116, 111,118, 116,117, 122,114, 20732001f49Smrg 127,107, 135,111, 142,107, 141,114, 145,118, 149,121, 20832001f49Smrg 145,125, 140,124, 127,121, 113,125, 100,124 20932001f49Smrg }; 21032001f49Smrg 21132001f49Smrg init(l, 15, color, coords, ELEMENTS(coords)/2); 21232001f49Smrg} 21332001f49Smrg 21432001f49Smrgstatic void poly16(struct lion *l) 21532001f49Smrg{ 21632001f49Smrg VGfloat color = 0x9c826b; 21732001f49Smrg static const VGfloat coords[] = {147,33, 152,35, 157,34, 153,31, 160,31, 156,28, 161,28, 21832001f49Smrg 159,24, 163,25, 163,21, 165,22, 170,23, 167,17, 172,21, 21932001f49Smrg 174,18, 175,23, 176,22, 177,28, 177,33, 174,37, 176,39, 22032001f49Smrg 174,44, 171,49, 168,53, 164,57, 159,68, 156,70, 154,60, 22132001f49Smrg 150,51, 146,43, 144,35 22232001f49Smrg }; 22332001f49Smrg 22432001f49Smrg init(l, 16, color, coords, ELEMENTS(coords)/2); 22532001f49Smrg} 22632001f49Smrg 22732001f49Smrgstatic void poly17(struct lion *l) 22832001f49Smrg{ 22932001f49Smrg VGfloat color = 0x9c826b; 23032001f49Smrg static const VGfloat coords[] = {85,72, 89,74, 93,75, 100,76, 105,75, 102,79, 94,79, 88,76 23132001f49Smrg }; 23232001f49Smrg 23332001f49Smrg init(l, 17, color, coords, ELEMENTS(coords)/2); 23432001f49Smrg} 23532001f49Smrg 23632001f49Smrgstatic void poly18(struct lion *l) 23732001f49Smrg{ 23832001f49Smrg VGfloat color = 0x9c826b; 23932001f49Smrg static const VGfloat coords[] = {86,214, 79,221, 76,232, 82,225, 78,239, 82,234, 78,245, 24032001f49Smrg 81,243, 79,255, 84,250, 84,267, 87,254, 90,271, 90,257, 24132001f49Smrg 95,271, 93,256, 95,249, 92,252, 93,243, 89,253, 89,241, 24232001f49Smrg 86,250, 87,236, 83,245, 87,231, 82,231, 90,219, 84,221 24332001f49Smrg }; 24432001f49Smrg 24532001f49Smrg init(l, 18, color, coords, ELEMENTS(coords)/2); 24632001f49Smrg} 24732001f49Smrg 24832001f49Smrgstatic void poly19(struct lion *l) 24932001f49Smrg{ 25032001f49Smrg VGfloat color = 0xffcc7f; 25132001f49Smrg static const VGfloat coords[] = {93,68, 96,72, 100,73, 106,72, 108,66, 105,63, 100,62 25232001f49Smrg }; 25332001f49Smrg 25432001f49Smrg init(l, 19, color, coords, ELEMENTS(coords)/2); 25532001f49Smrg} 25632001f49Smrg 25732001f49Smrgstatic void poly20(struct lion *l) 25832001f49Smrg{ 25932001f49Smrg VGfloat color = 0xffcc7f; 26032001f49Smrg static const VGfloat coords[] = {144,64, 142,68, 142,73, 146,74, 150,73, 154,64, 149,62 26132001f49Smrg }; 26232001f49Smrg 26332001f49Smrg init(l, 20, color, coords, ELEMENTS(coords)/2); 26432001f49Smrg} 26532001f49Smrg 26632001f49Smrgstatic void poly21(struct lion *l) 26732001f49Smrg{ 26832001f49Smrg VGfloat color = 0x9c826b; 26932001f49Smrg static const VGfloat coords[] = {57,91, 42,111, 52,105, 41,117, 53,112, 46,120, 53,116, 27032001f49Smrg 50,124, 57,119, 55,127, 61,122, 60,130, 67,126, 66,134, 27132001f49Smrg 71,129, 72,136, 77,130, 76,137, 80,133, 82,138, 86,135, 27232001f49Smrg 96,135, 94,129, 86,124, 83,117, 77,123, 79,117, 73,120, 27332001f49Smrg 75,112, 68,116, 71,111, 65,114, 69,107, 63,110, 68,102, 27432001f49Smrg 61,107, 66,98, 61,103, 63,97, 57,99 27532001f49Smrg }; 27632001f49Smrg 27732001f49Smrg init(l, 21, color, coords, ELEMENTS(coords)/2); 27832001f49Smrg} 27932001f49Smrg 28032001f49Smrgstatic void poly22(struct lion *l) 28132001f49Smrg{ 28232001f49Smrg VGfloat color = 0x9c826b; 28332001f49Smrg static const VGfloat coords[] = {83,79, 76,79, 67,82, 75,83, 65,88, 76,87, 65,92, 76,91, 28432001f49Smrg 68,96, 77,95, 70,99, 80,98, 72,104, 80,102, 76,108, 85,103, 28532001f49Smrg 92,101, 87,98, 93,96, 86,94, 91,93, 85,91, 93,89, 99,89, 105,93, 28632001f49Smrg 107,85, 102,82, 92,80 28732001f49Smrg }; 28832001f49Smrg 28932001f49Smrg init(l, 22, color, coords, ELEMENTS(coords)/2); 29032001f49Smrg} 29132001f49Smrg 29232001f49Smrgstatic void poly23(struct lion *l) 29332001f49Smrg{ 29432001f49Smrg VGfloat color = 0x9c826b; 29532001f49Smrg static const VGfloat coords[] = {109,77, 111,83, 109,89, 113,94, 117,90, 117,81, 114,78 29632001f49Smrg }; 29732001f49Smrg 29832001f49Smrg init(l, 23, color, coords, ELEMENTS(coords)/2); 29932001f49Smrg} 30032001f49Smrg 30132001f49Smrgstatic void poly24(struct lion *l) 30232001f49Smrg{ 30332001f49Smrg VGfloat color = 0x9c826b; 30432001f49Smrg static const VGfloat coords[] = {122,128, 127,126, 134,127, 136,129, 134,130, 130,128, 124,129 30532001f49Smrg }; 30632001f49Smrg 30732001f49Smrg init(l, 24, color, coords, ELEMENTS(coords)/2); 30832001f49Smrg} 30932001f49Smrg 31032001f49Smrgstatic void poly25(struct lion *l) 31132001f49Smrg{ 31232001f49Smrg VGfloat color = 0x9c826b; 31332001f49Smrg static const VGfloat coords[] = {78,27, 82,32, 80,33, 82,36, 78,37, 82,40, 78,42, 81,46, 76,47, 31432001f49Smrg 78,49, 74,50, 82,52, 87,50, 83,48, 91,46, 86,45, 91,42, 88,40, 31532001f49Smrg 92,37, 86,34, 90,31, 86,29, 89,26 31632001f49Smrg }; 31732001f49Smrg 31832001f49Smrg init(l, 25, color, coords, ELEMENTS(coords)/2); 31932001f49Smrg} 32032001f49Smrg 32132001f49Smrgstatic void poly26(struct lion *l) 32232001f49Smrg{ 32332001f49Smrg VGfloat color = 0x9c826b; 32432001f49Smrg static const VGfloat coords[] = {82,17, 92,20, 79,21, 90,25, 81,25, 94,28, 93,26, 101,30, 32532001f49Smrg 101,26, 107,33, 108,28, 111,40, 113,34, 115,45, 117,39, 32632001f49Smrg 119,54, 121,46, 124,58, 126,47, 129,59, 130,49, 134,58, 32732001f49Smrg 133,44, 137,48, 133,37, 137,40, 133,32, 126,20, 135,26, 32832001f49Smrg 132,19, 138,23, 135,17, 142,18, 132,11, 116,6, 94,6, 78,11, 32932001f49Smrg 92,12, 80,14, 90,16 33032001f49Smrg }; 33132001f49Smrg 33232001f49Smrg init(l, 26, color, coords, ELEMENTS(coords)/2); 33332001f49Smrg} 33432001f49Smrg 33532001f49Smrgstatic void poly27(struct lion *l) 33632001f49Smrg{ 33732001f49Smrg VGfloat color = 0x9c826b; 33832001f49Smrg static const VGfloat coords[] = {142,234, 132,227, 124,223, 115,220, 110,225, 118,224, 127,229, 33932001f49Smrg 135,236, 122,234, 115,237, 113,242, 121,238, 139,243, 121,245, 34032001f49Smrg 111,254, 95,254, 102,244, 104,235, 110,229, 100,231, 104,224, 34132001f49Smrg 113,216, 122,215, 132,217, 141,224, 145,230, 149,240 34232001f49Smrg }; 34332001f49Smrg 34432001f49Smrg init(l, 27, color, coords, ELEMENTS(coords)/2); 34532001f49Smrg} 34632001f49Smrg 34732001f49Smrgstatic void poly28(struct lion *l) 34832001f49Smrg{ 34932001f49Smrg VGfloat color = 0x9c826b; 35032001f49Smrg static const VGfloat coords[] = {115,252, 125,248, 137,249, 143,258, 134,255, 125,254 35132001f49Smrg }; 35232001f49Smrg 35332001f49Smrg init(l, 28, color, coords, ELEMENTS(coords)/2); 35432001f49Smrg} 35532001f49Smrg 35632001f49Smrgstatic void poly29(struct lion *l) 35732001f49Smrg{ 35832001f49Smrg VGfloat color = 0x9c826b; 35932001f49Smrg static const VGfloat coords[] = {114,212, 130,213, 140,219, 147,225, 144,214, 137,209, 128,207 36032001f49Smrg }; 36132001f49Smrg 36232001f49Smrg init(l, 29, color, coords, ELEMENTS(coords)/2); 36332001f49Smrg} 36432001f49Smrg 36532001f49Smrgstatic void poly30(struct lion *l) 36632001f49Smrg{ 36732001f49Smrg VGfloat color = 0x9c826b; 36832001f49Smrg static const VGfloat coords[] = {102,263, 108,258, 117,257, 131,258, 116,260, 109,265 36932001f49Smrg }; 37032001f49Smrg 37132001f49Smrg init(l, 30, color, coords, ELEMENTS(coords)/2); 37232001f49Smrg} 37332001f49Smrg 37432001f49Smrgstatic void poly31(struct lion *l) 37532001f49Smrg{ 37632001f49Smrg VGfloat color = 0x9c826b; 37732001f49Smrg static const VGfloat coords[] = {51,241, 35,224, 40,238, 23,224, 31,242, 19,239, 28,247, 17,246, 37832001f49Smrg 25,250, 37,254, 39,263, 44,271, 47,294, 48,317, 51,328, 60,351, 37932001f49Smrg 60,323, 53,262, 47,246 38032001f49Smrg }; 38132001f49Smrg 38232001f49Smrg init(l, 31, color, coords, ELEMENTS(coords)/2); 38332001f49Smrg} 38432001f49Smrg 38532001f49Smrgstatic void poly32(struct lion *l) 38632001f49Smrg{ 38732001f49Smrg VGfloat color = 0x9c826b; 38832001f49Smrg static const VGfloat coords[] = {2,364, 9,367, 14,366, 18,355, 20,364, 26,366, 31,357, 35,364, 38932001f49Smrg 39,364, 42,357, 47,363, 53,360, 59,357, 54,369, 7,373 39032001f49Smrg }; 39132001f49Smrg 39232001f49Smrg init(l, 32, color, coords, ELEMENTS(coords)/2); 39332001f49Smrg} 39432001f49Smrg 39532001f49Smrgstatic void poly33(struct lion *l) 39632001f49Smrg{ 39732001f49Smrg VGfloat color = 0x9c826b; 39832001f49Smrg static const VGfloat coords[] = {7,349, 19,345, 25,339, 18,341, 23,333, 28,326, 23,326, 27,320, 39932001f49Smrg 23,316, 25,311, 20,298, 15,277, 12,264, 9,249, 10,223, 3,248, 40032001f49Smrg 5,261, 15,307, 17,326, 11,343 40132001f49Smrg }; 40232001f49Smrg 40332001f49Smrg init(l, 33, color, coords, ELEMENTS(coords)/2); 40432001f49Smrg} 40532001f49Smrg 40632001f49Smrgstatic void poly34(struct lion *l) 40732001f49Smrg{ 40832001f49Smrg VGfloat color = 0x9c826b; 40932001f49Smrg static const VGfloat coords[] = {11,226, 15,231, 25,236, 18,227 41032001f49Smrg }; 41132001f49Smrg 41232001f49Smrg init(l, 34, color, coords, ELEMENTS(coords)/2); 41332001f49Smrg} 41432001f49Smrg 41532001f49Smrgstatic void poly35(struct lion *l) 41632001f49Smrg{ 41732001f49Smrg VGfloat color = 0x9c826b; 41832001f49Smrg static const VGfloat coords[] = {13,214, 19,217, 32,227, 23,214, 16,208, 15,190, 24,148, 41932001f49Smrg 31,121, 24,137, 14,170, 8,189 42032001f49Smrg }; 42132001f49Smrg 42232001f49Smrg init(l, 35, color, coords, ELEMENTS(coords)/2); 42332001f49Smrg} 42432001f49Smrg 42532001f49Smrgstatic void poly36(struct lion *l) 42632001f49Smrg{ 42732001f49Smrg VGfloat color = 0x9c826b; 42832001f49Smrg static const VGfloat coords[] = {202,254, 195,258, 199,260, 193,263, 197,263, 190,268, 42932001f49Smrg 196,268, 191,273, 188,282, 200,272, 194,272, 201,266, 43032001f49Smrg 197,265, 204,262, 200,258, 204,256 43132001f49Smrg }; 43232001f49Smrg 43332001f49Smrg init(l, 36, color, coords, ELEMENTS(coords)/2); 43432001f49Smrg} 43532001f49Smrg 43632001f49Smrgstatic void poly37(struct lion *l) 43732001f49Smrg{ 43832001f49Smrg VGfloat color = 0x845433; 43932001f49Smrg static const VGfloat coords[] = {151,213, 165,212, 179,225, 189,246, 187,262, 179,275, 44032001f49Smrg 176,263, 177,247, 171,233, 163,230, 165,251, 157,264, 44132001f49Smrg 146,298, 145,321, 133,326, 143,285, 154,260, 153,240 44232001f49Smrg }; 44332001f49Smrg 44432001f49Smrg init(l, 37, color, coords, ELEMENTS(coords)/2); 44532001f49Smrg} 44632001f49Smrg 44732001f49Smrgstatic void poly38(struct lion *l) 44832001f49Smrg{ 44932001f49Smrg VGfloat color = 0x845433; 45032001f49Smrg static const VGfloat coords[] = {91,132, 95,145, 97,154, 104,148, 107,155, 109,150, 111,158, 45132001f49Smrg 115,152, 118,159, 120,153, 125,161, 126,155, 133,164, 132,154, 45232001f49Smrg 137,163, 137,152, 142,163, 147,186, 152,192, 148,167, 141,143, 45332001f49Smrg 124,145, 105,143 45432001f49Smrg }; 45532001f49Smrg 45632001f49Smrg init(l, 38, color, coords, ELEMENTS(coords)/2); 45732001f49Smrg} 45832001f49Smrg 45932001f49Smrgstatic void poly39(struct lion *l) 46032001f49Smrg{ 46132001f49Smrg VGfloat color = 0x9c826b; 46232001f49Smrg static const VGfloat coords[] = {31,57, 23,52, 26,51, 20,44, 23,42, 21,36, 22,29, 25,23, 46332001f49Smrg 24,32, 30,43, 26,41, 30,50, 26,48 46432001f49Smrg }; 46532001f49Smrg 46632001f49Smrg init(l, 39, color, coords, ELEMENTS(coords)/2); 46732001f49Smrg} 46832001f49Smrg 46932001f49Smrgstatic void poly40(struct lion *l) 47032001f49Smrg{ 47132001f49Smrg VGfloat color = 0x9c826b; 47232001f49Smrg static const VGfloat coords[] = {147,21, 149,28, 155,21, 161,16, 167,14, 175,15, 173,11, 161,9 47332001f49Smrg }; 47432001f49Smrg 47532001f49Smrg init(l, 40, color, coords, ELEMENTS(coords)/2); 47632001f49Smrg} 47732001f49Smrg 47832001f49Smrgstatic void poly41(struct lion *l) 47932001f49Smrg{ 48032001f49Smrg VGfloat color = 0x9c826b; 48132001f49Smrg static const VGfloat coords[] = {181,39, 175,51, 169,57, 171,65, 165,68, 165,75, 160,76, 48232001f49Smrg 162,91, 171,71, 180,51 48332001f49Smrg }; 48432001f49Smrg 48532001f49Smrg init(l, 41, color, coords, ELEMENTS(coords)/2); 48632001f49Smrg} 48732001f49Smrg 48832001f49Smrgstatic void poly42(struct lion *l) 48932001f49Smrg{ 49032001f49Smrg VGfloat color = 0x9c826b; 49132001f49Smrg static const VGfloat coords[] = {132,346, 139,348, 141,346, 142,341, 147,342, 143,355, 133,350 49232001f49Smrg }; 49332001f49Smrg 49432001f49Smrg init(l, 42, color, coords, ELEMENTS(coords)/2); 49532001f49Smrg} 49632001f49Smrg 49732001f49Smrgstatic void poly43(struct lion *l) 49832001f49Smrg{ 49932001f49Smrg VGfloat color = 0x9c826b; 50032001f49Smrg static const VGfloat coords[] = {146,355, 151,352, 155,348, 157,343, 160,349, 151,356, 147,357 50132001f49Smrg }; 50232001f49Smrg 50332001f49Smrg init(l, 43, color, coords, ELEMENTS(coords)/2); 50432001f49Smrg} 50532001f49Smrg 50632001f49Smrgstatic void poly44(struct lion *l) 50732001f49Smrg{ 50832001f49Smrg VGfloat color = 0x9c826b; 50932001f49Smrg static const VGfloat coords[] = {99,266, 100,281, 94,305, 86,322, 78,332, 72,346, 73,331, 91,291 51032001f49Smrg }; 51132001f49Smrg 51232001f49Smrg init(l, 44, color, coords, ELEMENTS(coords)/2); 51332001f49Smrg} 51432001f49Smrg 51532001f49Smrgstatic void poly45(struct lion *l) 51632001f49Smrg{ 51732001f49Smrg VGfloat color = 0x9c826b; 51832001f49Smrg static const VGfloat coords[] = {20,347, 32,342, 45,340, 54,345, 45,350, 42,353, 38,350, 51932001f49Smrg 31,353, 29,356, 23,350, 19,353, 15,349 52032001f49Smrg }; 52132001f49Smrg 52232001f49Smrg init(l, 45, color, coords, ELEMENTS(coords)/2); 52332001f49Smrg} 52432001f49Smrg 52532001f49Smrgstatic void poly46(struct lion *l) 52632001f49Smrg{ 52732001f49Smrg VGfloat color = 0x9c826b; 52832001f49Smrg static const VGfloat coords[] = {78,344, 86,344, 92,349, 88,358, 84,352 52932001f49Smrg }; 53032001f49Smrg 53132001f49Smrg init(l, 46, color, coords, ELEMENTS(coords)/2); 53232001f49Smrg} 53332001f49Smrg 53432001f49Smrgstatic void poly47(struct lion *l) 53532001f49Smrg{ 53632001f49Smrg VGfloat color = 0x9c826b; 53732001f49Smrg static const VGfloat coords[] = {93,347, 104,344, 117,345, 124,354, 121,357, 116,351, 53832001f49Smrg 112,351, 108,355, 102,351 53932001f49Smrg }; 54032001f49Smrg 54132001f49Smrg init(l, 47, color, coords, ELEMENTS(coords)/2); 54232001f49Smrg} 54332001f49Smrg 54432001f49Smrgstatic void poly48(struct lion *l) 54532001f49Smrg{ 54632001f49Smrg VGfloat color = 0x000000; 54732001f49Smrg static const VGfloat coords[] = {105,12, 111,18, 113,24, 113,29, 119,34, 116,23, 112,16 54832001f49Smrg }; 54932001f49Smrg 55032001f49Smrg init(l, 48, color, coords, ELEMENTS(coords)/2); 55132001f49Smrg} 55232001f49Smrg 55332001f49Smrgstatic void poly49(struct lion *l) 55432001f49Smrg{ 55532001f49Smrg VGfloat color = 0x000000; 55632001f49Smrg static const VGfloat coords[] = {122,27, 125,34, 127,43, 128,34, 125,29 55732001f49Smrg }; 55832001f49Smrg 55932001f49Smrg init(l, 49, color, coords, ELEMENTS(coords)/2); 56032001f49Smrg} 56132001f49Smrg 56232001f49Smrgstatic void poly50(struct lion *l) 56332001f49Smrg{ 56432001f49Smrg VGfloat color = 0x000000; 56532001f49Smrg static const VGfloat coords[] = {115,13, 122,19, 122,15, 113,10 56632001f49Smrg }; 56732001f49Smrg 56832001f49Smrg init(l, 50, color, coords, ELEMENTS(coords)/2); 56932001f49Smrg} 57032001f49Smrg 57132001f49Smrgstatic void poly51(struct lion *l) 57232001f49Smrg{ 57332001f49Smrg VGfloat color = 0xffe5b2; 57432001f49Smrg static const VGfloat coords[] = {116,172, 107,182, 98,193, 98,183, 90,199, 89,189, 84,207, 57532001f49Smrg 88,206, 87,215, 95,206, 93,219, 91,230, 98,216, 97,226, 57632001f49Smrg 104,214, 112,209, 104,208, 113,202, 126,200, 139,207, 132,198, 57732001f49Smrg 142,203, 134,192, 142,195, 134,187, 140,185, 130,181, 136,177, 57832001f49Smrg 126,177, 125,171, 116,180 57932001f49Smrg }; 58032001f49Smrg 58132001f49Smrg init(l, 51, color, coords, ELEMENTS(coords)/2); 58232001f49Smrg} 58332001f49Smrg 58432001f49Smrgstatic void poly52(struct lion *l) 58532001f49Smrg{ 58632001f49Smrg VGfloat color = 0xffe5b2; 58732001f49Smrg static const VGfloat coords[] = {74,220, 67,230, 67,221, 59,235, 63,233, 60,248, 70,232, 65,249, 58832001f49Smrg 71,243, 67,256, 73,250, 69,262, 73,259, 71,267, 76,262, 72,271, 58932001f49Smrg 78,270, 76,275, 82,274, 78,290, 86,279, 86,289, 92,274, 88,275, 59032001f49Smrg 87,264, 82,270, 82,258, 77,257, 78,247, 73,246, 77,233, 72,236 59132001f49Smrg }; 59232001f49Smrg 59332001f49Smrg init(l, 52, color, coords, ELEMENTS(coords)/2); 59432001f49Smrg} 59532001f49Smrg 59632001f49Smrgstatic void poly53(struct lion *l) 59732001f49Smrg{ 59832001f49Smrg VGfloat color = 0xffe5b2; 59932001f49Smrg static const VGfloat coords[] = {133,230, 147,242, 148,250, 145,254, 138,247, 129,246, 142,245, 60032001f49Smrg 138,241, 128,237, 137,238 60132001f49Smrg }; 60232001f49Smrg 60332001f49Smrg init(l, 53, color, coords, ELEMENTS(coords)/2); 60432001f49Smrg} 60532001f49Smrg 60632001f49Smrgstatic void poly54(struct lion *l) 60732001f49Smrg{ 60832001f49Smrg VGfloat color = 0xffe5b2; 60932001f49Smrg static const VGfloat coords[] = {133,261, 125,261, 116,263, 111,267, 125,265 61032001f49Smrg }; 61132001f49Smrg 61232001f49Smrg init(l, 54, color, coords, ELEMENTS(coords)/2); 61332001f49Smrg} 61432001f49Smrg 61532001f49Smrgstatic void poly55(struct lion *l) 61632001f49Smrg{ 61732001f49Smrg VGfloat color = 0xffe5b2; 61832001f49Smrg static const VGfloat coords[] = {121,271, 109,273, 103,279, 99,305, 92,316, 85,327, 83,335, 61932001f49Smrg 89,340, 97,341, 94,336, 101,336, 96,331, 103,330, 97,327, 108,325, 62032001f49Smrg 99,322, 109,321, 100,318, 110,317, 105,314, 110,312, 107,310, 113,308, 62132001f49Smrg 105,306, 114,303, 105,301, 115,298, 107,295, 115,294, 108,293, 117,291, 62232001f49Smrg 109,289, 117,286, 109,286, 118,283, 112,281, 118,279, 114,278, 62332001f49Smrg 119,276, 115,274 62432001f49Smrg }; 62532001f49Smrg 62632001f49Smrg init(l, 55, color, coords, ELEMENTS(coords)/2); 62732001f49Smrg} 62832001f49Smrg 62932001f49Smrgstatic void poly56(struct lion *l) 63032001f49Smrg{ 63132001f49Smrg VGfloat color = 0xffe5b2; 63232001f49Smrg static const VGfloat coords[] = {79,364, 74,359, 74,353, 76,347, 80,351, 83,356, 82,360 63332001f49Smrg }; 63432001f49Smrg 63532001f49Smrg init(l, 56, color, coords, ELEMENTS(coords)/2); 63632001f49Smrg} 63732001f49Smrg 63832001f49Smrgstatic void poly57(struct lion *l) 63932001f49Smrg{ 64032001f49Smrg VGfloat color = 0xffe5b2; 64132001f49Smrg static const VGfloat coords[] = {91,363, 93,356, 97,353, 103,355, 105,360, 103,366, 99,371, 94,368 64232001f49Smrg }; 64332001f49Smrg 64432001f49Smrg init(l, 57, color, coords, ELEMENTS(coords)/2); 64532001f49Smrg} 64632001f49Smrg 64732001f49Smrgstatic void poly58(struct lion *l) 64832001f49Smrg{ 64932001f49Smrg VGfloat color = 0xffe5b2; 65032001f49Smrg static const VGfloat coords[] = {110,355, 114,353, 118,357, 117,363, 113,369, 111,362 65132001f49Smrg }; 65232001f49Smrg 65332001f49Smrg init(l, 58, color, coords, ELEMENTS(coords)/2); 65432001f49Smrg} 65532001f49Smrg 65632001f49Smrgstatic void poly59(struct lion *l) 65732001f49Smrg{ 65832001f49Smrg VGfloat color = 0xffe5b2; 65932001f49Smrg static const VGfloat coords[] = {126,354, 123,358, 124,367, 126,369, 129,361, 129,357 66032001f49Smrg }; 66132001f49Smrg 66232001f49Smrg init(l, 59, color, coords, ELEMENTS(coords)/2); 66332001f49Smrg} 66432001f49Smrg 66532001f49Smrgstatic void poly60(struct lion *l) 66632001f49Smrg{ 66732001f49Smrg VGfloat color = 0xffe5b2; 66832001f49Smrg static const VGfloat coords[] = {30,154, 24,166, 20,182, 23,194, 29,208, 37,218, 41,210, 41,223, 66932001f49Smrg 46,214, 46,227, 52,216, 52,227, 61,216, 59,225, 68,213, 73,219, 67032001f49Smrg 70,207, 77,212, 69,200, 77,202, 70,194, 78,197, 68,187, 76,182, 67132001f49Smrg 64,182, 58,175, 58,185, 53,177, 50,186, 46,171, 44,182, 39,167, 67232001f49Smrg 36,172, 36,162, 30,166 67332001f49Smrg }; 67432001f49Smrg 67532001f49Smrg init(l, 60, color, coords, ELEMENTS(coords)/2); 67632001f49Smrg} 67732001f49Smrg 67832001f49Smrgstatic void poly61(struct lion *l) 67932001f49Smrg{ 68032001f49Smrg VGfloat color = 0xffe5b2; 68132001f49Smrg static const VGfloat coords[] = {44,130, 41,137, 45,136, 43,150, 48,142, 48,157, 53,150, 68232001f49Smrg 52,164, 60,156, 61,169, 64,165, 66,175, 70,167, 74,176, 68332001f49Smrg 77,168, 80,183, 85,172, 90,182, 93,174, 98,181, 99,173, 68432001f49Smrg 104,175, 105,169, 114,168, 102,163, 95,157, 94,166, 90,154, 68532001f49Smrg 87,162, 82,149, 75,159, 72,148, 68,155, 67,143, 62,148, 62,138, 68632001f49Smrg 58,145, 56,133, 52,142, 52,128, 49,134, 47,125 68732001f49Smrg }; 68832001f49Smrg 68932001f49Smrg init(l, 61, color, coords, ELEMENTS(coords)/2); 69032001f49Smrg} 69132001f49Smrg 69232001f49Smrgstatic void poly62(struct lion *l) 69332001f49Smrg{ 69432001f49Smrg VGfloat color = 0xffe5b2; 69532001f49Smrg static const VGfloat coords[] = {13,216, 19,219, 36,231, 22,223, 16,222, 22,227, 12,224, 13,220, 16,220 69632001f49Smrg }; 69732001f49Smrg 69832001f49Smrg init(l, 62, color, coords, ELEMENTS(coords)/2); 69932001f49Smrg} 70032001f49Smrg 70132001f49Smrgstatic void poly63(struct lion *l) 70232001f49Smrg{ 70332001f49Smrg VGfloat color = 0xffe5b2; 70432001f49Smrg static const VGfloat coords[] = {10,231, 14,236, 25,239, 27,237, 19,234 70532001f49Smrg }; 70632001f49Smrg 70732001f49Smrg init(l, 63, color, coords, ELEMENTS(coords)/2); 70832001f49Smrg} 70932001f49Smrg 71032001f49Smrgstatic void poly64(struct lion *l) 71132001f49Smrg{ 71232001f49Smrg VGfloat color = 0xffe5b2; 71332001f49Smrg static const VGfloat coords[] = {9,245, 14,242, 25,245, 13,245 71432001f49Smrg }; 71532001f49Smrg 71632001f49Smrg init(l, 64, color, coords, ELEMENTS(coords)/2); 71732001f49Smrg} 71832001f49Smrg 71932001f49Smrgstatic void poly65(struct lion *l) 72032001f49Smrg{ 72132001f49Smrg VGfloat color = 0xffe5b2; 72232001f49Smrg static const VGfloat coords[] = {33,255, 26,253, 18,254, 25,256, 18,258, 27,260, 18,263, 72332001f49Smrg 27,265, 19,267, 29,270, 21,272, 29,276, 21,278, 30,281, 72432001f49Smrg 22,283, 31,287, 24,288, 32,292, 23,293, 34,298, 26,299, 72532001f49Smrg 37,303, 32,305, 39,309, 33,309, 39,314, 34,314, 40,318, 72632001f49Smrg 34,317, 40,321, 34,321, 41,326, 33,326, 40,330, 33,332, 72732001f49Smrg 39,333, 33,337, 42,337, 54,341, 49,337, 52,335, 47,330, 72832001f49Smrg 50,330, 45,325, 49,325, 45,321, 48,321, 45,316, 46,306, 72932001f49Smrg 45,286, 43,274, 36,261 73032001f49Smrg }; 73132001f49Smrg 73232001f49Smrg init(l, 65, color, coords, ELEMENTS(coords)/2); 73332001f49Smrg} 73432001f49Smrg 73532001f49Smrgstatic void poly66(struct lion *l) 73632001f49Smrg{ 73732001f49Smrg VGfloat color = 0xffe5b2; 73832001f49Smrg static const VGfloat coords[] = {7,358, 9,351, 14,351, 17,359, 11,364 73932001f49Smrg }; 74032001f49Smrg 74132001f49Smrg init(l, 66, color, coords, ELEMENTS(coords)/2); 74232001f49Smrg} 74332001f49Smrg 74432001f49Smrgstatic void poly67(struct lion *l) 74532001f49Smrg{ 74632001f49Smrg VGfloat color = 0xffe5b2; 74732001f49Smrg static const VGfloat coords[] = {44,354, 49,351, 52,355, 49,361 74832001f49Smrg }; 74932001f49Smrg 75032001f49Smrg init(l, 67, color, coords, ELEMENTS(coords)/2); 75132001f49Smrg} 75232001f49Smrg 75332001f49Smrgstatic void poly68(struct lion *l) 75432001f49Smrg{ 75532001f49Smrg VGfloat color = 0xffe5b2; 75632001f49Smrg static const VGfloat coords[] = {32,357, 37,353, 40,358, 36,361 75732001f49Smrg }; 75832001f49Smrg 75932001f49Smrg init(l, 68, color, coords, ELEMENTS(coords)/2); 76032001f49Smrg} 76132001f49Smrg 76232001f49Smrgstatic void poly69(struct lion *l) 76332001f49Smrg{ 76432001f49Smrg VGfloat color = 0xffe5b2; 76532001f49Smrg static const VGfloat coords[] = {139,334, 145,330, 154,330, 158,334, 154,341, 152,348, 76632001f49Smrg 145,350, 149,340, 147,336, 141,339, 139,345, 136,342, 76732001f49Smrg 136,339 76832001f49Smrg }; 76932001f49Smrg 77032001f49Smrg init(l, 69, color, coords, ELEMENTS(coords)/2); 77132001f49Smrg} 77232001f49Smrg 77332001f49Smrgstatic void poly70(struct lion *l) 77432001f49Smrg{ 77532001f49Smrg VGfloat color = 0xffe5b2; 77632001f49Smrg static const VGfloat coords[] = {208,259, 215,259, 212,255, 220,259, 224,263, 225,274, 224,283, 77732001f49Smrg 220,292, 208,300, 206,308, 203,304, 199,315, 197,309, 195,318, 77832001f49Smrg 193,313, 190,322, 190,316, 185,325, 182,318, 180,325, 172,321, 77932001f49Smrg 178,320, 176,313, 186,312, 180,307, 188,307, 184,303, 191,302, 78032001f49Smrg 186,299, 195,294, 187,290, 197,288, 192,286, 201,283, 194,280, 78132001f49Smrg 203,277, 198,275, 207,271, 200,269, 209,265, 204,265, 212,262 78232001f49Smrg }; 78332001f49Smrg 78432001f49Smrg init(l, 70, color, coords, ELEMENTS(coords)/2); 78532001f49Smrg} 78632001f49Smrg 78732001f49Smrgstatic void poly71(struct lion *l) 78832001f49Smrg{ 78932001f49Smrg VGfloat color = 0xffe5b2; 79032001f49Smrg static const VGfloat coords[] = {106,126, 106,131, 109,132, 111,134, 115,132, 115,135, 119,133, 118,137, 79132001f49Smrg 123,137, 128,137, 133,134, 136,130, 136,127, 132,124, 118,128, 112,128, 79232001f49Smrg 106,126, 106,126, 106,126 79332001f49Smrg }; 79432001f49Smrg 79532001f49Smrg init(l, 71, color, coords, ELEMENTS(coords)/2); 79632001f49Smrg} 79732001f49Smrg 79832001f49Smrgstatic void poly72(struct lion *l) 79932001f49Smrg{ 80032001f49Smrg VGfloat color = 0xffe5b2; 80132001f49Smrg static const VGfloat coords[] = {107,114, 101,110, 98,102, 105,97, 111,98, 119,102, 121,108, 118,112, 113,115 80232001f49Smrg }; 80332001f49Smrg 80432001f49Smrg init(l, 72, color, coords, ELEMENTS(coords)/2); 80532001f49Smrg} 80632001f49Smrg 80732001f49Smrgstatic void poly73(struct lion *l) 80832001f49Smrg{ 80932001f49Smrg VGfloat color = 0xffe5b2; 81032001f49Smrg static const VGfloat coords[] = {148,106, 145,110, 146,116, 150,118, 152,111, 151,107 81132001f49Smrg }; 81232001f49Smrg 81332001f49Smrg init(l, 73, color, coords, ELEMENTS(coords)/2); 81432001f49Smrg} 81532001f49Smrg 81632001f49Smrgstatic void poly74(struct lion *l) 81732001f49Smrg{ 81832001f49Smrg VGfloat color = 0xffe5b2; 81932001f49Smrg static const VGfloat coords[] = {80,55, 70,52, 75,58, 63,57, 72,61, 57,61, 67,66, 57,67, 62,69, 54,71, 82032001f49Smrg 61,73, 54,77, 63,78, 53,85, 60,84, 56,90, 69,84, 63,82, 75,76, 70,75, 82132001f49Smrg 77,72, 72,71, 78,69, 72,66, 81,67, 78,64, 82,63, 80,60, 86,62 82232001f49Smrg }; 82332001f49Smrg 82432001f49Smrg init(l, 74, color, coords, ELEMENTS(coords)/2); 82532001f49Smrg} 82632001f49Smrg 82732001f49Smrgstatic void poly75(struct lion *l) 82832001f49Smrg{ 82932001f49Smrg VGfloat color = 0xffe5b2; 83032001f49Smrg static const VGfloat coords[] = {87,56, 91,52, 96,50, 102,56, 98,56, 92,60 83132001f49Smrg }; 83232001f49Smrg 83332001f49Smrg init(l, 75, color, coords, ELEMENTS(coords)/2); 83432001f49Smrg} 83532001f49Smrg 83632001f49Smrgstatic void poly76(struct lion *l) 83732001f49Smrg{ 83832001f49Smrg VGfloat color = 0xffe5b2; 83932001f49Smrg static const VGfloat coords[] = {85,68, 89,73, 98,76, 106,74, 96,73, 91,70 84032001f49Smrg }; 84132001f49Smrg 84232001f49Smrg init(l, 76, color, coords, ELEMENTS(coords)/2); 84332001f49Smrg} 84432001f49Smrg 84532001f49Smrgstatic void poly77(struct lion *l) 84632001f49Smrg{ 84732001f49Smrg VGfloat color = 0xffe5b2; 84832001f49Smrg static const VGfloat coords[] = {115,57, 114,64, 111,64, 115,75, 122,81, 122,74, 126,79, 84932001f49Smrg 126,74, 131,78, 130,72, 133,77, 131,68, 126,61, 119,57 85032001f49Smrg }; 85132001f49Smrg 85232001f49Smrg init(l, 77, color, coords, ELEMENTS(coords)/2); 85332001f49Smrg} 85432001f49Smrg 85532001f49Smrgstatic void poly78(struct lion *l) 85632001f49Smrg{ 85732001f49Smrg VGfloat color = 0xffe5b2; 85832001f49Smrg static const VGfloat coords[] = {145,48, 143,53, 147,59, 151,59, 150,55 85932001f49Smrg }; 86032001f49Smrg 86132001f49Smrg init(l, 78, color, coords, ELEMENTS(coords)/2); 86232001f49Smrg} 86332001f49Smrg 86432001f49Smrgstatic void poly79(struct lion *l) 86532001f49Smrg{ 86632001f49Smrg VGfloat color = 0xffe5b2; 86732001f49Smrg static const VGfloat coords[] = {26,22, 34,15, 43,10, 52,10, 59,16, 47,15, 32,22 86832001f49Smrg }; 86932001f49Smrg 87032001f49Smrg init(l, 79, color, coords, ELEMENTS(coords)/2); 87132001f49Smrg} 87232001f49Smrg 87332001f49Smrgstatic void poly80(struct lion *l) 87432001f49Smrg{ 87532001f49Smrg VGfloat color = 0xffe5b2; 87632001f49Smrg static const VGfloat coords[] = {160,19, 152,26, 149,34, 154,33, 152,30, 157,30, 155,26, 158,27, 87732001f49Smrg 157,23, 161,23 87832001f49Smrg }; 87932001f49Smrg 88032001f49Smrg init(l, 80, color, coords, ELEMENTS(coords)/2); 88132001f49Smrg} 88232001f49Smrg 88332001f49Smrgstatic void poly81(struct lion *l) 88432001f49Smrg{ 88532001f49Smrg VGfloat color = 0x000000; 88632001f49Smrg static const VGfloat coords[] = {98,117, 105,122, 109,122, 105,117, 113,120, 121,120, 130,112, 128,108, 88732001f49Smrg 123,103, 123,99, 128,101, 132,106, 135,109, 142,105, 142,101, 145,101, 88832001f49Smrg 145,91, 148,101, 145,105, 136,112, 135,116, 143,124, 148,120, 150,122, 88932001f49Smrg 142,128, 133,122, 121,125, 112,126, 103,125, 100,129, 96,124 89032001f49Smrg }; 89132001f49Smrg 89232001f49Smrg init(l, 81, color, coords, ELEMENTS(coords)/2); 89332001f49Smrg} 89432001f49Smrg 89532001f49Smrgstatic void poly82(struct lion *l) 89632001f49Smrg{ 89732001f49Smrg VGfloat color = 0x000000; 89832001f49Smrg static const VGfloat coords[] = {146,118, 152,118, 152,115, 149,115 89932001f49Smrg }; 90032001f49Smrg 90132001f49Smrg init(l, 82, color, coords, ELEMENTS(coords)/2); 90232001f49Smrg} 90332001f49Smrg 90432001f49Smrgstatic void poly83(struct lion *l) 90532001f49Smrg{ 90632001f49Smrg VGfloat color = 0x000000; 90732001f49Smrg static const VGfloat coords[] = {148,112, 154,111, 154,109, 149,109 90832001f49Smrg }; 90932001f49Smrg 91032001f49Smrg init(l, 83, color, coords, ELEMENTS(coords)/2); 91132001f49Smrg} 91232001f49Smrg 91332001f49Smrgstatic void poly84(struct lion *l) 91432001f49Smrg{ 91532001f49Smrg VGfloat color = 0x000000; 91632001f49Smrg static const VGfloat coords[] = {106,112, 108,115, 114,116, 118,114 91732001f49Smrg }; 91832001f49Smrg 91932001f49Smrg init(l, 84, color, coords, ELEMENTS(coords)/2); 92032001f49Smrg} 92132001f49Smrg 92232001f49Smrgstatic void poly85(struct lion *l) 92332001f49Smrg{ 92432001f49Smrg VGfloat color = 0x000000; 92532001f49Smrg static const VGfloat coords[] = {108,108, 111,110, 116,110, 119,108 92632001f49Smrg }; 92732001f49Smrg 92832001f49Smrg init(l, 85, color, coords, ELEMENTS(coords)/2); 92932001f49Smrg} 93032001f49Smrg 93132001f49Smrgstatic void poly86(struct lion *l) 93232001f49Smrg{ 93332001f49Smrg VGfloat color = 0x000000; 93432001f49Smrg static const VGfloat coords[] = {106,104, 109,105, 117,106, 115,104 93532001f49Smrg }; 93632001f49Smrg 93732001f49Smrg init(l, 86, color, coords, ELEMENTS(coords)/2); 93832001f49Smrg} 93932001f49Smrg 94032001f49Smrgstatic void poly87(struct lion *l) 94132001f49Smrg{ 94232001f49Smrg VGfloat color = 0x000000; 94332001f49Smrg static const VGfloat coords[] = {50,25, 41,26, 34,33, 39,43, 49,58, 36,51, 47,68, 55,69, 54,59, 94432001f49Smrg 61,57, 74,46, 60,52, 67,42, 57,48, 61,40, 54,45, 60,36, 59,29, 94532001f49Smrg 48,38, 52,30, 47,32 94632001f49Smrg }; 94732001f49Smrg 94832001f49Smrg init(l, 87, color, coords, ELEMENTS(coords)/2); 94932001f49Smrg} 95032001f49Smrg 95132001f49Smrgstatic void poly88(struct lion *l) 95232001f49Smrg{ 95332001f49Smrg VGfloat color = 0x000000; 95432001f49Smrg static const VGfloat coords[] = {147,34, 152,41, 155,49, 161,53, 157,47, 164,47, 158,43, 168,44, 95532001f49Smrg 159,40, 164,37, 169,37, 164,33, 169,34, 165,28, 170,30, 170,25, 95632001f49Smrg 173,29, 175,27, 176,32, 173,36, 175,39, 172,42, 172,46, 168,49, 95732001f49Smrg 170,55, 162,57, 158,63, 155,58, 153,50, 149,46 95832001f49Smrg }; 95932001f49Smrg 96032001f49Smrg init(l, 88, color, coords, ELEMENTS(coords)/2); 96132001f49Smrg} 96232001f49Smrg 96332001f49Smrgstatic void poly89(struct lion *l) 96432001f49Smrg{ 96532001f49Smrg VGfloat color = 0x000000; 96632001f49Smrg static const VGfloat coords[] = {155,71, 159,80, 157,93, 157,102, 155,108, 150,101, 149,93, 96732001f49Smrg 154,101, 152,91, 151,83, 155,79 96832001f49Smrg }; 96932001f49Smrg 97032001f49Smrg init(l, 89, color, coords, ELEMENTS(coords)/2); 97132001f49Smrg} 97232001f49Smrg 97332001f49Smrgstatic void poly90(struct lion *l) 97432001f49Smrg{ 97532001f49Smrg VGfloat color = 0x000000; 97632001f49Smrg static const VGfloat coords[] = {112,78, 115,81, 114,91, 112,87, 113,82 97732001f49Smrg }; 97832001f49Smrg 97932001f49Smrg init(l, 90, color, coords, ELEMENTS(coords)/2); 98032001f49Smrg} 98132001f49Smrg 98232001f49Smrgstatic void poly91(struct lion *l) 98332001f49Smrg{ 98432001f49Smrg VGfloat color = 0x000000; 98532001f49Smrg static const VGfloat coords[] = {78,28, 64,17, 58,11, 47,9, 36,10, 28,16, 21,26, 18,41, 98632001f49Smrg 20,51, 23,61, 33,65, 28,68, 37,74, 36,81, 43,87, 48,90, 98732001f49Smrg 43,100, 40,98, 39,90, 31,80, 30,72, 22,71, 17,61, 14,46, 98832001f49Smrg 16,28, 23,17, 33,9, 45,6, 54,6, 65,12 98932001f49Smrg }; 99032001f49Smrg 99132001f49Smrg init(l, 91, color, coords, ELEMENTS(coords)/2); 99232001f49Smrg} 99332001f49Smrg 99432001f49Smrgstatic void poly92(struct lion *l) 99532001f49Smrg{ 99632001f49Smrg VGfloat color = 0x000000; 99732001f49Smrg static const VGfloat coords[] = {67,18, 76,9, 87,5, 101,2, 118,3, 135,8, 149,20, 149,26, 99832001f49Smrg 144,19, 132,12, 121,9, 105,7, 89,8, 76,14, 70,20 99932001f49Smrg }; 100032001f49Smrg 100132001f49Smrg init(l, 92, color, coords, ELEMENTS(coords)/2); 100232001f49Smrg} 100332001f49Smrg 100432001f49Smrgstatic void poly93(struct lion *l) 100532001f49Smrg{ 100632001f49Smrg VGfloat color = 0x000000; 100732001f49Smrg static const VGfloat coords[] = {56,98, 48,106, 56,103, 47,112, 56,110, 52,115, 57,113, 52,121, 62,115, 100832001f49Smrg 58,123, 65,119, 63,125, 69,121, 68,127, 74,125, 74,129, 79,128, 83,132, 100932001f49Smrg 94,135, 93,129, 85,127, 81,122, 76,126, 75,121, 71,124, 71,117, 66,121, 101032001f49Smrg 66,117, 62,117, 64,112, 60,113, 60,110, 57,111, 61,105, 57,107, 60,101, 101132001f49Smrg 55,102 101232001f49Smrg }; 101332001f49Smrg 101432001f49Smrg init(l, 93, color, coords, ELEMENTS(coords)/2); 101532001f49Smrg} 101632001f49Smrg 101732001f49Smrgstatic void poly94(struct lion *l) 101832001f49Smrg{ 101932001f49Smrg VGfloat color = 0x000000; 102032001f49Smrg static const VGfloat coords[] = {101,132, 103,138, 106,134, 106,139, 112,136, 111,142, 115,139, 102132001f49Smrg 114,143, 119,142, 125,145, 131,142, 135,138, 140,134, 140,129, 102232001f49Smrg 143,135, 145,149, 150,171, 149,184, 145,165, 141,150, 136,147, 102332001f49Smrg 132,151, 131,149, 126,152, 125,150, 121,152, 117,148, 111,152, 102432001f49Smrg 110,148, 105,149, 104,145, 98,150, 96,138, 94,132, 94,130, 98,132 102532001f49Smrg }; 102632001f49Smrg 102732001f49Smrg init(l, 94, color, coords, ELEMENTS(coords)/2); 102832001f49Smrg} 102932001f49Smrg 103032001f49Smrgstatic void poly95(struct lion *l) 103132001f49Smrg{ 103232001f49Smrg VGfloat color = 0x000000; 103332001f49Smrg static const VGfloat coords[] = {41,94, 32,110, 23,132, 12,163, 6,190, 7,217, 5,236, 103432001f49Smrg 3,247, 9,230, 12,211, 12,185, 18,160, 26,134, 35,110, 103532001f49Smrg 43,99 103632001f49Smrg }; 103732001f49Smrg 103832001f49Smrg init(l, 95, color, coords, ELEMENTS(coords)/2); 103932001f49Smrg} 104032001f49Smrg 104132001f49Smrgstatic void poly96(struct lion *l) 104232001f49Smrg{ 104332001f49Smrg VGfloat color = 0x000000; 104432001f49Smrg static const VGfloat coords[] = {32,246, 41,250, 50,257, 52,267, 53,295, 53,323, 59,350, 104532001f49Smrg 54,363, 51,365, 44,366, 42,360, 40,372, 54,372, 59,366, 104632001f49Smrg 62,353, 71,352, 75,335, 73,330, 66,318, 68,302, 64,294, 104732001f49Smrg 67,288, 63,286, 63,279, 59,275, 58,267, 56,262, 50,247, 104832001f49Smrg 42,235, 44,246, 32,236, 35,244 104932001f49Smrg }; 105032001f49Smrg 105132001f49Smrg init(l, 96, color, coords, ELEMENTS(coords)/2); 105232001f49Smrg} 105332001f49Smrg 105432001f49Smrgstatic void poly97(struct lion *l) 105532001f49Smrg{ 105632001f49Smrg VGfloat color = 0x000000; 105732001f49Smrg static const VGfloat coords[] = {134,324, 146,320, 159,322, 173,327, 179,337, 179,349, 105832001f49Smrg 172,355, 158,357, 170,350, 174,343, 170,333, 163,328, 152,326, 105932001f49Smrg 134,329 106032001f49Smrg }; 106132001f49Smrg 106232001f49Smrg init(l, 97, color, coords, ELEMENTS(coords)/2); 106332001f49Smrg} 106432001f49Smrg 106532001f49Smrgstatic void poly98(struct lion *l) 106632001f49Smrg{ 106732001f49Smrg VGfloat color = 0x000000; 106832001f49Smrg static const VGfloat coords[] = {173,339, 183,334, 184,338, 191,329, 194,332, 199,323, 202,325, 106932001f49Smrg 206,318, 209,320, 213,309, 221,303, 228,296, 232,289, 234,279, 107032001f49Smrg 233,269, 230,262, 225,256, 219,253, 208,252, 198,252, 210,249, 107132001f49Smrg 223,250, 232,257, 237,265, 238,277, 238,291, 232,305, 221,323, 107232001f49Smrg 218,335, 212,342, 200,349, 178,348 107332001f49Smrg }; 107432001f49Smrg 107532001f49Smrg init(l, 98, color, coords, ELEMENTS(coords)/2); 107632001f49Smrg} 107732001f49Smrg 107832001f49Smrgstatic void poly99(struct lion *l) 107932001f49Smrg{ 108032001f49Smrg VGfloat color = 0x000000; 108132001f49Smrg static const VGfloat coords[] = {165,296, 158,301, 156,310, 156,323, 162,324, 159,318, 108232001f49Smrg 162,308, 162,304 108332001f49Smrg }; 108432001f49Smrg 108532001f49Smrg init(l, 99, color, coords, ELEMENTS(coords)/2); 108632001f49Smrg} 108732001f49Smrg 108832001f49Smrgstatic void poly100(struct lion *l) 108932001f49Smrg{ 109032001f49Smrg VGfloat color = 0x000000; 109132001f49Smrg static const VGfloat coords[] = {99,252, 105,244, 107,234, 115,228, 121,228, 131,235, 109232001f49Smrg 122,233, 113,235, 109,246, 121,239, 133,243, 121,243, 109332001f49Smrg 110,251 109432001f49Smrg }; 109532001f49Smrg 109632001f49Smrg init(l, 100, color, coords, ELEMENTS(coords)/2); 109732001f49Smrg} 109832001f49Smrg 109932001f49Smrgstatic void poly101(struct lion *l) 110032001f49Smrg{ 110132001f49Smrg VGfloat color = 0x000000; 110232001f49Smrg static const VGfloat coords[] = {117,252, 124,247, 134,249, 136,253, 126,252 110332001f49Smrg }; 110432001f49Smrg 110532001f49Smrg init(l, 101, color, coords, ELEMENTS(coords)/2); 110632001f49Smrg} 110732001f49Smrg 110832001f49Smrgstatic void poly102(struct lion *l) 110932001f49Smrg{ 111032001f49Smrg VGfloat color = 0x000000; 111132001f49Smrg static const VGfloat coords[] = {117,218, 132,224, 144,233, 140,225, 132,219, 117,218, 111232001f49Smrg 117,218, 117,218 111332001f49Smrg }; 111432001f49Smrg 111532001f49Smrg init(l, 102, color, coords, ELEMENTS(coords)/2); 111632001f49Smrg} 111732001f49Smrg 111832001f49Smrgstatic void poly103(struct lion *l) 111932001f49Smrg{ 112032001f49Smrg VGfloat color = 0x000000; 112132001f49Smrg static const VGfloat coords[] = {122,212, 134,214, 143,221, 141,213, 132,210 112232001f49Smrg }; 112332001f49Smrg 112432001f49Smrg init(l, 103, color, coords, ELEMENTS(coords)/2); 112532001f49Smrg} 112632001f49Smrg 112732001f49Smrgstatic void poly104(struct lion *l) 112832001f49Smrg{ 112932001f49Smrg VGfloat color = 0x000000; 113032001f49Smrg static const VGfloat coords[] = {69,352, 70,363, 76,373, 86,378, 97,379, 108,379, 120,377, 113132001f49Smrg 128,378, 132,373, 135,361, 133,358, 132,366, 127,375, 121,374, 113232001f49Smrg 121,362, 119,367, 117,374, 110,376, 110,362, 107,357, 106,371, 113332001f49Smrg 104,375, 97,376, 90,375, 90,368, 86,362, 83,364, 86,369, 85,373, 113432001f49Smrg 78,370, 73,362, 71,351 113532001f49Smrg }; 113632001f49Smrg 113732001f49Smrg init(l, 104, color, coords, ELEMENTS(coords)/2); 113832001f49Smrg} 113932001f49Smrg 114032001f49Smrgstatic void poly105(struct lion *l) 114132001f49Smrg{ 114232001f49Smrg VGfloat color = 0x000000; 114332001f49Smrg static const VGfloat coords[] = {100,360, 96,363, 99,369, 102,364 114432001f49Smrg }; 114532001f49Smrg 114632001f49Smrg init(l, 105, color, coords, ELEMENTS(coords)/2); 114732001f49Smrg} 114832001f49Smrg 114932001f49Smrgstatic void poly106(struct lion *l) 115032001f49Smrg{ 115132001f49Smrg VGfloat color = 0x000000; 115232001f49Smrg static const VGfloat coords[] = {115,360, 112,363, 114,369, 117,364 115332001f49Smrg }; 115432001f49Smrg 115532001f49Smrg init(l, 106, color, coords, ELEMENTS(coords)/2); 115632001f49Smrg} 115732001f49Smrg 115832001f49Smrgstatic void poly107(struct lion *l) 115932001f49Smrg{ 116032001f49Smrg VGfloat color = 0x000000; 116132001f49Smrg static const VGfloat coords[] = {127,362, 125,364, 126,369, 128,365 116232001f49Smrg }; 116332001f49Smrg 116432001f49Smrg init(l, 107, color, coords, ELEMENTS(coords)/2); 116532001f49Smrg} 116632001f49Smrg 116732001f49Smrgstatic void poly108(struct lion *l) 116832001f49Smrg{ 116932001f49Smrg VGfloat color = 0x000000; 117032001f49Smrg static const VGfloat coords[] = {5,255, 7,276, 11,304, 15,320, 13,334, 6,348, 2,353, 0,363, 117132001f49Smrg 5,372, 12,374, 25,372, 38,372, 44,369, 42,367, 36,368, 31,369, 117232001f49Smrg 30,360, 27,368, 20,370, 16,361, 15,368, 10,369, 3,366, 3,359, 6,352, 117332001f49Smrg 11,348, 17,331, 19,316, 12,291, 9,274 117432001f49Smrg }; 117532001f49Smrg 117632001f49Smrg init(l, 108, color, coords, ELEMENTS(coords)/2); 117732001f49Smrg} 117832001f49Smrg 117932001f49Smrgstatic void poly109(struct lion *l) 118032001f49Smrg{ 118132001f49Smrg VGfloat color = 0x000000; 118232001f49Smrg static const VGfloat coords[] = {10,358, 7,362, 10,366, 11,362 118332001f49Smrg }; 118432001f49Smrg 118532001f49Smrg init(l, 109, color, coords, ELEMENTS(coords)/2); 118632001f49Smrg} 118732001f49Smrg 118832001f49Smrgstatic void poly110(struct lion *l) 118932001f49Smrg{ 119032001f49Smrg VGfloat color = 0x000000; 119132001f49Smrg static const VGfloat coords[] = {25,357, 22,360, 24,366, 27,360 119232001f49Smrg }; 119332001f49Smrg 119432001f49Smrg init(l, 110, color, coords, ELEMENTS(coords)/2); 119532001f49Smrg} 119632001f49Smrg 119732001f49Smrgstatic void poly111(struct lion *l) 119832001f49Smrg{ 119932001f49Smrg VGfloat color = 0x000000; 120032001f49Smrg static const VGfloat coords[] = {37,357, 34,361, 36,365, 38,361 120132001f49Smrg }; 120232001f49Smrg 120332001f49Smrg init(l, 111, color, coords, ELEMENTS(coords)/2); 120432001f49Smrg} 120532001f49Smrg 120632001f49Smrgstatic void poly112(struct lion *l) 120732001f49Smrg{ 120832001f49Smrg VGfloat color = 0x000000; 120932001f49Smrg static const VGfloat coords[] = {49,356, 46,359, 47,364, 50,360 121032001f49Smrg }; 121132001f49Smrg 121232001f49Smrg init(l, 112, color, coords, ELEMENTS(coords)/2); 121332001f49Smrg} 121432001f49Smrg 121532001f49Smrgstatic void poly113(struct lion *l) 121632001f49Smrg{ 121732001f49Smrg VGfloat color = 0x000000; 121832001f49Smrg static const VGfloat coords[] = {130,101, 132,102, 135,101, 139,102, 143,103, 121932001f49Smrg 142,101, 137,100, 133,100 122032001f49Smrg }; 122132001f49Smrg 122232001f49Smrg init(l, 113, color, coords, ELEMENTS(coords)/2); 122332001f49Smrg} 122432001f49Smrg 122532001f49Smrgstatic void poly114(struct lion *l) 122632001f49Smrg{ 122732001f49Smrg VGfloat color = 0x000000; 122832001f49Smrg static const VGfloat coords[] = {106,48, 105,52, 108,56, 109,52 122932001f49Smrg }; 123032001f49Smrg 123132001f49Smrg init(l, 114, color, coords, ELEMENTS(coords)/2); 123232001f49Smrg} 123332001f49Smrg 123432001f49Smrgstatic void poly115(struct lion *l) 123532001f49Smrg{ 123632001f49Smrg VGfloat color = 0x000000; 123732001f49Smrg static const VGfloat coords[] = {139,52, 139,56, 140,60, 142,58, 141,56 123832001f49Smrg }; 123932001f49Smrg 124032001f49Smrg init(l, 115, color, coords, ELEMENTS(coords)/2); 124132001f49Smrg} 124232001f49Smrg 124332001f49Smrgstatic void poly116(struct lion *l) 124432001f49Smrg{ 124532001f49Smrg VGfloat color = 0x000000; 124632001f49Smrg static const VGfloat coords[] = {25,349, 29,351, 30,355, 33,350, 37,348, 42,351, 45,347, 124732001f49Smrg 49,345, 44,343, 36,345 124832001f49Smrg }; 124932001f49Smrg 125032001f49Smrg init(l, 116, color, coords, ELEMENTS(coords)/2); 125132001f49Smrg} 125232001f49Smrg 125332001f49Smrgstatic void poly117(struct lion *l) 125432001f49Smrg{ 125532001f49Smrg VGfloat color = 0x000000; 125632001f49Smrg static const VGfloat coords[] = {98,347, 105,351, 107,354, 109,349, 115,349, 120,353, 118,349, 125732001f49Smrg 113,346, 104,346 125832001f49Smrg }; 125932001f49Smrg 126032001f49Smrg init(l, 117, color, coords, ELEMENTS(coords)/2); 126132001f49Smrg} 126232001f49Smrg 126332001f49Smrgstatic void poly118(struct lion *l) 126432001f49Smrg{ 126532001f49Smrg VGfloat color = 0x000000; 126632001f49Smrg static const VGfloat coords[] = {83,348, 87,352, 87,357, 89,351, 87,348 126732001f49Smrg }; 126832001f49Smrg 126932001f49Smrg init(l, 118, color, coords, ELEMENTS(coords)/2); 127032001f49Smrg} 127132001f49Smrg 127232001f49Smrgstatic void poly119(struct lion *l) 127332001f49Smrg{ 127432001f49Smrg VGfloat color = 0x000000; 127532001f49Smrg static const VGfloat coords[] = {155,107, 163,107, 170,107, 186,108, 175,109, 155,109 127632001f49Smrg }; 127732001f49Smrg 127832001f49Smrg init(l, 119, color, coords, ELEMENTS(coords)/2); 127932001f49Smrg} 128032001f49Smrg 128132001f49Smrgstatic void poly120(struct lion *l) 128232001f49Smrg{ 128332001f49Smrg VGfloat color = 0x000000; 128432001f49Smrg static const VGfloat coords[] = {153,114, 162,113, 175,112, 192,114, 173,114, 154,115 128532001f49Smrg }; 128632001f49Smrg 128732001f49Smrg init(l, 120, color, coords, ELEMENTS(coords)/2); 128832001f49Smrg} 128932001f49Smrg 129032001f49Smrgstatic void poly121(struct lion *l) 129132001f49Smrg{ 129232001f49Smrg VGfloat color = 0x000000; 129332001f49Smrg static const VGfloat coords[] = {152,118, 164,120, 180,123, 197,129, 169,123, 151,120 129432001f49Smrg }; 129532001f49Smrg 129632001f49Smrg init(l, 121, color, coords, ELEMENTS(coords)/2); 129732001f49Smrg} 129832001f49Smrg 129932001f49Smrgstatic void poly122(struct lion *l) 130032001f49Smrg{ 130132001f49Smrg VGfloat color = 0x000000; 130232001f49Smrg static const VGfloat coords[] = {68,109, 87,106, 107,106, 106,108, 88,108 130332001f49Smrg }; 130432001f49Smrg 130532001f49Smrg init(l, 122, color, coords, ELEMENTS(coords)/2); 130632001f49Smrg} 130732001f49Smrg 130832001f49Smrgstatic void poly123(struct lion *l) 130932001f49Smrg{ 131032001f49Smrg VGfloat color = 0x000000; 131132001f49Smrg static const VGfloat coords[] = {105,111, 95,112, 79,114, 71,116, 85,115, 102,113 131232001f49Smrg }; 131332001f49Smrg 131432001f49Smrg init(l, 123, color, coords, ELEMENTS(coords)/2); 131532001f49Smrg} 131632001f49Smrg 131732001f49Smrgstatic void poly124(struct lion *l) 131832001f49Smrg{ 131932001f49Smrg VGfloat color = 0x000000; 132032001f49Smrg static const VGfloat coords[] = {108,101, 98,99, 87,99, 78,99, 93,100, 105,102 132132001f49Smrg }; 132232001f49Smrg 132332001f49Smrg init(l, 124, color, coords, ELEMENTS(coords)/2); 132432001f49Smrg} 132532001f49Smrg 132632001f49Smrgstatic void poly125(struct lion *l) 132732001f49Smrg{ 132832001f49Smrg VGfloat color = 0x000000; 132932001f49Smrg static const VGfloat coords[] = {85,63, 91,63, 97,60, 104,60, 108,62, 111,69, 112,75, 133032001f49Smrg 110,74, 108,71, 103,73, 106,69, 105,65, 103,64, 103,67, 133132001f49Smrg 102,70, 99,70, 97,66, 94,67, 97,72, 88,67, 84,66 133232001f49Smrg }; 133332001f49Smrg 133432001f49Smrg init(l, 125, color, coords, ELEMENTS(coords)/2); 133532001f49Smrg} 133632001f49Smrg 133732001f49Smrgstatic void poly126(struct lion *l) 133832001f49Smrg{ 133932001f49Smrg VGfloat color = 0x000000; 134032001f49Smrg static const VGfloat coords[] = {140,74, 141,66, 144,61, 150,61, 156,62, 153,70, 150,73, 134132001f49Smrg 152,65, 150,65, 151,68, 149,71, 146,71, 144,66, 143,70, 134232001f49Smrg 143,74 134332001f49Smrg }; 134432001f49Smrg 134532001f49Smrg init(l, 126, color, coords, ELEMENTS(coords)/2); 134632001f49Smrg} 134732001f49Smrg 134832001f49Smrgstatic void poly127(struct lion *l) 134932001f49Smrg{ 135032001f49Smrg VGfloat color = 0x000000; 135132001f49Smrg static const VGfloat coords[] = {146,20, 156,11, 163,9, 172,9, 178,14, 182,18, 184,32, 182,42, 135232001f49Smrg 182,52, 177,58, 176,67, 171,76, 165,90, 157,105, 160,92, 164,85, 135332001f49Smrg 168,78, 167,73, 173,66, 172,62, 175,59, 174,55, 177,53, 180,46, 135432001f49Smrg 181,29, 179,21, 173,13, 166,11, 159,13, 153,18, 148,23 135532001f49Smrg }; 135632001f49Smrg 135732001f49Smrg init(l, 127, color, coords, ELEMENTS(coords)/2); 135832001f49Smrg} 135932001f49Smrg 136032001f49Smrgstatic void poly128(struct lion *l) 136132001f49Smrg{ 136232001f49Smrg VGfloat color = 0x000000; 136332001f49Smrg static const VGfloat coords[] = {150,187, 148,211, 150,233, 153,247, 148,267, 135,283, 125,299, 136432001f49Smrg 136,292, 131,313, 122,328, 122,345, 129,352, 133,359, 133,367, 136532001f49Smrg 137,359, 148,356, 140,350, 131,347, 129,340, 132,332, 140,328, 136632001f49Smrg 137,322, 140,304, 154,265, 157,244, 155,223, 161,220, 175,229, 136732001f49Smrg 186,247, 185,260, 176,275, 178,287, 185,277, 188,261, 196,253, 136832001f49Smrg 189,236, 174,213 136932001f49Smrg }; 137032001f49Smrg 137132001f49Smrg init(l, 128, color, coords, ELEMENTS(coords)/2); 137232001f49Smrg} 137332001f49Smrg 137432001f49Smrgstatic void poly129(struct lion *l) 137532001f49Smrg{ 137632001f49Smrg VGfloat color = 0x000000; 137732001f49Smrg static const VGfloat coords[] = {147,338, 142,341, 143,345, 141,354, 147,343 137832001f49Smrg }; 137932001f49Smrg 138032001f49Smrg init(l, 129, color, coords, ELEMENTS(coords)/2); 138132001f49Smrg} 138232001f49Smrg 138332001f49Smrgstatic void poly130(struct lion *l) 138432001f49Smrg{ 138532001f49Smrg VGfloat color = 0x000000; 138632001f49Smrg static const VGfloat coords[] = {157,342, 156,349, 150,356, 157,353, 163,346, 162,342 138732001f49Smrg }; 138832001f49Smrg 138932001f49Smrg init(l, 130, color, coords, ELEMENTS(coords)/2); 139032001f49Smrg} 139132001f49Smrg 139232001f49Smrgstatic void poly131(struct lion *l) 139332001f49Smrg{ 139432001f49Smrg VGfloat color = 0x000000; 139532001f49Smrg static const VGfloat coords[] = {99,265, 96,284, 92,299, 73,339, 73,333, 87,300 139632001f49Smrg }; 139732001f49Smrg 139832001f49Smrg init(l, 131, color, coords, ELEMENTS(coords)/2); 139932001f49Smrg} 140032001f49Smrg 140132001f49Smrg 140232001f49Smrgstruct lion * lion_create(void) 140332001f49Smrg{ 140432001f49Smrg struct lion *l = calloc(1, sizeof(struct lion)); 140532001f49Smrg 140632001f49Smrg poly0(l); 140732001f49Smrg poly1(l); 140832001f49Smrg poly2(l); 140932001f49Smrg poly3(l); 141032001f49Smrg poly4(l); 141132001f49Smrg poly5(l); 141232001f49Smrg poly6(l); 141332001f49Smrg poly7(l); 141432001f49Smrg poly8(l); 141532001f49Smrg poly9(l); 141632001f49Smrg 141732001f49Smrg poly10(l); 141832001f49Smrg poly11(l); 141932001f49Smrg poly12(l); 142032001f49Smrg poly13(l); 142132001f49Smrg poly14(l); 142232001f49Smrg poly15(l); 142332001f49Smrg poly16(l); 142432001f49Smrg poly17(l); 142532001f49Smrg poly18(l); 142632001f49Smrg poly19(l); 142732001f49Smrg 142832001f49Smrg poly20(l); 142932001f49Smrg poly21(l); 143032001f49Smrg poly22(l); 143132001f49Smrg poly23(l); 143232001f49Smrg poly24(l); 143332001f49Smrg poly25(l); 143432001f49Smrg poly26(l); 143532001f49Smrg poly27(l); 143632001f49Smrg poly28(l); 143732001f49Smrg poly29(l); 143832001f49Smrg 143932001f49Smrg poly30(l); 144032001f49Smrg poly31(l); 144132001f49Smrg poly32(l); 144232001f49Smrg poly33(l); 144332001f49Smrg poly34(l); 144432001f49Smrg poly35(l); 144532001f49Smrg poly36(l); 144632001f49Smrg poly37(l); 144732001f49Smrg poly38(l); 144832001f49Smrg poly39(l); 144932001f49Smrg 145032001f49Smrg poly40(l); 145132001f49Smrg poly41(l); 145232001f49Smrg poly42(l); 145332001f49Smrg poly43(l); 145432001f49Smrg poly44(l); 145532001f49Smrg poly45(l); 145632001f49Smrg poly46(l); 145732001f49Smrg poly47(l); 145832001f49Smrg poly48(l); 145932001f49Smrg poly49(l); 146032001f49Smrg 146132001f49Smrg poly50(l); 146232001f49Smrg poly51(l); 146332001f49Smrg poly52(l); 146432001f49Smrg poly53(l); 146532001f49Smrg poly54(l); 146632001f49Smrg poly55(l); 146732001f49Smrg poly56(l); 146832001f49Smrg poly57(l); 146932001f49Smrg poly58(l); 147032001f49Smrg poly59(l); 147132001f49Smrg 147232001f49Smrg poly60(l); 147332001f49Smrg poly61(l); 147432001f49Smrg poly62(l); 147532001f49Smrg poly63(l); 147632001f49Smrg poly64(l); 147732001f49Smrg poly65(l); 147832001f49Smrg poly66(l); 147932001f49Smrg poly67(l); 148032001f49Smrg poly68(l); 148132001f49Smrg poly69(l); 148232001f49Smrg 148332001f49Smrg poly70(l); 148432001f49Smrg poly71(l); 148532001f49Smrg poly72(l); 148632001f49Smrg poly73(l); 148732001f49Smrg poly74(l); 148832001f49Smrg poly75(l); 148932001f49Smrg poly76(l); 149032001f49Smrg poly77(l); 149132001f49Smrg poly78(l); 149232001f49Smrg poly79(l); 149332001f49Smrg 149432001f49Smrg poly80(l); 149532001f49Smrg poly81(l); 149632001f49Smrg poly82(l); 149732001f49Smrg poly83(l); 149832001f49Smrg poly84(l); 149932001f49Smrg poly85(l); 150032001f49Smrg poly86(l); 150132001f49Smrg poly87(l); 150232001f49Smrg poly88(l); 150332001f49Smrg poly89(l); 150432001f49Smrg 150532001f49Smrg poly90(l); 150632001f49Smrg poly91(l); 150732001f49Smrg poly92(l); 150832001f49Smrg poly93(l); 150932001f49Smrg poly94(l); 151032001f49Smrg poly95(l); 151132001f49Smrg poly96(l); 151232001f49Smrg poly97(l); 151332001f49Smrg poly98(l); 151432001f49Smrg poly99(l); 151532001f49Smrg 151632001f49Smrg poly100(l); 151732001f49Smrg poly101(l); 151832001f49Smrg poly102(l); 151932001f49Smrg poly103(l); 152032001f49Smrg poly104(l); 152132001f49Smrg poly105(l); 152232001f49Smrg poly106(l); 152332001f49Smrg poly107(l); 152432001f49Smrg poly108(l); 152532001f49Smrg poly109(l); 152632001f49Smrg 152732001f49Smrg poly110(l); 152832001f49Smrg poly111(l); 152932001f49Smrg poly112(l); 153032001f49Smrg poly113(l); 153132001f49Smrg poly114(l); 153232001f49Smrg poly115(l); 153332001f49Smrg poly116(l); 153432001f49Smrg poly117(l); 153532001f49Smrg poly118(l); 153632001f49Smrg poly119(l); 153732001f49Smrg 153832001f49Smrg poly120(l); 153932001f49Smrg poly121(l); 154032001f49Smrg poly122(l); 154132001f49Smrg poly123(l); 154232001f49Smrg poly124(l); 154332001f49Smrg poly125(l); 154432001f49Smrg poly126(l); 154532001f49Smrg poly127(l); 154632001f49Smrg poly128(l); 154732001f49Smrg poly129(l); 154832001f49Smrg 154932001f49Smrg poly130(l); 155032001f49Smrg poly131(l); 155132001f49Smrg 155232001f49Smrg return l; 155332001f49Smrg} 155432001f49Smrg 155532001f49Smrgvoid lion_render(struct lion *l) 155632001f49Smrg{ 155732001f49Smrg VGint i; 155832001f49Smrg 155932001f49Smrg for (i = 0; i < LION_SIZE; ++i) { 156032001f49Smrg vgSetPaint(l->fills[i], VG_FILL_PATH); 156132001f49Smrg vgDrawPath(l->paths[i], VG_FILL_PATH); 156232001f49Smrg } 156332001f49Smrg} 156432001f49Smrg 156532001f49Smrgvoid lion_destroy(struct lion *l) 156632001f49Smrg{ 156732001f49Smrg VGint i; 156832001f49Smrg for (i = 0; i < LION_SIZE; ++i) { 156932001f49Smrg vgDestroyPaint(l->fills[i]); 157032001f49Smrg vgDestroyPath(l->paths[i]); 157132001f49Smrg } 157232001f49Smrg free(l); 157332001f49Smrg} 1574