/* The ships and objects from Elite as C structures */

/* some of these coordinates are outside the range of 16-bit integers
   and will need rescaling before being used in Vectrex code.  The
   original values were floats that were the values below divided by 100.
   These could be treated as 9.7 fixed point and be close to the original
   intent. */

Mesh adder[18*3] = {
-1800,  0,  4000, 
 1800,  0,  4000, 
 3000,  0, -2400, 
 3000,  0, -4000, 
 1800, -700, -4000, 
-1800, -700, -4000, 
-3000,  0, -4000, 
-3000,  0, -2400, 
-1800,  700, -4000, 
 1800,  700, -4000, 
-1800,  700,  1300, 
 1800,  700,  1300, 
-1800, -700,  1300, 
 1800, -700,  1300, 
-1100,  350,  2900, 
 1100,  350,  2900, 
 1100,  450,  2400, 
-1100,  450,  2400, 
};

Poly p_adder[] = { 14,
 4, 11,10,0,1,
 4, 1,0,12,13,
 3, 2,11,1,
 3, 1,13,2,
 4, 9,11,2,3,
 4, 3,2,13,4,
 6, 3,4,5,6,8,9,
 4, 10,8,6,7,
 4, 7,6,5,12,
 3, 10,7,0,
 3, 0,7,12,
 4, 10,11,9,8,
 4, 5,4,13,12,
 4, 17,14,15,16
};

Mesh anaconda[15*3] = {
 0,  700, -5800, 
-4300, -1300, -3700, 
-2600, -4700, -300, 
 2600, -4700, -300, 
 4300, -1300, -3700, 
 0,  4800, -4900, 
-6900,  1500, -1500, 
-4300, -3900,  4000, 
 4300, -3900,  4000, 
 6900,  1500, -1500, 
-4300,  5300, -2300, 
-6900, -100,  3200, 
 0,  0,  25400, 
 6900, -100,  3200, 
 4300,  5300, -2300, 
};

Poly p_anaconda[] = { 12,
 5, 3,2,1,0,4,
 5, 6,10,5,0,1,
 5, 7,11,6,1,2,
 5, 8,12,7,2,3,
 5, 9,13,8,3,4,
 5, 9,4,0,5,14,
 3, 10,14,5,
 4, 10,6,11,12,
 3, 7,12,11,
 3, 8,13,12,
 4, 13,9,14,12,
 3, 10,12,14
};

Mesh asp[25*3] = {
 0, -1800,  0, 
 0, -900, -4500, 
 4300,  0, -4500, 
 6900, -300,  0, 
 4300, -1400,  2800, 
-4300,  0, -4500, 
-6900, -300,  0, 
-4300, -1400,  2800, 
 2600, -700,  7300, 
-2600, -700,  7300, 
 4300,  1400,  2800, 
-4300,  1400,  2800, 
 0,  900, -4500, 
-1700,  0, -4550, 
 1700,  0, -4550, 
 0, -400, -4550, 
 0,  400, -4550, 
-100, -800,  7300, 
-100, -800,  8300, 
-100, -600,  7300, 
-100, -600,  8300, 
 100, -800,  7300, 
 100, -800,  8300, 
 100, -600,  7300, 
 100, -600,  8300, 
};
			
Poly p_asp[] = { 17,
 5, 8,9,7,0,4,
 5, 3,4,0,1,2,
 5, 1,0,7,6,5,
 3, 11,10,12,
 4, 9,8,10,11,
 4, 6,11,12,5,
 4, 2,12,10,3,
 3, 8,4,3,
 3, 6,7,9,
 3, 3,10,8,
 3, 9,11,6,
 4, 2,1,5,12,
 4, 14,15,13,16,
 4, 18,20,19,17,
 4, 22,18,17,21,
 4, 23,24,22,21,
 4, 20,24,23,19
};

