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.

207 lines
12 KiB

5 years ago
  1. lll_seg7_vertex_07013DB8: # 0x07013DB8 - 0x07013EA8
  2. vertex 256, 0, 1024, 990, 990, 0xA7, 0x00, 0xA7, 0xFF
  3. vertex 512, 154, 768, -1416, 0, 0xA7, 0x00, 0xA7, 0xFF
  4. vertex 512, 0, 768, -1416, 990, 0xA7, 0x00, 0xA7, 0xFF
  5. vertex 512, 0, 1280, 1454, 990, 0x0B, 0x00, 0x7E, 0xFF
  6. vertex 512, 154, 1280, 1454, 0, 0x0B, 0x00, 0x7E, 0xFF
  7. vertex -895, 154, 1408, -6162, 0, 0x0B, 0x00, 0x7E, 0xFF
  8. vertex -895, 0, 1408, -6162, 990, 0x0B, 0x00, 0x7E, 0xFF
  9. vertex -895, 0, 1408, 3034, 990, 0x81, 0x00, 0x00, 0xFF
  10. vertex -895, 154, 1408, 3034, 0, 0x81, 0x00, 0x00, 0xFF
  11. vertex -895, 154, 1024, -370, 0, 0x81, 0x00, 0x00, 0xFF
  12. vertex -895, 0, 1024, -370, 990, 0x81, 0x00, 0x00, 0xFF
  13. vertex -895, 0, 1024, 990, 990, 0x00, 0x00, 0x81, 0xFF
  14. vertex 256, 154, 1024, -5150, 0, 0x00, 0x00, 0x81, 0xFF
  15. vertex 256, 0, 1024, -5150, 990, 0x00, 0x00, 0x81, 0xFF
  16. vertex -895, 154, 1024, 990, 0, 0x00, 0x00, 0x81, 0xFF
  17. lll_seg7_vertex_07013EA8: # 0x07013EA8 - 0x07013F98
  18. vertex -127, 0, 640, 990, 990, 0x88, 0x00, 0x28, 0xFF
  19. vertex -383, 154, -127, -6626, 0, 0x88, 0x00, 0x28, 0xFF
  20. vertex -383, 0, -127, -6626, 990, 0x88, 0x00, 0x28, 0xFF
  21. vertex 256, 0, 1024, 990, 990, 0xA7, 0x00, 0xA7, 0xFF
  22. vertex 256, 154, 1024, 990, 0, 0xA7, 0x00, 0xA7, 0xFF
  23. vertex 512, 154, 768, -1416, 0, 0xA7, 0x00, 0xA7, 0xFF
  24. vertex 512, 0, 768, 990, 990, 0xC8, 0x00, 0x71, 0xFF
  25. vertex 512, 154, 768, 990, 0, 0xC8, 0x00, 0x71, 0xFF
  26. vertex 256, 154, 640, -1416, 0, 0xC8, 0x00, 0x71, 0xFF
  27. vertex 256, 0, 640, -1416, 990, 0xC8, 0x00, 0x71, 0xFF
  28. vertex 256, 0, 640, 1330, 990, 0x00, 0x00, 0x7F, 0xFF
  29. vertex 256, 154, 640, 1330, 0, 0x00, 0x00, 0x7F, 0xFF
  30. vertex -127, 154, 640, -2074, 0, 0x00, 0x00, 0x7F, 0xFF
  31. vertex -127, 0, 640, -2074, 990, 0x00, 0x00, 0x7F, 0xFF
  32. vertex -127, 154, 640, 990, 0, 0x88, 0x00, 0x28, 0xFF
  33. lll_seg7_vertex_07013F98: # 0x07013F98 - 0x07014088
  34. vertex 256, 0, -895, 7122, 990, 0xEC, 0x00, 0x7D, 0xFF
  35. vertex -511, 154, -1023, 98, 0, 0xEC, 0x00, 0x7D, 0xFF
  36. vertex -511, 0, -1023, 98, 990, 0xEC, 0x00, 0x7D, 0xFF
  37. vertex -383, 0, -127, 990, 990, 0x81, 0x00, 0x00, 0xFF
  38. vertex -383, 154, -511, -2414, 0, 0x81, 0x00, 0x00, 0xFF
  39. vertex -383, 0, -511, -2414, 990, 0x81, 0x00, 0x00, 0xFF
  40. vertex -383, 154, -127, 990, 0, 0x81, 0x00, 0x00, 0xFF
  41. vertex -383, 0, -511, 7122, 990, 0xE8, 0x00, 0x84, 0xFF
  42. vertex -383, 154, -511, 7122, 0, 0xE8, 0x00, 0x84, 0xFF
  43. vertex 256, 154, -639, 98, 0, 0xE8, 0x00, 0x84, 0xFF
  44. vertex 256, 0, -639, 98, 990, 0xE8, 0x00, 0x84, 0xFF
  45. vertex 256, 0, -639, 990, 990, 0x81, 0x00, 0x00, 0xFF
  46. vertex 256, 154, -895, -712, 0, 0x81, 0x00, 0x00, 0xFF
  47. vertex 256, 0, -895, -712, 990, 0x81, 0x00, 0x00, 0xFF
  48. vertex 256, 154, -639, 990, 0, 0x81, 0x00, 0x00, 0xFF
  49. lll_seg7_vertex_07014088: # 0x07014088 - 0x07014178
  50. vertex -895, 0, -1407, 650, 990, 0x00, 0x00, 0x81, 0xFF
  51. vertex -639, 154, -1407, -1052, 0, 0x00, 0x00, 0x81, 0xFF
  52. vertex -639, 0, -1407, -1052, 990, 0x00, 0x00, 0x81, 0xFF
  53. vertex 256, 0, -895, 7122, 990, 0xEC, 0x00, 0x7D, 0xFF
  54. vertex 256, 154, -895, 7122, 0, 0xEC, 0x00, 0x7D, 0xFF
  55. vertex -511, 154, -1023, 98, 0, 0xEC, 0x00, 0x7D, 0xFF
  56. vertex -511, 0, -1023, 5078, 990, 0x00, 0x00, 0x7F, 0xFF
  57. vertex -511, 154, -1023, 5078, 0, 0x00, 0x00, 0x7F, 0xFF
  58. vertex -895, 154, -1023, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  59. vertex -895, 0, -1023, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  60. vertex -895, 0, -1023, 990, 990, 0x81, 0x00, 0x00, 0xFF
  61. vertex -895, 154, -1407, -2414, 0, 0x81, 0x00, 0x00, 0xFF
  62. vertex -895, 0, -1407, -2414, 990, 0x81, 0x00, 0x00, 0xFF
  63. vertex -895, 154, -1023, 990, 0, 0x81, 0x00, 0x00, 0xFF
  64. vertex -895, 154, -1407, 650, 0, 0x00, 0x00, 0x81, 0xFF
  65. lll_seg7_vertex_07014178: # 0x07014178 - 0x07014278
  66. vertex -639, 0, -1407, 1750, 990, 0x24, 0x00, 0x87, 0xFF
  67. vertex -639, 154, -1407, 1750, 0, 0x24, 0x00, 0x87, 0xFF
  68. vertex 640, 154, -1023, -12294, 0, 0x24, 0x00, 0x87, 0xFF
  69. vertex 640, 0, -1023, -12294, 990, 0x24, 0x00, 0x87, 0xFF
  70. vertex 640, 0, -1023, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  71. vertex 640, 154, -1023, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  72. vertex 640, 154, -511, -4118, 0, 0x7F, 0x00, 0x00, 0xFF
  73. vertex 640, 0, -511, -4118, 990, 0x7F, 0x00, 0x00, 0xFF
  74. vertex 640, 0, -511, 860, 990, 0x2F, 0x00, 0x75, 0xFF
  75. vertex 640, 154, -511, 860, 0, 0x2F, 0x00, 0x75, 0xFF
  76. vertex 0, 154, -255, -6162, 0, 0x2F, 0x00, 0x75, 0xFF
  77. vertex 0, 0, -255, -6162, 990, 0x2F, 0x00, 0x75, 0xFF
  78. vertex 0, 0, -255, 1672, 990, 0x7F, 0x00, 0x00, 0xFF
  79. vertex 0, 154, -255, 1672, 0, 0x7F, 0x00, 0x00, 0xFF
  80. vertex 0, 154, -127, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  81. vertex 0, 0, -127, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  82. lll_seg7_vertex_07014278: # 0x07014278 - 0x07014378
  83. vertex 0, 0, -127, 3776, 990, 0x78, 0x00, 0xD8, 0xFF
  84. vertex 0, 154, -127, 3776, 0, 0x78, 0x00, 0xD8, 0xFF
  85. vertex 128, 154, 256, 0, 0, 0x78, 0x00, 0xD8, 0xFF
  86. vertex 128, 0, 256, 0, 990, 0x78, 0x00, 0xD8, 0xFF
  87. vertex 128, 0, 256, 3374, 990, 0x00, 0x00, 0x81, 0xFF
  88. vertex 512, 154, 256, 0, 0, 0x00, 0x00, 0x81, 0xFF
  89. vertex 512, 0, 256, 0, 990, 0x00, 0x00, 0x81, 0xFF
  90. vertex 128, 154, 256, 3374, 0, 0x00, 0x00, 0x81, 0xFF
  91. vertex 512, 0, 256, 1062, 990, 0x65, 0x00, 0xB4, 0xFF
  92. vertex 512, 154, 256, 1062, 0, 0x65, 0x00, 0xB4, 0xFF
  93. vertex 896, 154, 768, -6162, 0, 0x65, 0x00, 0xB4, 0xFF
  94. vertex 896, 0, 768, -6162, 990, 0x65, 0x00, 0xB4, 0xFF
  95. vertex 896, 0, 768, 1062, 990, 0x65, 0x00, 0x4C, 0xFF
  96. vertex 896, 154, 768, 1062, 0, 0x65, 0x00, 0x4C, 0xFF
  97. vertex 512, 154, 1280, -6162, 0, 0x65, 0x00, 0x4C, 0xFF
  98. vertex 512, 0, 1280, -6162, 990, 0x65, 0x00, 0x4C, 0xFF
  99. lll_seg7_vertex_07014378: # 0x07014378 - 0x07014478
  100. vertex -383, 154, -127, -1052, -4120, 0x00, 0x7F, 0x00, 0xFF
  101. vertex 256, 154, 640, -3608, -7186, 0x00, 0x7F, 0x00, 0xFF
  102. vertex 512, 154, 768, -4630, -7696, 0x00, 0x7F, 0x00, 0xFF
  103. vertex 640, 154, -1023, -5140, -542, 0x00, 0x7F, 0x00, 0xFF
  104. vertex -639, 154, -1407, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  105. vertex 256, 154, -895, -3606, -1054, 0x00, 0x7F, 0x00, 0xFF
  106. vertex -511, 154, -1023, -542, -542, 0x00, 0x7F, 0x00, 0xFF
  107. vertex -895, 154, -1023, 990, -542, 0x00, 0x7F, 0x00, 0xFF
  108. vertex -895, 154, -1407, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  109. vertex 256, 154, -639, -3606, -2076, 0x00, 0x7F, 0x00, 0xFF
  110. vertex 0, 154, -255, -2586, -3608, 0x00, 0x7F, 0x00, 0xFF
  111. vertex -383, 154, -511, -1052, -2586, 0x00, 0x7F, 0x00, 0xFF
  112. vertex 128, 154, 256, -3096, -5652, 0x00, 0x7F, 0x00, 0xFF
  113. vertex 0, 154, -127, -2586, -4120, 0x00, 0x7F, 0x00, 0xFF
  114. vertex -127, 154, 640, -2074, -7186, 0x00, 0x7F, 0x00, 0xFF
  115. vertex 640, 154, -511, -5140, -2586, 0x00, 0x7F, 0x00, 0xFF
  116. lll_seg7_vertex_07014478: # 0x07014478 - 0x070144F8
  117. vertex 512, 154, 768, -4630, -7696, 0x00, 0x7F, 0x00, 0xFF
  118. vertex 256, 154, 1024, -3608, -8718, 0x00, 0x7F, 0x00, 0xFF
  119. vertex 896, 154, 768, -6162, -7696, 0x00, 0x7F, 0x00, 0xFF
  120. vertex 128, 154, 256, -3096, -5652, 0x00, 0x7F, 0x00, 0xFF
  121. vertex 512, 154, 1280, -4630, -9740, 0x00, 0x7F, 0x00, 0xFF
  122. vertex -895, 154, 1408, 990, -10252, 0x00, 0x7F, 0x00, 0xFF
  123. vertex -895, 154, 1024, 990, -8718, 0x00, 0x7F, 0x00, 0xFF
  124. vertex 512, 154, 256, -4630, -5652, 0x00, 0x7F, 0x00, 0xFF
  125. lll_seg7_dl_070144F8: # 0x070144F8 - 0x070146B8
  126. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
  127. gsDPLoadSync
  128. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  129. gsSPLight lll_seg7_light_0700FC08, 1
  130. gsSPLight lll_seg7_light_0700FC00, 2
  131. gsSPVertex lll_seg7_vertex_07013DB8, 15, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  133. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  134. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  135. gsSP1Triangle 11, 14, 12, 0x0
  136. gsSPVertex lll_seg7_vertex_07013EA8, 15, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  138. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  139. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  140. gsSP1Triangle 0, 14, 1, 0x0
  141. gsSPVertex lll_seg7_vertex_07013F98, 15, 0
  142. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  143. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  144. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  145. gsSP1Triangle 11, 14, 12, 0x0
  146. gsSPVertex lll_seg7_vertex_07014088, 15, 0
  147. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  148. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  149. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  150. gsSP1Triangle 0, 14, 1, 0x0
  151. gsSPVertex lll_seg7_vertex_07014178, 16, 0
  152. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  153. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  154. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  155. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  156. gsSPVertex lll_seg7_vertex_07014278, 16, 0
  157. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  158. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  159. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  160. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  161. gsSPEndDisplayList
  162. lll_seg7_dl_070146B8: # 0x070146B8 - 0x07014788
  163. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007000
  164. gsDPLoadSync
  165. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  166. gsSPVertex lll_seg7_vertex_07014378, 16, 0
  167. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  168. gsSP2Triangles 4, 6, 5, 0x0, 4, 7, 6, 0x0
  169. gsSP2Triangles 4, 8, 7, 0x0, 3, 5, 9, 0x0
  170. gsSP2Triangles 10, 9, 0, 0x0, 10, 3, 9, 0x0
  171. gsSP2Triangles 9, 11, 0, 0x0, 0, 12, 13, 0x0
  172. gsSP2Triangles 0, 13, 10, 0x0, 0, 2, 12, 0x0
  173. gsSP2Triangles 0, 14, 1, 0x0, 10, 15, 3, 0x0
  174. gsSPVertex lll_seg7_vertex_07014478, 8, 0
  175. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  176. gsSP2Triangles 1, 4, 2, 0x0, 1, 5, 4, 0x0
  177. gsSP2Triangles 1, 6, 5, 0x0, 2, 7, 3, 0x0
  178. gsSPEndDisplayList
  179. glabel lll_seg7_dl_07014788 # 0x07014788 - 0x07014818
  180. gsDPPipeSync
  181. 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
  182. gsSPClearGeometryMode G_SHADING_SMOOTH
  183. 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
  184. gsSPTexture -1, -1, 0, 0, 1
  185. gsDPTileSync
  186. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  187. gsDPSetTileSize 0, 0, 0, 124, 124
  188. gsSPDisplayList lll_seg7_dl_070144F8
  189. gsDPTileSync
  190. 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
  191. gsDPSetTileSize 0, 0, 0, 124, 124
  192. gsSPDisplayList lll_seg7_dl_070146B8
  193. gsSPTexture -1, -1, 0, 0, 0
  194. gsDPPipeSync
  195. 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
  196. gsSPSetGeometryMode G_SHADING_SMOOTH
  197. gsSPEndDisplayList