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.

186 lines
11 KiB

6 years ago
  1. lll_seg7_vertex_07024CD8: # 0x07024CD8 - 0x07024DC8
  2. vertex -2912, 4617, 781, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -2132, 5248, 2133, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -2132, 4617, 2133, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -780, 4617, -2892, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -780, 5248, -2892, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -2132, 5248, -2132, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -2132, 4617, -2132, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -2132, 4617, -2132, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -2132, 5248, -2132, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -2912, 5248, -780, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -2912, 4617, -780, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -2912, 4617, -780, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -2912, 5248, -780, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -2912, 5248, 781, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -2912, 4617, 781, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  17. lll_seg7_vertex_07024DC8: # 0x07024DC8 - 0x07024EB8
  18. vertex 781, 4617, 2913, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 2133, 5248, 2133, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 2133, 4617, 2133, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -2912, 4617, 781, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -2912, 5248, 781, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -2132, 5248, 2133, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -2132, 4617, 2133, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -2132, 5248, 2133, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -780, 5248, 2913, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -780, 4617, 2913, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -780, 4617, 2913, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -780, 5248, 2913, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 781, 5248, 2913, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 781, 4617, 2913, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 781, 5248, 2913, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. lll_seg7_vertex_07024EB8: # 0x07024EB8 - 0x07024FA8
  34. vertex 2913, 4617, -780, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 2913, 5248, -780, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 2133, 5248, -2132, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 2133, 4617, 2133, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 2133, 5248, 2133, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 2913, 5248, 781, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex 2913, 4617, 781, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 781, 4617, -2892, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 781, 5248, -2892, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -780, 5248, -2892, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -780, 4617, -2892, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 2133, 4617, -2132, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 781, 5248, -2892, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 781, 4617, -2892, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 2133, 5248, -2132, 2523, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. lll_seg7_vertex_07024FA8: # 0x07024FA8 - 0x07025098
  50. vertex -780, -204, -2912, 4567, 0, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 781, -204, -2912, -3223, 0, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 781, -101, -2912, -3223, 479, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 2913, 4617, -780, 2523, 479, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 2133, 5248, -2132, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 2133, 4617, -2132, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 2386, 5248, -475, 963, 0, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 2913, 5248, -780, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 2913, 4617, -780, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 2386, 4617, -475, 963, 479, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 2913, 4617, 781, 2012, 479, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 2913, 5248, 781, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 2386, 5248, -475, -218, 0, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 2386, 4617, -475, -218, 479, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex -780, -101, -2912, 4567, 479, 0xFF, 0xFF, 0xFF, 0xFF
  65. lll_seg7_vertex_07025098: # 0x07025098 - 0x07025188
  66. vertex -2132, -101, -2132, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex -2132, -204, -2132, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex -780, -204, -2912, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 2133, -101, 2133, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 2133, -204, 2133, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 781, -204, 2913, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 781, -101, 2913, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 2913, -101, 781, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 2913, -204, 781, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 2133, -204, 2133, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex 2133, -101, 2133, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 781, -101, -2912, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 2126, -204, -2136, -3695, 0, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 2111, -101, -2144, -3611, 479, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex 781, -204, -2912, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  81. lll_seg7_vertex_07025188: # 0x07025188 - 0x07025278
  82. vertex -2132, -101, 2133, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex -2912, -204, 781, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex -2912, -101, 781, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex -2132, -101, -2132, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex -780, -204, -2912, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex -780, -101, -2912, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex -2912, -101, -780, 4567, 479, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex -2912, -204, -780, 4567, 0, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex -2132, -204, -2132, -3223, 0, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex -2132, -101, -2132, -3223, 479, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex -2912, -101, 781, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex -2912, -204, 781, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  94. vertex -2912, -204, -780, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  95. vertex -2912, -101, -780, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  96. vertex -2132, -204, 2133, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  97. lll_seg7_vertex_07025278: # 0x07025278 - 0x07025378
  98. vertex 1966, -204, -1704, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  99. vertex 2111, -101, -2144, 2162, 479, 0xFF, 0xFF, 0xFF, 0xFF
  100. vertex 2126, -204, -2136, 2162, 0, 0xFF, 0xFF, 0xFF, 0xFF
  101. vertex -780, -101, 2913, 4056, 479, 0xFF, 0xFF, 0xFF, 0xFF
  102. vertex -780, -204, 2913, 4056, 0, 0xFF, 0xFF, 0xFF, 0xFF
  103. vertex -2132, -204, 2133, -3734, 0, 0xFF, 0xFF, 0xFF, 0xFF
  104. vertex -2132, -101, 2133, -3734, 479, 0xFF, 0xFF, 0xFF, 0xFF
  105. vertex 781, -101, 2913, 4567, 479, 0xFF, 0xFF, 0xFF, 0xFF
  106. vertex 781, -204, 2913, 4567, 0, 0xFF, 0xFF, 0xFF, 0xFF
  107. vertex -780, -204, 2913, -3223, 0, 0xFF, 0xFF, 0xFF, 0xFF
  108. vertex -780, -101, 2913, -3223, 479, 0xFF, 0xFF, 0xFF, 0xFF
  109. vertex 1936, -101, -1692, -90, 479, 0xFF, 0xFF, 0xFF, 0xFF
  110. vertex 2576, -204, -686, -5111, 0, 0xFF, 0xFF, 0xFF, 0xFF
  111. vertex 2913, -204, 781, -5312, 0, 0xFF, 0xFF, 0xFF, 0xFF
  112. vertex 2571, -101, -655, 1857, 479, 0xFF, 0xFF, 0xFF, 0xFF
  113. vertex 2576, -204, -686, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  114. lll_seg7_vertex_07025378: # 0x07025378 - 0x070253D8
  115. vertex 2576, -204, -686, -5111, 0, 0xFF, 0xFF, 0xFF, 0xFF
  116. vertex 2571, -101, -655, -5265, 479, 0xFF, 0xFF, 0xFF, 0xFF
  117. vertex 1936, -101, -1692, -90, 479, 0xFF, 0xFF, 0xFF, 0xFF
  118. vertex 2913, -204, 781, -5312, 0, 0xFF, 0xFF, 0xFF, 0xFF
  119. vertex 2913, -101, 781, -5312, 479, 0xFF, 0xFF, 0xFF, 0xFF
  120. vertex 2571, -101, -655, 1857, 479, 0xFF, 0xFF, 0xFF, 0xFF
  121. lll_seg7_dl_070253D8: # 0x070253D8 - 0x070255D8
  122. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700D200
  123. gsDPLoadSync
  124. gsDPLoadBlock 7, 0, 0, 0x0FF, 0x200
  125. gsSPVertex lll_seg7_vertex_07024CD8, 15, 0
  126. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  127. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  128. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  129. gsSP1Triangle 11, 13, 14, 0x0
  130. gsSPVertex lll_seg7_vertex_07024DC8, 15, 0
  131. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  132. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  133. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  134. gsSP1Triangle 0, 14, 1, 0x0
  135. gsSPVertex lll_seg7_vertex_07024EB8, 15, 0
  136. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  137. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  138. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  139. gsSP1Triangle 11, 14, 12, 0x0
  140. gsSPVertex lll_seg7_vertex_07024FA8, 15, 0
  141. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  142. gsSP2Triangles 6, 7, 8, 0x0, 9, 6, 8, 0x0
  143. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  144. gsSP1Triangle 0, 2, 14, 0x0
  145. gsSPVertex lll_seg7_vertex_07025098, 15, 0
  146. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  147. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  148. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  149. gsSP1Triangle 11, 14, 12, 0x0
  150. gsSPVertex lll_seg7_vertex_07025188, 15, 0
  151. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  152. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  153. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  154. gsSP1Triangle 0, 14, 1, 0x0
  155. gsSPVertex lll_seg7_vertex_07025278, 16, 0
  156. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  157. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  158. gsSP2Triangles 7, 9, 10, 0x0, 0, 11, 1, 0x0
  159. gsSP2Triangles 12, 11, 0, 0x0, 13, 14, 15, 0x0
  160. gsSPVertex lll_seg7_vertex_07025378, 6, 0
  161. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  162. gsSPEndDisplayList
  163. glabel lll_seg7_dl_070255D8 # 0x070255D8 - 0x07025648
  164. gsDPPipeSync
  165. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  166. gsSPClearGeometryMode G_LIGHTING
  167. gsDPSetTile G_IM_FMT_IA, 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
  168. gsSPTexture -1, -1, 0, 0, 1
  169. gsDPTileSync
  170. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 4, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 4, G_TX_NOLOD
  171. gsDPSetTileSize 0, 0, 0, 60, 60
  172. gsSPDisplayList lll_seg7_dl_070253D8
  173. gsSPTexture -1, -1, 0, 0, 0
  174. gsDPPipeSync
  175. 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
  176. gsSPSetGeometryMode G_LIGHTING
  177. gsSPEndDisplayList