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.

151 lines
8.8 KiB

6 years ago
  1. pss_seg7_vertex_0700D3A8: # 0x0700D3A8 - 0x0700D498
  2. vertex -6864, -3726, 2608, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  3. vertex -6864, -4340, 1994, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  4. vertex -6864, -3726, 1994, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  5. vertex -5850, -3593, 587, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  6. vertex -5850, -4207, 1202, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  7. vertex -5850, -3593, 1202, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  8. vertex -5850, -4207, 587, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  9. vertex -6864, -3593, 1202, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  10. vertex -6864, -4207, 587, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  11. vertex -6864, -3593, 587, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  12. vertex -6864, -4207, 1202, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  13. vertex -5850, -3726, 1994, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  14. vertex -5850, -4340, 1994, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  15. vertex -5850, -4340, 2608, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  16. vertex -5850, -3726, 2608, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  17. pss_seg7_vertex_0700D498: # 0x0700D498 - 0x0700D588
  18. vertex -4584, -3581, -3258, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  19. vertex -4891, -3581, -3258, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  20. vertex -4891, -3057, -3258, 990, 118, 0xFF, 0x55, 0x00, 0xFF
  21. vertex -6864, -3726, 2608, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  22. vertex -6864, -4340, 2608, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  23. vertex -6864, -4340, 1994, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  24. vertex -5850, -3858, 3394, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  25. vertex -5850, -4473, 4009, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  26. vertex -5850, -3858, 4009, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  27. vertex -5850, -4473, 3394, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  28. vertex -6864, -3858, 4009, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  29. vertex -6864, -4473, 3394, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  30. vertex -6864, -3858, 3394, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  31. vertex -6864, -4473, 4009, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  32. vertex -4584, -3057, -3258, 478, 118, 0xFF, 0x55, 0x00, 0xFF
  33. pss_seg7_vertex_0700D588: # 0x0700D588 - 0x0700D688
  34. vertex -5091, 3236, 2431, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  35. vertex -5355, 3850, 2273, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  36. vertex -5091, 3850, 2431, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  37. vertex -4431, -3057, -2992, 0, 118, 0xFF, 0x55, 0x00, 0xFF
  38. vertex -4584, -3581, -3258, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  39. vertex -4584, -3057, -3258, 478, 118, 0xFF, 0x55, 0x00, 0xFF
  40. vertex -4431, -3581, -2992, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  41. vertex 531, -2174, -5293, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  42. vertex 224, -2174, -5293, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  43. vertex 224, -1559, -5293, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  44. vertex 531, -1559, -5293, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  45. vertex 684, -1559, -5026, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  46. vertex 684, -2174, -5026, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  47. vertex -6651, 4280, 307, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  48. vertex -6651, 3666, 307, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  49. vertex -6703, 3666, 5, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  50. pss_seg7_vertex_0700D688: # 0x0700D688 - 0x0700D768
  51. vertex -5091, 3236, 2431, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  52. vertex -5355, 3236, 2273, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  53. vertex -5355, 3850, 2273, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  54. vertex -4793, 3850, 2506, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  55. vertex -4793, 3236, 2506, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  56. vertex -5091, 3850, 2431, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  57. vertex -6703, 3666, 5, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  58. vertex -6700, 4280, -302, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  59. vertex -6703, 4280, 5, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  60. vertex -6700, 3666, -302, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  61. vertex -6651, 4280, 307, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  62. vertex -5951, 5059, -5249, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  63. vertex -5749, 4444, -5481, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  64. vertex -5749, 5059, -5481, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  65. pss_seg7_vertex_0700D768: # 0x0700D768 - 0x0700D858
  66. vertex -6703, 4076, -3107, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  67. vertex -6679, 4076, -3413, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  68. vertex -6679, 4690, -3413, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  69. vertex -6703, 4690, -3107, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  70. vertex -6650, 4690, -2804, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  71. vertex -6650, 4076, -2804, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  72. vertex -5749, 4444, -5481, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  73. vertex -5483, 5059, -5635, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  74. vertex -5749, 5059, -5481, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  75. vertex -5483, 4444, -5635, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  76. vertex 3229, 6770, -5124, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  77. vertex 3229, 6155, -5124, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  78. vertex 2615, 6155, -5124, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  79. vertex -5951, 5059, -5249, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  80. vertex -5951, 4444, -5249, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  81. pss_seg7_vertex_0700D858: # 0x0700D858 - 0x0700D928
  82. vertex -3603, 4659, -6137, 480, 990, 0xFF, 0x55, 0x00, 0xFF
  83. vertex -3296, 5274, -6137, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  84. vertex -3603, 5274, -6137, 478, 0, 0xFF, 0x55, 0x00, 0xFF
  85. vertex -3296, 4659, -6137, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  86. vertex -3909, 5274, -6110, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  87. vertex -3909, 4659, -6110, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  88. vertex 3229, 6770, -5124, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  89. vertex 2615, 6155, -5124, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  90. vertex 2615, 6770, -5124, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  91. vertex 2615, 6770, -6138, 0, 0, 0xFF, 0x55, 0x00, 0xFF
  92. vertex 3229, 6155, -6138, 990, 990, 0xFF, 0x55, 0x00, 0xFF
  93. vertex 3229, 6770, -6138, 990, 0, 0xFF, 0x55, 0x00, 0xFF
  94. vertex 2615, 6155, -6138, 0, 990, 0xFF, 0x55, 0x00, 0xFF
  95. pss_seg7_dl_0700D928: # 0x0700D928 - 0x0700DAD8
  96. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, pss_seg7_texture_07000800
  97. gsDPLoadSync
  98. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  99. gsSPVertex pss_seg7_vertex_0700D3A8, 15, 0
  100. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  101. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  102. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  103. gsSP1Triangle 11, 13, 14, 0x0
  104. gsSPVertex pss_seg7_vertex_0700D498, 15, 0
  105. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  106. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  107. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  108. gsSP1Triangle 0, 2, 14, 0x0
  109. gsSPVertex pss_seg7_vertex_0700D588, 16, 0
  110. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  111. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  112. gsSP2Triangles 7, 9, 10, 0x0, 11, 7, 10, 0x0
  113. gsSP2Triangles 11, 12, 7, 0x0, 13, 14, 15, 0x0
  114. gsSPVertex pss_seg7_vertex_0700D688, 14, 0
  115. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 0, 0x0
  116. gsSP2Triangles 3, 0, 5, 0x0, 6, 7, 8, 0x0
  117. gsSP2Triangles 6, 9, 7, 0x0, 10, 6, 8, 0x0
  118. gsSP1Triangle 11, 12, 13, 0x0
  119. gsSPVertex pss_seg7_vertex_0700D768, 15, 0
  120. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  121. gsSP2Triangles 4, 0, 3, 0x0, 4, 5, 0, 0x0
  122. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  123. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 6, 0x0
  124. gsSPVertex pss_seg7_vertex_0700D858, 13, 0
  125. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  126. gsSP2Triangles 4, 5, 0, 0x0, 4, 0, 2, 0x0
  127. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  128. gsSP1Triangle 9, 12, 10, 0x0
  129. gsSPEndDisplayList
  130. glabel pss_seg7_dl_0700DAD8 # 0x0700DAD8 - 0x0700DB48
  131. gsDPPipeSync
  132. 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
  133. gsSPClearGeometryMode G_LIGHTING
  134. 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
  135. gsSPTexture -1, -1, 0, 0, 1
  136. gsDPTileSync
  137. 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
  138. gsDPSetTileSize 0, 0, 0, 124, 124
  139. gsSPDisplayList pss_seg7_dl_0700D928
  140. gsSPTexture -1, -1, 0, 0, 0
  141. gsDPPipeSync
  142. 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
  143. gsSPSetGeometryMode G_LIGHTING
  144. gsSPEndDisplayList