Mesh Asteroid[42*3] = {
   0,  1000,  0, 
  -1000, -125,  0, 
  -500,  0,  875, 
   0,  375, -938, 
  -1000, -125,  0, 
   0,  1000,  0, 
   625,  0,  750, 
   750,  625,  0, 
   0,  1000,  0, 
   0,  1000,  0, 
   750,  625,  0, 
   0,  375, -938, 
  -500,  0,  875, 
   625,  0,  750, 
   0,  1000,  0, 
  -1000, -125,  0, 
   0, -1000,  0, 
  -500,  0,  875, 
   0, -625, -750, 
   0, -1000,  0, 
  -1000, -125,  0, 
  -1000, -125,  0, 
   0,  375, -938, 
   0, -625, -750, 
   0, -1000,  0, 
   875, -500,  0, 
   625,  0,  750, 
   0, -625, -750, 
   875, -500,  0, 
   0, -1000,  0, 
   0, -1000,  0, 
   625,  0,  750, 
  -500,  0,  875, 
   875, -500,  0, 
   750,  625,  0, 
   625,  0,  750, 
   0,  375, -938, 
   750,  625,  0, 
   875, -500,  0, 
   0, -625, -750, 
   0,  375, -938, 
   875, -500,  0, 
};

Poly p_Asteroid[] = { 14,
  3, 0,1,2,
  3, 3,4,5,
  3, 6,7,8,
  3, 9,10,11,
  3, 12,13,14,
  3, 15,16,17,
  3, 18,19,20,
  3, 21,22,23,
  3, 24,25,26,
  3, 27,28,29,
  3, 30,31,32,
  3, 33,34,35,
  3, 36,37,38,
  3, 39,40,41
};

Mesh boa[13*3] = {
 0,  0,  9300, 
 0,  4000, -8700, 
 3800, -2500, -9900, 
-3800, -2500, -9900, 
-3800,  4000, -5900, 
 3800,  4000, -5900, 
 6200,  0, -6700, 
 2400, -6500, -7900, 
-2400, -6500, -7900, 
-6200,  0, -6700, 
 0,  700, -10700, 
 1300, -900, -10700, 
-1300, -900, -10700, 
};
			
Poly p_boa[] = { 13,
 6, 11,10,1,5,6,2,
 6, 12,11,2,7,8,3,
 6, 3,9,4,1,10,12,
 3, 5,1,4,
 3, 7,2,6,
 3, 3,8,9,
 3, 5,4,0,
 3, 9,8,0,
 3, 7,6,0,
 3, 0,4,9,
 3, 0,8,7,
 3, 0,6,5,
 3, 12,10,11
};

Mesh boulder[7*3] = {
-1800,  3700, -1100, 
 3000,  700,  1200, 
 2800, -700, -1200, 
 200,  0, -3900, 
-2800,  3400, -3000, 
 500, -1000,  1300, 
 2000,  1700, -3000, 
};

Poly p_boulder[] = { 10,
 3, 0,4,5,
 3, 0,5,1,
 3, 1,5,2,
 3, 2,5,3,
 3, 3,5,4,
 3, 1,6,0,
 3, 2,6,1,
 3, 3,6,2,
 3, 4,6,3,
 3, 6,4,0
};

Mesh cargo[10*3] = {
 2400,  1600,  0, 
 2400,  500,  1500, 
 2400, -1300,  900, 
 2400, -1300, -900, 
 2400,  500, -1500, 
-2400,  1600,  0, 
-2400,  500,  1500, 
-2400, -1300,  900, 
-2400, -1300, -900, 
-2400,  500, -1500, 
};

Poly p_cargo[] = { 7,
 5, 0,1,2,3,4,
 5, 9,8,7,6,5,
 4, 5,6,1,0,
 4, 0,4,9,5,
 4, 6,7,2,1,
 4, 7,8,3,2,
 4, 8,9,4,3
};

Mesh CobraFS[68*3] = {
  400,  0,  950, 
 -400,  0,  950, 
  0,  325,  300, 
 -1500, -38, -100, 
  1500, -38, -100, 
 -1100,  200, -500, 
  1100,  200, -500, 
  1600, -100, -500, 
 -1600, -100, -500, 
  0,  325, -500, 
 -400, -300, -500, 
  400, -300, -500, 
 -450,  100, -501, 
 -100,  150, -501, 
  100,  150, -501, 
  450,  100, -501, 
  450, -150, -501, 
  100, -200, -501, 
 -100, -200, -501, 
 -450, -150, -501, 
 -20, -20,  950, 
 -20, -20,  1125, 
 -1000, -75, -501, 
 -1000,  75, -501, 
 -1100,  0, -501, 
  1000,  75, -501, 
  1100,  0, -501, 
  1000, -75, -501, 
  20, -20,  950, 
  20, -20,  1125, 
  20,  20,  950, 
  20,  20,  1125, 
 -20,  20,  950, 
 -20,  20,  1125, 
  400,  0,  950, 
 -400,  0,  950, 
  0,  325,  300, 
  400,  0,  950, 
  400, -300, -500, 
  1600, -100, -500, 
  1500, -38, -100, 
 -400,  0,  950, 
 -1500, -38, -100, 
 -1600, -100, -500, 
 -400, -300, -500, 
  400,  0,  950, 
 -400,  0,  950, 
 -400, -300, -500, 
  400, -300, -500, 
 -1100,  200, -500, 
  0,  325,  300, 
  0,  325, -500, 
  0,  325,  300, 
  1100,  200, -500, 
  0,  325, -500, 
  1100,  200, -500, 
  0,  325,  300, 
  400,  0,  950, 
  1500, -38, -100, 
  1100,  200, -500, 
 -400,  0,  950, 
 -1100,  200, -500, 
 -1100,  200, -500, 
 -1500, -38, -100, 
 -1100,  200, -500, 
 -1600, -100, -500, 
  1600, -100, -500, 
  1100,  200, -500, 
};

