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.3 KiB

6 years ago
  1. ccm_seg7_vertex_0700D658: # 0x0700D658 - 0x0700D748
  2. vertex -6015, -1740, 689, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  3. vertex -6015, -1740, 934, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  4. vertex -5769, -1740, 934, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  5. vertex -5631, -1740, 4025, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  6. vertex -5631, -1740, 4271, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  7. vertex -5385, -1740, 4271, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  8. vertex -5385, -1740, 4025, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  9. vertex -4699, -1740, 4691, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  10. vertex -4454, -1740, 4937, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  11. vertex -4454, -1740, 4691, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  12. vertex -4699, -1740, 4937, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  13. vertex -5324, -1740, 2871, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  14. vertex -5078, -1740, 3117, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  15. vertex -5078, -1740, 2871, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  16. vertex -5324, -1740, 3117, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  17. ccm_seg7_vertex_0700D748: # 0x0700D748 - 0x0700D838
  18. vertex -611, 2560, -2428, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  19. vertex -611, 2560, -2182, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  20. vertex -365, 2560, -2182, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  21. vertex -6015, -1740, 689, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  22. vertex -5769, -1740, 934, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  23. vertex -5769, -1740, 689, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  24. vertex -3871, -4607, 4341, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  25. vertex -3625, -4607, 4587, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  26. vertex -3625, -4607, 4341, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  27. vertex -3871, -4607, 4587, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  28. vertex 1125, -4607, 5351, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  29. vertex 1371, -4607, 5597, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  30. vertex 1371, -4607, 5351, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  31. vertex 1125, -4607, 5597, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  32. vertex -365, 2560, -2428, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  33. ccm_seg7_vertex_0700D838: # 0x0700D838 - 0x0700D938
  34. vertex -1269, -3583, 5796, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  35. vertex -1023, -3583, 6042, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  36. vertex -1023, -3583, 5796, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  37. vertex -1891, 2560, -1916, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  38. vertex -1891, 2560, -1670, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  39. vertex -1645, 2560, -1670, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  40. vertex -1645, 2560, -1916, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  41. vertex -3566, 807, -2836, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  42. vertex -3320, 807, -2590, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  43. vertex -3320, 807, -2836, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  44. vertex -3566, 807, -2590, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  45. vertex 1867, -4607, 4826, 0, 0, 0xFF, 0xFF, 0xFF, 0xB4
  46. vertex 1867, -4607, 5072, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  47. vertex 2112, -4607, 5072, 990, 990, 0xFF, 0xFF, 0xFF, 0xB4
  48. vertex 2112, -4607, 4826, 990, 0, 0xFF, 0xFF, 0xFF, 0xB4
  49. vertex -1269, -3583, 6042, 0, 990, 0xFF, 0xFF, 0xFF, 0xB4
  50. ccm_seg7_vertex_0700D938: # 0x0700D938 - 0x0700D9B8
  51. vertex 2114, 2560, -1753, 0, 0, 0x33, 0x33, 0x33, 0xB4
  52. vertex 2360, 2560, -1507, 990, 990, 0x33, 0x33, 0x33, 0xB4
  53. vertex 2360, 2560, -1753, 990, 0, 0x33, 0x33, 0x33, 0xB4
  54. vertex 2114, 2560, -1507, 0, 990, 0x33, 0x33, 0x33, 0xB4
  55. vertex 2762, 2560, -1761, 0, 0, 0x33, 0x33, 0x33, 0xB4
  56. vertex 3007, 2560, -1515, 990, 990, 0x33, 0x33, 0x33, 0xB4
  57. vertex 3007, 2560, -1761, 990, 0, 0x33, 0x33, 0x33, 0xB4
  58. vertex 2762, 2560, -1515, 0, 990, 0x33, 0x33, 0x33, 0xB4
  59. ccm_seg7_vertex_0700D9B8: # 0x0700D9B8 - 0x0700DAA8
  60. vertex 2033, 2195, -194, 0, 0, 0x00, 0x10, 0x00, 0xFF
  61. vertex 2247, 2261, -378, 990, 990, 0x00, 0x10, 0x00, 0xFF
  62. vertex 2042, 2261, -387, 0, 990, 0x00, 0x10, 0x00, 0xFF
  63. vertex 1636, -4607, 4275, 0, 0, 0x00, 0x10, 0x00, 0xFF
  64. vertex 1925, -4607, 4286, 990, 990, 0x00, 0x10, 0x00, 0xFF
  65. vertex 1786, -4607, 4136, 990, 0, 0x00, 0x10, 0x00, 0xFF
  66. vertex 1775, -4607, 4425, 0, 990, 0x00, 0x10, 0x00, 0xFF
  67. vertex 2958, -2818, 1710, 0, 0, 0x00, 0x10, 0x00, 0xFF
  68. vertex 3097, -2822, 1860, 990, 0, 0x00, 0x10, 0x00, 0xFF
  69. vertex 3394, -2913, 1441, 990, 990, 0x00, 0x10, 0x00, 0xFF
  70. vertex 3255, -2909, 1291, 0, 990, 0x00, 0x10, 0x00, 0xFF
  71. vertex 2953, -2621, 2700, 0, 0, 0x00, 0x10, 0x00, 0xFF
  72. vertex 3362, -2764, 2735, 990, 990, 0x00, 0x10, 0x00, 0xFF
  73. vertex 3152, -2758, 2510, 990, 0, 0x00, 0x10, 0x00, 0xFF
  74. vertex 3162, -2627, 2924, 0, 990, 0x00, 0x10, 0x00, 0xFF
  75. ccm_seg7_vertex_0700DAA8: # 0x0700DAA8 - 0x0700DB98
  76. vertex 2163, 1630, 1460, 0, 0, 0x00, 0x10, 0x00, 0xFF
  77. vertex 2220, 2062, 201, 990, 0, 0x00, 0x10, 0x00, 0xFF
  78. vertex 2016, 2062, 192, 990, 990, 0x00, 0x10, 0x00, 0xFF
  79. vertex 2033, 2195, -194, 0, 0, 0x00, 0x10, 0x00, 0xFF
  80. vertex 2238, 2194, -185, 990, 0, 0x00, 0x10, 0x00, 0xFF
  81. vertex 2247, 2261, -378, 990, 990, 0x00, 0x10, 0x00, 0xFF
  82. vertex 1556, 1482, 1801, 0, 0, 0x00, 0x10, 0x00, 0xFF
  83. vertex 1591, 1445, 1999, 0, 990, 0x00, 0x10, 0x00, 0xFF
  84. vertex 1792, 1471, 1968, 990, 990, 0x00, 0x10, 0x00, 0xFF
  85. vertex 1757, 1508, 1770, 990, 0, 0x00, 0x10, 0x00, 0xFF
  86. vertex 970, 3072, 59, 0, 990, 0x00, 0x10, 0x00, 0xFF
  87. vertex 1358, 3072, -1277, 990, 0, 0x00, 0x10, 0x00, 0xFF
  88. vertex 949, 3072, -1271, 0, 0, 0x00, 0x10, 0x00, 0xFF
  89. vertex 1379, 3072, 53, 990, 990, 0x00, 0x10, 0x00, 0xFF
  90. vertex 1959, 1631, 1450, 0, 990, 0x00, 0x10, 0x00, 0xFF
  91. ccm_seg7_vertex_0700DB98: # 0x0700DB98 - 0x0700DC18
  92. vertex 768, -4607, 6244, 0, 0, 0x00, 0x10, 0x00, 0xFF
  93. vertex 1178, -4607, 6603, 990, 990, 0x00, 0x10, 0x00, 0xFF
  94. vertex 1177, -4607, 6244, 990, 0, 0x00, 0x10, 0x00, 0xFF
  95. vertex 768, -4607, 6603, 0, 990, 0x00, 0x10, 0x00, 0xFF
  96. vertex -3892, -2149, 6246, 0, 0, 0x00, 0x10, 0x00, 0xFF
  97. vertex -3892, -2149, 6605, 0, 990, 0x00, 0x10, 0x00, 0xFF
  98. vertex -3268, -2149, 6605, 990, 990, 0x00, 0x10, 0x00, 0xFF
  99. vertex -3268, -2149, 6246, 990, 0, 0x00, 0x10, 0x00, 0xFF
  100. ccm_seg7_dl_0700DC18: # 0x0700DC18 - 0x0700DD28
  101. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009800
  102. gsDPLoadSync
  103. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  104. gsSPVertex ccm_seg7_vertex_0700D658, 15, 0
  105. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  106. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  107. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  108. gsSP1Triangle 11, 14, 12, 0x0
  109. gsSPVertex ccm_seg7_vertex_0700D748, 15, 0
  110. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  111. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  112. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  113. gsSP1Triangle 0, 2, 14, 0x0
  114. gsSPVertex ccm_seg7_vertex_0700D838, 16, 0
  115. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  116. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  117. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  118. gsSP2Triangles 11, 13, 14, 0x0, 0, 15, 1, 0x0
  119. gsSPVertex ccm_seg7_vertex_0700D938, 8, 0
  120. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  121. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  122. gsSPEndDisplayList
  123. ccm_seg7_dl_0700DD28: # 0x0700DD28 - 0x0700DDF0
  124. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009000
  125. gsDPLoadSync
  126. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  127. gsSPVertex ccm_seg7_vertex_0700D9B8, 15, 0
  128. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  129. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  130. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  131. gsSP1Triangle 11, 14, 12, 0x0
  132. gsSPVertex ccm_seg7_vertex_0700DAA8, 15, 0
  133. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  134. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  135. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  136. gsSP1Triangle 14, 0, 2, 0x0
  137. gsSPVertex ccm_seg7_vertex_0700DB98, 8, 0
  138. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  139. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  140. gsSPEndDisplayList
  141. glabel ccm_seg7_dl_0700DDF0 # 0x0700DDF0 - 0x0700DE68
  142. gsDPPipeSync
  143. 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
  144. gsSPClearGeometryMode G_LIGHTING
  145. 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
  146. gsSPTexture -1, -1, 0, 0, 1
  147. gsDPTileSync
  148. 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
  149. gsDPSetTileSize 0, 0, 0, 124, 124
  150. gsSPDisplayList ccm_seg7_dl_0700DC18
  151. gsSPDisplayList ccm_seg7_dl_0700DD28
  152. gsSPTexture -1, -1, 0, 0, 0
  153. gsDPPipeSync
  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