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.

224 lines
11 KiB

6 years ago
  1. ccm_seg7_light_0700FD88: # 0x0700FD88 - 0x0700FD90
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ccm_seg7_light_0700FD90: # 0x0700FD90 - 0x0700FDA0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ccm_seg7_light_0700FDA0: # 0x0700FDA0 - 0x0700FDA8
  7. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  8. ccm_seg7_light_0700FDA8: # 0x0700FDA8 - 0x0700FDB8
  9. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ccm_seg7_light_0700FDB8: # 0x0700FDB8 - 0x0700FDC0
  12. .byte 0x5D, 0x5D, 0x5D, 0x00, 0x5D, 0x5D, 0x5D, 0x00
  13. ccm_seg7_light_0700FDC0: # 0x0700FDC0 - 0x0700FDD0
  14. .byte 0xBB, 0xBB, 0xBB, 0x00, 0xBB, 0xBB, 0xBB, 0x00
  15. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  16. ccm_seg7_vertex_0700FDD0: # 0x0700FDD0 - 0x0700FE10
  17. vertex -817, -1817, -724, 5504, 480, 0xC0, 0x2A, 0x9C, 0xFF
  18. vertex 1892, -2092, -145, 0, 990, 0x1A, 0x00, 0x84, 0xFF
  19. vertex -817, -2073, -724, 5500, 990, 0xBB, 0x00, 0x96, 0xFF
  20. vertex 1892, -1836, -145, -28, 480, 0xDF, 0x57, 0xAA, 0xFF
  21. ccm_seg7_vertex_0700FE10: # 0x0700FE10 - 0x0700FEF0
  22. vertex -2046, -1278, 1129, 7946, 990, 0x44, 0x21, 0x9B, 0xFF
  23. vertex -2046, 1230, 1129, 8644, -3968, 0x34, 0x00, 0x8D, 0xFF
  24. vertex -710, 1029, 1072, 5944, -3946, 0xFB, 0x00, 0x82, 0xFF
  25. vertex -817, -1817, -724, 1916, 492, 0xC0, 0x2A, 0x9C, 0xFF
  26. vertex -988, -2065, 76, 286, 996, 0xB3, 0x00, 0x9C, 0xFF
  27. vertex -988, -1809, 76, 282, 488, 0xE7, 0x1B, 0x87, 0xFF
  28. vertex -817, -2073, -724, 1920, 1000, 0xBB, 0x00, 0x96, 0xFF
  29. vertex -67, -876, 1044, 4142, -358, 0xF9, 0x9E, 0xB1, 0xFF
  30. vertex 962, -1117, 1000, 2036, -168, 0x15, 0xDA, 0x89, 0xFF
  31. vertex -513, -1534, 1063, 4840, 1066, 0x09, 0x48, 0x99, 0xFF
  32. vertex -1471, -894, 1105, 6914, 70, 0xF2, 0xFF, 0x82, 0xFF
  33. vertex 962, -93, 1000, 2322, -2192, 0x04, 0x34, 0x8D, 0xFF
  34. vertex 1275, 410, 986, 1844, -3274, 0xBC, 0xED, 0x98, 0xFF
  35. vertex 1275, 1741, 987, 2214, -5906, 0xA5, 0x00, 0xA9, 0xFF
  36. ccm_seg7_vertex_0700FEF0: # 0x0700FEF0 - 0x0700FF70
  37. vertex 1906, -556, 959, 324, -1540, 0xAC, 0xE0, 0xA7, 0xFF
  38. vertex 962, -93, 1000, 2322, -2192, 0x04, 0x34, 0x8D, 0xFF
  39. vertex 1275, 410, 986, 1844, -3274, 0xBC, 0xED, 0x98, 0xFF
  40. vertex 962, -1117, 1000, 2036, -168, 0x15, 0xDA, 0x89, 0xFF
  41. vertex 1906, -1836, 959, 0, 990, 0xBB, 0x49, 0xB4, 0xFF
  42. vertex -513, -1534, 1063, 4840, 1066, 0x09, 0x48, 0x99, 0xFF
  43. vertex -2046, -1278, 1129, 7946, 990, 0x44, 0x21, 0x9B, 0xFF
  44. vertex -1471, -894, 1105, 6914, 70, 0xF2, 0xFF, 0x82, 0xFF
  45. ccm_seg7_vertex_0700FF70: # 0x0700FF70 - 0x0700FFB0
  46. vertex 156, 540, 1036, 724, -58, 0xB1, 0x5B, 0x27, 0xFF
  47. vertex 633, 498, 922, -226, 168, 0x7D, 0x11, 0xF4, 0xFF
  48. vertex 546, 528, 84, -50, 1838, 0x2E, 0x0B, 0x8B, 0xFF
  49. vertex -183, 540, 294, 1404, 1420, 0xA5, 0x4D, 0xD5, 0xFF
  50. ccm_seg7_vertex_0700FFB0: # 0x0700FFB0 - 0x07010070
  51. vertex 962, -93, 1000, -5384, -2838, 0x04, 0x34, 0x8D, 0xFF
  52. vertex -1457, -890, 550, -552, -1940, 0xA9, 0x1C, 0xA9, 0xFF
  53. vertex -1471, -894, 1105, -524, -3048, 0xF2, 0xFF, 0x82, 0xFF
  54. vertex -988, -1809, 76, 3012, 1856, 0xE7, 0x1B, 0x87, 0xFF
  55. vertex 1892, -1836, -145, -2738, 2298, 0xDF, 0x57, 0xAA, 0xFF
  56. vertex -817, -1817, -724, 2670, 3454, 0xC0, 0x2A, 0x9C, 0xFF
  57. vertex 1906, -1836, 959, -2766, 94, 0xBB, 0x49, 0xB4, 0xFF
  58. vertex -988, -1554, 76, 3012, 1856, 0x10, 0x64, 0xB5, 0xFF
  59. vertex -513, -1534, 1063, 2062, -114, 0x09, 0x48, 0x99, 0xFF
  60. vertex -2047, -1279, 0, 5124, 2006, 0x3C, 0x4A, 0xAD, 0xFF
  61. vertex -2046, -1278, 1129, 5124, -246, 0x44, 0x21, 0x9B, 0xFF
  62. vertex 703, -108, -178, -4864, -484, 0x27, 0x2D, 0x90, 0xFF
  63. ccm_seg7_vertex_07010070: # 0x07010070 - 0x07010160
  64. vertex 1275, 410, -1125, -3320, -6720, 0x87, 0xDD, 0x00, 0xFF
  65. vertex 1892, -556, -145, 0, -3204, 0x84, 0xE9, 0x01, 0xFF
  66. vertex 1906, -556, 959, 3644, -3204, 0xAC, 0xE0, 0xA7, 0xFF
  67. vertex 1275, 410, 986, 3708, -6736, 0xBC, 0xED, 0x98, 0xFF
  68. vertex -2046, -1278, 1129, 0, 990, 0x44, 0x21, 0x9B, 0xFF
  69. vertex -2047, -1279, 0, 3724, 990, 0x3C, 0x4A, 0xAD, 0xFF
  70. vertex -2047, -767, 0, 3724, -714, 0x7E, 0x00, 0x00, 0xFF
  71. vertex -2046, 1230, 1129, -36, -7356, 0x34, 0x00, 0x8D, 0xFF
  72. vertex -180, 307, 292, -2814, 7196, 0x91, 0xC6, 0xF1, 0xFF
  73. vertex 546, 528, 84, -3508, 9614, 0x2E, 0x0B, 0x8B, 0xFF
  74. vertex 156, 307, 1035, -342, 8320, 0xED, 0x84, 0x0E, 0xFF
  75. vertex 633, 498, 922, -720, 9906, 0x7D, 0x11, 0xF4, 0xFF
  76. vertex -1457, -890, 550, -1956, 2948, 0xA9, 0x1C, 0xA9, 0xFF
  77. vertex -122, -664, -23, -3866, 7390, 0xF6, 0x9F, 0xAF, 0xFF
  78. vertex -67, -876, 1044, -312, 7572, 0xF9, 0x9E, 0xB1, 0xFF
  79. ccm_seg7_vertex_07010160: # 0x07010160 - 0x070101A0
  80. vertex 703, -108, -178, -4384, 10136, 0x27, 0x2D, 0x90, 0xFF
  81. vertex 962, -1117, 1000, -460, 11000, 0x15, 0xDA, 0x89, 0xFF
  82. vertex -122, -664, -23, -3866, 7390, 0xF6, 0x9F, 0xAF, 0xFF
  83. vertex -67, -876, 1044, -312, 7572, 0xF9, 0x9E, 0xB1, 0xFF
  84. ccm_seg7_vertex_070101A0: # 0x070101A0 - 0x07010280
  85. vertex 1892, -556, -145, 0, -3204, 0x84, 0xE9, 0x01, 0xFF
  86. vertex 1892, -1836, -145, 0, 990, 0xDF, 0x57, 0xAA, 0xFF
  87. vertex 1906, -1836, 959, 3644, 990, 0xBB, 0x49, 0xB4, 0xFF
  88. vertex 1906, -556, 959, 3644, -3204, 0xAC, 0xE0, 0xA7, 0xFF
  89. vertex 1280, 1997, -869, -2468, -11920, 0x82, 0x00, 0x00, 0xFF
  90. vertex 1275, 410, -1125, -3320, -6720, 0x87, 0xDD, 0x00, 0xFF
  91. vertex 1275, 1741, 987, 3708, -11098, 0xA5, 0x00, 0xA9, 0xFF
  92. vertex 1275, 410, 986, 3708, -6736, 0xBC, 0xED, 0x98, 0xFF
  93. vertex 703, -108, -178, 5204, 990, 0x27, 0x2D, 0x90, 0xFF
  94. vertex 962, -93, 1000, 2152, -1624, 0x04, 0x34, 0x8D, 0xFF
  95. vertex 962, -1117, 1000, 0, 990, 0x15, 0xDA, 0x89, 0xFF
  96. vertex 546, 528, 84, -2558, 990, 0x2E, 0x0B, 0x8B, 0xFF
  97. vertex -180, 307, 292, -54, 1762, 0x91, 0xC6, 0xF1, 0xFF
  98. vertex -183, 540, 294, 0, 990, 0xA5, 0x4D, 0xD5, 0xFF
  99. ccm_seg7_vertex_07010280: # 0x07010280 - 0x07010320
  100. vertex -183, 540, 294, 0, 216, 0xA5, 0x4D, 0xD5, 0xFF
  101. vertex -180, 307, 292, 0, 990, 0x91, 0xC6, 0xF1, 0xFF
  102. vertex 156, 540, 1036, 2684, 216, 0xB1, 0x5B, 0x27, 0xFF
  103. vertex 156, 307, 1035, 2684, 990, 0xED, 0x84, 0x0E, 0xFF
  104. vertex -67, -876, 1044, -312, 7572, 0xF9, 0x9E, 0xB1, 0xFF
  105. vertex -1471, -894, 1105, -112, 2904, 0xF2, 0xFF, 0x82, 0xFF
  106. vertex -1457, -890, 550, -1956, 2948, 0xA9, 0x1C, 0xA9, 0xFF
  107. vertex -122, -664, -23, -4832, 1926, 0xF6, 0x9F, 0xAF, 0xFF
  108. vertex -1457, -890, 550, 0, 990, 0xA9, 0x1C, 0xA9, 0xFF
  109. vertex 703, -108, -178, -8050, 990, 0x27, 0x2D, 0x90, 0xFF
  110. ccm_seg7_vertex_07010320: # 0x07010320 - 0x07010390
  111. vertex -988, -1809, 76, -6786, -432, 0xE7, 0x1B, 0x87, 0xFF
  112. vertex -988, -1554, 76, -6786, -670, 0x10, 0x64, 0xB5, 0xFF
  113. vertex 1892, -1836, -145, -6370, -1418, 0xDF, 0x57, 0xAA, 0xFF
  114. vertex -988, -2065, 76, -6786, -194, 0xB3, 0x00, 0x9C, 0xFF
  115. vertex -1930, -1804, 30, -7036, -116, 0x06, 0xFF, 0x82, 0xFF
  116. vertex -1930, -2060, 28, -7038, 122, 0x06, 0x00, 0x82, 0xFF
  117. vertex -2047, -1279, 0, -7090, -568, 0x3C, 0x4A, 0xAD, 0xFF
  118. ccm_seg7_dl_07010390: # 0x07010390 - 0x07010480
  119. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09003000
  120. gsDPLoadSync
  121. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  122. gsSPLight ccm_seg7_light_0700FD90, 1
  123. gsSPLight ccm_seg7_light_0700FD88, 2
  124. gsSPVertex ccm_seg7_vertex_0700FDD0, 4, 0
  125. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  126. gsSPLight ccm_seg7_light_0700FDA8, 1
  127. gsSPLight ccm_seg7_light_0700FDA0, 2
  128. gsSPVertex ccm_seg7_vertex_0700FE10, 14, 0
  129. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  130. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  131. gsSP2Triangles 7, 9, 10, 0x0, 11, 10, 2, 0x0
  132. gsSP2Triangles 2, 10, 0, 0x0, 12, 2, 13, 0x0
  133. gsSP2Triangles 13, 2, 1, 0x0, 12, 11, 2, 0x0
  134. gsSPLight ccm_seg7_light_0700FDC0, 1
  135. gsSPLight ccm_seg7_light_0700FDB8, 2
  136. gsSPVertex ccm_seg7_vertex_0700FEF0, 8, 0
  137. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  138. gsSP2Triangles 0, 4, 3, 0x0, 3, 1, 0, 0x0
  139. gsSP1Triangle 5, 6, 7, 0x0
  140. gsSPEndDisplayList
  141. ccm_seg7_dl_07010480: # 0x07010480 - 0x07010518
  142. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09006000
  143. gsDPLoadSync
  144. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  145. gsSPLight ccm_seg7_light_0700FDA8, 1
  146. gsSPLight ccm_seg7_light_0700FDA0, 2
  147. gsSPVertex ccm_seg7_vertex_0700FF70, 4, 0
  148. gsSP2Triangles 0, 1, 2, 0x0, 2, 3, 0, 0x0
  149. gsSPLight ccm_seg7_light_0700FDC0, 1
  150. gsSPLight ccm_seg7_light_0700FDB8, 2
  151. gsSPVertex ccm_seg7_vertex_0700FFB0, 12, 0
  152. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  153. gsSP2Triangles 6, 7, 8, 0x0, 6, 4, 7, 0x0
  154. gsSP2Triangles 8, 7, 9, 0x0, 10, 8, 9, 0x0
  155. gsSP1Triangle 0, 11, 1, 0x0
  156. gsSPEndDisplayList
  157. ccm_seg7_dl_07010518: # 0x07010518 - 0x07010610
  158. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09002000
  159. gsDPLoadSync
  160. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  161. gsSPLight ccm_seg7_light_0700FDA8, 1
  162. gsSPLight ccm_seg7_light_0700FDA0, 2
  163. gsSPVertex ccm_seg7_vertex_07010070, 15, 0
  164. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  165. gsSP2Triangles 4, 5, 6, 0x0, 6, 7, 4, 0x0
  166. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  167. gsSP1Triangle 12, 13, 14, 0x0
  168. gsSPVertex ccm_seg7_vertex_07010160, 4, 0
  169. gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 1, 0x0
  170. gsSPLight ccm_seg7_light_0700FDC0, 1
  171. gsSPLight ccm_seg7_light_0700FDB8, 2
  172. gsSPVertex ccm_seg7_vertex_070101A0, 14, 0
  173. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  174. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  175. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  176. gsSPVertex ccm_seg7_vertex_07010280, 10, 0
  177. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  178. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  179. gsSPEndDisplayList
  180. ccm_seg7_dl_07010610: # 0x07010610 - 0x07010660
  181. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09002800
  182. gsDPLoadSync
  183. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  184. gsSPVertex ccm_seg7_vertex_07010320, 7, 0
  185. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  186. gsSP2Triangles 3, 5, 4, 0x0, 0, 4, 6, 0x0
  187. gsSP1Triangle 1, 0, 6, 0x0
  188. gsSPEndDisplayList
  189. glabel ccm_seg7_dl_07010660 # 0x07010660 - 0x070106D8
  190. gsDPPipeSync
  191. 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
  192. 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
  193. gsSPTexture -1, -1, 0, 0, 1
  194. gsDPTileSync
  195. 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
  196. gsDPSetTileSize 0, 0, 0, 124, 124
  197. gsSPDisplayList ccm_seg7_dl_07010390
  198. gsSPDisplayList ccm_seg7_dl_07010480
  199. gsSPDisplayList ccm_seg7_dl_07010518
  200. gsSPDisplayList ccm_seg7_dl_07010610
  201. gsSPTexture -1, -1, 0, 0, 0
  202. gsDPPipeSync
  203. 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
  204. gsSPEndDisplayList