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.

165 lines
9.0 KiB

6 years ago
  1. pss_seg7_vertex_0700A8B8: # 0x0700A8B8 - 0x0700A978
  2. vertex -5128, -2129, 4118, -6282, -1012, 0x8C, 0x8C, 0x8C, 0xFF
  3. vertex -7586, -2129, 6525, -9432, -2376, 0x8C, 0x8C, 0x8C, 0xFF
  4. vertex -7586, -2129, 4118, -8572, -134, 0x8C, 0x8C, 0x8C, 0xFF
  5. vertex -5128, -2129, 6525, -7142, -3254, 0x8C, 0x8C, 0x8C, 0xFF
  6. vertex 6144, 7680, -4095, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  7. vertex 3072, 7680, -7167, 2238, 3258, 0x8C, 0x8C, 0x8C, 0xFF
  8. vertex 6144, 7680, -7167, 2238, 990, 0x8C, 0x8C, 0x8C, 0xFF
  9. vertex 3072, 7680, -4095, 0, 3258, 0x8C, 0x8C, 0x8C, 0xFF
  10. vertex 6144, 6144, -7167, -2880, 9970, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 3072, 6144, -4095, -1254, 5950, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 6144, 6144, -4095, -4078, 7146, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 3072, 6144, -7167, -56, 8772, 0xFF, 0xFF, 0xFF, 0xFF
  14. pss_seg7_vertex_0700A978: # 0x0700A978 - 0x0700AA78
  15. vertex 3226, 6144, -6245, 8552, 1002, 0x8C, 0x8C, 0x8C, 0xFF
  16. vertex 3072, 6144, -6245, 8552, 1002, 0x8C, 0x8C, 0x8C, 0xFF
  17. vertex 3072, 7035, -6245, 8552, -2554, 0x8C, 0x8C, 0x8C, 0xFF
  18. vertex 3226, 7035, -6245, 8552, -2554, 0x8C, 0x8C, 0x8C, 0xFF
  19. vertex 3072, 7035, -5017, 3648, -2554, 0x8C, 0x8C, 0x8C, 0xFF
  20. vertex 3226, 7035, -5017, 3648, -2554, 0x8C, 0x8C, 0x8C, 0xFF
  21. vertex 3072, 6144, -5017, 3648, 1002, 0x8C, 0x8C, 0x8C, 0xFF
  22. vertex 3226, 6144, -5017, 3648, 1002, 0x8C, 0x8C, 0x8C, 0xFF
  23. vertex -5128, -2129, 4118, 9780, -8822, 0xAA, 0xAA, 0xAA, 0xFF
  24. vertex -6920, -3460, 4118, 2626, -3506, 0xAA, 0xAA, 0xAA, 0xFF
  25. vertex -5794, -3460, 4118, 7122, -3506, 0xAA, 0xAA, 0xAA, 0xFF
  26. vertex -5794, -4587, 4118, 7122, 990, 0xAA, 0xAA, 0xAA, 0xFF
  27. vertex -5128, -4587, 4118, 9780, 990, 0xAA, 0xAA, 0xAA, 0xFF
  28. vertex -7586, -2129, 4118, 0, -8822, 0xAA, 0xAA, 0xAA, 0xFF
  29. vertex -7586, -4587, 4118, 0, 990, 0xAA, 0xAA, 0xAA, 0xFF
  30. vertex -6920, -4587, 4118, 2626, 990, 0xAA, 0xAA, 0xAA, 0xFF
  31. pss_seg7_vertex_0700AA78: # 0x0700AA78 - 0x0700AB68
  32. vertex 3072, 6144, -6245, 8552, 1002, 0xAA, 0xAA, 0xAA, 0xFF
  33. vertex 3072, 6144, -7167, 12232, 1002, 0xAA, 0xAA, 0xAA, 0xFF
  34. vertex 3072, 7680, -7167, 12232, -5128, 0xAA, 0xAA, 0xAA, 0xFF
  35. vertex 3072, 7035, -6245, 8552, -2554, 0xAA, 0xAA, 0xAA, 0xFF
  36. vertex 3072, 7680, -4095, 0, -5128, 0xAA, 0xAA, 0xAA, 0xFF
  37. vertex 3072, 6144, -4095, 0, 1002, 0xAA, 0xAA, 0xAA, 0xFF
  38. vertex 3072, 7035, -5017, 3648, -2554, 0xAA, 0xAA, 0xAA, 0xFF
  39. vertex 3072, 6144, -5017, 3648, 1002, 0xAA, 0xAA, 0xAA, 0xFF
  40. vertex 3226, 6656, -5119, 4056, -1040, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 3226, 6656, -6143, 8144, -1040, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 3226, 7035, -6245, 8552, -2554, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -5128, -4587, 4118, 172, 990, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -5128, -4587, 6525, 9780, 990, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex -5128, -2129, 6525, 9780, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -5128, -2129, 4118, 172, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  47. pss_seg7_vertex_0700AB68: # 0x0700AB68 - 0x0700AC58
  48. vertex -7586, -2129, 6525, 0, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  49. vertex -7586, -4587, 4118, 9574, 990, 0xFF, 0xFF, 0xFF, 0xFF
  50. vertex -7586, -2129, 4118, 9574, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex -7586, -4587, 6525, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 3226, 6144, -6143, 8144, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 3226, 7035, -6245, 8552, -2554, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 3226, 6656, -6143, 8144, -1040, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 3226, 6144, -6245, 8552, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 6144, 6144, -4095, 0, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 3072, 7680, -4095, 12232, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 6144, 7680, -4095, 0, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 3226, 6144, -5017, 3648, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 3226, 6144, -5119, 4056, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 3226, 7035, -5017, 3648, -2554, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 3226, 6656, -5119, 4056, -1040, 0xFF, 0xFF, 0xFF, 0xFF
  63. pss_seg7_vertex_0700AC58: # 0x0700AC58 - 0x0700AD48
  64. vertex 6144, 7680, -7167, 0, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  65. vertex 6144, 6144, -4095, 12232, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  66. vertex 6144, 7680, -4095, 12232, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 6144, 6144, -7167, 0, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex 6144, 6144, -4095, 0, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 3072, 6144, -4095, 12232, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 3072, 7680, -4095, 12232, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 6144, 7680, -7167, 12232, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 3072, 7680, -7167, 0, -5128, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 3072, 6144, -7167, 0, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 6144, 6144, -7167, 12232, 1002, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex -7586, -2129, 6525, 9348, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex -5128, -2129, 6525, -460, -8822, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex -5128, -4587, 6525, -460, 990, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex -7586, -4587, 6525, 9348, 990, 0xFF, 0xFF, 0xFF, 0xFF
  79. pss_seg7_vertex_0700AD48: # 0x0700AD48 - 0x0700ADA8
  80. vertex -7586, -4587, 6525, 5078, -3950, 0xFF, 0xFF, 0xFF, 0xFF
  81. vertex -5128, -4587, 6525, -3096, -3950, 0xFF, 0xFF, 0xFF, 0xFF
  82. vertex -5794, -4587, 4118, -882, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  83. vertex -5128, -4587, 4118, -3096, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  84. vertex -6920, -4587, 4118, 2864, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  85. vertex -7586, -4587, 4118, 5078, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  86. pss_seg7_dl_0700ADA8: # 0x0700ADA8 - 0x0700AE00
  87. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_0900C000
  88. gsDPLoadSync
  89. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  90. gsSPVertex pss_seg7_vertex_0700A8B8, 12, 0
  91. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  92. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  93. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  94. gsSPEndDisplayList
  95. pss_seg7_dl_0700AE00: # 0x0700AE00 - 0x0700AF60
  96. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09000000
  97. gsDPLoadSync
  98. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  99. gsSPVertex pss_seg7_vertex_0700A978, 16, 0
  100. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  101. gsSP2Triangles 4, 3, 2, 0x0, 4, 5, 3, 0x0
  102. gsSP2Triangles 6, 5, 4, 0x0, 6, 7, 5, 0x0
  103. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 12, 0x0
  104. gsSP2Triangles 8, 13, 9, 0x0, 8, 10, 11, 0x0
  105. gsSP2Triangles 9, 13, 14, 0x0, 9, 14, 15, 0x0
  106. gsSPVertex pss_seg7_vertex_0700AA78, 15, 0
  107. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  108. gsSP2Triangles 3, 2, 4, 0x0, 5, 6, 4, 0x0
  109. gsSP2Triangles 5, 7, 6, 0x0, 3, 4, 6, 0x0
  110. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  111. gsSP1Triangle 11, 13, 14, 0x0
  112. gsSPVertex pss_seg7_vertex_0700AB68, 15, 0
  113. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  114. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  115. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  116. gsSP2Triangles 12, 14, 13, 0x0, 14, 5, 13, 0x0
  117. gsSPVertex pss_seg7_vertex_0700AC58, 15, 0
  118. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  119. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  120. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  121. gsSP1Triangle 11, 13, 14, 0x0
  122. gsSPEndDisplayList
  123. pss_seg7_dl_0700AF60: # 0x0700AF60 - 0x0700AFA8
  124. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007000
  125. gsDPLoadSync
  126. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  127. gsSPVertex pss_seg7_vertex_0700AD48, 6, 0
  128. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  129. gsSP2Triangles 0, 2, 4, 0x0, 5, 0, 4, 0x0
  130. gsSPEndDisplayList
  131. glabel pss_seg7_dl_0700AFA8 # 0x0700AFA8 - 0x0700B070
  132. gsDPPipeSync
  133. gsDPSetCycleType G_CYC_2CYCLE
  134. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  135. gsDPSetDepthSource G_ZS_PIXEL
  136. gsDPSetFogColor 0, 0, 0, 255
  137. gsSPFogPosition 980, 1000
  138. gsSPSetGeometryMode G_FOG
  139. gsDPSetCombineMode G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  140. gsSPClearGeometryMode G_LIGHTING
  141. 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
  142. gsSPTexture -1, -1, 0, 0, 1
  143. gsDPTileSync
  144. 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
  145. gsDPSetTileSize 0, 0, 0, 124, 124
  146. gsSPDisplayList pss_seg7_dl_0700ADA8
  147. gsSPDisplayList pss_seg7_dl_0700AE00
  148. gsSPDisplayList pss_seg7_dl_0700AF60
  149. gsSPTexture -1, -1, 0, 0, 0
  150. gsDPPipeSync
  151. gsDPSetCycleType G_CYC_1CYCLE
  152. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  153. gsSPClearGeometryMode G_FOG
  154. 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
  155. gsSPSetGeometryMode G_LIGHTING
  156. gsSPEndDisplayList