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.

254 lines
13 KiB

5 years ago
  1. rr_seg7_light_07019B68: # 0x07019B68 - 0x07019B70
  2. .byte 0x32, 0x32, 0x32, 0x00, 0x32, 0x32, 0x32, 0x00
  3. rr_seg7_light_07019B70: # 0x07019B70 - 0x07019B80
  4. .byte 0xC8, 0xC8, 0xC8, 0x00, 0xC8, 0xC8, 0xC8, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. rr_seg7_light_07019B80: # 0x07019B80 - 0x07019B88
  7. .byte 0x23, 0x2B, 0x14, 0x00, 0x23, 0x2B, 0x14, 0x00
  8. rr_seg7_light_07019B88: # 0x07019B88 - 0x07019B98
  9. .byte 0x8E, 0xAC, 0x52, 0x00, 0x8E, 0xAC, 0x52, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. rr_seg7_light_07019B98: # 0x07019B98 - 0x07019BA0
  12. .byte 0x1F, 0x2B, 0x14, 0x00, 0x1F, 0x2B, 0x14, 0x00
  13. rr_seg7_light_07019BA0: # 0x07019BA0 - 0x07019BB0
  14. .byte 0x7F, 0xAC, 0x52, 0x00, 0x7F, 0xAC, 0x52, 0x00
  15. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  16. rr_seg7_light_07019BB0: # 0x07019BB0 - 0x07019BB8
  17. .byte 0x2F, 0x2A, 0x0F, 0x00, 0x2F, 0x2A, 0x0F, 0x00
  18. rr_seg7_light_07019BB8: # 0x07019BB8 - 0x07019BC8
  19. .byte 0xBF, 0xAA, 0x3F, 0x00, 0xBF, 0xAA, 0x3F, 0x00
  20. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  21. rr_seg7_light_07019BC8: # 0x07019BC8 - 0x07019BD0
  22. .byte 0x14, 0x23, 0x2B, 0x00, 0x14, 0x23, 0x2B, 0x00
  23. rr_seg7_light_07019BD0: # 0x07019BD0 - 0x07019BE0
  24. .byte 0x52, 0x8E, 0xAC, 0x00, 0x52, 0x8E, 0xAC, 0x00
  25. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  26. rr_seg7_vertex_07019BE0: # 0x07019BE0 - 0x07019CD0
  27. vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
  28. vertex -387, 614, -139, 662, 2896, 0x00, 0x7F, 0x00, 0xFF
  29. vertex -387, 614, 138, 0, 2202, 0x00, 0x7F, 0x00, 0xFF
  30. vertex -387, 410, -139, 662, 2896, 0xA7, 0x00, 0xA7, 0xFF
  31. vertex -387, 614, -139, 662, 2896, 0xA7, 0x00, 0xA7, 0xFF
  32. vertex -144, 614, -382, 1876, 2896, 0xA7, 0x00, 0xA7, 0xFF
  33. vertex -144, 410, -382, 1876, 2896, 0xA7, 0x00, 0xA7, 0xFF
  34. vertex -387, 410, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
  35. vertex -387, 614, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
  36. vertex -387, 410, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
  37. vertex -144, 614, -382, 1876, 2896, 0x00, 0x7F, 0x00, 0xFF
  38. vertex -144, 410, -382, 1876, 2896, 0x00, 0x00, 0x81, 0xFF
  39. vertex -144, 614, -382, 1876, 2896, 0x00, 0x00, 0x81, 0xFF
  40. vertex 133, 614, -382, 2570, 2202, 0x00, 0x00, 0x81, 0xFF
  41. vertex 133, 410, -382, 2570, 2202, 0x00, 0x00, 0x81, 0xFF
  42. rr_seg7_vertex_07019CD0: # 0x07019CD0 - 0x07019DD0
  43. vertex 133, 410, -382, 2570, 2202, 0x59, 0x00, 0xA7, 0xFF
  44. vertex 133, 614, -382, 2570, 2202, 0x59, 0x00, 0xA7, 0xFF
  45. vertex 376, 614, -139, 2570, 990, 0x59, 0x00, 0xA7, 0xFF
  46. vertex 376, 410, -139, 2570, 990, 0x59, 0x00, 0xA7, 0xFF
  47. vertex -144, 410, 381, 0, 990, 0xA7, 0x00, 0x59, 0xFF
  48. vertex -387, 614, 138, 0, 2202, 0xA7, 0x00, 0x59, 0xFF
  49. vertex -387, 410, 138, 0, 2202, 0xA7, 0x00, 0x59, 0xFF
  50. vertex -387, 410, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
  51. vertex -387, 614, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
  52. vertex -387, 614, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
  53. vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
  54. vertex 133, 614, 381, 662, 296, 0x00, 0x7F, 0x00, 0xFF
  55. vertex 376, 614, 138, 1876, 296, 0x00, 0x7F, 0x00, 0xFF
  56. vertex -144, 614, 381, 0, 990, 0xA7, 0x00, 0x59, 0xFF
  57. vertex -144, 614, 381, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  58. vertex -387, 614, 138, 0, 2202, 0x00, 0x7F, 0x00, 0xFF
  59. rr_seg7_vertex_07019DD0: # 0x07019DD0 - 0x07019E80
  60. vertex 376, 410, 138, 1876, 296, 0x59, 0x00, 0x59, 0xFF
  61. vertex 376, 614, 138, 1876, 296, 0x59, 0x00, 0x59, 0xFF
  62. vertex 133, 614, 381, 662, 296, 0x59, 0x00, 0x59, 0xFF
  63. vertex 133, 410, 381, 662, 296, 0x59, 0x00, 0x59, 0xFF
  64. vertex 376, 410, -139, 2570, 990, 0x7F, 0x00, 0x00, 0xFF
  65. vertex 376, 614, 138, 1876, 296, 0x7F, 0x00, 0x00, 0xFF
  66. vertex 376, 410, 138, 1876, 296, 0x7F, 0x00, 0x00, 0xFF
  67. vertex 376, 614, -139, 2570, 990, 0x7F, 0x00, 0x00, 0xFF
  68. vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
  69. vertex 376, 614, 138, 1876, 296, 0x00, 0x7F, 0x00, 0xFF
  70. vertex 376, 614, -139, 2570, 990, 0x00, 0x7F, 0x00, 0xFF
  71. rr_seg7_vertex_07019E80: # 0x07019E80 - 0x07019EC0
  72. vertex 133, 410, 381, 1510, 990, 0x00, 0x00, 0x7F, 0xFF
  73. vertex -144, 614, 381, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  74. vertex -144, 410, 381, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  75. vertex 133, 614, 381, 1510, 0, 0x00, 0x00, 0x7F, 0xFF
  76. rr_seg7_vertex_07019EC0: # 0x07019EC0 - 0x07019F40
  77. vertex -1114, 461, 138, 734, 990, 0x81, 0x00, 0x00, 0xFF
  78. vertex -1114, 563, 138, 734, 480, 0x81, 0x00, 0x00, 0xFF
  79. vertex -1114, 563, -117, 224, 480, 0x81, 0x00, 0x00, 0xFF
  80. vertex -1114, 461, -117, 224, 990, 0x81, 0x00, 0x00, 0xFF
  81. vertex 1103, 461, -139, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  82. vertex 1103, 563, 138, 990, 524, 0x7F, 0x00, 0x00, 0xFF
  83. vertex 1103, 461, 138, 990, 524, 0x7F, 0x00, 0x00, 0xFF
  84. vertex 1103, 563, -139, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  85. rr_seg7_vertex_07019F40: # 0x07019F40 - 0x0701A040
  86. vertex -1114, 461, -117, -3096, 1032, 0xFD, 0x00, 0x82, 0xFF
  87. vertex -1114, 563, -117, -3096, 1032, 0xFD, 0x00, 0x82, 0xFF
  88. vertex -387, 563, -139, 990, 990, 0xFD, 0x00, 0x82, 0xFF
  89. vertex 376, 461, -139, 990, 990, 0x00, 0x00, 0x81, 0xFF
  90. vertex 376, 563, -139, 990, 990, 0x00, 0x00, 0x81, 0xFF
  91. vertex 1103, 563, -139, -3096, 1032, 0x00, 0x00, 0x81, 0xFF
  92. vertex 1103, 461, -139, -3096, 1032, 0x00, 0x00, 0x81, 0xFF
  93. vertex 1103, 461, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
  94. vertex 1103, 563, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
  95. vertex 376, 563, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  96. vertex 376, 461, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  97. vertex -387, 461, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  98. vertex -387, 563, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  99. vertex -1114, 563, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
  100. vertex -1114, 461, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
  101. vertex -387, 461, -139, 990, 990, 0xFD, 0x00, 0x82, 0xFF
  102. rr_seg7_vertex_0701A040: # 0x0701A040 - 0x0701A140
  103. vertex 376, 563, 138, -3096, 472, 0x00, 0x7F, 0x00, 0xFF
  104. vertex 1103, 563, -139, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  105. vertex 376, 563, -139, -3096, 0, 0x00, 0x7F, 0x00, 0xFF
  106. vertex -1114, 461, -117, 990, 990, 0x00, 0x81, 0x00, 0xFF
  107. vertex -387, 461, -139, -3096, 1032, 0x00, 0x81, 0x00, 0xFF
  108. vertex -387, 461, 138, -3096, 480, 0x00, 0x81, 0x00, 0xFF
  109. vertex -1114, 461, 138, 990, 480, 0x00, 0x81, 0x00, 0xFF
  110. vertex 376, 461, -139, -3096, 0, 0x00, 0x81, 0x00, 0xFF
  111. vertex 1103, 461, 138, 990, 524, 0x00, 0x81, 0x00, 0xFF
  112. vertex 376, 461, 138, -3096, 524, 0x00, 0x81, 0x00, 0xFF
  113. vertex 1103, 461, -139, 990, 0, 0x00, 0x81, 0x00, 0xFF
  114. vertex -1114, 563, 138, 1246, 480, 0x00, 0x7F, 0x00, 0xFF
  115. vertex -387, 563, 138, -2840, 480, 0x00, 0x7F, 0x00, 0xFF
  116. vertex -387, 563, -139, -2840, 982, 0x00, 0x7F, 0x00, 0xFF
  117. vertex -1114, 563, -117, 1246, 942, 0x00, 0x7F, 0x00, 0xFF
  118. vertex 1103, 563, 138, 990, 472, 0x00, 0x7F, 0x00, 0xFF
  119. rr_seg7_vertex_0701A140: # 0x0701A140 - 0x0701A230
  120. vertex 0, 0, 0, 692, -288, 0x5D, 0xAB, 0x00, 0xFF
  121. vertex 376, 410, -139, 2570, 2012, 0x5D, 0xAB, 0x00, 0xFF
  122. vertex 376, 410, 138, 2570, 2012, 0x5D, 0xAB, 0x00, 0xFF
  123. vertex 133, 410, -382, 1356, 2012, 0x43, 0xAC, 0xBD, 0xFF
  124. vertex 376, 410, -139, 2570, 2012, 0x43, 0xAC, 0xBD, 0xFF
  125. vertex 0, 0, 0, 692, -288, 0x43, 0xAC, 0xBD, 0xFF
  126. vertex 0, 0, 0, 692, -288, 0x43, 0xAC, 0x43, 0xFF
  127. vertex 376, 410, 138, 2570, 2012, 0x43, 0xAC, 0x43, 0xFF
  128. vertex 133, 410, 381, 1356, 2012, 0x43, 0xAC, 0x43, 0xFF
  129. vertex 0, 0, 0, 692, -288, 0x00, 0xAA, 0x5D, 0xFF
  130. vertex 133, 410, 381, 1356, 2012, 0x00, 0xAA, 0x5D, 0xFF
  131. vertex -144, 410, 381, 0, 2012, 0x00, 0xAA, 0x5D, 0xFF
  132. vertex 0, 0, 0, 692, -288, 0xBE, 0xAB, 0x42, 0xFF
  133. vertex -144, 410, 381, 0, 2012, 0xBE, 0xAB, 0x42, 0xFF
  134. vertex -387, 410, 138, -1244, 2012, 0xBE, 0xAB, 0x42, 0xFF
  135. rr_seg7_vertex_0701A230: # 0x0701A230 - 0x0701A2C0
  136. vertex 0, 0, 0, 692, -288, 0xA4, 0xA9, 0x00, 0xFF
  137. vertex -387, 410, 138, -1244, 2012, 0xA4, 0xA9, 0x00, 0xFF
  138. vertex -387, 410, -139, -1244, 2012, 0xA4, 0xA9, 0x00, 0xFF
  139. vertex 0, 0, 0, 692, -288, 0xBE, 0xAB, 0xBE, 0xFF
  140. vertex -387, 410, -139, -1244, 2012, 0xBE, 0xAB, 0xBE, 0xFF
  141. vertex -144, 410, -382, 0, 2012, 0xBE, 0xAB, 0xBE, 0xFF
  142. vertex 0, 0, 0, 692, -288, 0x00, 0xAA, 0xA4, 0xFF
  143. vertex -144, 410, -382, 0, 2012, 0x00, 0xAA, 0xA4, 0xFF
  144. vertex 133, 410, -382, 1356, 2012, 0x00, 0xAA, 0xA4, 0xFF
  145. rr_seg7_dl_0701A2C0: # 0x0701A2C0 - 0x0701A3A8
  146. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
  147. gsDPLoadSync
  148. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  149. gsSPLight rr_seg7_light_07019B70, 1
  150. gsSPLight rr_seg7_light_07019B68, 2
  151. gsSPVertex rr_seg7_vertex_07019BE0, 15, 0
  152. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  153. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  154. gsSP2Triangles 0, 10, 1, 0x0, 11, 12, 13, 0x0
  155. gsSP1Triangle 11, 13, 14, 0x0
  156. gsSPVertex rr_seg7_vertex_07019CD0, 16, 0
  157. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  158. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  159. gsSP2Triangles 10, 11, 12, 0x0, 4, 13, 5, 0x0
  160. gsSP2Triangles 10, 14, 11, 0x0, 10, 15, 14, 0x0
  161. gsSPVertex rr_seg7_vertex_07019DD0, 11, 0
  162. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  163. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  164. gsSP1Triangle 8, 9, 10, 0x0
  165. gsSPEndDisplayList
  166. rr_seg7_dl_0701A3A8: # 0x0701A3A8 - 0x0701A3E0
  167. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007800
  168. gsDPLoadSync
  169. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  170. gsSPVertex rr_seg7_vertex_07019E80, 4, 0
  171. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  172. gsSPEndDisplayList
  173. rr_seg7_dl_0701A3E0: # 0x0701A3E0 - 0x0701A4E8
  174. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003000
  175. gsDPLoadSync
  176. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  177. gsSPLight rr_seg7_light_07019B88, 1
  178. gsSPLight rr_seg7_light_07019B80, 2
  179. gsSPVertex rr_seg7_vertex_07019EC0, 8, 0
  180. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  181. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  182. gsSPLight rr_seg7_light_07019BA0, 1
  183. gsSPLight rr_seg7_light_07019B98, 2
  184. gsSPVertex rr_seg7_vertex_07019F40, 16, 0
  185. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  186. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  187. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  188. gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
  189. gsSPLight rr_seg7_light_07019BB8, 1
  190. gsSPLight rr_seg7_light_07019BB0, 2
  191. gsSPVertex rr_seg7_vertex_0701A040, 16, 0
  192. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  193. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  194. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  195. gsSP2Triangles 11, 13, 14, 0x0, 0, 15, 1, 0x0
  196. gsSPEndDisplayList
  197. rr_seg7_dl_0701A4E8: # 0x0701A4E8 - 0x0701A568
  198. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000
  199. gsDPLoadSync
  200. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  201. gsSPLight rr_seg7_light_07019BD0, 1
  202. gsSPLight rr_seg7_light_07019BC8, 2
  203. gsSPVertex rr_seg7_vertex_0701A140, 15, 0
  204. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  205. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  206. gsSP1Triangle 12, 13, 14, 0x0
  207. gsSPVertex rr_seg7_vertex_0701A230, 9, 0
  208. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  209. gsSP1Triangle 6, 7, 8, 0x0
  210. gsSPEndDisplayList
  211. glabel rr_seg7_dl_0701A568 # 0x0701A568 - 0x0701A608
  212. gsDPPipeSync
  213. 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
  214. gsSPClearGeometryMode G_SHADING_SMOOTH
  215. 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
  216. gsSPTexture -1, -1, 0, 0, 1
  217. gsDPTileSync
  218. 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
  219. gsDPSetTileSize 0, 0, 0, 124, 124
  220. gsSPDisplayList rr_seg7_dl_0701A2C0
  221. gsSPDisplayList rr_seg7_dl_0701A3A8
  222. gsSPDisplayList rr_seg7_dl_0701A3E0
  223. gsDPTileSync
  224. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  225. gsDPSetTileSize 0, 0, 0, 124, 252
  226. gsSPDisplayList rr_seg7_dl_0701A4E8
  227. gsSPTexture -1, -1, 0, 0, 0
  228. gsDPPipeSync
  229. 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
  230. gsSPSetGeometryMode G_SHADING_SMOOTH
  231. gsSPEndDisplayList