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
12 KiB

6 years ago
  1. bitdw_seg7_vertex_07002928: # 0x07002928 - 0x07002A28
  2. vertex 205, 653, -1101, 480, 990, 0xBE, 0xBE, 0xBE, 0xFF
  3. vertex 102, 653, -1101, 224, 1244, 0xBE, 0xBE, 0xBE, 0xFF
  4. vertex 102, 653, -999, 0, 990, 0xBE, 0xBE, 0xBE, 0xFF
  5. vertex 205, 653, -999, 224, 734, 0xBE, 0xBE, 0xBE, 0xFF
  6. vertex 51, 448, -845, -542, 734, 0x5E, 0x69, 0x58, 0xFF
  7. vertex 102, 294, -999, 0, 990, 0x5E, 0x69, 0x58, 0xFF
  8. vertex 205, 294, -999, 224, 734, 0x5E, 0x69, 0x58, 0xFF
  9. vertex 256, 448, -845, 0, 224, 0x5E, 0x69, 0x58, 0xFF
  10. vertex 307, 448, -1203, 990, 990, 0x5E, 0x69, 0x58, 0xFF
  11. vertex 102, 294, -1101, 224, 1244, 0x5E, 0x69, 0x58, 0xFF
  12. vertex 0, 448, -1203, 224, 1754, 0x5E, 0x69, 0x58, 0xFF
  13. vertex 205, 294, -1101, 480, 990, 0x5E, 0x69, 0x58, 0xFF
  14. vertex 205, 294, -999, 224, 734, 0x38, 0x4A, 0x3D, 0xFF
  15. vertex 102, 294, -999, 0, 990, 0x38, 0x4A, 0x3D, 0xFF
  16. vertex 102, 294, -1101, 224, 1244, 0x38, 0x4A, 0x3D, 0xFF
  17. vertex 205, 294, -1101, 480, 990, 0x38, 0x4A, 0x3D, 0xFF
  18. bitdw_seg7_vertex_07002A28: # 0x07002A28 - 0x07002B28
  19. vertex 256, 448, -845, 0, 224, 0x4F, 0x61, 0x55, 0xFF
  20. vertex 205, 294, -999, 224, 734, 0x4F, 0x61, 0x55, 0xFF
  21. vertex 307, 448, -1203, 990, 990, 0x4F, 0x61, 0x55, 0xFF
  22. vertex 205, 294, -1101, 480, 990, 0x4F, 0x61, 0x55, 0xFF
  23. vertex 0, 448, -1203, 224, 1754, 0x4F, 0x61, 0x55, 0xFF
  24. vertex 102, 294, -999, 0, 990, 0x4F, 0x61, 0x55, 0xFF
  25. vertex 51, 448, -845, -542, 734, 0x4F, 0x61, 0x55, 0xFF
  26. vertex 102, 294, -1101, 224, 1244, 0x4F, 0x61, 0x55, 0xFF
  27. vertex 51, 448, -845, -542, 734, 0x7D, 0x7D, 0x7D, 0xFF
  28. vertex 102, 653, -999, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
  29. vertex 0, 448, -1203, 224, 1754, 0x7D, 0x7D, 0x7D, 0xFF
  30. vertex 102, 653, -1101, 224, 1244, 0x7D, 0x7D, 0x7D, 0xFF
  31. vertex 307, 448, -1203, 990, 990, 0x7D, 0x7D, 0x7D, 0xFF
  32. vertex 205, 653, -1101, 480, 990, 0x7D, 0x7D, 0x7D, 0xFF
  33. vertex 205, 653, -999, 224, 734, 0x7D, 0x7D, 0x7D, 0xFF
  34. vertex 256, 448, -845, 0, 224, 0x7D, 0x7D, 0x7D, 0xFF
  35. bitdw_seg7_vertex_07002B28: # 0x07002B28 - 0x07002BA8
  36. vertex 0, 448, -1203, 224, 1754, 0x96, 0x96, 0x96, 0xFF
  37. vertex 102, 653, -1101, 224, 1244, 0x96, 0x96, 0x96, 0xFF
  38. vertex 205, 653, -1101, 480, 990, 0x96, 0x96, 0x96, 0xFF
  39. vertex 307, 448, -1203, 990, 990, 0x96, 0x96, 0x96, 0xFF
  40. vertex 256, 448, -845, 0, 224, 0x96, 0x96, 0x96, 0xFF
  41. vertex 205, 653, -999, 224, 734, 0x96, 0x96, 0x96, 0xFF
  42. vertex 102, 653, -999, 0, 990, 0x96, 0x96, 0x96, 0xFF
  43. vertex 51, 448, -845, -542, 734, 0x96, 0x96, 0x96, 0xFF
  44. bitdw_seg7_vertex_07002BA8: # 0x07002BA8 - 0x07002CA8
  45. vertex -972, -204, -304, 4060, 296, 0x70, 0x83, 0x73, 0xFF
  46. vertex -1381, 0, -304, 5082, -44, 0x70, 0x83, 0x73, 0xFF
  47. vertex -972, 0, -304, 4400, 636, 0x70, 0x83, 0x73, 0xFF
  48. vertex -972, 0, 311, 2012, -1054, 0x70, 0x83, 0x73, 0xFF
  49. vertex -1381, 0, 311, 1330, -1736, 0x70, 0x83, 0x73, 0xFF
  50. vertex -1381, -204, 311, 990, -1394, 0x70, 0x83, 0x73, 0xFF
  51. vertex -972, -204, 311, 1672, -714, 0x70, 0x83, 0x73, 0xFF
  52. vertex -147, 412, -508, 3716, 2692, 0x70, 0x83, 0x73, 0xFF
  53. vertex 461, 205, -512, 2356, 3360, 0x70, 0x83, 0x73, 0xFF
  54. vertex -147, 207, -508, 3374, 2350, 0x70, 0x83, 0x73, 0xFF
  55. vertex 461, 410, -512, 2698, 3700, 0x70, 0x83, 0x73, 0xFF
  56. vertex -147, 207, 515, 3728, -28, 0x70, 0x83, 0x73, 0xFF
  57. vertex 466, 412, 515, 5090, 654, 0x70, 0x83, 0x73, 0xFF
  58. vertex -147, 412, 515, 4068, -368, 0x70, 0x83, 0x73, 0xFF
  59. vertex 466, 207, 515, 4750, 992, 0x70, 0x83, 0x73, 0xFF
  60. vertex -1381, -204, -304, 4742, -386, 0x70, 0x83, 0x73, 0xFF
  61. bitdw_seg7_vertex_07002CA8: # 0x07002CA8 - 0x07002D98
  62. vertex -972, 0, 311, 2012, -1054, 0x68, 0x7B, 0x6E, 0xFF
  63. vertex -147, 207, 515, 3728, -28, 0x68, 0x7B, 0x6E, 0xFF
  64. vertex -147, 412, 515, 4068, -368, 0x68, 0x7B, 0x6E, 0xFF
  65. vertex -147, 207, -508, 3374, 2350, 0x68, 0x7B, 0x6E, 0xFF
  66. vertex -972, -204, -304, 4060, 296, 0x68, 0x7B, 0x6E, 0xFF
  67. vertex -147, 412, -508, 3716, 2692, 0x68, 0x7B, 0x6E, 0xFF
  68. vertex -972, 0, -304, 4400, 636, 0x68, 0x7B, 0x6E, 0xFF
  69. vertex 466, 412, 515, 5090, 654, 0x68, 0x7B, 0x6E, 0xFF
  70. vertex 466, 207, 515, 4750, 992, 0x68, 0x7B, 0x6E, 0xFF
  71. vertex 973, 205, 307, 5588, 1840, 0x68, 0x7B, 0x6E, 0xFF
  72. vertex 973, 0, 307, 5248, 2180, 0x68, 0x7B, 0x6E, 0xFF
  73. vertex 973, 205, -307, 1506, 4212, 0x68, 0x7B, 0x6E, 0xFF
  74. vertex 973, 0, -307, 1164, 3870, 0x68, 0x7B, 0x6E, 0xFF
  75. vertex 461, 205, -512, 2356, 3360, 0x68, 0x7B, 0x6E, 0xFF
  76. vertex 461, 410, -512, 2698, 3700, 0x68, 0x7B, 0x6E, 0xFF
  77. bitdw_seg7_vertex_07002D98: # 0x07002D98 - 0x07002E88
  78. vertex 466, -1225, -303, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
  79. vertex -972, -1228, -304, 2356, -1408, 0x68, 0x7B, 0x6E, 0xFF
  80. vertex -147, 207, -508, 3374, 2350, 0x68, 0x7B, 0x6E, 0xFF
  81. vertex -972, 0, 311, 2012, -1054, 0x68, 0x7B, 0x6E, 0xFF
  82. vertex -972, -204, 311, 1672, -714, 0x68, 0x7B, 0x6E, 0xFF
  83. vertex -147, 207, 515, 3728, -28, 0x68, 0x7B, 0x6E, 0xFF
  84. vertex 461, 205, -512, 2356, 3360, 0x68, 0x7B, 0x6E, 0xFF
  85. vertex 973, 0, -307, 1164, 3870, 0x68, 0x7B, 0x6E, 0xFF
  86. vertex 466, 207, 515, 4750, 992, 0x68, 0x7B, 0x6E, 0xFF
  87. vertex 466, -1225, 311, 2366, 3376, 0x68, 0x7B, 0x6E, 0xFF
  88. vertex 973, 0, 307, 5248, 2180, 0x68, 0x7B, 0x6E, 0xFF
  89. vertex -972, -1228, 311, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
  90. vertex -1381, -204, -304, 4742, -386, 0x68, 0x7B, 0x6E, 0xFF
  91. vertex -972, -204, -304, 4060, 296, 0x68, 0x7B, 0x6E, 0xFF
  92. vertex -1381, -204, 311, 990, -1394, 0x68, 0x7B, 0x6E, 0xFF
  93. bitdw_seg7_vertex_07002E88: # 0x07002E88 - 0x07002F88
  94. vertex 973, 0, -307, 990, 3032, 0x5E, 0x69, 0x58, 0xFF
  95. vertex 973, 205, -307, 1502, 2522, 0x5E, 0x69, 0x58, 0xFF
  96. vertex 973, 205, 307, 0, 988, 0x5E, 0x69, 0x58, 0xFF
  97. vertex 973, 0, 307, -544, 1496, 0x5E, 0x69, 0x58, 0xFF
  98. vertex -1381, -204, 311, -808, 1742, 0x5E, 0x69, 0x58, 0xFF
  99. vertex -1381, 0, -304, 982, 3024, 0x5E, 0x69, 0x58, 0xFF
  100. vertex -1381, -204, -304, 726, 3278, 0x5E, 0x69, 0x58, 0xFF
  101. vertex -1381, 0, 311, -552, 1488, 0x5E, 0x69, 0x58, 0xFF
  102. vertex 466, -1225, -304, -28, 992, 0x38, 0x4A, 0x3D, 0xFF
  103. vertex 973, 0, 307, 3030, 2014, 0x38, 0x4A, 0x3D, 0xFF
  104. vertex 466, -1225, 311, 996, -30, 0x38, 0x4A, 0x3D, 0xFF
  105. vertex 973, 0, -307, 2006, 3038, 0x38, 0x4A, 0x3D, 0xFF
  106. vertex -972, -1228, 311, 992, -34, 0x38, 0x4A, 0x3D, 0xFF
  107. vertex -1381, -204, -304, 1672, 2692, 0x38, 0x4A, 0x3D, 0xFF
  108. vertex -972, -1228, -304, 0, 990, 0x38, 0x4A, 0x3D, 0xFF
  109. vertex -1381, -204, 311, 2696, 1668, 0x38, 0x4A, 0x3D, 0xFF
  110. bitdw_seg7_vertex_07002F88: # 0x07002F88 - 0x07003088
  111. vertex -1381, 0, 311, 5842, -4890, 0xCD, 0xDF, 0xCC, 0xFF
  112. vertex -972, 0, 311, 6864, -5912, 0xCD, 0xDF, 0xCC, 0xFF
  113. vertex -972, 0, -304, 8400, -4376, 0xCD, 0xDF, 0xCC, 0xFF
  114. vertex -1381, 0, -304, 7378, -3354, 0xCD, 0xDF, 0xCC, 0xFF
  115. vertex 461, 410, -512, 12496, -7432, 0xCD, 0xDF, 0xCC, 0xFF
  116. vertex -147, 412, 515, 8410, -8480, 0xCD, 0xDF, 0xCC, 0xFF
  117. vertex 466, 412, 515, 9942, -10012, 0xCD, 0xDF, 0xCC, 0xFF
  118. vertex -147, 412, -508, 10964, -5924, 0xCD, 0xDF, 0xCC, 0xFF
  119. vertex -972, 0, 311, 6864, -5912, 0xB7, 0xCD, 0xBA, 0xFF
  120. vertex -147, 412, 515, 8410, -8480, 0xB7, 0xCD, 0xBA, 0xFF
  121. vertex -147, 412, -508, 10964, -5924, 0xB7, 0xCD, 0xBA, 0xFF
  122. vertex -972, 0, -304, 8400, -4376, 0xB7, 0xCD, 0xBA, 0xFF
  123. vertex 973, 205, -307, 3288, 1778, 0xB7, 0xCD, 0xBA, 0xFF
  124. vertex 461, 410, -512, 2522, 3568, 0xB7, 0xCD, 0xBA, 0xFF
  125. vertex 466, 412, 515, 0, 990, 0xB7, 0xCD, 0xBA, 0xFF
  126. vertex 973, 205, 307, 1752, 244, 0xB7, 0xCD, 0xBA, 0xFF
  127. bitdw_seg7_dl_07003088: # 0x07003088 - 0x07003160
  128. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
  129. gsDPLoadSync
  130. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  131. gsSPVertex bitdw_seg7_vertex_07002928, 16, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  133. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  134. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  135. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  136. gsSPVertex bitdw_seg7_vertex_07002A28, 16, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  138. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  139. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  140. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  141. gsSPVertex bitdw_seg7_vertex_07002B28, 8, 0
  142. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  143. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  144. gsSPEndDisplayList
  145. bitdw_seg7_dl_07003160: # 0x07003160 - 0x070032F8
  146. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  147. gsDPLoadSync
  148. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  149. gsSPVertex bitdw_seg7_vertex_07002BA8, 16, 0
  150. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  151. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  152. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  153. gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
  154. gsSPVertex bitdw_seg7_vertex_07002CA8, 15, 0
  155. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  156. gsSP2Triangles 5, 4, 6, 0x0, 7, 8, 9, 0x0
  157. gsSP2Triangles 8, 10, 9, 0x0, 11, 12, 13, 0x0
  158. gsSP1Triangle 14, 11, 13, 0x0
  159. gsSPVertex bitdw_seg7_vertex_07002D98, 15, 0
  160. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  161. gsSP2Triangles 6, 7, 0, 0x0, 2, 6, 0, 0x0
  162. gsSP2Triangles 8, 5, 9, 0x0, 8, 9, 10, 0x0
  163. gsSP2Triangles 11, 9, 5, 0x0, 1, 12, 13, 0x0
  164. gsSP2Triangles 2, 1, 13, 0x0, 4, 14, 11, 0x0
  165. gsSP1Triangle 4, 11, 5, 0x0
  166. gsSPVertex bitdw_seg7_vertex_07002E88, 16, 0
  167. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  168. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  169. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  170. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  171. gsSPVertex bitdw_seg7_vertex_07002F88, 16, 0
  172. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  173. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  174. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  175. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  176. gsSPEndDisplayList
  177. glabel bitdw_seg7_dl_070032F8 # 0x070032F8 - 0x07003370
  178. gsDPPipeSync
  179. 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
  180. gsSPClearGeometryMode G_LIGHTING
  181. 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
  182. gsSPTexture -1, -1, 0, 0, 1
  183. gsDPTileSync
  184. 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
  185. gsDPSetTileSize 0, 0, 0, 124, 124
  186. gsSPDisplayList bitdw_seg7_dl_07003088
  187. gsSPDisplayList bitdw_seg7_dl_07003160
  188. gsSPTexture -1, -1, 0, 0, 0
  189. gsDPPipeSync
  190. 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
  191. gsSPSetGeometryMode G_LIGHTING
  192. gsSPEndDisplayList