Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
9.6 KiB

6 years ago
  1. totwc_seg7_vertex_070070C8: # 0x070070C8 - 0x070071C8
  2. vertex 4506, -7679, 3686, 990, 990, 0xFE, 0xFF, 0xCB, 0x00
  3. vertex 3686, -7679, 3686, 0, 990, 0xFE, 0xFF, 0xCB, 0x00
  4. vertex 3686, -5119, 3686, 0, -2204, 0xFE, 0xFF, 0xCB, 0xFF
  5. vertex 4506, -5119, 3686, 990, -2204, 0xFE, 0xFF, 0xCB, 0xFF
  6. vertex 4506, -5119, -3685, 990, -2204, 0xB9, 0xD0, 0xAD, 0xFF
  7. vertex 4506, -7679, -3685, 990, 990, 0xB9, 0xD0, 0xAD, 0x00
  8. vertex 4506, -5119, -4505, 0, -2204, 0xB9, 0xD0, 0xAD, 0xFF
  9. vertex 4506, -7679, -4505, 0, 990, 0xB9, 0xD0, 0xAD, 0x00
  10. vertex 3686, -7679, -4505, 0, 990, 0xB9, 0xD0, 0xAD, 0x00
  11. vertex 3686, -7679, -3685, 990, 990, 0xB9, 0xD0, 0xAD, 0x00
  12. vertex 3686, -5119, -3685, 990, -2204, 0xB9, 0xD0, 0xAD, 0xFF
  13. vertex 3686, -5119, -4505, 0, -2204, 0xB9, 0xD0, 0xAD, 0xFF
  14. vertex -4505, -5119, 4506, 990, -2204, 0x50, 0x86, 0xA3, 0xFF
  15. vertex -4505, -7679, 4506, 990, 990, 0x50, 0x86, 0xA3, 0x00
  16. vertex -3685, -7679, 4506, 0, 990, 0x50, 0x86, 0xA3, 0x00
  17. vertex -3685, -5119, 4506, 0, -2204, 0x50, 0x86, 0xA3, 0xFF
  18. totwc_seg7_vertex_070071C8: # 0x070071C8 - 0x070072C8
  19. vertex -3685, -5119, 4506, 11210, -2204, 0x93, 0xCE, 0xD5, 0xFF
  20. vertex -3685, -7679, 3686, 10188, 990, 0x93, 0xCE, 0xD5, 0x00
  21. vertex -3685, -5119, 3686, 10188, -2204, 0x93, 0xCE, 0xD5, 0xFF
  22. vertex -3685, -7679, 4506, 11210, 990, 0x93, 0xCE, 0xD5, 0x00
  23. vertex -4505, -5119, 3686, 10188, -2204, 0x93, 0xCE, 0xD5, 0xFF
  24. vertex -4505, -7679, 3686, 10188, 990, 0x93, 0xCE, 0xD5, 0x00
  25. vertex -4505, -7679, 4506, 11210, 990, 0x93, 0xCE, 0xD5, 0x00
  26. vertex -4505, -5119, 4506, 11210, -2204, 0x93, 0xCE, 0xD5, 0xFF
  27. vertex -3685, -5119, 3686, 0, -2204, 0xC5, 0xF8, 0xFF, 0xFF
  28. vertex -4505, -7679, 3686, 990, 990, 0xC5, 0xF8, 0xFF, 0x00
  29. vertex -4505, -5119, 3686, 990, -2204, 0xC5, 0xF8, 0xFF, 0xFF
  30. vertex -3685, -7679, 3686, 0, 990, 0xC5, 0xF8, 0xFF, 0x00
  31. vertex -3685, -7679, -4505, -9228, 990, 0xC1, 0xDD, 0xFF, 0x00
  32. vertex -4505, -7679, -4505, -10250, 990, 0xC1, 0xDD, 0xFF, 0x00
  33. vertex -4505, -5119, -4505, -10250, -2204, 0xC1, 0xDD, 0xFF, 0xFF
  34. vertex -3685, -5119, -4505, -9228, -2204, 0xC1, 0xDD, 0xFF, 0xFF
  35. totwc_seg7_vertex_070072C8: # 0x070072C8 - 0x070073C8
  36. vertex 4506, -5119, -4505, 990, -2204, 0xDD, 0xFF, 0xC8, 0xFF
  37. vertex 4506, -7679, -4505, 990, 990, 0xDD, 0xFF, 0xC8, 0x00
  38. vertex 3686, -5119, -4505, 0, -2204, 0xDD, 0xFF, 0xC8, 0xFF
  39. vertex 3686, -7679, -4505, 0, 990, 0xDD, 0xFF, 0xC8, 0x00
  40. vertex 3686, -5119, 4506, 0, -2204, 0xA6, 0xA1, 0x6F, 0xFF
  41. vertex 3686, -7679, 4506, 0, 990, 0xA6, 0xA1, 0x6F, 0x00
  42. vertex 4506, -5119, 4506, 990, -2204, 0xA6, 0xA1, 0x6F, 0xFF
  43. vertex 4506, -7679, 4506, 990, 990, 0xA6, 0xA1, 0x6F, 0x00
  44. vertex -4505, -5119, -3685, -10250, -2204, 0x65, 0x7B, 0x97, 0xFF
  45. vertex -4505, -7679, -3685, -10250, 990, 0x65, 0x7B, 0x97, 0x00
  46. vertex -3685, -5119, -3685, -9228, -2204, 0x65, 0x7B, 0x97, 0xFF
  47. vertex -3685, -7679, -3685, -9228, 990, 0x65, 0x7B, 0x97, 0x00
  48. vertex 3686, -5119, -3685, 0, -2204, 0x95, 0x9E, 0x7B, 0xFF
  49. vertex 3686, -7679, -3685, 0, 990, 0x95, 0x9E, 0x7B, 0x00
  50. vertex 4506, -5119, -3685, 990, -2204, 0x95, 0x9E, 0x7B, 0xFF
  51. vertex 4506, -7679, -3685, 990, 990, 0x95, 0x9E, 0x7B, 0x00
  52. totwc_seg7_vertex_070073C8: # 0x070073C8 - 0x070074C8
  53. vertex -3685, -7679, -3685, 990, 990, 0x97, 0xA9, 0xCD, 0x00
  54. vertex -3685, -7679, -4505, 0, 990, 0x97, 0xA9, 0xCD, 0x00
  55. vertex -3685, -5119, -4505, 0, -2204, 0x97, 0xA9, 0xCD, 0xFF
  56. vertex -3685, -5119, -3685, 990, -2204, 0x97, 0xA9, 0xCD, 0xFF
  57. vertex -4505, -5119, -4505, 0, -2204, 0x97, 0xA9, 0xCD, 0xFF
  58. vertex -4505, -7679, -4505, 0, 990, 0x97, 0xA9, 0xCD, 0x00
  59. vertex -4505, -5119, -3685, 990, -2204, 0x97, 0xA9, 0xCD, 0xFF
  60. vertex -4505, -7679, -3685, 990, 990, 0x97, 0xA9, 0xCD, 0x00
  61. vertex 4506, -5119, 4506, 11210, -2204, 0xCD, 0xC4, 0x97, 0xFF
  62. vertex 4506, -7679, 4506, 11210, 990, 0xCD, 0xC4, 0x97, 0x00
  63. vertex 4506, -5119, 3686, 10188, -2204, 0xCD, 0xC4, 0x97, 0xFF
  64. vertex 4506, -7679, 3686, 10188, 990, 0xCD, 0xC4, 0x97, 0x00
  65. vertex 3686, -7679, 3686, 10188, 990, 0xCD, 0xC4, 0x97, 0x00
  66. vertex 3686, -7679, 4506, 11210, 990, 0xCD, 0xC4, 0x97, 0x00
  67. vertex 3686, -5119, 4506, 11210, -2204, 0xCD, 0xC4, 0x97, 0xFF
  68. vertex 3686, -5119, 3686, 10188, -2204, 0xCD, 0xC4, 0x97, 0xFF
  69. totwc_seg7_vertex_070074C8: # 0x070074C8 - 0x070075C8
  70. vertex -469, -7679, 1135, 350, 13700, 0x9B, 0x51, 0x20, 0x00
  71. vertex -469, -5119, 1135, 350, 7468, 0x9B, 0x51, 0x20, 0xFF
  72. vertex -1134, -5119, 470, 2638, 7468, 0x9B, 0x51, 0x20, 0xFF
  73. vertex -1134, -7679, 470, 2638, 13700, 0x9B, 0x51, 0x20, 0x00
  74. vertex 470, -7679, -1134, 2638, 13700, 0x9B, 0x51, 0x20, 0x00
  75. vertex 1135, -5119, -469, 350, 7468, 0x9B, 0x51, 0x20, 0xFF
  76. vertex 1135, -7679, -469, 350, 13700, 0x9B, 0x51, 0x20, 0x00
  77. vertex 470, -5119, -1134, 2638, 7468, 0x9B, 0x51, 0x20, 0xFF
  78. vertex 470, -7679, 1135, 346, 13700, 0x7D, 0x3E, 0x1C, 0x00
  79. vertex -469, -5119, 1135, 2636, 7468, 0x7D, 0x3E, 0x1C, 0xFF
  80. vertex -469, -7679, 1135, 2636, 13700, 0x7D, 0x3E, 0x1C, 0x00
  81. vertex 470, -5119, 1135, 346, 7468, 0x7D, 0x3E, 0x1C, 0xFF
  82. vertex 1135, -7679, -469, 2638, 13700, 0x7D, 0x3E, 0x1C, 0x00
  83. vertex 1135, -5119, 470, 350, 7468, 0x7D, 0x3E, 0x1C, 0xFF
  84. vertex 1135, -7679, 470, 350, 13700, 0x7D, 0x3E, 0x1C, 0x00
  85. vertex 1135, -5119, -469, 2638, 7468, 0x7D, 0x3E, 0x1C, 0xFF
  86. totwc_seg7_vertex_070075C8: # 0x070075C8 - 0x070076C8
  87. vertex -1134, -7679, 470, 350, 13700, 0xC3, 0x67, 0x2B, 0x00
  88. vertex -1134, -5119, 470, 350, 7468, 0xC3, 0x67, 0x2B, 0xFF
  89. vertex -1134, -5119, -469, 2638, 7468, 0xC3, 0x67, 0x2B, 0xFF
  90. vertex -1134, -7679, -469, 2638, 13700, 0xC3, 0x67, 0x2B, 0x00
  91. vertex -469, -7679, -1134, 2636, 13700, 0xC3, 0x67, 0x2B, 0x00
  92. vertex -469, -5119, -1134, 2636, 7468, 0xC3, 0x67, 0x2B, 0xFF
  93. vertex 470, -5119, -1134, 346, 7468, 0xC3, 0x67, 0x2B, 0xFF
  94. vertex 470, -7679, -1134, 346, 13700, 0xC3, 0x67, 0x2B, 0x00
  95. vertex -1134, -7679, -469, 2604, 13704, 0xE4, 0x87, 0x39, 0x00
  96. vertex -469, -5119, -1134, 330, 7468, 0xE4, 0x87, 0x39, 0xFF
  97. vertex -469, -7679, -1134, 316, 13700, 0xE4, 0x87, 0x39, 0x00
  98. vertex -1134, -5119, -469, 2620, 7474, 0xE4, 0x87, 0x39, 0xFF
  99. vertex 1135, -7679, 470, 322, 13686, 0x5D, 0x2E, 0x00, 0x00
  100. vertex 1135, -5119, 470, 338, 7454, 0x5D, 0x2E, 0x00, 0xFF
  101. vertex 470, -5119, 1135, 2626, 7460, 0x5D, 0x2E, 0x00, 0xFF
  102. vertex 470, -7679, 1135, 2612, 13692, 0x5D, 0x2E, 0x00, 0x00
  103. totwc_seg7_dl_070076C8: # 0x070076C8 - 0x07007808
  104. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, totwc_seg7_texture_07001000
  105. gsDPLoadSync
  106. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  107. gsSPVertex totwc_seg7_vertex_070070C8, 16, 0
  108. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  109. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  110. gsSP2Triangles 8, 9, 10, 0x0, 11, 8, 10, 0x0
  111. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  112. gsSPVertex totwc_seg7_vertex_070071C8, 16, 0
  113. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  114. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  115. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  116. gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
  117. gsSPVertex totwc_seg7_vertex_070072C8, 16, 0
  118. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  119. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  120. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  121. gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
  122. gsSPVertex totwc_seg7_vertex_070073C8, 16, 0
  123. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  124. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  125. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  126. gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
  127. gsSPEndDisplayList
  128. totwc_seg7_dl_07007808: # 0x07007808 - 0x070078B8
  129. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000
  130. gsDPLoadSync
  131. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  132. gsSPVertex totwc_seg7_vertex_070074C8, 16, 0
  133. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  134. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  135. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  136. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  137. gsSPVertex totwc_seg7_vertex_070075C8, 16, 0
  138. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  139. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  140. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  141. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  142. gsSPEndDisplayList
  143. glabel totwc_seg7_dl_070078B8 # 0x070078B8 - 0x07007930
  144. gsDPPipeSync
  145. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  146. gsSPClearGeometryMode G_LIGHTING
  147. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD
  148. gsSPTexture -1, -1, 0, 0, 1
  149. gsDPTileSync
  150. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  151. gsDPSetTileSize 0, 0, 0, 124, 124
  152. gsSPDisplayList totwc_seg7_dl_070076C8
  153. gsSPDisplayList totwc_seg7_dl_07007808
  154. gsSPTexture -1, -1, 0, 0, 0
  155. gsDPPipeSync
  156. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  157. gsSPSetGeometryMode G_LIGHTING
  158. gsSPEndDisplayList