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.

175 lines
10 KiB

6 years ago
  1. inside_castle_seg7_light_070589C0: # 0x070589C0 - 0x070589C8
  2. .byte 0x3F, 0x33, 0x19, 0x00, 0x3F, 0x33, 0x19, 0x00
  3. inside_castle_seg7_light_070589C8: # 0x070589C8 - 0x070589D8
  4. .byte 0xFF, 0xCC, 0x65, 0x00, 0xFF, 0xCC, 0x65, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_light_070589D8: # 0x070589D8 - 0x070589E0
  7. .byte 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00
  8. inside_castle_seg7_light_070589E0: # 0x070589E0 - 0x070589F0
  9. .byte 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. inside_castle_seg7_vertex_070589F0: # 0x070589F0 - 0x07058AF0
  12. vertex -19, 56, 10, 480, 138, 0x81, 0x00, 0x00, 0xFF
  13. vertex -19, 56, 0, 480, 138, 0x81, 0x00, 0x00, 0xFF
  14. vertex -19, 26, 0, 682, 138, 0x81, 0x00, 0x00, 0xFF
  15. vertex 10, 92, 10, 240, 650, 0x00, 0x00, 0x7F, 0xFF
  16. vertex -9, 77, 10, 344, 308, 0x00, 0x00, 0x7F, 0xFF
  17. vertex 10, 72, 10, 376, 650, 0x00, 0x00, 0x7F, 0xFF
  18. vertex -19, 56, 10, 480, 138, 0x00, 0x00, 0x7F, 0xFF
  19. vertex 0, 51, 10, 514, 478, 0x00, 0x00, 0x7F, 0xFF
  20. vertex 10, 72, 10, 376, 650, 0x7F, 0x00, 0x00, 0xFF
  21. vertex 10, 72, 0, 376, 650, 0x7F, 0x00, 0x00, 0xFF
  22. vertex 10, 92, 0, 240, 650, 0x7F, 0x00, 0x00, 0xFF
  23. vertex 0, 51, 10, 514, 478, 0x72, 0xCA, 0x00, 0xFF
  24. vertex 10, 72, 0, 376, 650, 0x72, 0xCA, 0x00, 0xFF
  25. vertex 10, 72, 10, 376, 650, 0x72, 0xCA, 0x00, 0xFF
  26. vertex 10, 92, 10, 240, 650, 0x7F, 0x00, 0x00, 0xFF
  27. vertex 0, 51, 0, 514, 478, 0x72, 0xCA, 0x00, 0xFF
  28. inside_castle_seg7_vertex_07058AF0: # 0x07058AF0 - 0x07058BD0
  29. vertex 10, 92, 10, 240, 650, 0x00, 0x00, 0x7F, 0xFF
  30. vertex -9, 92, 10, 240, 308, 0x00, 0x00, 0x7F, 0xFF
  31. vertex -9, 77, 10, 344, 308, 0x00, 0x00, 0x7F, 0xFF
  32. vertex -9, 92, 10, 240, 308, 0x81, 0x00, 0x00, 0xFF
  33. vertex -9, 77, 0, 344, 308, 0x81, 0x00, 0x00, 0xFF
  34. vertex -9, 77, 10, 344, 308, 0x81, 0x00, 0x00, 0xFF
  35. vertex -9, 77, 10, 344, 308, 0x8E, 0x36, 0x00, 0xFF
  36. vertex -19, 56, 0, 480, 138, 0x8E, 0x36, 0x00, 0xFF
  37. vertex -19, 56, 10, 480, 138, 0x8E, 0x36, 0x00, 0xFF
  38. vertex -9, 77, 0, 344, 308, 0x8E, 0x36, 0x00, 0xFF
  39. vertex -9, 92, 0, 240, 308, 0x81, 0x00, 0x00, 0xFF
  40. vertex 0, 51, 10, 514, 478, 0x00, 0x00, 0x7F, 0xFF
  41. vertex -19, 56, 10, 480, 138, 0x00, 0x00, 0x7F, 0xFF
  42. vertex -19, 26, 10, 682, 138, 0x00, 0x00, 0x7F, 0xFF
  43. inside_castle_seg7_vertex_07058BD0: # 0x07058BD0 - 0x07058CD0
  44. vertex -19, 56, 10, 480, 138, 0x81, 0x00, 0x00, 0xFF
  45. vertex -19, 26, 0, 682, 138, 0x81, 0x00, 0x00, 0xFF
  46. vertex -19, 26, 10, 682, 138, 0x81, 0x00, 0x00, 0xFF
  47. vertex 0, 51, 10, 514, 478, 0x00, 0x00, 0x7F, 0xFF
  48. vertex -19, 26, 10, 682, 138, 0x00, 0x00, 0x7F, 0xFF
  49. vertex 0, 31, 10, 650, 478, 0x00, 0x00, 0x7F, 0xFF
  50. vertex 0, 31, 10, 650, 478, 0x7F, 0x00, 0x00, 0xFF
  51. vertex 0, 51, 0, 514, 478, 0x7F, 0x00, 0x00, 0xFF
  52. vertex 0, 51, 10, 514, 478, 0x7F, 0x00, 0x00, 0xFF
  53. vertex 0, 31, 0, 650, 478, 0x7F, 0x00, 0x00, 0xFF
  54. vertex -19, 26, 10, 682, 138, 0x8E, 0xCA, 0x00, 0xFF
  55. vertex -19, 26, 0, 682, 138, 0x8E, 0xCA, 0x00, 0xFF
  56. vertex -9, 5, 0, 818, 308, 0x8E, 0xCA, 0x00, 0xFF
  57. vertex -9, 5, 10, 818, 308, 0x00, 0x00, 0x7F, 0xFF
  58. vertex -9, 5, 10, 818, 308, 0x8E, 0xCA, 0x00, 0xFF
  59. vertex 10, 10, 10, 786, 650, 0x00, 0x00, 0x7F, 0xFF
  60. inside_castle_seg7_vertex_07058CD0: # 0x07058CD0 - 0x07058DB0
  61. vertex 10, 10, 10, 786, 650, 0x72, 0x36, 0x00, 0xFF
  62. vertex 0, 31, 0, 650, 478, 0x72, 0x36, 0x00, 0xFF
  63. vertex 0, 31, 10, 650, 478, 0x72, 0x36, 0x00, 0xFF
  64. vertex 10, 10, 0, 786, 650, 0x72, 0x36, 0x00, 0xFF
  65. vertex -9, 5, 10, 818, 308, 0x81, 0x00, 0x00, 0xFF
  66. vertex -9, 5, 0, 818, 308, 0x81, 0x00, 0x00, 0xFF
  67. vertex -9, -19, 0, 990, 308, 0x81, 0x00, 0x00, 0xFF
  68. vertex 10, 10, 10, 786, 650, 0x00, 0x00, 0x7F, 0xFF
  69. vertex -9, 5, 10, 818, 308, 0x00, 0x00, 0x7F, 0xFF
  70. vertex -9, -19, 10, 990, 308, 0x00, 0x00, 0x7F, 0xFF
  71. vertex -9, -19, 10, 990, 308, 0x81, 0x00, 0x00, 0xFF
  72. vertex 10, -19, 10, 990, 650, 0x00, 0x81, 0x00, 0xFF
  73. vertex -9, -19, 10, 990, 308, 0x00, 0x81, 0x00, 0xFF
  74. vertex -9, -19, 0, 990, 308, 0x00, 0x81, 0x00, 0xFF
  75. inside_castle_seg7_vertex_07058DB0: # 0x07058DB0 - 0x07058E50
  76. vertex 10, -19, 10, 990, 650, 0x7F, 0x00, 0x00, 0xFF
  77. vertex 10, 10, 0, 786, 650, 0x7F, 0x00, 0x00, 0xFF
  78. vertex 10, 10, 10, 786, 650, 0x7F, 0x00, 0x00, 0xFF
  79. vertex 10, 10, 10, 786, 650, 0x00, 0x00, 0x7F, 0xFF
  80. vertex -9, -19, 10, 990, 308, 0x00, 0x00, 0x7F, 0xFF
  81. vertex 10, -19, 10, 990, 650, 0x00, 0x00, 0x7F, 0xFF
  82. vertex 10, -19, 0, 990, 650, 0x7F, 0x00, 0x00, 0xFF
  83. vertex 10, -19, 10, 990, 650, 0x00, 0x81, 0x00, 0xFF
  84. vertex -9, -19, 0, 990, 308, 0x00, 0x81, 0x00, 0xFF
  85. vertex 10, -19, 0, 990, 650, 0x00, 0x81, 0x00, 0xFF
  86. inside_castle_seg7_vertex_07058E50: # 0x07058E50 - 0x07058F50
  87. vertex -30, 82, 0, 308, 0, 0x93, 0x40, 0x00, 0xFF
  88. vertex -30, 82, 10, 308, 0, 0x93, 0x40, 0x00, 0xFF
  89. vertex 0, 133, 10, 0, 478, 0x93, 0x40, 0x00, 0xFF
  90. vertex 0, 133, 10, 0, 478, 0x00, 0x00, 0x7F, 0xFF
  91. vertex -9, 92, 10, 240, 308, 0x00, 0x00, 0x7F, 0xFF
  92. vertex 10, 92, 10, 240, 650, 0x00, 0x00, 0x7F, 0xFF
  93. vertex 31, 82, 10, 308, 990, 0x00, 0x00, 0x7F, 0xFF
  94. vertex -30, 82, 10, 308, 0, 0x00, 0x00, 0x7F, 0xFF
  95. vertex 31, 82, 0, 308, 990, 0xCA, 0x8E, 0x00, 0xFF
  96. vertex 10, 92, 10, 240, 650, 0xCA, 0x8E, 0x00, 0xFF
  97. vertex 10, 92, 0, 240, 650, 0xCA, 0x8E, 0x00, 0xFF
  98. vertex 31, 82, 10, 308, 990, 0xCA, 0x8E, 0x00, 0xFF
  99. vertex 0, 133, 0, 0, 478, 0x6C, 0x41, 0x00, 0xFF
  100. vertex 31, 82, 10, 308, 990, 0x6C, 0x41, 0x00, 0xFF
  101. vertex 31, 82, 0, 308, 990, 0x6C, 0x41, 0x00, 0xFF
  102. vertex 0, 133, 10, 0, 478, 0x6C, 0x41, 0x00, 0xFF
  103. inside_castle_seg7_vertex_07058F50: # 0x07058F50 - 0x07058FC0
  104. vertex -30, 82, 0, 308, 0, 0x93, 0x40, 0x00, 0xFF
  105. vertex 0, 133, 10, 0, 478, 0x93, 0x40, 0x00, 0xFF
  106. vertex 0, 133, 0, 0, 478, 0x93, 0x40, 0x00, 0xFF
  107. vertex -9, 92, 0, 240, 308, 0x36, 0x8E, 0x00, 0xFF
  108. vertex -30, 82, 10, 308, 0, 0x36, 0x8E, 0x00, 0xFF
  109. vertex -30, 82, 0, 308, 0, 0x36, 0x8E, 0x00, 0xFF
  110. vertex -9, 92, 10, 240, 308, 0x36, 0x8E, 0x00, 0xFF
  111. inside_castle_seg7_dl_07058FC0: # 0x07058FC0 - 0x07059190
  112. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09004800
  113. gsDPLoadSync
  114. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  115. gsSPLight inside_castle_seg7_light_070589C8, 1
  116. gsSPLight inside_castle_seg7_light_070589C0, 2
  117. gsSPVertex inside_castle_seg7_vertex_070589F0, 16, 0
  118. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  119. gsSP2Triangles 5, 6, 7, 0x0, 5, 4, 6, 0x0
  120. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  121. gsSP2Triangles 8, 10, 14, 0x0, 11, 15, 12, 0x0
  122. gsSPVertex inside_castle_seg7_vertex_07058AF0, 14, 0
  123. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  124. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  125. gsSP2Triangles 3, 10, 4, 0x0, 11, 12, 13, 0x0
  126. gsSPVertex inside_castle_seg7_vertex_07058BD0, 16, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  128. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  129. gsSP2Triangles 10, 11, 12, 0x0, 5, 4, 13, 0x0
  130. gsSP2Triangles 10, 12, 14, 0x0, 5, 13, 15, 0x0
  131. gsSPVertex inside_castle_seg7_vertex_07058CD0, 14, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  133. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  134. gsSP2Triangles 4, 6, 10, 0x0, 11, 12, 13, 0x0
  135. gsSPVertex inside_castle_seg7_vertex_07058DB0, 10, 0
  136. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  137. gsSP2Triangles 0, 6, 1, 0x0, 7, 8, 9, 0x0
  138. gsSPLight inside_castle_seg7_light_070589E0, 1
  139. gsSPLight inside_castle_seg7_light_070589D8, 2
  140. gsSPVertex inside_castle_seg7_vertex_07058E50, 16, 0
  141. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  142. gsSP2Triangles 5, 6, 3, 0x0, 3, 7, 4, 0x0
  143. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  144. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  145. gsSPVertex inside_castle_seg7_vertex_07058F50, 7, 0
  146. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  147. gsSP1Triangle 3, 6, 4, 0x0
  148. gsSPEndDisplayList
  149. glabel inside_castle_seg7_dl_07059190 # 0x07059190 - 0x07059200
  150. gsDPPipeSync
  151. 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
  152. gsSPClearGeometryMode G_SHADING_SMOOTH
  153. 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
  154. gsSPTexture -1, -1, 0, 0, 1
  155. gsDPTileSync
  156. 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
  157. gsDPSetTileSize 0, 0, 0, 124, 124
  158. gsSPDisplayList inside_castle_seg7_dl_07058FC0
  159. gsSPTexture -1, -1, 0, 0, 0
  160. gsDPPipeSync
  161. 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
  162. gsSPSetGeometryMode G_SHADING_SMOOTH
  163. gsSPEndDisplayList