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.

202 lines
11 KiB

6 years ago
  1. wf_seg7_vertex_07006898: # 0x07006898 - 0x07006988
  2. vertex -2508, 1024, 4096, 1500, 480, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -2508, 1152, 4096, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -1023, 1152, 4096, -5140, 6098, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -1023, 1024, 4096, -4630, 6610, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -1535, 2560, 1536, -5304, -4284, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -2047, 2662, 512, 918, 918, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -1535, 2662, 1536, -4792, -4794, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -2047, 2560, 512, 408, 1428, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -273, 2560, -2833, 480, 1500, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 1536, 2560, -1023, 13254, -11274, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 1536, 2662, -1023, 12744, -11786, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -273, 2662, -2833, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 3120, 4096, 330, 2524, 994, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex 2881, 4352, 468, 1502, -66, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 2881, 4096, 468, 1502, 994, 0xFF, 0xFF, 0xFF, 0xFF
  17. wf_seg7_vertex_07006988: # 0x07006988 - 0x07006A68
  18. vertex 3226, 2432, 0, -132, 1090, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 2560, 2304, 0, 3034, -1054, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 3226, 2304, 0, 376, 1602, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex 2560, 2432, 0, 2524, -1566, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex 2048, 2688, 0, 3546, -4632, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 2048, 2560, 0, 4056, -4120, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 2048, 2560, 1024, -3096, 5076, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex 2048, 2560, 0, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 2048, 2688, 0, 478, 478, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 2048, 2688, 1024, -3606, 4566, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 2881, 4096, 468, 1502, 994, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 2641, 4352, 330, 480, -66, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 2641, 4096, 330, 480, 994, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 2881, 4352, 468, 1502, -66, 0xFF, 0xFF, 0xFF, 0xFF
  32. wf_seg7_vertex_07006A68: # 0x07006A68 - 0x07006B58
  33. vertex -2047, 2662, -2409, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  34. vertex -2047, 2560, -1023, -5966, 7946, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex -2047, 2560, -2409, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 2641, 4096, 330, 6612, 994, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 2641, 4352, 330, 6612, -66, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 2641, 4352, 54, 5590, -66, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 2641, 4096, 54, 5590, 994, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex 2881, 4352, -83, 4568, -66, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 2881, 4096, -83, 4568, 994, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 3120, 4352, 54, 3546, -66, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex 3120, 4096, 54, 3546, 994, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex 3120, 4352, 330, 2524, -66, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 3120, 4096, 330, 2524, 994, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 2881, 4352, 468, 1502, -66, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -2047, 2662, -1023, -6476, 7434, 0xFF, 0xFF, 0xFF, 0xFF
  48. wf_seg7_vertex_07006B58: # 0x07006B58 - 0x07006C48
  49. vertex -3276, 384, -1535, 5078, -3098, 0xFF, 0xFF, 0xFF, 0xFF
  50. vertex -2047, 512, -1535, -336, 1294, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex -3276, 512, -1535, 4566, -3608, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex -2047, 2560, -2409, 478, 1500, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex -273, 2662, -2833, 8344, -7386, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex -2047, 2662, -2409, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex -273, 2560, -2833, 8854, -6874, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 4096, 1075, -4095, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 4096, 1203, -4095, 478, 478, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 2458, 1203, -4095, -6060, 7018, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 2458, 1075, -4095, -5548, 7528, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex -2047, 2560, 512, -6736, 8716, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex -2047, 2560, -1023, 926, 1052, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex -2047, 2662, -1023, 416, 542, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex -2047, 2662, 512, -7248, 8206, 0xFF, 0xFF, 0xFF, 0xFF
  64. wf_seg7_vertex_07006C48: # 0x07006C48 - 0x07006D38
  65. vertex 4096, 1075, -4095, 478, 1498, 0xFF, 0xFF, 0xFF, 0xFF
  66. vertex 4096, 1203, -3071, 4056, -3098, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 4096, 1203, -4095, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex -3276, 384, -1535, 5078, -3098, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex -2047, 384, -1535, 172, 1806, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex -2047, 512, -1535, -336, 1294, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex -3276, 384, 640, 480, 1498, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex -3276, 512, -1535, 7122, -6164, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex -3276, 512, 640, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex -3276, 384, -1535, 7634, -5654, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex -3276, 384, 640, 3544, -1564, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex -2508, 512, 640, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex -2508, 384, 640, 478, 1500, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex -3276, 512, 640, 3034, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 4096, 1075, -3071, 4566, -2588, 0xFF, 0xFF, 0xFF, 0xFF
  80. wf_seg7_vertex_07006D38: # 0x07006D38 - 0x07006D98
  81. vertex -2508, 384, 640, 17342, -10252, 0xFF, 0xFF, 0xFF, 0xFF
  82. vertex -2508, 1152, 3072, 4786, -2368, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex -2508, 1024, 3072, 5298, -1856, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex -2508, 512, 640, 16832, -10762, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex -2508, 1024, 4096, 478, 1500, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex -2508, 1152, 4096, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  87. wf_seg7_vertex_07006D98: # 0x07006D98 - 0x07006E88
  88. vertex 5120, 384, 2816, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex 5120, 384, 0, -21492, 0, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex 5120, 256, 0, -21492, 990, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex 4608, 256, 5632, 1662, 990, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex 5120, 384, 5120, -4118, 0, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex 5120, 256, 5120, -4118, 990, 0xFF, 0xFF, 0xFF, 0xFF
  94. vertex 4608, 384, 5632, 1662, 0, 0xFF, 0xFF, 0xFF, 0xFF
  95. vertex 4608, 256, -511, 876, 988, 0xFF, 0xFF, 0xFF, 0xFF
  96. vertex 4096, 384, -511, -3210, -34, 0xFF, 0xFF, 0xFF, 0xFF
  97. vertex 4096, 256, -511, -3210, 988, 0xFF, 0xFF, 0xFF, 0xFF
  98. vertex 4608, 384, -511, 876, -34, 0xFF, 0xFF, 0xFF, 0xFF
  99. vertex 5120, 256, 0, 5612, 986, 0xFF, 0xFF, 0xFF, 0xFF
  100. vertex 4608, 384, -511, -168, -36, 0xFF, 0xFF, 0xFF, 0xFF
  101. vertex 4608, 256, -511, -168, 986, 0xFF, 0xFF, 0xFF, 0xFF
  102. vertex 5120, 384, 0, 5612, -36, 0xFF, 0xFF, 0xFF, 0xFF
  103. wf_seg7_vertex_07006E88: # 0x07006E88 - 0x07006F78
  104. vertex 2048, 256, 5120, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
  105. vertex 2048, 384, 5120, 5078, 0, 0xFF, 0xFF, 0xFF, 0xFF
  106. vertex 2560, 384, 5632, -702, 0, 0xFF, 0xFF, 0xFF, 0xFF
  107. vertex 5120, 384, 2816, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  108. vertex 5120, 256, 0, -21492, 990, 0xFF, 0xFF, 0xFF, 0xFF
  109. vertex 5120, 256, 2816, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  110. vertex 5120, 256, 5120, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  111. vertex 5120, 384, 2816, -21492, 0, 0xFF, 0xFF, 0xFF, 0xFF
  112. vertex 5120, 256, 2816, -21492, 990, 0xFF, 0xFF, 0xFF, 0xFF
  113. vertex 5120, 384, 5120, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  114. vertex 2560, 256, 5632, 20408, 990, 0xFF, 0xFF, 0xFF, 0xFF
  115. vertex 4608, 384, 5632, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  116. vertex 4608, 256, 5632, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  117. vertex 2560, 384, 5632, 20408, 0, 0xFF, 0xFF, 0xFF, 0xFF
  118. vertex 2560, 256, 5632, -702, 990, 0xFF, 0xFF, 0xFF, 0xFF
  119. wf_seg7_vertex_07006F78: # 0x07006F78 - 0x07006FB8
  120. vertex 2048, 256, 4096, 12232, 990, 0xFF, 0xFF, 0xFF, 0xFF
  121. vertex 2048, 384, 4096, 12232, 0, 0xFF, 0xFF, 0xFF, 0xFF
  122. vertex 2048, 384, 5120, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  123. vertex 2048, 256, 5120, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  124. wf_seg7_dl_07006FB8: # 0x07006FB8 - 0x07007168
  125. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09000000
  126. gsDPLoadSync
  127. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  128. gsSPVertex wf_seg7_vertex_07006898, 15, 0
  129. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  130. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  131. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  132. gsSP1Triangle 12, 13, 14, 0x0
  133. gsSPVertex wf_seg7_vertex_07006988, 14, 0
  134. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 4, 0x0
  135. gsSP2Triangles 1, 4, 5, 0x0, 0, 3, 1, 0x0
  136. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  137. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  138. gsSPVertex wf_seg7_vertex_07006A68, 15, 0
  139. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  140. gsSP2Triangles 3, 5, 6, 0x0, 6, 5, 7, 0x0
  141. gsSP2Triangles 6, 7, 8, 0x0, 8, 7, 9, 0x0
  142. gsSP2Triangles 8, 9, 10, 0x0, 10, 9, 11, 0x0
  143. gsSP2Triangles 10, 11, 12, 0x0, 12, 11, 13, 0x0
  144. gsSP1Triangle 0, 14, 1, 0x0
  145. gsSPVertex wf_seg7_vertex_07006B58, 15, 0
  146. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  147. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  148. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  149. gsSP1Triangle 11, 13, 14, 0x0
  150. gsSPVertex wf_seg7_vertex_07006C48, 15, 0
  151. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  152. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  153. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  154. gsSP1Triangle 0, 14, 1, 0x0
  155. gsSPVertex wf_seg7_vertex_07006D38, 6, 0
  156. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  157. gsSP2Triangles 1, 4, 2, 0x0, 1, 5, 4, 0x0
  158. gsSPEndDisplayList
  159. wf_seg7_dl_07007168: # 0x07007168 - 0x07007220
  160. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_0900A000
  161. gsDPLoadSync
  162. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  163. gsSPVertex wf_seg7_vertex_07006D98, 15, 0
  164. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  165. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  166. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  167. gsSP1Triangle 11, 14, 12, 0x0
  168. gsSPVertex wf_seg7_vertex_07006E88, 15, 0
  169. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  170. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  171. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  172. gsSP1Triangle 0, 2, 14, 0x0
  173. gsSPVertex wf_seg7_vertex_07006F78, 4, 0
  174. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  175. gsSPEndDisplayList
  176. glabel wf_seg7_dl_07007220 # 0x07007220 - 0x07007298
  177. gsDPPipeSync
  178. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
  179. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  180. 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
  181. gsSPTexture -1, -1, 0, 0, 1
  182. gsDPTileSync
  183. 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
  184. gsDPSetTileSize 0, 0, 0, 124, 124
  185. gsSPDisplayList wf_seg7_dl_07006FB8
  186. gsSPDisplayList wf_seg7_dl_07007168
  187. gsSPTexture -1, -1, 0, 0, 0
  188. gsDPPipeSync
  189. 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
  190. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  191. gsSPEndDisplayList