OUT.C 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #include "segment.h"
  2. face Faces[] = {
  3. {
  4. 4,0,1,0, // num_vertices, tmap_num, face_type, ivert
  5. 0,0, // iuv, irgb
  6. {0x00010000, 0x00000000, 0x00000000} // normal
  7. },
  8. {
  9. 4,0,1,4, // num_vertices, tmap_num, face_type, ivert
  10. 0,0, // iuv, irgb
  11. {0x00000000, 0xffff0000, 0x00000000} // normal
  12. },
  13. {
  14. 4,0,1,8, // num_vertices, tmap_num, face_type, ivert
  15. 0,0, // iuv, irgb
  16. {0xffff0000, 0x00000000, 0x00000000} // normal
  17. },
  18. {
  19. 4,0,1,12, // num_vertices, tmap_num, face_type, ivert
  20. 0,0, // iuv, irgb
  21. {0x00000000, 0x00010000, 0x00000000} // normal
  22. },
  23. {
  24. 4,0,1,16, // num_vertices, tmap_num, face_type, ivert
  25. 0,0, // iuv, irgb
  26. {0x00000000, 0x00000000, 0xffff0000} // normal
  27. },
  28. {
  29. 4,0,1,20, // num_vertices, tmap_num, face_type, ivert
  30. 0,0, // iuv, irgb
  31. {0x00000000, 0x00000000, 0x00001000} // normal
  32. },
  33. };
  34. vms_vector Vertices[] = {
  35. {0x000a0000, 0x00190000, 0xffe70000},
  36. {0x000a0000, 0xfff10000, 0xffe70000},
  37. {0xfff60000, 0xfff10000, 0xffe70000},
  38. {0xfff60000, 0x00190000, 0xffe70000},
  39. {0x000a0000, 0x00190000, 0x00190000},
  40. {0x000a0000, 0xfff10000, 0x00190000},
  41. {0xfff60000, 0xfff10000, 0x00190000},
  42. {0xfff60000, 0x00190000, 0x00190000},
  43. };
  44. uvpair Uvs[] = {
  45. {0x00000000, 0x00000000},
  46. {0x00000000, 0x00000000},
  47. {0x00000000, 0x00000000},
  48. {0x00000000, 0x00000000},
  49. {0x00000000, 0x00000000},
  50. {0x00000000, 0x00000000},
  51. {0x00000000, 0x00000000},
  52. {0x00000000, 0x00000000},
  53. };
  54. rgb Rgbs[] = {
  55. {0x00000000, 0x00000000, 0x00000000},
  56. {0x00000000, 0x00000000, 0x00000000},
  57. {0x00000000, 0x00000000, 0x00000000},
  58. {0x00000000, 0x00000000, 0x00000000},
  59. {0x00000000, 0x00000000, 0x00000000},
  60. {0x00000000, 0x00000000, 0x00000000},
  61. {0x00000000, 0x00000000, 0x00000000},
  62. {0x00000000, 0x00000000, 0x00000000},
  63. };
  64. short Face_verts[] = {
  65. 2, 3, 7, 6,
  66. 3, 0, 4, 7,
  67. 0, 1, 5, 4,
  68. 1, 2, 6, 5,
  69. 7, 4, 5, 6,
  70. 0, 3, 2, 1,
  71. };
  72. segment Seg1 = {
  73. 0, // segnum
  74. 6, // num_faces
  75. {0xfff60000, 0xfff10000, 0xffe70000}, // vstart
  76. {0x000a0000, 0x00190000, 0x00190000}, // vend
  77. 0, // iface
  78. { -1, -1, -1, -1, -1, -1}, // children
  79. { 0, 1, 2, 3}, // fvs
  80. { 4, 5, 6, 7}, // bvs
  81. 0 // robots
  82. };
  83. ÿ