Poly p_CobraFS[] = { 22,
 3, 36,35,34,
 4, 45,46,47,48,
 3, 55,56,57,
 3, 0,58,59,
 4, 37,38,39,40,
 3, 60,2,61,
 3, 62,63,1,
 4, 41,42,43,44,
 3, 49,50,51,
 3, 52,53,54,
 3, 64,65,3,
 3, 66,67,4,
 7, 9,6,7,11,10,8,5,
 4, 14,15,16,17,
 4, 12,13,18,19,
 3, 25,26,27,
 3, 24,23,22,
 4, 21,29,28,20,
 4, 31,29,28,30,
 4, 32,30,31,33,
 4, 21,33,32,20,
 4, 20,33,31,29
};

Mesh cobramk1[17*3] = {
 -225, -13,  625, 
  225, -13,  625, 
 -825,  0,  88, 
  825,  0,  88, 
 -400,  150, -475, 
  400,  150, -475, 
 -675, -150, -475, 
  675, -150, -475, 
  0,  150, -75, 
 -10, -23,  625,  // 9
 -10, -23,  750,  //10
  10, -23,  625,  //11
  10, -23,  750,  //12
 -10, -3,  625,  //13
 -10, -3,  750,  //14
  10, -3,  625,  //15
  10, -3,  750, 
};

Poly p_cobramk1[] = { 14,
 3, 0,2,6,
 4, 8,4,2,0,
 4, 0,6,7,1,
 3, 1,8,0,
 3, 1,7,3,
 3, 2,4,6,
 4, 5,8,1,3,
 4, 4,5,7,6,
 3, 8,5,4,
 3, 5,3,7,
 4, 10,14,13,9,
 4, 13,14,16,15,
 4, 15,16,12,11,
 4, 11,12,10,9;	
};

Mesh CobraMK3[34*3] = {
  400,  0,  950, 
 -400,  0,  950, 
  0,  325,  300, 
 -1500, -38, -100, 
  1500, -38, -100, 
 -1100,  200, -500, 
  1100,  200, -500, 
  1600, -100, -500, 
 -1600, -100, -500, 
  0,  325, -500, 
 -400, -300, -500, 
  400, -300, -500, 
 -450,  100, -550, 
 -100,  150, -550, 
  100,  150, -550, 
  450,  100, -550,  
  450, -150, -550, 
  100, -200, -550, 
 -100, -200, -550, 
 -450, -150, -550, 
 -20, -20,  950, 
 -20, -20,  1125, 
 -1000, -75, -550, 
 -1000,  75, -550, 
 -1100,  0, -550, 
  1000,  75, -550, 
  1100,  0, -550, 
  1000, -75, -550, 
  20, -20,  950, 
  20, -20,  1125, 
  20,  20,  950, 
  20,  20,  1125, 
 -20,  20,  950, 
 -20,  20,  1125, 
};

Poly p_CobraMK3[] = { 22,
 3, 2,1,0,
 4, 0,1,10,11,
 3, 6,2,0,
 3, 0,4,6,
 4, 0,11,7,4,
 3, 1,2,5,
 3, 5,3,1,
 4, 1,3,8,10,
 3, 5,2,9,
 3, 2,6,9,
 3, 5,8,3,
 3, 7,6,4,
 7, 9,6,7,11,10,8,5,
 4, 14,15,16,17,
 4, 12,13,18,19,
 3, 25,26,27,
 3, 24,23,22,
 4, 21,29,28,20,
 4, 31,29,28,30,
 4, 32,30,31,33,
 4, 21,33,32,20,
 4, 20,29,31,33
};

