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.

218 lines
12 KiB

5 years ago
  1. bitdw_seg7_vertex_07004630: # 0x07004630 - 0x07004720
  2. vertex -716, 1024, 306, -302, 922, 0xFF, 0x4E, 0x00, 0xFF
  3. vertex -511, 1126, -205, -644, 786, 0xFF, 0x4E, 0x00, 0xFF
  4. vertex -716, 1024, -307, -712, 922, 0xFF, 0x4E, 0x00, 0xFF
  5. vertex -511, 1126, 204, -370, 786, 0xFF, 0x4E, 0x00, 0xFF
  6. vertex 717, 1024, -307, -712, 0, 0xFF, 0x4E, 0x00, 0xFF
  7. vertex 512, 1126, -205, -644, 104, 0xFF, 0x4E, 0x00, 0xFF
  8. vertex 512, 1126, 204, -370, 104, 0xFF, 0x4E, 0x00, 0xFF
  9. vertex 717, 1024, 306, -302, 0, 0xFF, 0x4E, 0x00, 0xFF
  10. vertex 512, 1126, 204, -370, 104, 0xFB, 0x5F, 0x19, 0xFF
  11. vertex 205, 1126, 511, -166, 308, 0xFB, 0x5F, 0x19, 0xFF
  12. vertex 307, 1024, 716, 0, 240, 0xFB, 0x5F, 0x19, 0xFF
  13. vertex 717, 1024, -307, -712, 0, 0xFB, 0x5F, 0x19, 0xFF
  14. vertex 307, 1024, -717, -984, 240, 0xFB, 0x5F, 0x19, 0xFF
  15. vertex 205, 1126, -512, -848, 308, 0xFB, 0x5F, 0x19, 0xFF
  16. vertex 512, 1126, -205, -644, 104, 0xFB, 0x5F, 0x19, 0xFF
  17. bitdw_seg7_vertex_07004720: # 0x07004720 - 0x07004810
  18. vertex -511, 1126, -205, -644, 786, 0xFB, 0x5F, 0x19, 0xFF
  19. vertex -204, 1126, -512, -848, 582, 0xFB, 0x5F, 0x19, 0xFF
  20. vertex -306, 1024, -717, -984, 650, 0xFB, 0x5F, 0x19, 0xFF
  21. vertex -716, 1024, -307, -712, 922, 0xFB, 0x5F, 0x19, 0xFF
  22. vertex -716, 1024, 306, -302, 922, 0xFB, 0x5F, 0x19, 0xFF
  23. vertex -306, 1024, 716, 0, 650, 0xFB, 0x5F, 0x19, 0xFF
  24. vertex -204, 1126, 511, -166, 582, 0xFB, 0x5F, 0x19, 0xFF
  25. vertex -511, 1126, 204, -370, 786, 0xFB, 0x5F, 0x19, 0xFF
  26. vertex 512, 1126, 204, -370, 104, 0xFB, 0x5F, 0x19, 0xFF
  27. vertex 307, 1024, 716, 0, 240, 0xFB, 0x5F, 0x19, 0xFF
  28. vertex 717, 1024, 306, -302, 0, 0xFB, 0x5F, 0x19, 0xFF
  29. vertex -204, 1126, -512, -848, 582, 0xFF, 0x7C, 0x30, 0xFF
  30. vertex 307, 1024, -717, -984, 240, 0xFF, 0x7C, 0x30, 0xFF
  31. vertex -306, 1024, -717, -984, 650, 0xFF, 0x7C, 0x30, 0xFF
  32. vertex 205, 1126, -512, -848, 308, 0xFF, 0x7C, 0x30, 0xFF
  33. bitdw_seg7_vertex_07004810: # 0x07004810 - 0x07004910
  34. vertex 205, 1126, 511, -166, 308, 0xFF, 0x7C, 0x30, 0xFF
  35. vertex -306, 1024, 716, 0, 650, 0xFF, 0x7C, 0x30, 0xFF
  36. vertex 307, 1024, 716, 0, 240, 0xFF, 0x7C, 0x30, 0xFF
  37. vertex -204, 1126, 511, -166, 582, 0xFF, 0x7C, 0x30, 0xFF
  38. vertex 307, 1024, 716, 0, 240, 0xCE, 0x35, 0x16, 0xFF
  39. vertex -306, 1024, 716, 0, 650, 0xCE, 0x35, 0x16, 0xFF
  40. vertex 205, 819, 511, -166, 308, 0xCE, 0x35, 0x16, 0xFF
  41. vertex -204, 819, 511, -166, 582, 0xCE, 0x35, 0x16, 0xFF
  42. vertex -306, 1024, -717, -984, 650, 0xCE, 0x35, 0x16, 0xFF
  43. vertex 307, 1024, -717, -984, 240, 0xCE, 0x35, 0x16, 0xFF
  44. vertex -204, 819, -512, -848, 582, 0xCE, 0x35, 0x16, 0xFF
  45. vertex 205, 819, -512, -848, 308, 0xCE, 0x35, 0x16, 0xFF
  46. vertex 717, 1024, 306, -302, 0, 0x66, 0x16, 0x00, 0xFF
  47. vertex 512, 819, 204, -370, 104, 0x66, 0x16, 0x00, 0xFF
  48. vertex 717, 1024, -307, -712, 0, 0x66, 0x16, 0x00, 0xFF
  49. vertex 512, 819, -205, -644, 104, 0x66, 0x16, 0x00, 0xFF
  50. bitdw_seg7_vertex_07004910: # 0x07004910 - 0x07004A00
  51. vertex -716, 1024, -307, -712, 922, 0x66, 0x16, 0x00, 0xFF
  52. vertex -511, 819, 204, -370, 786, 0x66, 0x16, 0x00, 0xFF
  53. vertex -716, 1024, 306, -302, 922, 0x66, 0x16, 0x00, 0xFF
  54. vertex -511, 819, -205, -644, 786, 0x66, 0x16, 0x00, 0xFF
  55. vertex -716, 1024, -307, -712, 922, 0x9E, 0x27, 0x00, 0xFF
  56. vertex -306, 1024, -717, -984, 650, 0x9E, 0x27, 0x00, 0xFF
  57. vertex -511, 819, -205, -644, 786, 0x9E, 0x27, 0x00, 0xFF
  58. vertex 717, 1024, 306, -302, 0, 0x9E, 0x27, 0x00, 0xFF
  59. vertex 307, 1024, 716, 0, 240, 0x9E, 0x27, 0x00, 0xFF
  60. vertex 512, 819, 204, -370, 104, 0x9E, 0x27, 0x00, 0xFF
  61. vertex 205, 819, 511, -166, 308, 0x9E, 0x27, 0x00, 0xFF
  62. vertex -511, 819, 204, -370, 786, 0x9E, 0x27, 0x00, 0xFF
  63. vertex -204, 819, 511, -166, 582, 0x9E, 0x27, 0x00, 0xFF
  64. vertex -716, 1024, 306, -302, 922, 0x9E, 0x27, 0x00, 0xFF
  65. vertex -306, 1024, 716, 0, 650, 0x9E, 0x27, 0x00, 0xFF
  66. bitdw_seg7_vertex_07004A00: # 0x07004A00 - 0x07004B00
  67. vertex 205, 819, -512, -848, 308, 0x9E, 0x27, 0x00, 0xFF
  68. vertex 307, 1024, -717, -984, 240, 0x9E, 0x27, 0x00, 0xFF
  69. vertex 717, 1024, -307, -712, 0, 0x9E, 0x27, 0x00, 0xFF
  70. vertex -306, 1024, -717, -984, 650, 0x9E, 0x27, 0x00, 0xFF
  71. vertex -204, 819, -512, -848, 582, 0x9E, 0x27, 0x00, 0xFF
  72. vertex -511, 819, -205, -644, 786, 0x9E, 0x27, 0x00, 0xFF
  73. vertex 512, 819, -205, -644, 104, 0x9E, 0x27, 0x00, 0xFF
  74. vertex 0, 1126, 93, 432, 944, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 0, 1536, 0, 432, 478, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex -92, 1126, 0, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 0, 1126, -92, 432, 14, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 93, 1126, 0, 898, 478, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 0, -716, -511, -26, -18, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex -511, -716, 0, -20, 1000, 0xFF, 0xFF, 0xFF, 0xFF
  81. vertex -162, 819, 0, 320, 656, 0xFF, 0xFF, 0xFF, 0xFF
  82. vertex 0, 819, 163, 638, 656, 0xFF, 0xFF, 0xFF, 0xFF
  83. bitdw_seg7_vertex_07004B00: # 0x07004B00 - 0x07004B80
  84. vertex -511, -716, 0, -20, 1000, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex 0, -716, 512, 982, 1004, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex 0, 819, 163, 638, 656, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex 512, -716, 0, 976, -14, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex 0, 819, -162, 318, 330, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex 0, -716, -511, -26, -18, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex -162, 819, 0, 320, 656, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex 163, 819, 0, 636, 332, 0xFF, 0xFF, 0xFF, 0xFF
  92. bitdw_seg7_vertex_07004B80: # 0x07004B80 - 0x07004C80
  93. vertex -204, 1126, -512, 1502, 0, 0xFE, 0xFF, 0xA8, 0xFF
  94. vertex 205, 1126, 511, 3546, 582, 0xFE, 0xFF, 0xA8, 0xFF
  95. vertex 512, 1126, 204, 5078, 0, 0xFE, 0xFF, 0xA8, 0xFF
  96. vertex 512, 1126, -205, 5078, -440, 0xFE, 0xFF, 0xA8, 0xFF
  97. vertex 205, 1126, -512, 3546, -440, 0xFE, 0xFF, 0xA8, 0xFF
  98. vertex -511, 1126, 204, 0, 990, 0xFE, 0xFF, 0xA8, 0xFF
  99. vertex -204, 1126, 511, 1502, 990, 0xFE, 0xFF, 0xA8, 0xFF
  100. vertex -511, 1126, -205, 0, 582, 0xFE, 0xFF, 0xA8, 0xFF
  101. vertex 205, 819, -512, 3546, -440, 0x5D, 0x5D, 0x00, 0xFF
  102. vertex 512, 819, -205, 5078, -440, 0x5D, 0x5D, 0x00, 0xFF
  103. vertex -204, 819, -512, 1502, 0, 0x5D, 0x5D, 0x00, 0xFF
  104. vertex 512, 819, 204, 5078, 0, 0x5D, 0x5D, 0x00, 0xFF
  105. vertex -204, 819, 511, 1502, 990, 0x5D, 0x5D, 0x00, 0xFF
  106. vertex -511, 819, 204, 0, 990, 0x5D, 0x5D, 0x00, 0xFF
  107. vertex 205, 819, 511, 3546, 582, 0x5D, 0x5D, 0x00, 0xFF
  108. vertex -511, 819, -205, 0, 582, 0x5D, 0x5D, 0x00, 0xFF
  109. bitdw_seg7_vertex_07004C80: # 0x07004C80 - 0x07004D80
  110. vertex 410, -1023, 0, 1398, -648, 0x2F, 0x49, 0x5E, 0xFF
  111. vertex 0, -1023, 410, 582, -1466, 0x2F, 0x49, 0x5E, 0xFF
  112. vertex -409, -1023, 0, -234, -648, 0x2F, 0x49, 0x5E, 0xFF
  113. vertex 0, -1023, -409, 582, 170, 0x2F, 0x49, 0x5E, 0xFF
  114. vertex -511, -716, 0, 1168, 2380, 0x3B, 0x4F, 0x67, 0xFF
  115. vertex -409, -1023, 0, 1692, 1494, 0x3B, 0x4F, 0x67, 0xFF
  116. vertex 0, -1023, 410, 246, 52, 0x3B, 0x4F, 0x67, 0xFF
  117. vertex 0, -716, 512, -638, 576, 0x3B, 0x4F, 0x67, 0xFF
  118. vertex 512, -716, 0, -1052, 990, 0x3B, 0x4F, 0x67, 0xFF
  119. vertex 0, -1023, -409, 1360, 1826, 0x3B, 0x4F, 0x67, 0xFF
  120. vertex 0, -716, -511, 752, 2794, 0x3B, 0x4F, 0x67, 0xFF
  121. vertex 410, -1023, 0, -84, 384, 0x3B, 0x4F, 0x67, 0xFF
  122. vertex 0, -716, 512, 1872, 302, 0x4E, 0x69, 0x7E, 0xFF
  123. vertex 410, -1023, 0, -458, 1222, 0x4E, 0x69, 0x7E, 0xFF
  124. vertex 512, -716, 0, 64, 2106, 0x4E, 0x69, 0x7E, 0xFF
  125. vertex 0, -1023, 410, 986, -222, 0x4E, 0x69, 0x7E, 0xFF
  126. bitdw_seg7_vertex_07004D80: # 0x07004D80 - 0x07004DC0
  127. vertex 0, -716, -511, 480, 2522, 0x4E, 0x69, 0x7E, 0xFF
  128. vertex 0, -1023, -409, -126, 1552, 0x4E, 0x69, 0x7E, 0xFF
  129. vertex -409, -1023, 0, 1318, 110, 0x4E, 0x69, 0x7E, 0xFF
  130. vertex -511, -716, 0, 2286, 716, 0x4E, 0x69, 0x7E, 0xFF
  131. bitdw_seg7_dl_07004DC0: # 0x07004DC0 - 0x07004F70
  132. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000000
  133. gsDPLoadSync
  134. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  135. gsSPVertex bitdw_seg7_vertex_07004630, 15, 0
  136. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  137. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  138. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  139. gsSP1Triangle 11, 13, 14, 0x0
  140. gsSPVertex bitdw_seg7_vertex_07004720, 15, 0
  141. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  142. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  143. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  144. gsSP1Triangle 11, 14, 12, 0x0
  145. gsSPVertex bitdw_seg7_vertex_07004810, 16, 0
  146. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  147. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  148. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  149. gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
  150. gsSPVertex bitdw_seg7_vertex_07004910, 15, 0
  151. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  152. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  153. gsSP2Triangles 8, 10, 9, 0x0, 11, 12, 13, 0x0
  154. gsSP1Triangle 12, 14, 13, 0x0
  155. gsSPVertex bitdw_seg7_vertex_07004A00, 16, 0
  156. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  157. gsSP2Triangles 6, 0, 2, 0x0, 7, 8, 9, 0x0
  158. gsSP2Triangles 8, 10, 9, 0x0, 8, 11, 10, 0x0
  159. gsSP2Triangles 11, 8, 7, 0x0, 12, 13, 14, 0x0
  160. gsSP1Triangle 13, 15, 14, 0x0
  161. gsSPVertex bitdw_seg7_vertex_07004B00, 8, 0
  162. gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 1, 0x0
  163. gsSP2Triangles 4, 5, 6, 0x0, 7, 3, 5, 0x0
  164. gsSP2Triangles 7, 5, 4, 0x0, 3, 7, 2, 0x0
  165. gsSPEndDisplayList
  166. bitdw_seg7_dl_07004F70: # 0x07004F70 - 0x07004FF8
  167. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09004800
  168. gsDPLoadSync
  169. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  170. gsSPVertex bitdw_seg7_vertex_07004B80, 16, 0
  171. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  172. gsSP2Triangles 0, 2, 3, 0x0, 0, 5, 6, 0x0
  173. gsSP2Triangles 0, 6, 1, 0x0, 0, 7, 5, 0x0
  174. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  175. gsSP2Triangles 12, 13, 10, 0x0, 11, 14, 10, 0x0
  176. gsSP2Triangles 14, 12, 10, 0x0, 13, 15, 10, 0x0
  177. gsSPEndDisplayList
  178. bitdw_seg7_dl_07004FF8: # 0x07004FF8 - 0x07005078
  179. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  180. gsDPLoadSync
  181. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  182. gsSPVertex bitdw_seg7_vertex_07004C80, 16, 0
  183. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  184. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  185. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  186. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  187. gsSPVertex bitdw_seg7_vertex_07004D80, 4, 0
  188. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  189. gsSPEndDisplayList
  190. glabel bitdw_seg7_dl_07005078 # 0x07005078 - 0x070050F8
  191. gsDPPipeSync
  192. 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
  193. gsSPClearGeometryMode G_LIGHTING
  194. 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
  195. gsSPTexture -1, -1, 0, 0, 1
  196. gsDPTileSync
  197. 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
  198. gsDPSetTileSize 0, 0, 0, 124, 124
  199. gsSPDisplayList bitdw_seg7_dl_07004DC0
  200. gsSPDisplayList bitdw_seg7_dl_07004F70
  201. gsSPDisplayList bitdw_seg7_dl_07004FF8
  202. gsSPTexture -1, -1, 0, 0, 0
  203. gsDPPipeSync
  204. 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
  205. gsSPSetGeometryMode G_LIGHTING
  206. gsSPEndDisplayList