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.

228 lines
14 KiB

6 years ago
  1. inside_castle_seg7_light_07036E68: # 0x07036E68 - 0x07036E70
  2. .byte 0xCC, 0xCC, 0xCC, 0x00, 0xCC, 0xCC, 0xCC, 0x00
  3. inside_castle_seg7_light_07036E70: # 0x07036E70 - 0x07036E80
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_vertex_07036E80: # 0x07036E80 - 0x07036F70
  7. vertex 4109, 768, 447, -3096, 480, 0xA7, 0x00, 0x59, 0xFF
  8. vertex 4182, 358, 520, 990, 0, 0xA7, 0x00, 0x59, 0xFF
  9. vertex 4182, 768, 520, -3096, 0, 0xA7, 0x00, 0x59, 0xFF
  10. vertex 4109, 358, 447, 0, 478, 0x00, 0x7F, 0x00, 0xFF
  11. vertex 3385, 358, 1171, 10188, 480, 0x00, 0x7F, 0x00, 0xFF
  12. vertex 3458, 358, 1244, 10188, 0, 0x00, 0x7F, 0x00, 0xFF
  13. vertex 4182, 358, 520, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  14. vertex 4182, 768, 520, 0, 0, 0x00, 0x81, 0x00, 0xFF
  15. vertex 3458, 768, 1244, 10188, 0, 0x00, 0x81, 0x00, 0xFF
  16. vertex 3385, 768, 1171, 10188, 480, 0x00, 0x81, 0x00, 0xFF
  17. vertex 4109, 768, 447, 0, 480, 0x00, 0x81, 0x00, 0xFF
  18. vertex 3458, 768, 1244, -3096, 0, 0x59, 0x00, 0xA7, 0xFF
  19. vertex 3458, 358, 1244, 990, 0, 0x59, 0x00, 0xA7, 0xFF
  20. vertex 3385, 358, 1171, 990, 480, 0x59, 0x00, 0xA7, 0xFF
  21. vertex 3385, 768, 1171, -3096, 480, 0x59, 0x00, 0xA7, 0xFF
  22. inside_castle_seg7_vertex_07036F70: # 0x07036F70 - 0x07037060
  23. vertex 4109, 768, -907, 6100, 478, 0x00, 0x81, 0x00, 0xFF
  24. vertex 3458, 768, -1704, -4118, 0, 0x00, 0x81, 0x00, 0xFF
  25. vertex 4182, 768, -980, 6100, 0, 0x00, 0x81, 0x00, 0xFF
  26. vertex 4109, 768, 447, -3096, 480, 0xA7, 0x00, 0x59, 0xFF
  27. vertex 4109, 358, 447, 990, 480, 0xA7, 0x00, 0x59, 0xFF
  28. vertex 4182, 358, 520, 990, 0, 0xA7, 0x00, 0x59, 0xFF
  29. vertex 4182, 768, -980, -3096, 0, 0xA7, 0x00, 0xA7, 0xFF
  30. vertex 4182, 358, -980, 990, 0, 0xA7, 0x00, 0xA7, 0xFF
  31. vertex 4109, 358, -907, 990, 480, 0xA7, 0x00, 0xA7, 0xFF
  32. vertex 4109, 768, -907, -3096, 480, 0xA7, 0x00, 0xA7, 0xFF
  33. vertex 3385, 768, -1631, -3096, 480, 0x59, 0x00, 0x59, 0xFF
  34. vertex 3385, 358, -1631, 990, 480, 0x59, 0x00, 0x59, 0xFF
  35. vertex 3458, 358, -1704, 990, 0, 0x59, 0x00, 0x59, 0xFF
  36. vertex 3458, 768, -1704, -3096, 0, 0x59, 0x00, 0x59, 0xFF
  37. vertex 3385, 768, -1631, -4118, 480, 0x00, 0x81, 0x00, 0xFF
  38. inside_castle_seg7_vertex_07037060: # 0x07037060 - 0x07037150
  39. vertex 3174, 768, 1280, 0, 478, 0x00, 0x81, 0x00, 0xFF
  40. vertex 2355, 768, 1382, 8144, 0, 0x00, 0x81, 0x00, 0xFF
  41. vertex 2355, 768, 1280, 8144, 480, 0x00, 0x81, 0x00, 0xFF
  42. vertex 4182, 358, -980, 6100, 0, 0x00, 0x7F, 0x00, 0xFF
  43. vertex 3458, 358, -1704, -4118, 0, 0x00, 0x7F, 0x00, 0xFF
  44. vertex 3385, 358, -1631, -4118, 480, 0x00, 0x7F, 0x00, 0xFF
  45. vertex 4109, 358, -907, 6100, 478, 0x00, 0x7F, 0x00, 0xFF
  46. vertex 3174, 768, -1842, 8144, 0, 0x00, 0x81, 0x00, 0xFF
  47. vertex 3174, 768, -1740, 8144, 478, 0x00, 0x81, 0x00, 0xFF
  48. vertex 2355, 768, -1740, 0, 480, 0x00, 0x81, 0x00, 0xFF
  49. vertex 2355, 768, -1842, 0, 0, 0x00, 0x81, 0x00, 0xFF
  50. vertex 3174, 358, -1740, 8144, 478, 0x00, 0x7F, 0x00, 0xFF
  51. vertex 3174, 358, -1842, 8144, 0, 0x00, 0x7F, 0x00, 0xFF
  52. vertex 2355, 358, -1842, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  53. vertex 2355, 358, -1740, 0, 480, 0x00, 0x7F, 0x00, 0xFF
  54. inside_castle_seg7_vertex_07037150: # 0x07037150 - 0x07037240
  55. vertex 3174, 358, -1842, 0, 0, 0x81, 0x00, 0x00, 0xFF
  56. vertex 3174, 768, -1740, 4056, 478, 0x81, 0x00, 0x00, 0xFF
  57. vertex 3174, 768, -1842, 4056, 0, 0x81, 0x00, 0x00, 0xFF
  58. vertex 3174, 768, 1280, 0, 478, 0x00, 0x81, 0x00, 0xFF
  59. vertex 3174, 768, 1382, 0, 0, 0x00, 0x81, 0x00, 0xFF
  60. vertex 2355, 768, 1382, 8144, 0, 0x00, 0x81, 0x00, 0xFF
  61. vertex 3174, 358, 1382, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  62. vertex 2355, 358, 1280, 8144, 480, 0x00, 0x7F, 0x00, 0xFF
  63. vertex 2355, 358, 1382, 8144, 0, 0x00, 0x7F, 0x00, 0xFF
  64. vertex 3174, 358, 1280, 0, 478, 0x00, 0x7F, 0x00, 0xFF
  65. vertex 2355, 358, -1740, 0, 480, 0x7F, 0x00, 0x00, 0xFF
  66. vertex 2355, 768, -1842, 4056, 0, 0x7F, 0x00, 0x00, 0xFF
  67. vertex 2355, 768, -1740, 4056, 478, 0x7F, 0x00, 0x00, 0xFF
  68. vertex 2355, 358, -1842, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  69. vertex 3174, 358, -1740, 0, 480, 0x81, 0x00, 0x00, 0xFF
  70. inside_castle_seg7_vertex_07037240: # 0x07037240 - 0x07037320
  71. vertex 2355, 358, 1382, 4056, 0, 0x7F, 0x00, 0x00, 0xFF
  72. vertex 2355, 358, 1280, 4056, 480, 0x7F, 0x00, 0x00, 0xFF
  73. vertex 2355, 768, 1280, 0, 480, 0x7F, 0x00, 0x00, 0xFF
  74. vertex 2355, 768, 1382, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  75. vertex 3174, 358, 1280, 4056, 480, 0x81, 0x00, 0x00, 0xFF
  76. vertex 3174, 358, 1382, 4056, 0, 0x81, 0x00, 0x00, 0xFF
  77. vertex 3174, 768, 1382, 0, 0, 0x81, 0x00, 0x00, 0xFF
  78. vertex 3174, 768, 1280, 0, 480, 0x81, 0x00, 0x00, 0xFF
  79. vertex 4403, 307, -767, -8206, 1372, 0x00, 0x7F, 0x00, 0xFF
  80. vertex 3573, 307, -2457, -4062, 5586, 0x00, 0x7F, 0x00, 0xFF
  81. vertex 3319, 307, -1842, -2796, 4054, 0x00, 0x7F, 0x00, 0xFF
  82. vertex 4836, 307, -1203, -10366, 2460, 0x00, 0x7F, 0x00, 0xFF
  83. vertex 2253, 307, -2457, 2522, 5586, 0x00, 0x7F, 0x00, 0xFF
  84. vertex 2253, 307, -1842, 2522, 4054, 0x00, 0x7F, 0x00, 0xFF
  85. inside_castle_seg7_vertex_07037320: # 0x07037320 - 0x07037420
  86. vertex 4836, 1024, -1203, 9688, -2588, 0xA6, 0x00, 0xA7, 0xFF
  87. vertex 4836, 307, -1203, 9688, 990, 0xA6, 0x00, 0xA7, 0xFF
  88. vertex 4403, 307, -767, 7510, 990, 0xA6, 0x00, 0xA7, 0xFF
  89. vertex 2253, 1024, -1842, 2522, 4054, 0x00, 0x81, 0x00, 0xFF
  90. vertex 2253, 1024, -2457, 2522, 5586, 0x00, 0x81, 0x00, 0xFF
  91. vertex 3573, 1024, -2457, -4062, 5586, 0x00, 0x81, 0x00, 0xFF
  92. vertex 3319, 1024, -1842, -2796, 4054, 0x00, 0x81, 0x00, 0xFF
  93. vertex 4836, 1024, -1203, -10366, 2460, 0x00, 0x81, 0x00, 0xFF
  94. vertex 4403, 1024, -767, -8206, 1372, 0x00, 0x81, 0x00, 0xFF
  95. vertex 2253, 1024, -2457, -6672, -2588, 0x00, 0x00, 0x7F, 0xFF
  96. vertex 3573, 307, -2457, -86, 990, 0x00, 0x00, 0x7F, 0xFF
  97. vertex 3573, 1024, -2457, -86, -2588, 0x00, 0x00, 0x7F, 0xFF
  98. vertex 3573, 1024, -2457, -86, -2588, 0xA7, 0x00, 0x5A, 0xFF
  99. vertex 3573, 307, -2457, -86, 990, 0xA7, 0x00, 0x5A, 0xFF
  100. vertex 4836, 307, -1203, 6216, 990, 0xA7, 0x00, 0x5A, 0xFF
  101. vertex 4836, 1024, -1203, 6216, -2588, 0xA7, 0x00, 0x5A, 0xFF
  102. inside_castle_seg7_vertex_07037420: # 0x07037420 - 0x07037520
  103. vertex 2253, 1024, -2457, -6672, -2588, 0x00, 0x00, 0x7F, 0xFF
  104. vertex 2253, 307, -2457, -6672, 990, 0x00, 0x00, 0x7F, 0xFF
  105. vertex 3573, 307, -2457, -86, 990, 0x00, 0x00, 0x7F, 0xFF
  106. vertex 4836, 1024, 743, 6216, -2588, 0xA7, 0x00, 0xA6, 0xFF
  107. vertex 4836, 307, 743, 6216, 990, 0xA7, 0x00, 0xA6, 0xFF
  108. vertex 3573, 307, 1997, -86, 990, 0xA7, 0x00, 0xA6, 0xFF
  109. vertex 4836, 1024, -1203, 9688, -2588, 0xA6, 0x00, 0xA7, 0xFF
  110. vertex 4403, 307, -767, 7510, 990, 0xA6, 0x00, 0xA7, 0xFF
  111. vertex 4403, 1024, -767, 7510, -2586, 0xA6, 0x00, 0xA7, 0xFF
  112. vertex 2253, 1024, -1842, 12876, -2588, 0x7F, 0x00, 0x00, 0xFF
  113. vertex 2253, 307, -1842, 12876, 990, 0x7F, 0x00, 0x00, 0xFF
  114. vertex 2253, 307, -2457, 15942, 990, 0x7F, 0x00, 0x00, 0xFF
  115. vertex 2253, 1024, -2457, 15942, -2588, 0x7F, 0x00, 0x00, 0xFF
  116. vertex 3573, 1024, 1997, -86, -2588, 0x00, 0x00, 0x81, 0xFF
  117. vertex 3573, 307, 1997, -86, 990, 0x00, 0x00, 0x81, 0xFF
  118. vertex 2253, 307, 1997, -6672, 990, 0x00, 0x00, 0x81, 0xFF
  119. inside_castle_seg7_vertex_07037520: # 0x07037520 - 0x07037620
  120. vertex 3573, 1024, 1997, -86, -2588, 0x00, 0x00, 0x81, 0xFF
  121. vertex 2253, 307, 1997, -6672, 990, 0x00, 0x00, 0x81, 0xFF
  122. vertex 2253, 1024, 1997, -6672, -2588, 0x00, 0x00, 0x81, 0xFF
  123. vertex 4836, 1024, 743, 6216, -2588, 0xA7, 0x00, 0xA6, 0xFF
  124. vertex 3573, 307, 1997, -86, 990, 0xA7, 0x00, 0xA6, 0xFF
  125. vertex 3573, 1024, 1997, -86, -2588, 0xA7, 0x00, 0xA6, 0xFF
  126. vertex 3319, 1024, 1382, -4330, 1500, 0x00, 0x81, 0x00, 0xFF
  127. vertex 3573, 1024, 1997, -5596, 0, 0x00, 0x81, 0x00, 0xFF
  128. vertex 2253, 1024, 1997, 990, 0, 0x00, 0x81, 0x00, 0xFF
  129. vertex 2253, 1024, 1997, -6284, -2586, 0x7F, 0x00, 0x00, 0xFF
  130. vertex 2253, 307, 1997, -6284, 990, 0x7F, 0x00, 0x00, 0xFF
  131. vertex 2253, 307, 1382, -3218, 990, 0x7F, 0x00, 0x00, 0xFF
  132. vertex 2253, 1024, 1382, -3218, -2586, 0x7F, 0x00, 0x00, 0xFF
  133. vertex 4403, 1024, 307, 2144, -2586, 0xA6, 0x00, 0x59, 0xFF
  134. vertex 4403, 307, 307, 2144, 990, 0xA6, 0x00, 0x59, 0xFF
  135. vertex 4836, 307, 743, 0, 990, 0xA6, 0x00, 0x59, 0xFF
  136. inside_castle_seg7_vertex_07037620: # 0x07037620 - 0x07037710
  137. vertex 4403, 1024, 307, 2144, -2586, 0xA6, 0x00, 0x59, 0xFF
  138. vertex 4836, 307, 743, 0, 990, 0xA6, 0x00, 0x59, 0xFF
  139. vertex 4836, 1024, 743, 0, -2586, 0xA6, 0x00, 0x59, 0xFF
  140. vertex 4403, 1024, 307, -9740, 4182, 0x00, 0x81, 0x00, 0xFF
  141. vertex 4836, 1024, 743, -11898, 3094, 0x00, 0x81, 0x00, 0xFF
  142. vertex 3573, 1024, 1997, -5596, 0, 0x00, 0x81, 0x00, 0xFF
  143. vertex 3319, 1024, 1382, -4330, 1500, 0x00, 0x81, 0x00, 0xFF
  144. vertex 2253, 307, 1382, 990, 1498, 0x00, 0x7F, 0x00, 0xFF
  145. vertex 2253, 307, 1997, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  146. vertex 3573, 307, 1997, -5596, 0, 0x00, 0x7F, 0x00, 0xFF
  147. vertex 2253, 1024, 1997, 990, 0, 0x00, 0x81, 0x00, 0xFF
  148. vertex 2253, 1024, 1382, 990, 1498, 0x00, 0x81, 0x00, 0xFF
  149. vertex 3319, 307, 1382, -4330, 1500, 0x00, 0x7F, 0x00, 0xFF
  150. vertex 4836, 307, 743, -11898, 3094, 0x00, 0x7F, 0x00, 0xFF
  151. vertex 4403, 307, 307, -9740, 4182, 0x00, 0x7F, 0x00, 0xFF
  152. inside_castle_seg7_dl_07037710: # 0x07037710 - 0x07037988
  153. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09003000
  154. gsDPLoadSync
  155. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  156. gsSPLight inside_castle_seg7_light_07036E70, 1
  157. gsSPLight inside_castle_seg7_light_07036E68, 2
  158. gsSPVertex inside_castle_seg7_vertex_07036E80, 15, 0
  159. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  160. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  161. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  162. gsSP1Triangle 11, 13, 14, 0x0
  163. gsSPVertex inside_castle_seg7_vertex_07036F70, 15, 0
  164. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  165. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  166. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  167. gsSP1Triangle 0, 14, 1, 0x0
  168. gsSPVertex inside_castle_seg7_vertex_07037060, 15, 0
  169. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  170. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  171. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  172. gsSP1Triangle 11, 13, 14, 0x0
  173. gsSPVertex inside_castle_seg7_vertex_07037150, 15, 0
  174. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  175. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  176. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  177. gsSP1Triangle 0, 14, 1, 0x0
  178. gsSPVertex inside_castle_seg7_vertex_07037240, 14, 0
  179. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  180. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  181. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  182. gsSP2Triangles 10, 9, 12, 0x0, 10, 12, 13, 0x0
  183. gsSPVertex inside_castle_seg7_vertex_07037320, 16, 0
  184. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  185. gsSP2Triangles 3, 5, 6, 0x0, 6, 5, 7, 0x0
  186. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  187. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  188. gsSPVertex inside_castle_seg7_vertex_07037420, 16, 0
  189. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  190. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  191. gsSP2Triangles 9, 11, 12, 0x0, 13, 14, 15, 0x0
  192. gsSPVertex inside_castle_seg7_vertex_07037520, 16, 0
  193. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  194. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  195. gsSP2Triangles 9, 11, 12, 0x0, 13, 14, 15, 0x0
  196. gsSPVertex inside_castle_seg7_vertex_07037620, 15, 0
  197. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  198. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  199. gsSP2Triangles 6, 10, 11, 0x0, 12, 9, 13, 0x0
  200. gsSP2Triangles 12, 13, 14, 0x0, 7, 9, 12, 0x0
  201. gsSPEndDisplayList
  202. glabel inside_castle_seg7_dl_07037988 # 0x07037988 - 0x070379F8
  203. gsDPPipeSync
  204. 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
  205. gsSPClearGeometryMode G_SHADING_SMOOTH
  206. 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
  207. gsSPTexture -1, -1, 0, 0, 1
  208. gsDPTileSync
  209. 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
  210. gsDPSetTileSize 0, 0, 0, 124, 124
  211. gsSPDisplayList inside_castle_seg7_dl_07037710
  212. gsSPTexture -1, -1, 0, 0, 0
  213. gsDPPipeSync
  214. 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
  215. gsSPSetGeometryMode G_SHADING_SMOOTH
  216. gsSPEndDisplayList