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.

190 lines
11 KiB

6 years ago
  1. inside_castle_seg7_light_07050A78: # 0x07050A78 - 0x07050A80
  2. .byte 0x40, 0x2F, 0x1E, 0x00, 0x40, 0x2F, 0x1E, 0x00
  3. inside_castle_seg7_light_07050A80: # 0x07050A80 - 0x07050A90
  4. .byte 0xAC, 0x7F, 0x52, 0x00, 0xAC, 0x7F, 0x52, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_light_07050A90: # 0x07050A90 - 0x07050A98
  7. .byte 0x40, 0x3A, 0x1E, 0x00, 0x40, 0x3A, 0x1E, 0x00
  8. inside_castle_seg7_light_07050A98: # 0x07050A98 - 0x07050AA8
  9. .byte 0xAC, 0x9D, 0x52, 0x00, 0xAC, 0x9D, 0x52, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. inside_castle_seg7_vertex_07050AA8: # 0x07050AA8 - 0x07050B68
  12. vertex -9, -183, -9, 932, 2012, 0x81, 0x00, 0x00, 0xFF
  13. vertex -9, 10, 10, 450, 0, 0x81, 0x00, 0x00, 0xFF
  14. vertex -9, 10, -9, 932, 0, 0x81, 0x00, 0x00, 0xFF
  15. vertex -9, -183, 10, 450, 2012, 0x81, 0x00, 0x00, 0xFF
  16. vertex -9, 10, -9, 932, 0, 0x00, 0x00, 0x81, 0xFF
  17. vertex 10, -183, -9, 450, 2012, 0x00, 0x00, 0x81, 0xFF
  18. vertex -9, -183, -9, 932, 2012, 0x00, 0x00, 0x81, 0xFF
  19. vertex 10, 10, -9, 450, 0, 0x00, 0x00, 0x81, 0xFF
  20. vertex 10, 10, -9, 450, 0, 0x7F, 0x00, 0x00, 0xFF
  21. vertex 10, 10, 10, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  22. vertex 10, -183, 10, 0, 2012, 0x7F, 0x00, 0x00, 0xFF
  23. vertex 10, -183, -9, 450, 2012, 0x7F, 0x00, 0x00, 0xFF
  24. inside_castle_seg7_vertex_07050B68: # 0x07050B68 - 0x07050C58
  25. vertex -19, -286, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  26. vertex -40, -265, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  27. vertex -40, -224, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  28. vertex -19, -286, -50, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
  29. vertex 20, -286, -50, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
  30. vertex 31, -306, -30, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
  31. vertex 41, -265, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  32. vertex 20, -286, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  33. vertex -19, -204, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  34. vertex 20, -204, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  35. vertex 41, -224, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
  36. vertex -30, -306, -30, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
  37. vertex -19, -286, -50, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
  38. vertex -30, -306, -30, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
  39. vertex -60, -275, -30, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
  40. inside_castle_seg7_vertex_07050C58: # 0x07050C58 - 0x07050D58
  41. vertex -40, -265, -50, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
  42. vertex -19, -286, -50, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
  43. vertex -60, -275, -30, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
  44. vertex -40, -224, -50, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  45. vertex -40, -265, -50, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  46. vertex -60, -275, -30, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  47. vertex -60, -214, -30, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  48. vertex -19, -204, -50, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
  49. vertex -40, -224, -50, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
  50. vertex -60, -214, -30, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
  51. vertex 20, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  52. vertex -19, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  53. vertex -30, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  54. vertex -19, -204, -50, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
  55. vertex -60, -214, -30, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
  56. vertex -30, -183, -30, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
  57. inside_castle_seg7_vertex_07050D58: # 0x07050D58 - 0x07050E58
  58. vertex 20, -286, -50, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
  59. vertex 41, -265, -50, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
  60. vertex 31, -306, -30, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
  61. vertex 31, -183, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  62. vertex 31, -183, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  63. vertex 61, -214, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  64. vertex 20, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  65. vertex -30, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  66. vertex 31, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
  67. vertex 41, -224, -50, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
  68. vertex 20, -204, -50, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
  69. vertex 31, -183, -30, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
  70. vertex 61, -275, -30, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  71. vertex 41, -265, -50, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  72. vertex 41, -224, -50, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  73. vertex 61, -214, -30, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  74. inside_castle_seg7_vertex_07050E58: # 0x07050E58 - 0x07050F58
  75. vertex 61, -214, -30, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
  76. vertex 41, -224, -50, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
  77. vertex 31, -183, -30, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
  78. vertex 41, -265, -50, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
  79. vertex 61, -275, -30, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
  80. vertex 31, -306, -30, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
  81. vertex -30, -183, -30, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  82. vertex 31, -183, 31, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  83. vertex 31, -183, -30, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  84. vertex 31, -183, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  85. vertex 61, -214, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  86. vertex 61, -214, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
  87. vertex -30, -306, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  88. vertex -30, -306, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  89. vertex -60, -275, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  90. vertex -30, -183, 31, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  91. inside_castle_seg7_vertex_07050F58: # 0x07050F58 - 0x07051048
  92. vertex 61, -214, -30, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  93. vertex 61, -214, 31, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  94. vertex 61, -275, 31, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  95. vertex 61, -275, -30, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  96. vertex -60, -214, 31, 0, 0, 0xA5, 0x58, 0x00, 0xFF
  97. vertex -30, -183, 31, 0, 0, 0xA5, 0x58, 0x00, 0xFF
  98. vertex -30, -183, -30, 0, 0, 0xA5, 0x58, 0x00, 0xFF
  99. vertex -60, -214, -30, 0, 0, 0xA5, 0x58, 0x00, 0xFF
  100. vertex -60, -275, -30, 0, 0, 0x81, 0x00, 0x00, 0xFF
  101. vertex -60, -275, 31, 0, 0, 0x81, 0x00, 0x00, 0xFF
  102. vertex -60, -214, 31, 0, 0, 0x81, 0x00, 0x00, 0xFF
  103. vertex -60, -214, -30, 0, 0, 0x81, 0x00, 0x00, 0xFF
  104. vertex -30, -306, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  105. vertex -60, -275, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  106. vertex -60, -275, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
  107. inside_castle_seg7_vertex_07051048: # 0x07051048 - 0x07051108
  108. vertex 31, -306, -30, 0, 0, 0x00, 0x81, 0x00, 0xFF
  109. vertex -30, -306, 31, 0, 0, 0x00, 0x81, 0x00, 0xFF
  110. vertex -30, -306, -30, 0, 0, 0x00, 0x81, 0x00, 0xFF
  111. vertex 31, -306, 31, 0, 0, 0x00, 0x81, 0x00, 0xFF
  112. vertex 61, -275, -30, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
  113. vertex 31, -306, 31, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
  114. vertex 31, -306, -30, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
  115. vertex 61, -275, 31, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
  116. vertex 10, -183, -9, 0, 0, 0x00, 0x81, 0x00, 0xFF
  117. vertex -9, -183, 10, 0, 0, 0x00, 0x81, 0x00, 0xFF
  118. vertex -9, -183, -9, 0, 0, 0x00, 0x81, 0x00, 0xFF
  119. vertex 10, -183, 10, 0, 0, 0x00, 0x81, 0x00, 0xFF
  120. inside_castle_seg7_dl_07051108: # 0x07051108 - 0x07051170
  121. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000
  122. gsDPLoadSync
  123. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  124. gsSPLight inside_castle_seg7_light_07050A80, 1
  125. gsSPLight inside_castle_seg7_light_07050A78, 2
  126. gsSPVertex inside_castle_seg7_vertex_07050AA8, 12, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  128. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  129. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  130. gsSPEndDisplayList
  131. inside_castle_seg7_dl_07051170: # 0x07051170 - 0x070512F8
  132. gsSPLight inside_castle_seg7_light_07050A98, 1
  133. gsSPLight inside_castle_seg7_light_07050A90, 2
  134. gsSPVertex inside_castle_seg7_vertex_07050B68, 15, 0
  135. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  136. gsSP2Triangles 0, 6, 7, 0x0, 0, 2, 8, 0x0
  137. gsSP2Triangles 0, 8, 9, 0x0, 0, 9, 10, 0x0
  138. gsSP2Triangles 0, 10, 6, 0x0, 3, 5, 11, 0x0
  139. gsSP1Triangle 12, 13, 14, 0x0
  140. gsSPVertex inside_castle_seg7_vertex_07050C58, 16, 0
  141. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  142. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  143. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  144. gsSPVertex inside_castle_seg7_vertex_07050D58, 16, 0
  145. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  146. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  147. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  148. gsSPVertex inside_castle_seg7_vertex_07050E58, 16, 0
  149. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  150. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  151. gsSP2Triangles 12, 13, 14, 0x0, 6, 15, 7, 0x0
  152. gsSPVertex inside_castle_seg7_vertex_07050F58, 15, 0
  153. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  154. gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
  155. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  156. gsSP1Triangle 12, 13, 14, 0x0
  157. gsSPVertex inside_castle_seg7_vertex_07051048, 12, 0
  158. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  159. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  160. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  161. gsSPEndDisplayList
  162. glabel inside_castle_seg7_dl_070512F8 # 0x070512F8 - 0x07051370
  163. gsDPPipeSync
  164. 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
  165. gsSPClearGeometryMode G_SHADING_SMOOTH
  166. 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
  167. gsSPTexture -1, -1, 0, 0, 1
  168. gsDPTileSync
  169. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  170. gsDPSetTileSize 0, 0, 0, 124, 252
  171. gsSPDisplayList inside_castle_seg7_dl_07051108
  172. gsSPTexture -1, -1, 0, 0, 0
  173. gsDPPipeSync
  174. 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
  175. gsSPDisplayList inside_castle_seg7_dl_07051170
  176. gsSPSetGeometryMode G_SHADING_SMOOTH
  177. gsSPEndDisplayList