home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / robot_s2.c < prev    next >
Text File  |  1998-06-08  |  21KB  |  280 lines

  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  12. */
  13. //This file automatically generated from 3DS file <f:\3ds3\meshes\robot-s2.3ds>
  14.  
  15. //Skipping file object <'> with 0 vertices
  16.  
  17. //Skipping file object <Camera01> with 0 vertices
  18.  
  19. //Skipping file object <Light01> with 0 vertices
  20.  
  21. //Object <robot_s2> (name from file: <Object04>)
  22.  
  23. //Materials:
  24. // 0 PLANE
  25. // 1 TEXTURE_0
  26. // 2 TEXTURE_1
  27. // 3 RGB_31_0_0
  28. // 4 RGB_11_0_0
  29.  
  30. vms_vector robot_s2_vecs[] = {
  31.         {0x00000f8c,0x00001d54,0x00031850},
  32.         {0xffff3858,0x000117e3,0x0001649e},
  33.         {0xfffed9ed,0x00001d5f,0x00024c80},
  34.         {0xfffe59d2,0x00001d63,0x0001172e},
  35.         {0x00000f8c,0xffffb471,0x0001172e},
  36.         {0x00000f8c,0xffffe7c6,0xfffce7b0},
  37.         {0x0000e6c1,0x000117e3,0x0001649e},
  38.         {0x0001452d,0x00001d5f,0x00024c80},
  39.         {0x0001c548,0x00001d63,0x0001172e},
  40.         {0x0002256a,0xffff4706,0x0000f304},
  41.         {0x00022432,0xffff4678,0x00009dde},
  42.         {0x00024be0,0xffff854a,0x0000c779},
  43.         {0x000136e2,0xffffdb37,0x0000f566},
  44.         {0x000135aa,0xffffdaaa,0x0000a040},
  45.         {0x0001883f,0xffffffbf,0x0000c9dc},
  46.         {0x00014a29,0xffffec5b,0x0000ca81},
  47.         {0x000231d4,0xffff5b98,0x0000c81e},
  48.         {0xfffde7e1,0xffff48f6,0x0000f304},
  49.         {0xfffde91a,0xffff4869,0x00009dde},
  50.         {0xfffdc16b,0xffff873b,0x0000c779},
  51.         {0xfffedc33,0xffffe2f2,0x0000f566},
  52.         {0xfffedd6c,0xffffe264,0x0000a040},
  53.         {0xfffe8ad7,0x00000778,0x0000c9dc},
  54.         {0xfffec8ec,0xfffff415,0x0000ca81},
  55.         {0xfffddb78,0xffff5d88,0x0000c81e},
  56.         {0xfffdd556,0xfffee81d,0x00011cd5},
  57.         {0xfffd4ea5,0xffffd510,0x00011cd5},
  58.         {0xfffcc7f5,0xfffee81d,0x00011cd5},
  59.         {0x00021493,0xffff1505,0x0001172e},
  60.         {0x00029b44,0x000001f7,0x0001172e},
  61.         {0x0002470a,0xffff4cfe,0xfffeeab6},
  62.         {0xfffe065a,0xffff1505,0x0001172e},
  63.         {0xfffd7fa9,0x000001f7,0x0001172e},
  64.         {0xfffdd3e3,0xffff4cfe,0xfffeeab6},
  65.         {0xfffe03f0,0x00003f01,0x0001f5fa},
  66.         {0xffff2efd,0xffffcf32,0x0001f5fa},
  67.         {0xffff2efd,0xffffcf32,0x00006b1d},
  68.         {0x000227f4,0x00003f01,0x0001f5fa},
  69.         {0x0000fce7,0xffffcf32,0x0001f5fa},
  70.         {0x0000fce7,0xffffcf32,0x00006b1d},
  71.         {0x0002b3e1,0xffff336b,0x0001172e},
  72.         {0x0002f7c6,0xffff774f,0x0001172e},
  73.         {0x0002b3e1,0xffffbb34,0x0001172e},
  74.         {0x00026ffc,0xffff774f,0x0001172e},
  75.         {0x0002b3e1,0xffff336b,0x000260fc},
  76.         {0x0002f7c6,0xffff774f,0x000260fc},
  77.         {0x0002b3e1,0xffffbb34,0x000260fc},
  78.         {0x00026ffc,0xffff774f,0x000260fc},
  79.         {0xfffd6d29,0xffff336b,0x0001172e},
  80.         {0xfffdb10e,0xffff774f,0x0001172e},
  81.         {0xfffd6d29,0xffffbb34,0x0001172e},
  82.         {0xfffd2944,0xffff774f,0x0001172e},
  83.         {0xfffd6d29,0xffff336b,0x000260fc},
  84.         {0xfffdb10e,0xffff774f,0x000260fc},
  85.         {0xfffd6d29,0xffffbb34,0x000260fc},
  86.         {0xfffd2944,0xffff774f,0x000260fc},
  87.         {0xfffdf46f,0xffff1dfa,0x0001172e},
  88.         {0xfffd6dbf,0x00000aec,0x0001172e},
  89.         {0xfffce70e,0xffff1dfa,0x0001172e},
  90.         {0xfffdc1f9,0xffff55f4,0xfffeeab6},
  91.         {0x00022aaa,0xffff1dfa,0x0001172e},
  92.         {0x0002b15b,0x00000aec,0x0001172e},
  93.         {0x0003380b,0xffff1dfa,0x0001172e},
  94.         {0x00025d21,0xffff55f4,0xfffeeab6},
  95.     };
  96.  
  97. short robot_s2_faces[] = {
  98.         3,1,ST_TMAP,     0, 1, 2,    //flags=  67, normal=<-0.392551,0.700070,0.596495>, shade=-1.000000,-1
  99.         3,0,ST_TMAP,     0, 2, 4,    //flags=  37, normal=<-0.130823,-0.971320,0.198550>, shade=-1.000000,-1
  100.         3,0,ST_TMAP,     1, 3, 2,    //flags=  67, normal=<-0.756021,0.574785,0.313137>, shade=-1.000000,-1
  101.         3,0,ST_TMAP,     2, 3, 4,    //flags=  36, normal=<-0.232069,-0.967945,0.096059>, shade=-1.000000,-1
  102.         3,0,ST_TMAP,     3, 5, 4,    //flags=  b7, normal=<-0.232895,-0.971388,-0.046536>, shade=-1.000000,-1
  103.         3,1,ST_TMAP,     7, 6, 0,    //flags=  47, normal=<0.392551,0.700070,0.596495>, shade=-1.000000,-1
  104.         3,0,ST_TMAP,     4, 7, 0,    //flags=  17, normal=<0.130823,-0.971320,0.198550>, shade=-1.000000,-1
  105.         3,0,ST_TMAP,     7, 8, 6,    //flags=  47, normal=<0.756021,0.574785,0.313137>, shade=-1.000000,-1
  106.         3,0,ST_TMAP,     4, 8, 7,    //flags=  16, normal=<0.232069,-0.967944,0.096059>, shade=-1.000000,-1
  107.         3,0,ST_TMAP,     4, 5, 8,    //flags=  95, normal=<0.232895,-0.971388,-0.046536>, shade=-1.000000,-1
  108.         3,0,ST_TMAP,     6, 1, 0,    //flags=  67, normal=<0.000000,0.866875,0.498525>, shade=-1.000000,-1
  109.         3,1,ST_TMAP,     1, 6, 5,    //flags=  e7, normal=<0.000000,0.966708,-0.255883>, shade=-1.000000,-1
  110.         3,0,ST_TMAP,     3, 1, 5,    //flags=  e7, normal=<-0.663180,0.683441,-0.305124>, shade=-1.000000,-1
  111.         3,0,ST_TMAP,     6, 8, 5,    //flags=  c7, normal=<0.663180,0.683441,-0.305124>, shade=-1.000000,-1
  112.         3,0,ST_TMAP,     9,13,10,    //flags=  33, normal=<-0.527583,-0.849403,0.013086>, shade=-1.000000,-1
  113.         3,0,ST_TMAP,     9,12,13,    //flags=  36, normal=<-0.527583,-0.849403,0.013087>, shade=-1.000000,-1
  114.         3,0,ST_TMAP,    10,14,11,    //flags=  c3, normal=<0.251597,0.418935,-0.872463>, shade=-1.000000,-1
  115.         3,0,ST_TMAP,    10,13,14,    //flags=  c6, normal=<0.251522,0.418883,-0.872510>, shade=-1.000000,-1
  116.         3,0,ST_TMAP,    11,12, 9,    //flags=  43, normal=<0.276018,0.430450,0.859376>, shade=-1.000000,-1
  117.         3,0,ST_TMAP,    11,14,12,    //flags=  46, normal=<0.273919,0.420774,0.864822>, shade=-1.000000,-1
  118.         3,0,ST_TMAP,    10,16, 9,    //flags=  91, normal=<0.848016,-0.529899,-0.008725>, shade=-1.000000,-1
  119.         3,0,ST_TMAP,    11,16,10,    //flags=  91, normal=<0.848016,-0.529899,-0.008725>, shade=-1.000000,-1
  120.         3,0,ST_TMAP,     9,16,11,    //flags=  91, normal=<0.848016,-0.529899,-0.008725>, shade=-1.000000,-1
  121.         3,0,ST_TMAP,    12,15,13,    //flags=  61, normal=<-0.658761,0.752338,0.004567>, shade=-1.000000,-1
  122.         3,0,ST_TMAP,    13,15,14,    //flags=  e1, normal=<-0.291276,0.924518,-0.245813>, shade=-1.000000,-1
  123.         3,0,ST_TMAP,    14,15,12,    //flags=  61, normal=<-0.286997,0.927012,0.241417>, shade=-1.000000,-1
  124.         3,0,ST_TMAP,    18,21,17,    //flags=  15, normal=<0.533050,-0.845981,0.013142>, shade=-1.000000,-1
  125.         3,0,ST_TMAP,    21,20,17,    //flags=  16, normal=<0.533051,-0.845981,0.013143>, shade=-1.000000,-1
  126.         3,0,ST_TMAP,    19,22,18,    //flags=  e5, normal=<-0.255036,0.416784,-0.872495>, shade=-1.000000,-1
  127.         3,0,ST_TMAP,    22,21,18,    //flags=  e6, normal=<-0.253454,0.415673,-0.873485>, shade=-1.000000,-1
  128.         3,0,ST_TMAP,    17,20,19,    //flags=  65, normal=<-0.278642,0.428810,0.859349>, shade=-1.000000,-1
  129.         3,0,ST_TMAP,    20,22,19,    //flags=  66, normal=<-0.275981,0.417367,0.865817>, shade=-1.000000,-1
  130.         3,0,ST_TMAP,    17,24,18,    //flags=  b1, normal=<-0.848014,-0.529901,-0.008725>, shade=-1.000000,-1
  131.         3,0,ST_TMAP,    18,24,19,    //flags=  b1, normal=<-0.848016,-0.529899,-0.008726>, shade=-1.000000,-1
  132.         3,0,ST_TMAP,    19,24,17,    //flags=  b1, normal=<-0.848016,-0.529899,-0.008724>, shade=-1.000000,-1
  133.         3,0,ST_TMAP,    21,23,20,    //flags=  41, normal=<0.658762,0.752338,0.004567>, shade=-1.000000,-1
  134.         3,0,ST_TMAP,    22,23,21,    //flags=  c1, normal=<0.291277,0.924518,-0.245813>, shade=-1.000000,-1
  135.         3,0,ST_TMAP,    20,23,22,    //flags=  41, normal=<0.286997,0.927012,0.241417>, shade=-1.000000,-1
  136.         3,0,ST_PLANE,    27,26,25,    //flags=8487, normal=<0.000000,0.000000,-1.000000>, shade=-1.000000,-1
  137.         3,0,ST_PLANE,    30,29,28,    //flags=8417, normal=<0.868996,-0.493961,0.029117>, shade=-1.000000,-1
  138.         3,0,ST_PLANE,    31,32,33,    //flags=8437, normal=<-0.868996,-0.493961,0.029117>, shade=-1.000000,-1
  139.         3,0,ST_PLANE,    36,35,34,    //flags=8436, normal=<-0.350207,-0.936672,0.000000>, shade=-1.000000,-1
  140.         3,0,ST_PLANE,    37,38,39,    //flags=8416, normal=<0.350207,-0.936672,0.000000>, shade=-1.000000,-1
  141.         3,1,ST_FLAT,    40,41,45,    //flags=  16, normal=<0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  142.         3,1,ST_FLAT,    40,45,44,    //flags=  13, normal=<0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  143.         3,0,ST_FLAT,    41,42,46,    //flags=  c6, normal=<0.707107,0.707107,0.000000>, shade=-1.000000,-1
  144.         3,0,ST_FLAT,    41,46,45,    //flags=  c3, normal=<0.707107,0.707107,0.000000>, shade=-1.000000,-1
  145.         3,1,ST_FLAT,    42,43,47,    //flags=  e6, normal=<-0.707107,0.707107,0.000000>, shade=-1.000000,-1
  146.         3,1,ST_FLAT,    42,47,46,    //flags=  e3, normal=<-0.707107,0.707107,0.000000>, shade=-1.000000,-1
  147.         3,0,ST_FLAT,    43,40,44,    //flags=  36, normal=<-0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  148.         3,0,ST_FLAT,    43,44,47,    //flags=  33, normal=<-0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  149.         3,1,ST_FLAT,    45,46,44,    //flags=  75, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  150.         3,1,ST_FLAT,    46,47,44,    //flags=  76, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  151.         3,1,ST_FLAT,    48,49,53,    //flags=  16, normal=<0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  152.         3,1,ST_FLAT,    48,53,52,    //flags=  13, normal=<0.707107,-0.707107,0.000000>, shade=-1.000000,-1
  153.         3,0,ST_FLAT,    49,50,54,    //flags=  c6, normal=<0.707106,0.707107,0.000000>, shade=-1.000000,-1
  154.         3,0,ST_FLAT,    49,54,53,    //flags=  c3, normal=<0.707106,0.707107,0.000000>, shade=-1.000000,-1
  155.         3,1,ST_FLAT,    50,51,55,    //flags=  e6, normal=<-0.707106,0.707107,0.000000>, shade=-1.000000,-1
  156.         3,1,ST_FLAT,    50,55,54,    //flags=  e3, normal=<-0.707107,0.707107,0.000000>, shade=-1.000000,-1
  157.         3,0,ST_FLAT,    51,48,52,    //flags=  36, normal=<-0.707106,-0.707107,0.000000>, shade=-1.000000,-1
  158.         3,0,ST_FLAT,    51,52,55,    //flags=  33, normal=<-0.707106,-0.707107,0.000000>, shade=-1.000000,-1
  159.         3,1,ST_FLAT,    53,54,52,    //flags=  75, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  160.         3,1,ST_FLAT,    54,55,52,    //flags=  76, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  161.         3,0,ST_TMAP,    56,57,58,    //flags=  77, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  162.         3,0,ST_TMAP,    59,58,57,    //flags=20e7, normal=<-0.834449,0.474323,-0.280558>, shade=-1.000000,-1
  163.         3,0,ST_TMAP,    59,57,56,    //flags=  c7, normal=<0.868996,0.493961,-0.029117>, shade=-1.000000,-1
  164.         3,0,ST_TMAP,    59,56,58,    //flags=  97, normal=<0.000000,-0.994979,-0.100084>, shade=-1.000000,-1
  165.         3,0,ST_TMAP,    62,61,60,    //flags=  57, normal=<0.000000,0.000000,1.000000>, shade=-1.000000,-1
  166.         3,0,ST_TMAP,    61,62,63,    //flags=20c7, normal=<0.834449,0.474323,-0.280558>, shade=-1.000000,-1
  167.         3,0,ST_TMAP,    60,61,63,    //flags=  e7, normal=<-0.868996,0.493961,-0.029117>, shade=-1.000000,-1
  168.         3,0,ST_TMAP,    62,60,63,    //flags=  b7, normal=<0.000000,-0.994979,-0.100084>, shade=-1.000000,-1
  169.     };
  170.  
  171. uvpair robot_s2_uvs[] = {
  172.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00071e74,UVSCALE*0000000000},  {UVSCALE*0x0003b3b3,UVSCALE*0x000318da},
  173.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0004d39e,UVSCALE*0000000000},  {UVSCALE*0x0003ac66,UVSCALE*0x0005bee1},
  174.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00047a53,UVSCALE*0000000000},  {UVSCALE*0x00027de0,UVSCALE*0x0003e170},
  175.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00045bfe,UVSCALE*0000000000},  {UVSCALE*0x00022dac,UVSCALE*0x000570b6},
  176.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000f1654,UVSCALE*0000000000},  {UVSCALE*0x00023768,UVSCALE*0x00056d09},
  177.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00049c99,UVSCALE*0000000000},  {UVSCALE*0xffff5644,UVSCALE*0x0004c7e7},
  178.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0005dc37,UVSCALE*0000000000},  {UVSCALE*0x0004e910,UVSCALE*0x0004bb75},
  179.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00045bfe,UVSCALE*0000000000},  {UVSCALE*0x000251ba,UVSCALE*0x0003fc70},
  180.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0005dc74,UVSCALE*0000000000},  {UVSCALE*0x00043d31,UVSCALE*0x00040bdb},
  181.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000df7bd,UVSCALE*0000000000},  {UVSCALE*0x000010bd,UVSCALE*0x0005dc5c},
  182.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00059ab5,UVSCALE*0000000000},  {UVSCALE*0x0002cd5a,UVSCALE*0x00068b55},
  183.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00059ab5,UVSCALE*0000000000},  {UVSCALE*0x0002cd5a,UVSCALE*0x000f79ab},
  184.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00047a53,UVSCALE*0000000000},  {UVSCALE*0x000009af,UVSCALE*0x000f1651},
  185.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00047a53,UVSCALE*0000000000},  {UVSCALE*0x000470a3,UVSCALE*0x000f1651},
  186.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003d242,UVSCALE*0000000000},  {UVSCALE*0x00005272,UVSCALE*0x00010fa2},
  187.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003a817,UVSCALE*0000000000},  {UVSCALE*0x0003a82b,UVSCALE*0x00011bde},
  188.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00033472,UVSCALE*0000000000},  {UVSCALE*0x0000629b,UVSCALE*0x00010a31},
  189.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003a817,UVSCALE*0000000000},  {UVSCALE*0x000300ae,UVSCALE*0x00011ed1},
  190.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003d2c2,UVSCALE*0000000000},  {UVSCALE*0x000052e7,UVSCALE*0x00010f7e},
  191.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003015c,UVSCALE*0000000000},  {UVSCALE*0x0003a821,UVSCALE*0x00011db5},
  192.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  193.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  194.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  195.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a6da,UVSCALE*0000000000},  {UVSCALE*0x0000f10c,UVSCALE*0x000095ee},
  196.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a748,UVSCALE*0000000000},  {UVSCALE*0x000110c9,UVSCALE*0x0000bd69},
  197.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000d8cf,UVSCALE*0000000000},  {UVSCALE*0x00012897,UVSCALE*0x0000928b},
  198.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003c2ae,UVSCALE*0000000000},  {UVSCALE*0xffffffe2,UVSCALE*0x00011bde},
  199.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00011bde,UVSCALE*0000000000},  {UVSCALE*0x00011c46,UVSCALE*0x0003c2ae},
  200.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00031bf9,UVSCALE*0000000000},  {UVSCALE*0xfffffdbc,UVSCALE*0x00011bdc},
  201.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00014c19,UVSCALE*0000000000},  {UVSCALE*0xffff6b68,UVSCALE*0x00034214},
  202.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0003c2ae,UVSCALE*0000000000},  {UVSCALE*0x00000102,UVSCALE*0x00011bde},
  203.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00014ad1,UVSCALE*0000000000},  {UVSCALE*0x0002d760,UVSCALE*0x0002b228},
  204.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  205.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  206.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a3e4,UVSCALE*0000000000},  {UVSCALE*0x0000f5d6,UVSCALE*0x00008def},
  207.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a748,UVSCALE*0000000000},  {UVSCALE*0x0000f149,UVSCALE*0x0000958b},
  208.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000d8cf,UVSCALE*0000000000},  {UVSCALE*0x00012a37,UVSCALE*0x00009224},
  209.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0000a6da,UVSCALE*0000000000},  {UVSCALE*0x00010e84,UVSCALE*0x0000be6c},
  210.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x0001bbba,UVSCALE*0x00030ca0},
  211.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0007b2a3,UVSCALE*0000000000},  {UVSCALE*0x000680e4,UVSCALE*0x00035786},
  212.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x0000f555,UVSCALE*0x00073fb1},
  213.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00052436,UVSCALE*0000000000},  {UVSCALE*0x00052436,UVSCALE*0x0004283a},
  214.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0004283a,UVSCALE*0000000000},  {UVSCALE*0x0004283a,UVSCALE*0x00052436},
  215.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  216.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  217.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  218.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  219.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  220.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  221.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  222.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  223.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0000000000,UVSCALE*0x0001400d},
  224.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x0001400d},
  225.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  226.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  227.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  228.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  229.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  230.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  231.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x00044b59},
  232.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000478fd,UVSCALE*0000000000},  {UVSCALE*0x00041f86,UVSCALE*0x0001334b},
  233.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0000000000,UVSCALE*0x0001400d},
  234.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0000000000},  {UVSCALE*0x0001400d,UVSCALE*0x0001400d},
  235.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x0001bbba,UVSCALE*0x00030ca0},
  236.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0007d1fe,UVSCALE*0000000000},  {UVSCALE*0x0006e4bd,UVSCALE*0x00036cfe},
  237.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x0007b2a3,UVSCALE*0000000000},  {UVSCALE*0x000680e4,UVSCALE*0x00035786},
  238.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00074fd7,UVSCALE*0000000000},  {UVSCALE*0x0006ff26,UVSCALE*0x00037e4b},
  239.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x0001bbba,UVSCALE*0x00030ca0},
  240.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x000181b4,UVSCALE*0x00078c86},
  241.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x00038c85,UVSCALE*0000000000},  {UVSCALE*0x0000f555,UVSCALE*0x00073fb1},
  242.         {UVSCALE*0000000000,UVSCALE*0000000000},  {UVSCALE*0x000381ed,UVSCALE*0000000000},  {UVSCALE*0x0002d9b7,UVSCALE*0x00074844},
  243.     };
  244.  
  245. short robot_s2_facelist[] = {0,1,2,3,5,6,7,8,10,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,4,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,63,64,65,66,67,68,69,70,};
  246.  
  247.  
  248. bsp_node robot_s2_nodes[] = {
  249.             {1,  {0,0,0xffff0001},  {0xfffcc7f5,0xfffee81d,0x11cd5},  {1,6}},
  250.             {1,  {0xffffa659,0xffff1037,0},  {0xffff2efd,0xffffcf32,0x6b1d},  {2,5}},
  251.             {1,  {0x59a7,0xffff1037,0},  {0x227f4,0x3f01,0x1f5fa},  {3,4}},
  252.             {0,  {0,0,0},  {0,0,0},  {9,0}},
  253.             {0,  {0,0,0},  {0,0,0},  {10,9}},
  254.             {0,  {0,0,0},  {0,0,0},  {10,19}},
  255.             {1,  {0xde76,0xffff818c,0x774},  {0x2470a,0xffff4cfe,0xfffeeab6},  {7,10}},
  256.             {1,  {0xffff218a,0xffff818c,0x774},  {0xfffe065a,0xffff1505,0x1172e},  {8,9}},
  257.             {0,  {0,0,0},  {0,0,0},  {29,29}},
  258.             {0,  {0,0,0},  {0,0,0},  {4,58}},
  259.             {0,  {0,0,0},  {0,0,0},  {4,62}},
  260. };
  261.  
  262.  
  263. //Colors (packed RGB):
  264. short robot_s2_colors[] = {
  265.         0x7c00,
  266.         0x2c00,
  267.     };
  268.  
  269. polyobj robot_s2 = {
  270.         64,                    //n_verts
  271.         71,                    //n_faces
  272.         robot_s2_vecs,            //source points
  273.         robot_s2_faces,        //faces
  274.         robot_s2_facelist,    //bsp faces
  275.         robot_s2_nodes,        //bsp nodes
  276.         robot_s2_uvs,            //uv values for face verts
  277.         &robot_s2_colors,        //packed RGB values for faces
  278.         0x3d743            //radius of object
  279.     };
  280.