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.

170 lines
9.4 KiB

6 years ago
  1. pss_seg7_vertex_0700DB48: # 0x0700DB48 - 0x0700DB88
  2. vertex -6720, -4484, 6068, 2382, -1424, 0x8C, 0x8C, 0x8C, 0xFF
  3. vertex -5994, -4484, 6068, 0, -1424, 0x8C, 0x8C, 0x8C, 0xFF
  4. vertex -5994, -4484, 5342, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  5. vertex -6720, -4484, 5342, 2382, 990, 0x8C, 0x8C, 0x8C, 0xFF
  6. pss_seg7_vertex_0700DB88: # 0x0700DB88 - 0x0700DC48
  7. vertex -6178, -4561, 5188, 0, 1120, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -6178, -4561, 5117, 0, 1264, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -6588, -4561, 5117, 786, 1264, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -6588, -4561, 5188, 786, 1120, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -6588, -4535, 5255, 786, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -6178, -4535, 5255, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -6178, -4535, 5188, 0, 1120, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -6588, -4535, 5188, 786, 1120, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -6588, -4510, 5321, 786, 858, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -6178, -4510, 5321, 0, 858, 0xFF, 0xFF, 0xFF, 0xFF
  17. vertex -6178, -4510, 5255, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  18. vertex -6588, -4510, 5255, 786, 990, 0xFF, 0xFF, 0xFF, 0xFF
  19. pss_seg7_vertex_0700DC48: # 0x0700DC48 - 0x0700DD38
  20. vertex -6588, -4587, 5321, 1088, 480, 0x8C, 0x8C, 0x8C, 0xFF
  21. vertex -6588, -4561, 5117, 542, 352, 0x8C, 0x8C, 0x8C, 0xFF
  22. vertex -6588, -4587, 5117, 542, 480, 0x8C, 0x8C, 0x8C, 0xFF
  23. vertex -6178, -4587, 5117, 550, 480, 0x8C, 0x8C, 0x8C, 0xFF
  24. vertex -6178, -4561, 5188, 360, 352, 0x8C, 0x8C, 0x8C, 0xFF
  25. vertex -6178, -4587, 5321, 6, 480, 0x8C, 0x8C, 0x8C, 0xFF
  26. vertex -6178, -4561, 5117, 550, 352, 0x8C, 0x8C, 0x8C, 0xFF
  27. vertex -6178, -4535, 5255, 182, 224, 0x8C, 0x8C, 0x8C, 0xFF
  28. vertex -6178, -4535, 5188, 360, 224, 0x8C, 0x8C, 0x8C, 0xFF
  29. vertex -6178, -4510, 5255, 182, 96, 0x8C, 0x8C, 0x8C, 0xFF
  30. vertex -6178, -4510, 5321, 6, 96, 0x8C, 0x8C, 0x8C, 0xFF
  31. vertex -6588, -4510, 5255, 910, 96, 0x8C, 0x8C, 0x8C, 0xFF
  32. vertex -6588, -4510, 5321, 1088, 96, 0x8C, 0x8C, 0x8C, 0xFF
  33. vertex -6588, -4535, 5255, 910, 224, 0x8C, 0x8C, 0x8C, 0xFF
  34. vertex -6588, -4561, 5188, 734, 352, 0x8C, 0x8C, 0x8C, 0xFF
  35. pss_seg7_vertex_0700DD38: # 0x0700DD38 - 0x0700DE28
  36. vertex -6588, -4535, 5255, 1484, 224, 0x8C, 0x8C, 0x8C, 0xFF
  37. vertex -6588, -4510, 5255, 1484, 96, 0x8C, 0x8C, 0x8C, 0xFF
  38. vertex -6178, -4510, 5255, 684, 96, 0x8C, 0x8C, 0x8C, 0xFF
  39. vertex -6588, -4561, 5188, 734, 352, 0x8C, 0x8C, 0x8C, 0xFF
  40. vertex -6588, -4535, 5255, 910, 224, 0x8C, 0x8C, 0x8C, 0xFF
  41. vertex -6588, -4535, 5188, 734, 224, 0x8C, 0x8C, 0x8C, 0xFF
  42. vertex -6588, -4587, 5117, 1560, 480, 0x8C, 0x8C, 0x8C, 0xFF
  43. vertex -6588, -4561, 5117, 1560, 352, 0x8C, 0x8C, 0x8C, 0xFF
  44. vertex -6178, -4561, 5117, 540, 352, 0x8C, 0x8C, 0x8C, 0xFF
  45. vertex -6178, -4587, 5117, 540, 480, 0x8C, 0x8C, 0x8C, 0xFF
  46. vertex -6588, -4561, 5188, 1748, 352, 0x8C, 0x8C, 0x8C, 0xFF
  47. vertex -6588, -4535, 5188, 1748, 224, 0x8C, 0x8C, 0x8C, 0xFF
  48. vertex -6178, -4535, 5188, 864, 224, 0x8C, 0x8C, 0x8C, 0xFF
  49. vertex -6178, -4561, 5188, 864, 352, 0x8C, 0x8C, 0x8C, 0xFF
  50. vertex -6178, -4535, 5255, 684, 224, 0x8C, 0x8C, 0x8C, 0xFF
  51. pss_seg7_vertex_0700DE28: # 0x0700DE28 - 0x0700DF18
  52. vertex -6741, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
  53. vertex -6741, -4587, 6089, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
  54. vertex -5973, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
  55. vertex -6588, -4510, 5321, 1604, 96, 0x8C, 0x8C, 0x8C, 0xFF
  56. vertex -6588, -4587, 5321, 1604, 480, 0x8C, 0x8C, 0x8C, 0xFF
  57. vertex -6741, -4587, 5321, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
  58. vertex -6178, -4510, 5321, 514, 96, 0x8C, 0x8C, 0x8C, 0xFF
  59. vertex -6741, -4484, 5321, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
  60. vertex -5973, -4484, 5321, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
  61. vertex -5973, -4587, 5321, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
  62. vertex -6178, -4587, 5321, 514, 480, 0x8C, 0x8C, 0x8C, 0xFF
  63. vertex -6741, -4484, 5321, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
  64. vertex -6741, -4587, 5321, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
  65. vertex -6741, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
  66. vertex -6741, -4484, 6089, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
  67. pss_seg7_vertex_0700DF18: # 0x0700DF18 - 0x0700DFF8
  68. vertex -5973, -4587, 5321, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
  69. vertex -5973, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
  70. vertex -5973, -4587, 6089, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
  71. vertex -6741, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
  72. vertex -5973, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
  73. vertex -5973, -4484, 6089, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
  74. vertex -5973, -4484, 5321, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
  75. vertex -6741, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex -5994, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex -5973, -4484, 5321, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex -5973, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex -5994, -4484, 6068, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex -5973, -4484, 6089, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  81. vertex -5994, -4484, 5342, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
  82. pss_seg7_vertex_0700DFF8: # 0x0700DFF8 - 0x0700E0A8
  83. vertex -5973, -4484, 6089, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex -6720, -4484, 6068, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex -6741, -4484, 6089, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex -5994, -4484, 6068, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex -6720, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex -6741, -4484, 6089, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex -6720, -4484, 6068, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex -6741, -4484, 5321, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex -6741, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex -6720, -4484, 5342, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex -5994, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
  94. pss_seg7_dl_0700E0A8: # 0x0700E0A8 - 0x0700E0E0
  95. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007000
  96. gsDPLoadSync
  97. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  98. gsSPVertex pss_seg7_vertex_0700DB48, 4, 0
  99. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  100. gsSPEndDisplayList
  101. pss_seg7_dl_0700E0E0: # 0x0700E0E0 - 0x0700E138
  102. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pss_seg7_texture_07000000
  103. gsDPLoadSync
  104. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  105. gsSPVertex pss_seg7_vertex_0700DB88, 12, 0
  106. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  107. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  108. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  109. gsSPEndDisplayList
  110. pss_seg7_dl_0700E138: # 0x0700E138 - 0x0700E2B0
  111. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09005800
  112. gsDPLoadSync
  113. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  114. gsSPVertex pss_seg7_vertex_0700DC48, 15, 0
  115. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  116. gsSP2Triangles 3, 6, 4, 0x0, 4, 7, 5, 0x0
  117. gsSP2Triangles 4, 8, 7, 0x0, 5, 7, 9, 0x0
  118. gsSP2Triangles 5, 9, 10, 0x0, 11, 0, 12, 0x0
  119. gsSP2Triangles 11, 13, 0, 0x0, 14, 0, 13, 0x0
  120. gsSP1Triangle 0, 14, 1, 0x0
  121. gsSPVertex pss_seg7_vertex_0700DD38, 15, 0
  122. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  123. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  124. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  125. gsSP1Triangle 0, 2, 14, 0x0
  126. gsSPVertex pss_seg7_vertex_0700DE28, 15, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  128. gsSP2Triangles 6, 3, 7, 0x0, 3, 5, 7, 0x0
  129. gsSP2Triangles 6, 7, 8, 0x0, 9, 6, 8, 0x0
  130. gsSP2Triangles 9, 10, 6, 0x0, 11, 12, 13, 0x0
  131. gsSP1Triangle 11, 13, 14, 0x0
  132. gsSPVertex pss_seg7_vertex_0700DF18, 14, 0
  133. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  134. gsSP2Triangles 0, 6, 1, 0x0, 7, 8, 9, 0x0
  135. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  136. gsSPVertex pss_seg7_vertex_0700DFF8, 11, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  138. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  139. gsSP1Triangle 8, 9, 10, 0x0
  140. gsSPEndDisplayList
  141. glabel pss_seg7_dl_0700E2B0 # 0x0700E2B0 - 0x0700E348
  142. gsDPPipeSync
  143. 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
  144. gsSPClearGeometryMode G_LIGHTING
  145. 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
  146. gsSPTexture -1, -1, 0, 0, 1
  147. gsDPTileSync
  148. 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
  149. gsDPSetTileSize 0, 0, 0, 124, 124
  150. gsSPDisplayList pss_seg7_dl_0700E0A8
  151. gsSPDisplayList pss_seg7_dl_0700E0E0
  152. gsDPTileSync
  153. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  154. gsDPSetTileSize 0, 0, 0, 124, 252
  155. gsSPDisplayList pss_seg7_dl_0700E138
  156. gsSPTexture -1, -1, 0, 0, 0
  157. gsDPPipeSync
  158. 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
  159. gsSPSetGeometryMode G_LIGHTING
  160. gsSPEndDisplayList