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.

219 lines
13 KiB

6 years ago
  1. bbh_seg7_vertex_07008040: # 0x07008040 - 0x07008140
  2. vertex 435, 410, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 435, 486, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 410, 486, 10, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 410, 410, 10, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 461, 486, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 410, 486, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 435, 486, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 461, 410, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 410, 410, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 461, 410, 10, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 435, 410, 36, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 461, 486, 10, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 1638, 410, 10, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex 1613, 486, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 1613, 410, 36, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  17. vertex 1638, 486, 10, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  18. bbh_seg7_vertex_07008140: # 0x07008140 - 0x07008240
  19. vertex 1638, 410, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 1613, 410, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex 1587, 410, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex 1638, 486, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 1587, 486, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 1613, 486, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex 1613, 486, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 1587, 486, 10, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 1587, 410, 10, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 179, 1280, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 179, 1357, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 154, 1357, 10, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 154, 1280, 10, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 205, 1280, 10, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex 205, 1357, 10, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  34. vertex 179, 1280, 36, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  35. bbh_seg7_vertex_07008240: # 0x07008240 - 0x07008330
  36. vertex 205, 1357, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 154, 1357, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 179, 1357, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 205, 1280, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex 179, 1280, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 154, 1280, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 1613, 1280, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex 1613, 1357, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex 1587, 1357, 10, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 1587, 1280, 10, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 1638, 1357, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 1587, 1357, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 1613, 1357, 36, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  49. vertex 1638, 1280, 10, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  50. vertex 1587, 1280, 10, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  51. bbh_seg7_vertex_07008330: # 0x07008330 - 0x07008430
  52. vertex 1638, 1280, 10, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 1613, 1357, 36, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 1613, 1280, 36, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 1638, 1357, 10, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 2038, 461, 1485, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 2012, 461, 1459, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 2038, 461, 1434, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 2038, 538, 1485, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 2038, 538, 1434, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 2012, 538, 1459, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 2012, 538, 1459, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 2038, 538, 1434, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex 2038, 461, 1434, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  65. vertex 2038, 461, 1485, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  66. vertex 2038, 538, 1485, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 2012, 461, 1459, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  68. bbh_seg7_vertex_07008430: # 0x07008430 - 0x07008530
  69. vertex 2038, 1280, 512, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 2038, 1357, 512, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 2012, 1357, 486, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 2012, 1280, 486, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 2038, 1280, 512, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 2012, 1280, 486, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 2038, 1280, 461, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex 2038, 1357, 512, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 2038, 1357, 461, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 2012, 1357, 486, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 2038, 1357, 461, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex 2038, 1280, 461, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  81. vertex 2038, 1280, 1843, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  82. vertex 2038, 1357, 1843, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex 2012, 1357, 1818, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex 2012, 1280, 1818, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  85. bbh_seg7_vertex_07008530: # 0x07008530 - 0x07008620
  86. vertex 2012, 1280, 1818, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex 2012, 1357, 1818, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex 2038, 1357, 1792, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex 2038, 1280, 1792, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex 2038, 1357, 1843, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex 2038, 1357, 1792, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex 2012, 1357, 1818, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex 2038, 1280, 1843, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  94. vertex 2038, 1280, 1792, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  95. vertex 10, 410, 1434, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  96. vertex 36, 410, 1459, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  97. vertex 10, 410, 1485, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  98. vertex 36, 486, 1459, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  99. vertex 10, 486, 1434, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  100. vertex 10, 486, 1485, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  101. bbh_seg7_vertex_07008620: # 0x07008620 - 0x07008720
  102. vertex 10, 410, 1434, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  103. vertex 10, 486, 1434, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  104. vertex 36, 486, 1459, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  105. vertex 36, 410, 1459, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  106. vertex 36, 410, 1459, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  107. vertex 10, 486, 1485, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  108. vertex 10, 410, 1485, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  109. vertex 10, 410, 614, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  110. vertex 10, 486, 614, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  111. vertex 36, 486, 640, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  112. vertex 36, 410, 640, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  113. vertex 36, 486, 640, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  114. vertex 10, 486, 614, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  115. vertex 10, 486, 666, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  116. vertex 10, 410, 614, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  117. vertex 10, 410, 666, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  118. bbh_seg7_vertex_07008720: # 0x07008720 - 0x07008820
  119. vertex 36, 410, 640, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  120. vertex 36, 486, 640, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  121. vertex 10, 486, 666, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  122. vertex 10, 410, 666, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  123. vertex -706, 1280, 1382, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  124. vertex -680, 1280, 1408, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  125. vertex -706, 1280, 1434, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  126. vertex -680, 1357, 1408, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  127. vertex -706, 1357, 1382, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  128. vertex -706, 1357, 1434, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  129. vertex -706, 1280, 1382, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  130. vertex -680, 1357, 1408, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  131. vertex -706, 1357, 1382, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  132. vertex -680, 1280, 1408, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  133. vertex -706, 1357, 1434, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  134. vertex -706, 1280, 1434, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  135. bbh_seg7_vertex_07008820: # 0x07008820 - 0x070088E0
  136. vertex -706, 1280, 614, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  137. vertex -706, 1357, 614, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  138. vertex -680, 1357, 640, 480, 0, 0xFF, 0xFF, 0xFF, 0xFF
  139. vertex -680, 1280, 640, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  140. vertex -680, 1357, 640, 480, 990, 0xFF, 0xFF, 0xFF, 0xFF
  141. vertex -706, 1357, 614, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  142. vertex -706, 1357, 666, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  143. vertex -706, 1280, 614, 990, 480, 0xFF, 0xFF, 0xFF, 0xFF
  144. vertex -706, 1280, 666, 0, 480, 0xFF, 0xFF, 0xFF, 0xFF
  145. vertex -680, 1280, 640, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  146. vertex -706, 1357, 666, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  147. vertex -706, 1280, 666, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  148. bbh_seg7_dl_070088E0: # 0x070088E0 - 0x07008B58
  149. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006800
  150. gsDPLoadSync
  151. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  152. gsSPVertex bbh_seg7_vertex_07008040, 16, 0
  153. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  154. gsSP2Triangles 4, 5, 6, 0x0, 7, 0, 8, 0x0
  155. gsSP2Triangles 9, 1, 10, 0x0, 9, 11, 1, 0x0
  156. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  157. gsSPVertex bbh_seg7_vertex_07008140, 16, 0
  158. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  159. gsSP2Triangles 1, 6, 7, 0x0, 1, 7, 8, 0x0
  160. gsSP2Triangles 9, 10, 11, 0x0, 9, 11, 12, 0x0
  161. gsSP2Triangles 13, 14, 10, 0x0, 13, 10, 15, 0x0
  162. gsSPVertex bbh_seg7_vertex_07008240, 15, 0
  163. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  164. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  165. gsSP2Triangles 10, 11, 12, 0x0, 13, 6, 14, 0x0
  166. gsSPVertex bbh_seg7_vertex_07008330, 16, 0
  167. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  168. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  169. gsSP2Triangles 5, 10, 11, 0x0, 5, 11, 12, 0x0
  170. gsSP2Triangles 13, 14, 10, 0x0, 13, 10, 15, 0x0
  171. gsSPVertex bbh_seg7_vertex_07008430, 16, 0
  172. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  173. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  174. gsSP2Triangles 5, 2, 10, 0x0, 5, 10, 11, 0x0
  175. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  176. gsSPVertex bbh_seg7_vertex_07008530, 15, 0
  177. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  178. gsSP2Triangles 4, 5, 6, 0x0, 7, 0, 8, 0x0
  179. gsSP2Triangles 9, 10, 11, 0x0, 12, 13, 14, 0x0
  180. gsSPVertex bbh_seg7_vertex_07008620, 16, 0
  181. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  182. gsSP2Triangles 4, 2, 5, 0x0, 4, 5, 6, 0x0
  183. gsSP2Triangles 7, 8, 9, 0x0, 7, 9, 10, 0x0
  184. gsSP2Triangles 11, 12, 13, 0x0, 14, 10, 15, 0x0
  185. gsSPVertex bbh_seg7_vertex_07008720, 16, 0
  186. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  187. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  188. gsSP2Triangles 10, 11, 5, 0x0, 10, 12, 11, 0x0
  189. gsSP2Triangles 13, 14, 15, 0x0, 13, 11, 14, 0x0
  190. gsSPVertex bbh_seg7_vertex_07008820, 12, 0
  191. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  192. gsSP2Triangles 4, 5, 6, 0x0, 7, 3, 8, 0x0
  193. gsSP2Triangles 9, 2, 10, 0x0, 9, 10, 11, 0x0
  194. gsSPEndDisplayList
  195. glabel bbh_seg7_dl_07008B58 # 0x07008B58 - 0x07008BC8
  196. gsDPPipeSync
  197. 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
  198. gsSPClearGeometryMode G_LIGHTING
  199. 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
  200. gsSPTexture -1, -1, 0, 0, 1
  201. gsDPTileSync
  202. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  203. gsDPSetTileSize 0, 0, 0, 124, 124
  204. gsSPDisplayList bbh_seg7_dl_070088E0
  205. gsSPTexture -1, -1, 0, 0, 0
  206. gsDPPipeSync
  207. 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
  208. gsSPSetGeometryMode G_LIGHTING
  209. gsSPEndDisplayList