Mesh constric[17*3] = {
 2000, -700,  8000, 
-2000, -700,  8000, 
-5400, -700,  4000, 
-5400, -700, -4000, 
-2000,  1300, -4000, 
 2000,  1300, -4000, 
 5400, -700, -4000, 
 5400, -700,  4000, 
 2000,  1300,  500, 
-2000,  1300,  500, 
 2000, -750,  6200, 
-2000, -750,  6200, 
 2500, -750, -2500, 
-2500, -750, -2500, 
 1500, -750, -1500, 
-1500, -750, -1500, 
 0, -700,  0, 
};

Poly p_constric[] = { 12,
 4, 1,0,8,9,
 3, 1,9,2,
 3, 0,7,8,
 3, 7,6,8,
 3, 9,3,2,
 3, 9,4,3,
 4, 8,5,4,9,
 3, 8,6,5,
 4, 6,3,4,5,
 6, 3,6,7,0,1,2,
 3, 12,10,14,
 3, 15,11,13
};

Mesh Station[52*3] = {
  16000,  0,  16000, 
  0,  16000,  16000, 
 -16000,  0,  16000, 
  0, -16000,  16000, 
  16000, -16000,  0, 
  16000,  0,  16000, 
  0, -16000,  16000, 
  16000,  0,  16000, 
  16000,  16000,  0, 
  0,  16000,  16000, 
  0,  16000,  16000, 
 -16000,  16000,  0, 
 -16000,  0,  16000, 
 -16000,  0,  16000, 
 -16000, -16000,  0, 
  0, -16000,  16000, 
  16000, -16000,  0, 
  0, -16000,  16000, 
 -16000, -16000,  0, 
  0, -16000, -16000, 
  16000,  0, -16000, 
  16000,  16000,  0, 
  16000,  0,  16000, 
  16000, -16000,  0, 
 -16000,  0, -16000, 
 -16000, -16000,  0, 
 -16000,  0,  16000, 
 -16000,  16000,  0, 
  0,  16000,  16000, 
  16000,  16000,  0, 
  0,  16000, -16000, 
 -16000,  16000,  0, 
  0, -16000, -16000, 
 -16000, -16000,  0, 
 -16000,  0, -16000, 
  0, -16000, -16000, 
  16000,  0, -16000, 
  16000, -16000,  0, 
  0,  16000, -16000, 
  16000,  16000,  0, 
  16000,  0, -16000, 
 -16000,  0, -16000, 
 -16000,  16000,  0, 
  0,  16000, -16000, 
  0, -16000, -16000, 
 -16000,  0, -16000, 
  0,  16000, -16000, 
  16000,  0, -16000, 
 -1000, -3000,  16080, 
  1000, -3000,  16080, 
  1000,  3000,  16080, 
 -1000,  3000,  16080, 
};
 
Poly p_Station[] = { 15,
  4, 0,1,2,3,
  3, 4,5,6,
  3, 7,8,9,
  3, 10,11,12,
  3, 13,14,15,
  4, 16,17,18,19,
  4, 20,21,22,23,
  4, 24,25,26,27,
  4, 28,29,30,31,
  3, 32,33,34,
  3, 35,36,37,
  3, 38,39,40,
  3, 41,42,43,
  4, 44,45,46,47,
  4, 48,49,50,51
};

