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.

205 lines
12 KiB

5 years ago
  1. bitdw_seg7_vertex_07005C40: # 0x07005C40 - 0x07005D40
  2. vertex -153, 435, -716, 1672, -1054, 0xFF, 0xFF, 0xA8, 0xFF
  3. vertex -562, 435, -716, 308, -1054, 0xFF, 0xFF, 0xA8, 0xFF
  4. vertex -869, 435, -409, -712, -616, 0xFF, 0xFF, 0xA8, 0xFF
  5. vertex 154, 435, -409, 2694, -616, 0xFF, 0xFF, 0xA8, 0xFF
  6. vertex 154, 435, 410, 2694, 552, 0xFF, 0xFF, 0xA8, 0xFF
  7. vertex -869, 435, 410, -712, 552, 0xFF, 0xFF, 0xA8, 0xFF
  8. vertex -562, 435, 717, 308, 990, 0xFF, 0xFF, 0xA8, 0xFF
  9. vertex -153, 435, 717, 1672, 990, 0xFF, 0xFF, 0xA8, 0xFF
  10. vertex -869, 128, -409, -712, -616, 0x52, 0x70, 0xAC, 0xFF
  11. vertex 154, 128, -409, 2694, -616, 0x52, 0x70, 0xAC, 0xFF
  12. vertex 154, 128, 410, 2694, 552, 0x52, 0x70, 0xAC, 0xFF
  13. vertex -562, 128, 717, 308, 990, 0x52, 0x70, 0xAC, 0xFF
  14. vertex -869, 128, 410, -712, 552, 0x52, 0x70, 0xAC, 0xFF
  15. vertex -562, 128, -716, 308, -1054, 0x52, 0x70, 0xAC, 0xFF
  16. vertex -153, 128, -716, 1672, -1054, 0x52, 0x70, 0xAC, 0xFF
  17. vertex -153, 128, 717, 1672, 990, 0x52, 0x70, 0xAC, 0xFF
  18. bitdw_seg7_vertex_07005D40: # 0x07005D40 - 0x07005E40
  19. vertex 358, 333, -306, 1864, 160, 0x7C, 0x89, 0x79, 0xFF
  20. vertex 672, 218, -306, 1150, 490, 0x7C, 0x89, 0x79, 0xFF
  21. vertex 672, 13, -306, 808, 150, 0x7C, 0x89, 0x79, 0xFF
  22. vertex 1178, 218, -306, 308, 1328, 0x7C, 0x89, 0x79, 0xFF
  23. vertex 1178, 13, -306, 0, 990, 0x7C, 0x89, 0x79, 0xFF
  24. vertex 154, 128, -306, 1864, -522, 0x7C, 0x89, 0x79, 0xFF
  25. vertex 672, 13, 307, 808, 150, 0x7C, 0x89, 0x79, 0xFF
  26. vertex 1178, 13, 307, 0, 990, 0x7C, 0x89, 0x79, 0xFF
  27. vertex 1178, 218, 307, 308, 1328, 0x7C, 0x89, 0x79, 0xFF
  28. vertex 672, 218, 307, 1150, 490, 0x7C, 0x89, 0x79, 0xFF
  29. vertex 154, 128, 307, 1864, -522, 0x7C, 0x89, 0x79, 0xFF
  30. vertex 358, 333, 307, 1864, 160, 0x7C, 0x89, 0x79, 0xFF
  31. vertex 1178, 13, -306, 1160, 1840, 0x68, 0x7B, 0x6E, 0xFF
  32. vertex 1178, 218, -306, 1502, 1498, 0x68, 0x7B, 0x6E, 0xFF
  33. vertex 1178, 218, 307, 478, 478, 0x68, 0x7B, 0x6E, 0xFF
  34. vertex 1178, 13, 307, 138, 820, 0x68, 0x7B, 0x6E, 0xFF
  35. bitdw_seg7_vertex_07005E40: # 0x07005E40 - 0x07005F20
  36. vertex 672, 13, -306, 150, 1828, 0x38, 0x4A, 0x3D, 0xFF
  37. vertex 1178, 13, 307, 0, 0, 0x38, 0x4A, 0x3D, 0xFF
  38. vertex 672, 13, 307, -870, 808, 0x38, 0x4A, 0x3D, 0xFF
  39. vertex 154, 128, -306, -712, 2692, 0x38, 0x4A, 0x3D, 0xFF
  40. vertex 1178, 13, -306, 990, 990, 0x38, 0x4A, 0x3D, 0xFF
  41. vertex 154, 128, 307, -1734, 1670, 0x38, 0x4A, 0x3D, 0xFF
  42. vertex 672, 218, 307, -870, 808, 0xCD, 0xDF, 0xCC, 0xFF
  43. vertex 1178, 218, 307, 0, 0, 0xCD, 0xDF, 0xCC, 0xFF
  44. vertex 1178, 218, -306, 990, 990, 0xCD, 0xDF, 0xCC, 0xFF
  45. vertex 672, 218, -306, 150, 1828, 0xCD, 0xDF, 0xCC, 0xFF
  46. vertex 358, 333, 307, -1392, 1328, 0xB7, 0xCD, 0xBA, 0xFF
  47. vertex 672, 218, -306, 150, 1828, 0xB7, 0xCD, 0xBA, 0xFF
  48. vertex 358, 333, -306, -370, 2350, 0xB7, 0xCD, 0xBA, 0xFF
  49. vertex 672, 218, 307, -870, 808, 0xB7, 0xCD, 0xBA, 0xFF
  50. bitdw_seg7_vertex_07005F20: # 0x07005F20 - 0x07006010
  51. vertex -665, 333, -921, 0, 990, 0xC7, 0xEE, 0xFF, 0xFF
  52. vertex -562, 435, -716, 308, 0, 0xC7, 0xEE, 0xFF, 0xFF
  53. vertex -153, 435, -716, 990, 0, 0xC7, 0xEE, 0xFF, 0xFF
  54. vertex -50, 333, -921, 990, 990, 0xC7, 0xEE, 0xFF, 0xFF
  55. vertex -665, 333, 922, 990, 990, 0xC7, 0xEE, 0xFF, 0xFF
  56. vertex -50, 333, 922, 0, 990, 0xC7, 0xEE, 0xFF, 0xFF
  57. vertex -562, 435, 717, 820, -26, 0xC7, 0xEE, 0xFF, 0xFF
  58. vertex -153, 435, 717, 138, -26, 0xC7, 0xEE, 0xFF, 0xFF
  59. vertex -665, 333, 922, 0, 990, 0xA0, 0xD8, 0xFF, 0xFF
  60. vertex -562, 435, 717, 96, -30, 0xA0, 0xD8, 0xFF, 0xFF
  61. vertex -869, 435, 410, 862, -30, 0xA0, 0xD8, 0xFF, 0xFF
  62. vertex -562, 435, -716, 990, 0, 0xA0, 0xD8, 0xFF, 0xFF
  63. vertex -665, 333, -921, 990, 990, 0xA0, 0xD8, 0xFF, 0xFF
  64. vertex -1074, 333, -511, 0, 990, 0xA0, 0xD8, 0xFF, 0xFF
  65. vertex -869, 435, -409, 224, 0, 0xA0, 0xD8, 0xFF, 0xFF
  66. bitdw_seg7_vertex_07006010: # 0x07006010 - 0x070060F0
  67. vertex -50, 333, -921, 0, 990, 0xA0, 0xD8, 0xFF, 0xFF
  68. vertex -153, 435, -716, 96, -30, 0xA0, 0xD8, 0xFF, 0xFF
  69. vertex 154, 435, -409, 862, -30, 0xA0, 0xD8, 0xFF, 0xFF
  70. vertex 358, 333, -511, 990, 990, 0xA0, 0xD8, 0xFF, 0xFF
  71. vertex -153, 435, 717, 990, 0, 0xA0, 0xD8, 0xFF, 0xFF
  72. vertex -50, 333, 922, 990, 990, 0xA0, 0xD8, 0xFF, 0xFF
  73. vertex 358, 333, 512, 0, 990, 0xA0, 0xD8, 0xFF, 0xFF
  74. vertex 154, 435, 410, 224, 0, 0xA0, 0xD8, 0xFF, 0xFF
  75. vertex -1074, 333, 512, 990, 990, 0xA0, 0xD8, 0xFF, 0xFF
  76. vertex -665, 333, 922, 0, 990, 0xA0, 0xD8, 0xFF, 0xFF
  77. vertex -869, 435, 410, 862, -30, 0xA0, 0xD8, 0xFF, 0xFF
  78. vertex -869, 435, 410, 308, 0, 0x82, 0xC2, 0xFF, 0xFF
  79. vertex -869, 435, -409, 990, 0, 0x82, 0xC2, 0xFF, 0xFF
  80. vertex -1074, 333, -511, 990, 990, 0x82, 0xC2, 0xFF, 0xFF
  81. bitdw_seg7_vertex_070060F0: # 0x070060F0 - 0x070061E0
  82. vertex -562, 128, 717, 820, 584, 0x82, 0xC2, 0xFF, 0xFF
  83. vertex -153, 128, 717, 138, 584, 0x82, 0xC2, 0xFF, 0xFF
  84. vertex -50, 333, 922, 0, 990, 0x82, 0xC2, 0xFF, 0xFF
  85. vertex -665, 333, 922, 990, 990, 0x82, 0xC2, 0xFF, 0xFF
  86. vertex -153, 128, -716, 888, 582, 0x82, 0xC2, 0xFF, 0xFF
  87. vertex -665, 333, -921, 0, 990, 0x82, 0xC2, 0xFF, 0xFF
  88. vertex -50, 333, -921, 990, 990, 0x82, 0xC2, 0xFF, 0xFF
  89. vertex -562, 128, -716, 206, 582, 0x82, 0xC2, 0xFF, 0xFF
  90. vertex 358, 333, -511, 0, 990, 0x82, 0xC2, 0xFF, 0xFF
  91. vertex 154, 435, -409, 138, -48, 0x82, 0xC2, 0xFF, 0xFF
  92. vertex 358, 333, 512, 990, 990, 0x82, 0xC2, 0xFF, 0xFF
  93. vertex 154, 435, 410, 820, -48, 0x82, 0xC2, 0xFF, 0xFF
  94. vertex -1074, 333, 512, 0, 990, 0x82, 0xC2, 0xFF, 0xFF
  95. vertex -869, 435, 410, 308, 0, 0x82, 0xC2, 0xFF, 0xFF
  96. vertex -1074, 333, -511, 990, 990, 0x82, 0xC2, 0xFF, 0xFF
  97. bitdw_seg7_vertex_070061E0: # 0x070061E0 - 0x070062E0
  98. vertex -869, 128, 410, 862, 526, 0x69, 0xB4, 0xFF, 0xFF
  99. vertex -665, 333, 922, 0, 990, 0x69, 0xB4, 0xFF, 0xFF
  100. vertex -1074, 333, 512, 990, 990, 0x69, 0xB4, 0xFF, 0xFF
  101. vertex -562, 128, 717, 96, 526, 0x69, 0xB4, 0xFF, 0xFF
  102. vertex 358, 333, 512, 0, 990, 0x69, 0xB4, 0xFF, 0xFF
  103. vertex -153, 128, 717, 920, 526, 0x69, 0xB4, 0xFF, 0xFF
  104. vertex 154, 128, 410, 154, 526, 0x69, 0xB4, 0xFF, 0xFF
  105. vertex -50, 333, 922, 990, 990, 0x69, 0xB4, 0xFF, 0xFF
  106. vertex 154, 128, -409, 862, 526, 0x69, 0xB4, 0xFF, 0xFF
  107. vertex -153, 128, -716, 96, 526, 0x69, 0xB4, 0xFF, 0xFF
  108. vertex -50, 333, -921, 0, 990, 0x69, 0xB4, 0xFF, 0xFF
  109. vertex 358, 333, -511, 990, 990, 0x69, 0xB4, 0xFF, 0xFF
  110. vertex -1074, 333, -511, 0, 990, 0x69, 0xB4, 0xFF, 0xFF
  111. vertex -562, 128, -716, 920, 526, 0x69, 0xB4, 0xFF, 0xFF
  112. vertex -869, 128, -409, 154, 526, 0x69, 0xB4, 0xFF, 0xFF
  113. vertex -665, 333, -921, 990, 990, 0x69, 0xB4, 0xFF, 0xFF
  114. bitdw_seg7_vertex_070062E0: # 0x070062E0 - 0x07006360
  115. vertex 358, 333, 512, 0, 990, 0x5F, 0x9C, 0xFF, 0xFF
  116. vertex 154, 128, 410, 206, 582, 0x5F, 0x9C, 0xFF, 0xFF
  117. vertex 358, 333, -511, 990, 990, 0x5F, 0x9C, 0xFF, 0xFF
  118. vertex 154, 128, -409, 888, 582, 0x5F, 0x9C, 0xFF, 0xFF
  119. vertex -1074, 333, -511, 990, 990, 0x5F, 0x9C, 0xFF, 0xFF
  120. vertex -869, 128, 410, 206, 582, 0x5F, 0x9C, 0xFF, 0xFF
  121. vertex -1074, 333, 512, 0, 990, 0x5F, 0x9C, 0xFF, 0xFF
  122. vertex -869, 128, -409, 888, 582, 0x5F, 0x9C, 0xFF, 0xFF
  123. bitdw_seg7_dl_07006360: # 0x07006360 - 0x070063E8
  124. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09004800
  125. gsDPLoadSync
  126. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  127. gsSPVertex bitdw_seg7_vertex_07005C40, 16, 0
  128. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  129. gsSP2Triangles 4, 3, 2, 0x0, 5, 6, 2, 0x0
  130. gsSP2Triangles 6, 7, 2, 0x0, 7, 4, 2, 0x0
  131. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 12, 0x0
  132. gsSP2Triangles 8, 13, 14, 0x0, 8, 15, 11, 0x0
  133. gsSP2Triangles 8, 14, 9, 0x0, 8, 10, 15, 0x0
  134. gsSPEndDisplayList
  135. bitdw_seg7_dl_070063E8: # 0x070063E8 - 0x070064A8
  136. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  137. gsDPLoadSync
  138. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  139. gsSPVertex bitdw_seg7_vertex_07005D40, 16, 0
  140. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 4, 0x0
  141. gsSP2Triangles 1, 4, 2, 0x0, 0, 2, 5, 0x0
  142. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  143. gsSP2Triangles 10, 6, 9, 0x0, 10, 9, 11, 0x0
  144. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  145. gsSPVertex bitdw_seg7_vertex_07005E40, 14, 0
  146. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  147. gsSP2Triangles 0, 4, 1, 0x0, 3, 2, 5, 0x0
  148. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  149. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  150. gsSPEndDisplayList
  151. bitdw_seg7_dl_070064A8: # 0x070064A8 - 0x070065F0
  152. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07001000
  153. gsDPLoadSync
  154. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  155. gsSPVertex bitdw_seg7_vertex_07005F20, 15, 0
  156. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  157. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  158. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  159. gsSP1Triangle 14, 11, 13, 0x0
  160. gsSPVertex bitdw_seg7_vertex_07006010, 14, 0
  161. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  162. gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
  163. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  164. gsSPVertex bitdw_seg7_vertex_070060F0, 15, 0
  165. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  166. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  167. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  168. gsSP1Triangle 12, 13, 14, 0x0
  169. gsSPVertex bitdw_seg7_vertex_070061E0, 16, 0
  170. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  171. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  172. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  173. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  174. gsSPVertex bitdw_seg7_vertex_070062E0, 8, 0
  175. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  176. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  177. gsSPEndDisplayList
  178. glabel bitdw_seg7_dl_070065F0 # 0x070065F0 - 0x07006670
  179. gsDPPipeSync
  180. 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
  181. gsSPClearGeometryMode G_LIGHTING
  182. 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
  183. gsSPTexture -1, -1, 0, 0, 1
  184. gsDPTileSync
  185. 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
  186. gsDPSetTileSize 0, 0, 0, 124, 124
  187. gsSPDisplayList bitdw_seg7_dl_07006360
  188. gsSPDisplayList bitdw_seg7_dl_070063E8
  189. gsSPDisplayList bitdw_seg7_dl_070064A8
  190. gsSPTexture -1, -1, 0, 0, 0
  191. gsDPPipeSync
  192. 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
  193. gsSPSetGeometryMode G_LIGHTING
  194. gsSPEndDisplayList