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.

229 lines
13 KiB

6 years ago
  1. rr_seg7_vertex_070082C8: # 0x070082C8 - 0x070083C8
  2. vertex 620, 0, -116, 922, 1124, 0x8C, 0x8C, 0x8C, 0xFF
  3. vertex 214, 0, -521, 1872, 780, 0x8C, 0x8C, 0x8C, 0xFF
  4. vertex 272, 205, -680, 2082, 990, 0x8C, 0x8C, 0x8C, 0xFF
  5. vertex 620, 0, 347, 180, 780, 0x8C, 0x8C, 0x8C, 0xFF
  6. vertex 272, 205, 912, -462, -198, 0x8C, 0x8C, 0x8C, 0xFF
  7. vertex 214, 0, 752, -164, -172, 0x8C, 0x8C, 0x8C, 0xFF
  8. vertex 779, 205, 405, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  9. vertex -306, 205, 912, 0, -1124, 0x8C, 0x8C, 0x8C, 0xFF
  10. vertex -813, 205, 405, 1156, -1556, 0x8C, 0x8C, 0x8C, 0xFF
  11. vertex -654, 0, 347, 1132, -1258, 0x8C, 0x8C, 0x8C, 0xFF
  12. vertex -248, 0, 752, 180, -912, 0x8C, 0x8C, 0x8C, 0xFF
  13. vertex -654, 0, -116, 1872, -912, 0x8C, 0x8C, 0x8C, 0xFF
  14. vertex -813, 205, -173, 2082, -1124, 0x8C, 0x8C, 0x8C, 0xFF
  15. vertex -306, 205, -680, 2514, 64, 0x8C, 0x8C, 0x8C, 0xFF
  16. vertex -248, 0, -521, 2218, 38, 0x8C, 0x8C, 0x8C, 0xFF
  17. vertex 779, 205, -173, 894, 1420, 0x8C, 0x8C, 0x8C, 0xFF
  18. rr_seg7_vertex_070083C8: # 0x070083C8 - 0x070084C8
  19. vertex 272, 205, 912, -462, -198, 0x96, 0x96, 0x96, 0xFF
  20. vertex -306, 205, 912, 0, -1124, 0x96, 0x96, 0x96, 0xFF
  21. vertex -248, 0, 752, 180, -912, 0x96, 0x96, 0x96, 0xFF
  22. vertex 214, 0, 752, -164, -172, 0x96, 0x96, 0x96, 0xFF
  23. vertex -306, 205, -680, 2514, 64, 0x96, 0x96, 0x96, 0xFF
  24. vertex 272, 205, -680, 2082, 990, 0x96, 0x96, 0x96, 0xFF
  25. vertex -248, 0, -521, 2218, 38, 0x96, 0x96, 0x96, 0xFF
  26. vertex 214, 0, -521, 1872, 780, 0x96, 0x96, 0x96, 0xFF
  27. vertex 272, 205, -680, 2082, 990, 0xC8, 0xC8, 0xC8, 0xFF
  28. vertex -306, 205, -680, 2514, 64, 0xC8, 0xC8, 0xC8, 0xFF
  29. vertex -813, 205, -173, 2082, -1124, 0xC8, 0xC8, 0xC8, 0xFF
  30. vertex 779, 205, 405, 0, 990, 0xC8, 0xC8, 0xC8, 0xFF
  31. vertex 779, 205, -173, 894, 1420, 0xC8, 0xC8, 0xC8, 0xFF
  32. vertex -813, 205, 405, 1156, -1556, 0xC8, 0xC8, 0xC8, 0xFF
  33. vertex -306, 205, 912, 0, -1124, 0xC8, 0xC8, 0xC8, 0xFF
  34. vertex 272, 205, 912, -462, -198, 0xC8, 0xC8, 0xC8, 0xFF
  35. rr_seg7_vertex_070084C8: # 0x070084C8 - 0x070085B8
  36. vertex 317, 642, -1495, 480, 990, 0xC8, 0xC8, 0xC8, 0xFF
  37. vertex 214, 642, -1495, 224, 1244, 0xC8, 0xC8, 0xC8, 0xFF
  38. vertex 214, 642, -1393, 0, 990, 0xC8, 0xC8, 0xC8, 0xFF
  39. vertex 317, 642, -1393, 224, 734, 0xC8, 0xC8, 0xC8, 0xFF
  40. vertex -654, 0, -116, 1872, -912, 0x7D, 0x7D, 0x7D, 0xFF
  41. vertex -813, 205, 405, 1156, -1556, 0x7D, 0x7D, 0x7D, 0xFF
  42. vertex -813, 205, -173, 2082, -1124, 0x7D, 0x7D, 0x7D, 0xFF
  43. vertex -654, 0, 347, 1132, -1258, 0x7D, 0x7D, 0x7D, 0xFF
  44. vertex 620, 0, 347, 180, 780, 0x7D, 0x7D, 0x7D, 0xFF
  45. vertex 779, 205, -173, 894, 1420, 0x7D, 0x7D, 0x7D, 0xFF
  46. vertex 779, 205, 405, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  47. vertex 620, 0, -116, 922, 1124, 0x7D, 0x7D, 0x7D, 0xFF
  48. vertex 163, 437, -1239, -542, 734, 0x7D, 0x7D, 0x7D, 0xFF
  49. vertex 214, 642, -1393, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  50. vertex 112, 437, -1598, 224, 1754, 0x7D, 0x7D, 0x7D, 0xFF
  51. rr_seg7_vertex_070085B8: # 0x070085B8 - 0x070086B8
  52. vertex 419, 437, -1598, 990, 990, 0x7D, 0x7D, 0x7D, 0xFF
  53. vertex 317, 284, -1495, 480, 990, 0x7D, 0x7D, 0x7D, 0xFF
  54. vertex 214, 284, -1495, 224, 1244, 0x7D, 0x7D, 0x7D, 0xFF
  55. vertex 112, 437, -1598, 224, 1754, 0x7D, 0x7D, 0x7D, 0xFF
  56. vertex 163, 437, -1239, -542, 734, 0x7D, 0x7D, 0x7D, 0xFF
  57. vertex 317, 284, -1393, 224, 734, 0x7D, 0x7D, 0x7D, 0xFF
  58. vertex 368, 437, -1239, 0, 224, 0x7D, 0x7D, 0x7D, 0xFF
  59. vertex 214, 284, -1393, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  60. vertex 317, 642, -1393, 224, 734, 0x7D, 0x7D, 0x7D, 0xFF
  61. vertex 317, 642, -1495, 480, 990, 0x7D, 0x7D, 0x7D, 0xFF
  62. vertex 214, 642, -1393, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  63. vertex 214, 642, -1495, 224, 1244, 0x7D, 0x7D, 0x7D, 0xFF
  64. vertex 620, 0, -116, 922, 1124, 0x55, 0x55, 0x55, 0xFF
  65. vertex 620, 0, 347, 180, 780, 0x55, 0x55, 0x55, 0xFF
  66. vertex 214, 0, -521, 1872, 780, 0x55, 0x55, 0x55, 0xFF
  67. vertex 214, 0, 752, -164, -172, 0x55, 0x55, 0x55, 0xFF
  68. rr_seg7_vertex_070086B8: # 0x070086B8 - 0x07008798
  69. vertex -248, 0, 752, 180, -912, 0x55, 0x55, 0x55, 0xFF
  70. vertex -654, 0, 347, 1132, -1258, 0x55, 0x55, 0x55, 0xFF
  71. vertex 214, 0, -521, 1872, 780, 0x55, 0x55, 0x55, 0xFF
  72. vertex -654, 0, -116, 1872, -912, 0x55, 0x55, 0x55, 0xFF
  73. vertex -248, 0, -521, 2218, 38, 0x55, 0x55, 0x55, 0xFF
  74. vertex 214, 0, 752, -164, -172, 0x55, 0x55, 0x55, 0xFF
  75. vertex 317, 284, -1393, 224, 734, 0x55, 0x55, 0x55, 0xFF
  76. vertex 214, 284, -1393, 0, 990, 0x55, 0x55, 0x55, 0xFF
  77. vertex 214, 284, -1495, 224, 1244, 0x55, 0x55, 0x55, 0xFF
  78. vertex 317, 284, -1495, 480, 990, 0x55, 0x55, 0x55, 0xFF
  79. vertex 112, 437, -1598, 224, 1754, 0x64, 0x64, 0x64, 0xFF
  80. vertex 214, 284, -1393, 0, 990, 0x64, 0x64, 0x64, 0xFF
  81. vertex 163, 437, -1239, -542, 734, 0x64, 0x64, 0x64, 0xFF
  82. vertex 214, 284, -1495, 224, 1244, 0x64, 0x64, 0x64, 0xFF
  83. rr_seg7_vertex_07008798: # 0x07008798 - 0x07008858
  84. vertex 368, 437, -1239, 0, 224, 0x64, 0x64, 0x64, 0xFF
  85. vertex 317, 284, -1393, 224, 734, 0x64, 0x64, 0x64, 0xFF
  86. vertex 419, 437, -1598, 990, 990, 0x64, 0x64, 0x64, 0xFF
  87. vertex 317, 284, -1495, 480, 990, 0x64, 0x64, 0x64, 0xFF
  88. vertex 368, 437, -1239, 0, 224, 0x91, 0x91, 0x91, 0xFF
  89. vertex 214, 642, -1393, 0, 990, 0x91, 0x91, 0x91, 0xFF
  90. vertex 163, 437, -1239, -542, 734, 0x91, 0x91, 0x91, 0xFF
  91. vertex 317, 642, -1393, 224, 734, 0x91, 0x91, 0x91, 0xFF
  92. vertex 112, 437, -1598, 224, 1754, 0x91, 0x91, 0x91, 0xFF
  93. vertex 214, 642, -1495, 224, 1244, 0x91, 0x91, 0x91, 0xFF
  94. vertex 317, 642, -1495, 480, 990, 0x91, 0x91, 0x91, 0xFF
  95. vertex 419, 437, -1598, 990, 990, 0x91, 0x91, 0x91, 0xFF
  96. rr_seg7_vertex_07008858: # 0x07008858 - 0x07008958
  97. vertex -859, -741, 1479, 1500, 2520, 0x96, 0x96, 0x96, 0xFF
  98. vertex -859, -588, 1479, 1884, 2138, 0x96, 0x96, 0x96, 0xFF
  99. vertex -1474, -588, 1479, 352, 606, 0x96, 0x96, 0x96, 0xFF
  100. vertex -1474, -741, 1479, 0, 990, 0x96, 0x96, 0x96, 0xFF
  101. vertex -1474, -741, 1069, 0, 990, 0x96, 0x96, 0x96, 0xFF
  102. vertex -859, -588, 1069, 1884, 2138, 0x96, 0x96, 0x96, 0xFF
  103. vertex -859, -741, 1069, 1500, 2520, 0x96, 0x96, 0x96, 0xFF
  104. vertex -1474, -588, 1069, 352, 606, 0x96, 0x96, 0x96, 0xFF
  105. vertex -1474, -588, 1479, 0, 990, 0xC8, 0xC8, 0xC8, 0xFF
  106. vertex -859, -588, 1479, 1502, -542, 0xC8, 0xC8, 0xC8, 0xFF
  107. vertex -859, -588, 1069, 2524, 480, 0xC8, 0xC8, 0xC8, 0xFF
  108. vertex -1474, -588, 1069, 990, 2010, 0xC8, 0xC8, 0xC8, 0xFF
  109. vertex -245, -76, 1069, -25282, 9834, 0x38, 0x5E, 0x96, 0xFF
  110. vertex -245, -76, 1479, -25282, 9834, 0x38, 0x5E, 0x96, 0xFF
  111. vertex -399, -76, 1479, -24342, 9554, 0x38, 0x5E, 0x96, 0xFF
  112. vertex -399, -76, 1069, -24342, 9554, 0x38, 0x5E, 0x96, 0xFF
  113. rr_seg7_vertex_07008958: # 0x07008958 - 0x07008A58
  114. vertex -399, -76, 1479, -24342, 9554, 0x58, 0x87, 0xB9, 0xFF
  115. vertex -245, -76, 1479, -25282, 9834, 0x58, 0x87, 0xB9, 0xFF
  116. vertex -245, 77, 1479, -25004, 9694, 0x58, 0x87, 0xB9, 0xFF
  117. vertex -399, 77, 1479, -24064, 9416, 0x58, 0x87, 0xB9, 0xFF
  118. vertex -399, 77, 1069, -24064, 9416, 0x58, 0x87, 0xB9, 0xFF
  119. vertex -245, 77, 1069, -25004, 9694, 0x58, 0x87, 0xB9, 0xFF
  120. vertex -245, -76, 1069, -25282, 9834, 0x58, 0x87, 0xB9, 0xFF
  121. vertex -399, -76, 1069, -24342, 9554, 0x58, 0x87, 0xB9, 0xFF
  122. vertex -399, 77, 1069, -24064, 9416, 0x97, 0xB2, 0xCD, 0xFF
  123. vertex -245, 77, 1479, -25004, 9694, 0x97, 0xB2, 0xCD, 0xFF
  124. vertex -245, 77, 1069, -25004, 9694, 0x97, 0xB2, 0xCD, 0xFF
  125. vertex -399, 77, 1479, -24064, 9416, 0x97, 0xB2, 0xCD, 0xFF
  126. vertex -245, 77, 1069, -25004, 9694, 0x52, 0x7F, 0xAC, 0xFF
  127. vertex -245, 77, 1479, -25004, 9694, 0x52, 0x7F, 0xAC, 0xFF
  128. vertex -245, -76, 1479, -25282, 9834, 0x52, 0x7F, 0xAC, 0xFF
  129. vertex -245, -76, 1069, -25282, 9834, 0x52, 0x7F, 0xAC, 0xFF
  130. rr_seg7_vertex_07008A58: # 0x07008A58 - 0x07008B58
  131. vertex -399, -76, 1069, -24342, 9554, 0x52, 0x7F, 0xAC, 0xFF
  132. vertex -399, 77, 1479, -24064, 9416, 0x52, 0x7F, 0xAC, 0xFF
  133. vertex -399, 77, 1069, -24064, 9416, 0x52, 0x7F, 0xAC, 0xFF
  134. vertex -399, -76, 1479, -24342, 9554, 0x52, 0x7F, 0xAC, 0xFF
  135. vertex -859, -741, 1069, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  136. vertex -859, -588, 1479, 1374, 352, 0x7D, 0x7D, 0x7D, 0xFF
  137. vertex -859, -741, 1479, 990, 0, 0x7D, 0x7D, 0x7D, 0xFF
  138. vertex -859, -588, 1069, 352, 1372, 0x7D, 0x7D, 0x7D, 0xFF
  139. vertex -1474, -741, 1479, 990, 0, 0x7D, 0x7D, 0x7D, 0xFF
  140. vertex -1474, -588, 1479, 1374, 352, 0x7D, 0x7D, 0x7D, 0xFF
  141. vertex -1474, -588, 1069, 352, 1372, 0x7D, 0x7D, 0x7D, 0xFF
  142. vertex -1474, -741, 1069, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  143. vertex -859, -741, 1479, 1500, -542, 0x55, 0x55, 0x55, 0xFF
  144. vertex -1474, -741, 1069, 990, 2010, 0x55, 0x55, 0x55, 0xFF
  145. vertex -859, -741, 1069, 2522, 480, 0x55, 0x55, 0x55, 0xFF
  146. vertex -1474, -741, 1479, 0, 990, 0x55, 0x55, 0x55, 0xFF
  147. rr_seg7_dl_07008B58: # 0x07008B58 - 0x07008D28
  148. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
  149. gsDPLoadSync
  150. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  151. gsSPVertex rr_seg7_vertex_070082C8, 16, 0
  152. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  153. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  154. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  155. gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
  156. gsSPVertex rr_seg7_vertex_070083C8, 16, 0
  157. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  158. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  159. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 12, 0x0
  160. gsSP2Triangles 8, 13, 14, 0x0, 8, 15, 11, 0x0
  161. gsSP2Triangles 8, 10, 13, 0x0, 8, 14, 15, 0x0
  162. gsSPVertex rr_seg7_vertex_070084C8, 15, 0
  163. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  164. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  165. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  166. gsSP1Triangle 12, 13, 14, 0x0
  167. gsSPVertex rr_seg7_vertex_070085B8, 16, 0
  168. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  169. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  170. gsSP2Triangles 0, 8, 6, 0x0, 0, 9, 8, 0x0
  171. gsSP2Triangles 10, 11, 3, 0x0, 12, 13, 14, 0x0
  172. gsSP1Triangle 13, 15, 14, 0x0
  173. gsSPVertex rr_seg7_vertex_070086B8, 14, 0
  174. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  175. gsSP2Triangles 3, 4, 2, 0x0, 5, 0, 2, 0x0
  176. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  177. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  178. gsSPVertex rr_seg7_vertex_07008798, 12, 0
  179. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  180. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  181. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  182. gsSPEndDisplayList
  183. rr_seg7_dl_07008D28: # 0x07008D28 - 0x07008E20
  184. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  185. gsDPLoadSync
  186. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  187. gsSPVertex rr_seg7_vertex_07008858, 16, 0
  188. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  189. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  190. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  191. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  192. gsSPVertex rr_seg7_vertex_07008958, 16, 0
  193. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  194. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  195. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  196. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  197. gsSPVertex rr_seg7_vertex_07008A58, 16, 0
  198. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  199. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  200. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  201. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  202. gsSPEndDisplayList
  203. glabel rr_seg7_dl_07008E20 # 0x07008E20 - 0x07008E98
  204. gsDPPipeSync
  205. 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
  206. gsSPClearGeometryMode G_LIGHTING
  207. 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
  208. gsSPTexture -1, -1, 0, 0, 1
  209. gsDPTileSync
  210. 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
  211. gsDPSetTileSize 0, 0, 0, 124, 124
  212. gsSPDisplayList rr_seg7_dl_07008B58
  213. gsSPDisplayList rr_seg7_dl_07008D28
  214. gsSPTexture -1, -1, 0, 0, 0
  215. gsDPPipeSync
  216. 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
  217. gsSPSetGeometryMode G_LIGHTING
  218. gsSPEndDisplayList