Mesh Station[64*3] = {
 -8800, -12100,  19600, 
  8800, -12100,  19600, 
  14300,  4600,  19600, 
  0,  15000,  19600, 
 -14300,  4600,  19600, 
  23100,  7500,  4600, 
  14300,  19600, -4600, 
  0,  24300,  4600, 
  0,  15000,  19600, 
  14300,  4600,  19600, 
  14300, -19600,  4600, 
  23100, -7500, -4600, 
  23100,  7500,  4600, 
  14300,  4600,  19600, 
  8800, -12100,  19600, 
 -14300, -19600,  4600, 
  0, -24300, -4600, 
  14300, -19600,  4600, 
  8800, -12100,  19600, 
 -8800, -12100,  19600, 
 -23100,  7500,  4600, 
 -23100, -7500, -4600, 
 -14300, -19600,  4600, 
 -8800, -12100,  19600, 
 -14300,  4600,  19600, 
  0,  24300,  4600, 
 -14300,  19600, -4600, 
 -23100,  7500,  4600, 
 -14300,  4600,  19600, 
  0,  15000,  19600, 
  8800,  12100, -19600, 
 -8800,  12100, -19600, 
 -14300,  19600, -4600, 
  0,  24300,  4600, 
  14300,  19600, -4600, 
  14300, -4600, -19600, 
  8800,  12100, -19600, 
  14300,  19600, -4600, 
  23100,  7500,  4600, 
  23100, -7500, -4600, 
  0, -15000, -19600, 
  14300, -4600, -19600, 
  23100, -7500, -4600, 
  14300, -19600,  4600, 
  0, -24300, -4600, 
 -14300, -4600, -19600, 
  0, -15000, -19600, 
  0, -24300, -4600, 
 -14300, -19600,  4600, 
 -23100, -7500, -4600, 
 -8800,  12100, -19600, 
 -14300, -4600, -19600, 
 -23100, -7500, -4600, 
 -23100,  7500,  4600, 
 -14300,  19600, -4600, 
 -8800,  12100, -19600, 
  8800,  12100, -19600, 
  14300, -4600, -19600, 
  0, -15000, -19600, 
 -14300, -4600, -19600, 
  1600,  3200,  19650, 
 -1600,  3200,  19650, 
 -1600, -3200,  19650, 
  1600, -3200,  19650, 
};

Poly p_Station[] = { 13,
  5, 0,1,2,3,4,
  5, 5,6,7,8,9,
  5, 10,11,12,13,14,
  5, 15,16,17,18,19,
  5, 20,21,22,23,24,
  5, 25,26,27,28,29,
  5, 30,31,32,33,34,
  5, 35,36,37,38,39,
  5, 40,41,42,43,44,
  5, 45,46,47,48,49,
  5, 50,51,52,53,54,
  5, 55,56,57,58,59,
  4, 60,61,62,63
};

Mesh escape[4*3] = {
-700,  0,  3600, 
-700, -1400, -1200, 
-700,  1400, -1200, 
 2100,  0,  0, 
};

Poly p_escape[] = { 4,
 3, 2,1,0,
 3, 0,1,3,
 3, 3,2,0,
 3, 1,2,3
};

Mesh FerDeLance[19*3] = {
  0, -175,  1350, 
 -500, -175, -50, 
 -150, -175, -650, 
  150, -175, -650, 
  500, -175, -50, 
 -500,  175, -50, 
 -150,  25, -650, 
  150,  25, -650, 
  500,  175, -50, 
  0,  225, -250, 
 -38, -140,  1213, 
 -325,  115,  225, 
 -200,  185, -50, 
  38, -140,  1213, 
  325,  115,  225, 
  200,  185, -50, 
  0, -180, -250, 
 -175, -180,  550, 
  175, -180,  550, 
};

Poly p_FerDeLance[] = { 13,
  4, 5,0,8,9,
  3, 0,5,1,
  4, 2,1,5,6,
  4, 3,2,6,7,
  4, 4,3,7,8,
  3, 4,8,0,
  3, 5,9,6,
  3, 6,9,7,
  3, 7,9,8,
  5, 4,0,1,2,3,
  3, 16,18,17,
  3, 11,10,12,
  3, 15,13,14
};

Mesh gecko[16*3] = {
-1000, -400,  4700, 
 1000, -400,  4700, 
-1600,  800, -2300, 
 1600,  800, -2300, 
-6600,  0, -300, 
 6600,  0, -300, 
-2000, -1400, -2300, 
 2000, -1400, -2300, 
-800, -610,  3300, 
 800, -610,  3300, 
-800, -1310, -1600, 
 800, -1310, -1600, 
-700, -610,  3300, 
 700, -610,  3300, 
-700, -1310, -1600, 
 700, -1310, -1600, 
};

Poly p_gecko[] = { 11,
 4, 3,2,0,1,
 3, 3,1,5,
 3, 5,1,7,
 4, 1,0,6,7,
 3, 4,6,0,
 3, 0,2,4,
 3, 4,2,6,
 4, 2,3,7,6,
 3, 5,7,3,
 4, 8,10,14,12,
 4, 13,15,11,9
};

