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.

187 lines
11 KiB

6 years ago
  1. castle_grounds_seg7_vertex_0700A8D0: # 0x0700A8D0 - 0x0700A9C0
  2. vertex -4998, 316, 603, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -5397, 265, 1006, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -4993, 281, 1006, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -4857, 316, 3006, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -5259, 380, 3413, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -4855, 330, 3415, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -5260, 366, 3004, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -6012, 435, 3247, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -6417, 458, 3248, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -6414, 499, 3655, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -6009, 476, 3654, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -6303, 260, 1201, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -6705, 260, 1608, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -6300, 260, 1607, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -6708, 260, 1202, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  17. castle_grounds_seg7_vertex_0700A9C0: # 0x0700A9C0 - 0x0700AAB0
  18. vertex -6070, 452, -2345, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -6473, 427, -2347, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -6468, 386, -1945, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -4998, 316, 603, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -5402, 299, 602, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -5397, 265, 1006, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -4507, 367, 226, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -4906, 317, 629, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -4502, 333, 630, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -4911, 351, 226, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -5311, 382, -850, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -5715, 367, -850, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -5711, 351, -446, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -5307, 365, -446, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -6064, 411, -1944, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  33. castle_grounds_seg7_vertex_0700AAB0: # 0x0700AAB0 - 0x0700ABA0
  34. vertex -2355, 535, 2446, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex -2757, 382, 2818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex -2358, 439, 2832, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -5396, 437, -2835, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex -5797, 465, -2834, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -5793, 454, -2430, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -5392, 426, -2431, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -5751, 536, -3646, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex -6152, 543, -3647, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -6149, 497, -3247, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -5747, 490, -3245, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex -1700, 463, 2673, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -2113, 381, 3062, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -1704, 368, 3059, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex -2109, 476, 2676, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. castle_grounds_seg7_vertex_0700ABA0: # 0x0700ABA0 - 0x0700AC90
  50. vertex 35, 716, 2812, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex -290, 551, 2805, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex -283, 537, 3214, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex -2355, 535, 2446, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex -2753, 478, 2432, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex -2757, 382, 2818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex -1118, 755, 1671, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex -1524, 672, 2067, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex -1115, 690, 2070, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex -1527, 737, 1668, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex -1805, 653, 1265, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex -2220, 615, 1656, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex -1822, 692, 1653, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex -2203, 577, 1268, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex 43, 701, 3221, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  65. castle_grounds_seg7_vertex_0700AC90: # 0x0700AC90 - 0x0700AD80
  66. vertex 2115, 312, 950, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 1723, 265, 1363, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex 2078, 112, 1291, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 1612, 100, 3077, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 1333, 325, 3494, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 1605, 92, 3486, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 1340, 333, 3085, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 935, 415, 2391, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 574, 558, 2423, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 594, 621, 2820, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex 955, 478, 2787, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 1315, 318, 1775, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 937, 415, 2191, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 1307, 293, 2183, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex 945, 439, 1783, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  81. castle_grounds_seg7_vertex_0700AD80: # 0x0700AD80 - 0x0700AE70
  82. vertex 5978, 431, -1320, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex 5570, 413, -910, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex 5977, 448, -911, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex 2115, 312, 950, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex 1763, 465, 1020, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex 1723, 265, 1363, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex 3364, 277, 273, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex 2993, 377, 310, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex 2954, 179, 654, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex 3327, 80, 614, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex 6369, 323, 3, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex 5984, 112, 334, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  94. vertex 6383, 172, 360, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  95. vertex 5970, 263, -22, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  96. vertex 5572, 396, -1319, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  97. castle_grounds_seg7_vertex_0700AE70: # 0x0700AE70 - 0x0700AF60
  98. vertex 6064, 734, -4652, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  99. vertex 5661, 681, -4649, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  100. vertex 5665, 661, -4246, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  101. vertex 6604, 528, -1890, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  102. vertex 6204, 461, -1480, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  103. vertex 6605, 526, -1481, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  104. vertex 6202, 463, -1888, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  105. vertex 6154, 580, -3051, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  106. vertex 5751, 532, -3047, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  107. vertex 5759, 474, -2647, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  108. vertex 6163, 522, -2651, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  109. vertex 5664, 584, -3471, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  110. vertex 5260, 536, -3467, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  111. vertex 5268, 478, -3066, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  112. vertex 5672, 526, -3070, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  113. castle_grounds_seg7_vertex_0700AF60: # 0x0700AF60 - 0x0700AFD0
  114. vertex 6597, 947, -5509, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  115. vertex 6217, 790, -5117, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  116. vertex 6610, 882, -5114, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  117. vertex 6064, 734, -4652, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  118. vertex 5665, 661, -4246, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  119. vertex 6068, 714, -4250, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  120. vertex 6203, 855, -5512, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  121. castle_grounds_seg7_dl_0700AFD0: # 0x0700AFD0 - 0x0700B1D0
  122. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, outside_0900BC00
  123. gsDPLoadSync
  124. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  125. gsSPVertex castle_grounds_seg7_vertex_0700A8D0, 15, 0
  126. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  127. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  128. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  129. gsSP1Triangle 11, 14, 12, 0x0
  130. gsSPVertex castle_grounds_seg7_vertex_0700A9C0, 15, 0
  131. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  132. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  133. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  134. gsSP1Triangle 0, 2, 14, 0x0
  135. gsSPVertex castle_grounds_seg7_vertex_0700AAB0, 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 castle_grounds_seg7_vertex_0700ABA0, 15, 0
  141. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  142. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  143. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  144. gsSP1Triangle 0, 2, 14, 0x0
  145. gsSPVertex castle_grounds_seg7_vertex_0700AC90, 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, 14, 12, 0x0
  150. gsSPVertex castle_grounds_seg7_vertex_0700AD80, 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, 13, 11, 0x0
  154. gsSP1Triangle 0, 14, 1, 0x0
  155. gsSPVertex castle_grounds_seg7_vertex_0700AE70, 15, 0
  156. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  157. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  158. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  159. gsSP1Triangle 11, 13, 14, 0x0
  160. gsSPVertex castle_grounds_seg7_vertex_0700AF60, 7, 0
  161. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  162. gsSP1Triangle 0, 6, 1, 0x0
  163. gsSPEndDisplayList
  164. glabel castle_grounds_seg7_dl_0700B1D0 # 0x0700B1D0 - 0x0700B240
  165. gsDPPipeSync
  166. 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
  167. gsSPClearGeometryMode G_LIGHTING
  168. 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
  169. gsSPTexture -1, -1, 0, 0, 1
  170. gsDPTileSync
  171. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  172. gsDPSetTileSize 0, 0, 0, 124, 124
  173. gsSPDisplayList castle_grounds_seg7_dl_0700AFD0
  174. gsSPTexture -1, -1, 0, 0, 0
  175. gsDPPipeSync
  176. 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
  177. gsSPSetGeometryMode G_LIGHTING
  178. gsSPEndDisplayList