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.

163 lines
9.4 KiB

6 years ago
  1. hmc_seg7_vertex_07014370: # 0x07014370 - 0x07014460
  2. vertex 4629, -460, -767, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 4752, -460, -767, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 4752, -255, -767, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 5120, -357, -5559, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 4916, -357, -5559, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 4916, -562, -5559, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 5120, -562, -5559, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 5018, -357, -5498, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 5018, -357, -5621, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 5018, -562, -5621, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 5018, -562, -5498, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 4690, -460, -869, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 4690, -255, -665, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex 4690, -255, -869, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 4690, -460, -665, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  17. hmc_seg7_vertex_07014460: # 0x07014460 - 0x07014550
  18. vertex 4936, -255, -4249, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 4936, -460, -4044, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 4936, -460, -4249, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex 4629, -460, -767, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex 4752, -255, -767, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 4629, -255, -767, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 1762, -357, -2713, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex 1762, -357, -2508, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 1762, -562, -2508, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 1762, -562, -2713, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 1823, -357, -2610, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 1700, -357, -2610, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 1700, -562, -2610, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 1823, -562, -2610, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 4936, -255, -4044, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. hmc_seg7_vertex_07014550: # 0x07014550 - 0x07014640
  34. vertex 3462, -357, -1228, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 3462, -357, -1023, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 3462, -153, -1023, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 4998, -255, -4146, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 4875, -255, -4146, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 4875, -460, -4146, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex 4998, -460, -4146, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 4178, -357, -3839, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 4178, -153, -3634, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex 4178, -153, -3839, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex 4178, -357, -3634, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 4117, -357, -3737, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 4240, -357, -3737, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 4240, -153, -3737, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 4117, -153, -3737, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. hmc_seg7_vertex_07014640: # 0x07014640 - 0x07014730
  50. vertex 1997, 768, -173, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 1997, 563, -296, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 1997, 563, -173, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 3462, -357, -1228, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 3462, -153, -1023, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 3462, -153, -1228, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 3400, -357, -1125, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 3523, -153, -1125, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 3400, -153, -1125, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 3523, -357, -1125, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 2100, 768, -235, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 1895, 768, -235, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 1895, 563, -235, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 2100, 563, -235, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex 1997, 768, -296, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  65. hmc_seg7_vertex_07014730: # 0x07014730 - 0x07014820
  66. vertex 2171, -562, 256, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 2294, -562, 256, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex 2294, -357, 256, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 1762, 768, -101, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 1762, 563, 102, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 1762, 563, -101, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 1762, 768, 102, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 1823, 768, 0, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 1700, 768, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 1700, 563, 0, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex 1823, 563, 0, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 2233, -562, 154, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 2233, -562, 358, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 2233, -357, 358, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex 2233, -357, 154, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  81. hmc_seg7_vertex_07014820: # 0x07014820 - 0x07014910
  82. vertex 5510, -357, -3532, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex 5510, -153, -3327, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex 5510, -153, -3532, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex 2171, -562, 256, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  86. vertex 2294, -357, 256, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  87. vertex 2171, -357, 256, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  88. vertex 1823, -357, 256, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  89. vertex 1700, -357, 256, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  90. vertex 1700, -562, 256, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  91. vertex 1823, -562, 256, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  92. vertex 1762, -357, 154, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  93. vertex 1762, -562, 358, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  94. vertex 1762, -562, 154, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  95. vertex 1762, -357, 358, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  96. vertex 5510, -357, -3327, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  97. hmc_seg7_vertex_07014910: # 0x07014910 - 0x07014950
  98. vertex 5448, -357, -3429, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  99. vertex 5571, -357, -3429, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  100. vertex 5571, -153, -3429, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  101. vertex 5448, -153, -3429, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  102. hmc_seg7_dl_07014950: # 0x07014950 - 0x07014B08
  103. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cave_09007000
  104. gsDPLoadSync
  105. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  106. gsSPVertex hmc_seg7_vertex_07014370, 15, 0
  107. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  108. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  109. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  110. gsSP1Triangle 11, 14, 12, 0x0
  111. gsSPVertex hmc_seg7_vertex_07014460, 15, 0
  112. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  113. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  114. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  115. gsSP1Triangle 0, 14, 1, 0x0
  116. gsSPVertex hmc_seg7_vertex_07014550, 15, 0
  117. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  118. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  119. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  120. gsSP1Triangle 11, 13, 14, 0x0
  121. gsSPVertex hmc_seg7_vertex_07014640, 15, 0
  122. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  123. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  124. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  125. gsSP1Triangle 0, 14, 1, 0x0
  126. gsSPVertex hmc_seg7_vertex_07014730, 15, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  128. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  129. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  130. gsSP1Triangle 11, 13, 14, 0x0
  131. gsSPVertex hmc_seg7_vertex_07014820, 15, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  133. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  134. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  135. gsSP1Triangle 0, 14, 1, 0x0
  136. gsSPVertex hmc_seg7_vertex_07014910, 4, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  138. gsSPEndDisplayList
  139. glabel hmc_seg7_dl_07014B08 # 0x07014B08 - 0x07014B88
  140. gsDPPipeSync
  141. gsDPSetEnvColor 255, 255, 255, 128
  142. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
  143. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  144. 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
  145. gsSPTexture -1, -1, 0, 0, 1
  146. gsDPTileSync
  147. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  148. gsDPSetTileSize 0, 0, 0, 124, 124
  149. gsSPDisplayList hmc_seg7_dl_07014950
  150. gsSPTexture -1, -1, 0, 0, 0
  151. gsDPPipeSync
  152. 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
  153. gsDPSetEnvColor 255, 255, 255, 255
  154. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  155. gsSPEndDisplayList