Mesh krait[29*3] = {
 0,  0,  9600, 
 0,  1800, -4800, 
 0, -1800, -4800, 
 9200,  100, -300, 
-9200,  100, -300, 
 9200,  100,  8700, 
-9200,  100,  8700, 
 0,  550,  5300, 
 0,  740,  3800, 
-1800,  750,  1900, 
 1800,  750,  1900, 
 1800,  1100, -3990, 
 1800, -1100, -3990, 
 3600,  0, -3090, 
-1800,  1100, -3990, 
-1800, -1100, -3990, 
-3600,  0, -3090, 
 9200, -100, -300, 
-9200, -100, -300, 
 9200, -100,  8700, 
-9200, -100,  8700, 
 9000,  10, -300, 
-9000,  10, -300, 
 9000,  10,  8700, 
-9000,  10,  8700, 
 9000, -100, -300, 
-9000, -100, -300, 
 9000, -100,  8700, 
-9000, -100,  8700, 
};

Poly p_krait[] = { 18,
 3, 0,3,1,
 3, 2,3,0,
 3, 0,4,2,
 3, 1,4,0,
 3, 3,2,1,
 3, 4,1,2,
 3, 12,11,13,
 3, 16,14,15,
 3, 7,10,8,
 3, 8,9,7,
 4, 4,6,24,22,
 4, 26,22,24,28,
 4, 26,28,20,18,
 4, 20,6,4,18,
 4, 21,23,5,3,
 4, 17,3,5,19,
 4, 17,19,27,25,
 4, 27,23,21,25
};

Mesh mamba[25*3] = {
 0,  0,  6400, 
-6400, -800, -3200, 
-3200,  800, -3200, 
 3200,  800, -3200, 
 6400, -800, -3200, 
-400,  401,  1600, 
 400,  401,  1600, 
 800,  301,  2800, 
-800,  301,  2800, 
-2000, -401,  1600, 
 2000, -401,  1600, 
-2400, -710, -2000, 
-1600, -710, -2000, 
 1600, -710, -2000, 
 2400, -710, -2000, 
-800,  400, -3220, 
 800,  400, -3220, 
 800, -400, -3220, 
-800, -400, -3220, 
-3200,  400, -3220, 
 3200,  400, -3220, 
 3600, -400, -3220, 
-3600, -400, -3220, 
-3800,  0, -3220, 
 3800,  0, -3220, 
};
		
Poly p_mamba[] = { 11,
 3, 1,4,0,
 3, 2,0,3,
 3, 1,0,2,
 3, 3,0,4,
 4, 1,2,3,4,
 3, 11,12,9,
 4, 17,18,15,16,
 4, 7,6,5,8,
 3, 13,14,10,
 3, 20,24,21,
 3, 22,23,19
};

Mesh missile[17*3] = {
 0,  0,  6800, 
 800,  800,  3600, 
-800,  800,  3600, 
-800, -800,  3600, 
 800, -800,  3600, 
 800,  800, -4400, 
-800,  800, -4400, 
-800, -800, -4400, 
 800, -800, -4400, 
 1200,  1200, -4400, 
-1200,  1200, -4400, 
-1200, -1200, -4400, 
 1200, -1200, -4400, 
 800,  800, -1200, 
-800,  800, -1200, 
-800, -800, -1200, 
 800, -800, -1200, 
};

Poly p_missile[] = { 17,
 3, 4,1,0,
 3, 0,1,2,
 3, 0,2,3,
 3, 0,3,4,
 4, 4,8,5,1,
 4, 5,6,2,1,
 4, 2,6,7,3,
 4, 3,7,8,4,
 4, 8,7,6,5,
 3, 5,9,13,
 3, 13,9,5,
 3, 6,10,14,
 3, 14,10,6,
 3, 7,11,15,
 3, 15,11,7,
 3, 8,12,16,
 3, 16,12,8
};

Mesh moray[18*3] = {
 1500,  0,  6500, 
-1500,  0,  6500, 
 0,  1800, -4000, 
-6000,  0,  0, 
 6000,  0,  0, 
 3000, -2700, -1000, 
-3000, -2700, -1000, 
-900, -410, -2550,  
 900, -410, -2550,  
 0, -1810, -1650,  
 1300,  310,  4900, 
 600,  0,  6500, 
-1300,  310,  4900, 
-600,  0,  6500, 
 1200,  310,  4900, 
 500,  0,  6500, 
-1200,  310,  4900, 
-500,  0,  6500, 
};

Poly p_moray[] = { 12,
 3, 0,2,1,
 3, 1,2,3,
 3, 4,2,0,
 3, 3,2,6,
 3, 6,2,5,
 3, 5,2,4,
 3, 6,1,3,
 4, 6,5,0,1,
 3, 4,0,5,
 3, 8,9,7,
 4, 14,15,11,10,
 4, 12,13,17,16
};

