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

5 years ago
  1. lll_seg7_vertex_07014C68: # 0x07014C68 - 0x07014CE8
  2. vertex -1023, 307, -383, 6100, 990, 0x00, 0x7F, 0x00, 0xFF
  3. vertex 1280, 307, 256, -3096, -1566, 0x00, 0x7F, 0x00, 0xFF
  4. vertex 1280, 307, -255, -3096, 478, 0x00, 0x7F, 0x00, 0xFF
  5. vertex 1024, 307, 384, -2074, -2076, 0x00, 0x7F, 0x00, 0xFF
  6. vertex 1024, 307, -383, -2074, 990, 0x00, 0x7F, 0x00, 0xFF
  7. vertex -1279, 307, 256, 7122, -1564, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -1023, 307, 384, 6100, -2076, 0x00, 0x7F, 0x00, 0xFF
  9. vertex -1279, 307, -255, 7122, 480, 0x00, 0x7F, 0x00, 0xFF
  10. lll_seg7_vertex_07014CE8: # 0x07014CE8 - 0x07014DD8
  11. vertex -1023, 0, 384, 990, 990, 0xC8, 0x00, 0x71, 0xFF
  12. vertex -1279, 307, 256, -212, 0, 0xC8, 0x00, 0x71, 0xFF
  13. vertex -1279, 0, 256, -212, 990, 0xC8, 0x00, 0x71, 0xFF
  14. vertex 1280, 0, -255, 1672, 990, 0x7F, 0x00, 0x00, 0xFF
  15. vertex 1280, 307, -255, 1672, 0, 0x7F, 0x00, 0x00, 0xFF
  16. vertex 1280, 307, 256, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  17. vertex 1280, 0, 256, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  18. vertex 1280, 0, 256, 1172, 990, 0x38, 0x00, 0x71, 0xFF
  19. vertex 1024, 307, 384, 0, 0, 0x38, 0x00, 0x71, 0xFF
  20. vertex 1024, 0, 384, 0, 990, 0x38, 0x00, 0x71, 0xFF
  21. vertex 1280, 307, 256, 1172, 0, 0x38, 0x00, 0x71, 0xFF
  22. vertex 1024, 0, 384, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  23. vertex 1024, 307, 384, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  24. vertex -1023, 307, 384, -4118, 0, 0x00, 0x00, 0x7F, 0xFF
  25. vertex -1023, 0, 384, -4118, 990, 0x00, 0x00, 0x7F, 0xFF
  26. lll_seg7_vertex_07014DD8: # 0x07014DD8 - 0x07014EC8
  27. vertex -1023, 0, -383, 5078, 990, 0x00, 0x00, 0x81, 0xFF
  28. vertex 1024, 307, -383, 0, 0, 0x00, 0x00, 0x81, 0xFF
  29. vertex 1024, 0, -383, 0, 990, 0x00, 0x00, 0x81, 0xFF
  30. vertex -1023, 0, 384, 990, 990, 0xC8, 0x00, 0x71, 0xFF
  31. vertex -1023, 307, 384, 990, 0, 0xC8, 0x00, 0x71, 0xFF
  32. vertex -1279, 307, 256, -212, 0, 0xC8, 0x00, 0x71, 0xFF
  33. vertex -1279, 0, 256, 1502, 990, 0x81, 0x00, 0x00, 0xFF
  34. vertex -1279, 307, 256, 1502, 0, 0x81, 0x00, 0x00, 0xFF
  35. vertex -1279, 307, -255, -200, 0, 0x81, 0x00, 0x00, 0xFF
  36. vertex -1279, 0, -255, -200, 990, 0x81, 0x00, 0x00, 0xFF
  37. vertex -1279, 0, -255, 990, 990, 0xC8, 0x00, 0x8F, 0xFF
  38. vertex -1279, 307, -255, 990, 0, 0xC8, 0x00, 0x8F, 0xFF
  39. vertex -1023, 307, -383, -212, 0, 0xC8, 0x00, 0x8F, 0xFF
  40. vertex -1023, 0, -383, -212, 990, 0xC8, 0x00, 0x8F, 0xFF
  41. vertex -1023, 307, -383, 5078, 0, 0x00, 0x00, 0x81, 0xFF
  42. lll_seg7_vertex_07014EC8: # 0x07014EC8 - 0x07014F08
  43. vertex 1024, 0, -383, 1172, 990, 0x38, 0x00, 0x8F, 0xFF
  44. vertex 1024, 307, -383, 1172, 0, 0x38, 0x00, 0x8F, 0xFF
  45. vertex 1280, 307, -255, 0, 0, 0x38, 0x00, 0x8F, 0xFF
  46. vertex 1280, 0, -255, 0, 990, 0x38, 0x00, 0x8F, 0xFF
  47. lll_seg7_vertex_07014F08: # 0x07014F08 - 0x07014FE8
  48. vertex -1458, 410, 128, 416, 0, 0x00, 0x00, 0x81, 0xFF
  49. vertex -1279, 307, 128, 0, 224, 0x00, 0x00, 0x81, 0xFF
  50. vertex -1535, 307, 128, 606, 224, 0x00, 0x00, 0x81, 0xFF
  51. vertex -1535, 0, 128, 606, 990, 0x00, 0x00, 0x81, 0xFF
  52. vertex -1279, 0, 128, 0, 990, 0x00, 0x00, 0x81, 0xFF
  53. vertex -1535, 307, -255, 2522, 224, 0x00, 0x00, 0x7F, 0xFF
  54. vertex -1535, 0, -255, 2522, 990, 0x00, 0x00, 0x7F, 0xFF
  55. vertex -1279, 0, -255, 3162, 990, 0x00, 0x00, 0x7F, 0xFF
  56. vertex -1279, 307, -255, 3162, 224, 0x00, 0x00, 0x7F, 0xFF
  57. vertex -1458, 410, -255, 2714, 0, 0x00, 0x00, 0x7F, 0xFF
  58. vertex -1535, 0, 256, 288, 734, 0x81, 0x00, 0x00, 0xFF
  59. vertex -1535, 307, 128, 0, 0, 0x81, 0x00, 0x00, 0xFF
  60. vertex -1535, 0, 128, 0, 734, 0x81, 0x00, 0x00, 0xFF
  61. vertex -1535, 307, 256, 288, 0, 0x81, 0x00, 0x00, 0xFF
  62. lll_seg7_vertex_07014FE8: # 0x07014FE8 - 0x070150C8
  63. vertex -1535, 307, 256, 2522, 224, 0x00, 0x00, 0x7F, 0xFF
  64. vertex -1279, 307, 256, 3162, 224, 0x00, 0x00, 0x7F, 0xFF
  65. vertex -1458, 410, 256, 2714, 0, 0x00, 0x00, 0x7F, 0xFF
  66. vertex -1535, 0, 256, 2522, 990, 0x00, 0x00, 0x7F, 0xFF
  67. vertex -1279, 0, 256, 3162, 990, 0x00, 0x00, 0x7F, 0xFF
  68. vertex -1279, 0, -383, 0, 990, 0x00, 0x00, 0x81, 0xFF
  69. vertex -1535, 307, -383, 606, 224, 0x00, 0x00, 0x81, 0xFF
  70. vertex -1458, 410, -383, 416, 0, 0x00, 0x00, 0x81, 0xFF
  71. vertex -1279, 307, -383, 0, 224, 0x00, 0x00, 0x81, 0xFF
  72. vertex -1535, 0, -383, 606, 990, 0x00, 0x00, 0x81, 0xFF
  73. vertex -1535, 0, -255, -988, 734, 0x81, 0x00, 0x00, 0xFF
  74. vertex -1535, 307, -255, -988, 0, 0x81, 0x00, 0x00, 0xFF
  75. vertex -1535, 307, -383, -1308, 0, 0x81, 0x00, 0x00, 0xFF
  76. vertex -1535, 0, -383, -1308, 734, 0x81, 0x00, 0x00, 0xFF
  77. lll_seg7_vertex_070150C8: # 0x070150C8 - 0x07015108
  78. vertex -1279, 0, -255, 564, 990, 0x7F, 0x00, 0x00, 0xFF
  79. vertex -1279, 0, -383, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  80. vertex -1279, 307, -383, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  81. vertex -1279, 307, -255, 564, 0, 0x7F, 0x00, 0x00, 0xFF
  82. lll_seg7_vertex_07015108: # 0x07015108 - 0x07015208
  83. vertex -1458, 410, -383, -1308, 0, 0x9B, 0x4C, 0x00, 0xFF
  84. vertex -1535, 307, -383, -1308, 288, 0x9B, 0x4C, 0x00, 0xFF
  85. vertex -1535, 307, -255, -988, 288, 0x9B, 0x4C, 0x00, 0xFF
  86. vertex -1279, 307, 128, -286, 990, 0x3F, 0x6E, 0x00, 0xFF
  87. vertex -1458, 410, 128, -286, 476, 0x3F, 0x6E, 0x00, 0xFF
  88. vertex -1458, 410, 256, -604, 476, 0x3F, 0x6E, 0x00, 0xFF
  89. vertex -1279, 307, 256, -604, 990, 0x3F, 0x6E, 0x00, 0xFF
  90. vertex -1458, 410, 128, 0, 0, 0x9B, 0x4C, 0x00, 0xFF
  91. vertex -1535, 307, 256, 288, 288, 0x9B, 0x4C, 0x00, 0xFF
  92. vertex -1458, 410, 256, 288, 0, 0x9B, 0x4C, 0x00, 0xFF
  93. vertex -1535, 307, 128, 0, 288, 0x9B, 0x4C, 0x00, 0xFF
  94. vertex -1279, 307, -383, 990, 990, 0x3F, 0x6E, 0x00, 0xFF
  95. vertex -1458, 410, -255, 670, 476, 0x3F, 0x6E, 0x00, 0xFF
  96. vertex -1279, 307, -255, 670, 990, 0x3F, 0x6E, 0x00, 0xFF
  97. vertex -1458, 410, -383, 990, 476, 0x3F, 0x6E, 0x00, 0xFF
  98. vertex -1458, 410, -255, -988, 0, 0x9B, 0x4C, 0x00, 0xFF
  99. lll_seg7_dl_07015208: # 0x07015208 - 0x07015270
  100. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07004800
  101. gsDPLoadSync
  102. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  103. gsSPLight lll_seg7_light_0700FC08, 1
  104. gsSPLight lll_seg7_light_0700FC00, 2
  105. gsSPVertex lll_seg7_vertex_07014C68, 8, 0
  106. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  107. gsSP2Triangles 0, 2, 4, 0x0, 0, 5, 6, 0x0
  108. gsSP2Triangles 0, 7, 5, 0x0, 0, 6, 3, 0x0
  109. gsSPEndDisplayList
  110. lll_seg7_dl_07015270: # 0x07015270 - 0x07015328
  111. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
  112. gsDPLoadSync
  113. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  114. gsSPVertex lll_seg7_vertex_07014CE8, 15, 0
  115. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  116. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  117. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  118. gsSP1Triangle 11, 13, 14, 0x0
  119. gsSPVertex lll_seg7_vertex_07014DD8, 15, 0
  120. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  121. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  122. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  123. gsSP1Triangle 0, 14, 1, 0x0
  124. gsSPVertex lll_seg7_vertex_07014EC8, 4, 0
  125. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  126. gsSPEndDisplayList
  127. lll_seg7_dl_07015328: # 0x07015328 - 0x070153F0
  128. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006800
  129. gsDPLoadSync
  130. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  131. gsSPVertex lll_seg7_vertex_07014F08, 14, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 3, 1, 4, 0x0
  133. gsSP2Triangles 3, 2, 1, 0x0, 5, 6, 7, 0x0
  134. gsSP2Triangles 5, 7, 8, 0x0, 5, 8, 9, 0x0
  135. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  136. gsSPVertex lll_seg7_vertex_07014FE8, 14, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  138. gsSP2Triangles 0, 4, 1, 0x0, 5, 6, 7, 0x0
  139. gsSP2Triangles 5, 7, 8, 0x0, 5, 9, 6, 0x0
  140. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  141. gsSPVertex lll_seg7_vertex_070150C8, 4, 0
  142. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  143. gsSPEndDisplayList
  144. lll_seg7_dl_070153F0: # 0x070153F0 - 0x07015458
  145. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006000
  146. gsDPLoadSync
  147. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  148. gsSPVertex lll_seg7_vertex_07015108, 16, 0
  149. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  150. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  151. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  152. gsSP2Triangles 11, 14, 12, 0x0, 0, 2, 15, 0x0
  153. gsSPEndDisplayList
  154. glabel lll_seg7_dl_07015458 # 0x07015458 - 0x070154F8
  155. gsDPPipeSync
  156. 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
  157. gsSPClearGeometryMode G_SHADING_SMOOTH
  158. 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
  159. gsSPTexture -1, -1, 0, 0, 1
  160. gsDPTileSync
  161. 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
  162. gsDPSetTileSize 0, 0, 0, 124, 124
  163. gsSPDisplayList lll_seg7_dl_07015208
  164. gsSPDisplayList lll_seg7_dl_07015328
  165. gsSPDisplayList lll_seg7_dl_070153F0
  166. gsDPTileSync
  167. 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
  168. gsDPSetTileSize 0, 0, 0, 124, 124
  169. gsSPDisplayList lll_seg7_dl_07015270
  170. gsSPTexture -1, -1, 0, 0, 0
  171. gsDPPipeSync
  172. 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
  173. gsSPSetGeometryMode G_SHADING_SMOOTH
  174. gsSPEndDisplayList