Mesh python[11*3] = {
 0,  0,  22400, 
 0,  4800,  4800, 
 9600,  0, -1600, 
-9600,  0, -1600, 
 0,  4800, -3200, 
 0,  2400, -11200, 
-4800,  0, -11200, 
 4800,  0, -11200, 
 0, -4800,  4800, 
 0, -4800, -3200, 
 0, -2400, -11200, 
};

Poly p_python[] = { 13,
 3, 0,1,3,
 3, 2,1,0,
 3, 0,3,8,
 3, 8,2,0,
 3, 3,1,4,
 3, 4,1,2,
 3, 3,9,8,
 3, 8,9,2,
 4, 4,5,6,3,
 4, 2,7,5,4,
 4, 9,10,7,2,
 4, 3,6,10,9,
 4, 5,7,10,6
};

Mesh shuttle[19*3] = {
 0, -1700,  2300, 
-1700,  0,  2300, 
 0,  1800,  2300, 
 1800,  0,  2300, 
-2000, -2000, -2700, 
-2000,  2000, -2700, 
 2000,  2000, -2700, 
 2000, -2000, -2700, 
 500,  0, -2740, 
 0, -200, -2740, 
-500,  0, -2740, 
 0,  300, -2740, 
 0, -900,  3500, 
 300, -100,  3100, 
 400,  1100,  2500, 
 1100,  400,  2500, 
-300, -100,  3100, 
-300,  1100,  2500, 
-1000,  400,  2500, 
};

Poly p_shuttle[] = { 16,
 3, 0,12,1,
 3, 0,4,7,
 3, 1,4,0,
 3, 1,5,4,
 3, 2,5,1,
 3, 2,6,5,
 3, 3,6,2,
 3, 3,7,6,
 3, 0,7,3,
 4, 7,4,5,6,
 3, 1,12,2,
 3, 2,12,3,
 3, 3,12,0,
 4, 11,8,9,10,
 3, 14,13,15,
 3, 18,16,17
};

Mesh sidewind[10*3] = {
-3200,  0,  3600, 
 3200,  0,  3600, 
 6400,  0, -2800, 
-6400,  0, -2800, 
 0,  1600, -2800, 
 0, -1600, -2800, 
-1200,  600, -2840, 
 1200,  600, -2840, 
 1200, -600, -2840, 
-1200, -600, -2840, 
};

Poly p_sidewind[] = { 8,
 3, 4,0,1,
 3, 4,3,0,
 3, 2,4,1,
 4, 2,5,3,4,
 3, 5,0,3,
 3, 1,0,5,
 3, 2,1,5,
 4, 8,9,6,7
};

Mesh tharglet[10*3] = {
  -900,  0,  4000, 
  -900, -3800,  1300, 
  -900, -2400, -3200, 
  -900,  2400, -3200, 
  -900,  3800,  1300, 
   900,  0, -800, 
   900, -1000, -1500, 
   900, -600, -2600, 
   900,  600, -2600, 
   900,  1000, -1500, 
};

Poly p_tharglet[] = { 7,
 5, 3,2,1,0,4,
 4, 6,5,0,1,
 4, 7,6,1,2,
 4, 8,7,2,3,
 4, 9,8,3,4,
 4, 4,0,5,9,
 5, 9,5,6,7,8
};

Mesh thargoid[20*3] = {
   400, -600,  600, 
   400, -850,  0, 
   400, -600, -600, 
   400,  0, -850, 
   400,  600, -600, 
   400,  850,  0, 
   400,  600,  600, 
   400,  0,  850, 
  -300, -1450,  1450, 
  -300, -2050,  0, 
  -300, -1450, -1450, 
  -300,  0, -2050, 
  -300,  1450, -1450, 
  -300,  2050,  0, 
  -300,  1450,  1450, 
  -300,  0,  2050, 
  -300,  800,  1000, 
  -300,  800, -1000, 
  -300, -800, -1000, 
  -300, -800,  1000, 
};

Poly p_thargoid[] = { 10,
 8, 0,1,2,3,4,5,6,7,
 4, 8,9,1,0,        
 4, 0,7,15,8,       
 4, 9,10,2,1,       
 4, 10,11,3,2,      
 4, 11,12,4,3,      
 4, 12,13,5,4,
 4, 13,14,6,5,
 4, 14,15,7,6,
 8, 15,14,13,12,11,10,9,8
};

Mesh transpor[41*3] = {
 0,  1000, -2600, 
-2500,  400, -2600, 
-2800, -300, -2600, 
-2500, -800, -2600, 
 2600, -800, -2600, 
 2900, -300, -2600, 
 2600,  400, -2600, 
 0,  600,  1200, 
-3000, -100,  1200, 
-3300, -800,  1200,  
 3300, -800,  1200, 
 3000, -100,  1200, 
-1100, -200,  3000, 
-1300, -800,  3000, 
 1400, -800,  3000, 
 1100, -200,  3000, 
-500,  600,  200, 
-1800,  300,  200, 
-500,  700, -700, 
-1800,  400, -700, 
-1100,  600, -1400, 
-1100,  500, -700, 
 500,  700, -1400, 
 1800,  400, -1400, 
 1100,  500, -700, 
 500,  600, -300, 
 1800,  300, -300, 
 1100,  400,  800, 
 1100,  500, -300, 
-1600, -810, -1300, 
-1600, -810,  1600, 
 1600, -810, -1300, 
 1600, -810,  1600, 
-1300, -300, -2640, 
 1300, -300, -2640, 
 900,  300, -2640, 
-800,  300, -2640, 
-1500, -810, -1300, 
-1500, -810,  1600, 
 1500, -810, -1300, 
 1500, -810,  1600, 
};

Poly p_transpor[] = { 17,
 7, 5,4,3,2,1,0,6,
 4, 9,8,1,2,
 3, 3,9,2,
 6, 14,13,9,3,4,10,
 3, 5,10,4,
 4, 11,10,5,6,
 4, 6,0,7,11,
 4, 8,7,0,1,
 3, 8,12,7,
 4, 13,12,8,9,
 4, 15,14,10,11,
 3, 7,15,11,
 3, 7,12,15,
 4, 15,12,13,14,
 4, 35,34,33,36,
 4, 37,38,30,29,
 4, 31,32,40,39
};

Mesh viper[15*3] = {
 0,  0,  7200, 
 0,  1600,  2400, 
 0, -1600,  2400, 
 4800,  0, -2400, 
-4800,  0, -2400, 
 2400, -1600, -2400, 
-2400, -1600, -2400, 
 2400,  1600, -2400, 
-2400,  1600, -2400, 
-3200,  0, -2420, 
 3200,  0, -2420, 
 800,  800, -2420, 
-800,  800, -2420, 
-800, -800, -2420, 
 800, -800, -2420, 
};

Poly p_viper[] = { 9,
 3, 7,8,1,
 4, 8,4,0,1,
 4, 3,7,1,0,
 4, 2,0,4,6,
 4, 0,2,5,3,
 3, 2,6,5,
 6, 4,8,7,3,5,6,
 3, 12,13,9,
 3, 10,14,11
};

Mesh worm[10*3] = {
 1000, -1000,  3500, 
-1000, -1000,  3500, 
 500,  600,  1500, 
-500,  600,  1500, 
 1500, -1000,  2500, 
-1500, -1000,  2500, 
 2600, -1000, -2500, 
-2600, -1000, -2500, 
 800,  1400, -2500, 
-800,  1400, -2500, 
};

Poly p_worm[] = { 8,
 4, 1,0,2,3,
 4, 9,3,2,8,
 3, 0,4,2,
 3, 1,3,5,
 4, 2,4,6,8,
 4, 5,3,9,7,
 4, 6,7,9,8,
 6, 4,0,1,5,7,6
};

Object Ship[28] = {
   { adder, p_adder },
   { anaconda, p_anaconda },
   { asp, p_asp },
   { Asteroid, p_Asteroid },
   { boa, p_boa },
   { boulder, p_boulder },
   { cargo, p_cargo },
   { CobraFS, p_CobraFS },
   { cobramk1, p_cobramk1 },
   { CobraMK3, p_CobraMK3 },
   { constric, p_constric },
   { Station, p_Station },
   { Station, p_Station },
   { escape, p_escape },
   { FerDeLance, p_FerDeLance },
   { gecko, p_gecko },
   { krait, p_krait },
   { mamba, p_mamba },
   { missile, p_missile },
   { moray, p_moray },
   { python, p_python },
   { shuttle, p_shuttle },
   { sidewind, p_sidewind },
   { tharglet, p_tharglet },
   { thargoid, p_thargoid },
   { transpor, p_transpor },
   { viper, p_viper },
   { worm, p_worm },
};