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.

170 lines
9.3 KiB

5 years ago
  1. bitdw_seg7_vertex_07002138: # 0x07002138 - 0x07002238
  2. vertex -613, 819, 514, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
  3. vertex -613, 512, -509, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
  4. vertex -613, 819, -509, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
  5. vertex -613, 512, 514, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
  6. vertex -1535, 819, 514, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
  7. vertex -1535, 819, -509, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
  8. vertex -1535, 512, -509, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
  9. vertex -1535, 512, 514, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
  10. vertex -613, 512, -509, -882, 990, 0x51, 0x51, 0xA8, 0xFF
  11. vertex -1535, 512, -509, -882, 990, 0x51, 0x51, 0xA8, 0xFF
  12. vertex -1535, 819, -509, -882, 376, 0x51, 0x51, 0xA8, 0xFF
  13. vertex -613, 819, -509, -882, 376, 0x51, 0x51, 0xA8, 0xFF
  14. vertex -1535, 512, 514, 820, 990, 0x51, 0x51, 0xA8, 0xFF
  15. vertex -613, 819, 514, 820, 376, 0x51, 0x51, 0xA8, 0xFF
  16. vertex -1535, 819, 514, 820, 376, 0x51, 0x51, 0xA8, 0xFF
  17. vertex -613, 512, 514, 820, 990, 0x51, 0x51, 0xA8, 0xFF
  18. bitdw_seg7_vertex_07002238: # 0x07002238 - 0x070022F8
  19. vertex 1331, 614, 53, 480, 990, 0xBF, 0xD8, 0x8C, 0xFF
  20. vertex 1741, 614, -49, -36, 0, 0xBF, 0xD8, 0x8C, 0xFF
  21. vertex 1331, 614, -48, 0, 990, 0xBF, 0xD8, 0x8C, 0xFF
  22. vertex 1741, 614, 53, 480, 0, 0xBF, 0xD8, 0x8C, 0xFF
  23. vertex 1253, 512, 53, 0, 990, 0x70, 0x98, 0x75, 0xFF
  24. vertex 1741, 614, 53, 990, -372, 0x70, 0x98, 0x75, 0xFF
  25. vertex 1331, 614, 53, 990, 990, 0x70, 0x98, 0x75, 0xFF
  26. vertex 1741, 512, 53, 0, -372, 0x70, 0x98, 0x75, 0xFF
  27. vertex 1741, 512, -51, 0, -372, 0x70, 0x98, 0x75, 0xFF
  28. vertex 1331, 614, -48, 990, 990, 0x70, 0x98, 0x75, 0xFF
  29. vertex 1741, 614, -49, 990, -372, 0x70, 0x98, 0x75, 0xFF
  30. vertex 1253, 512, -48, 0, 990, 0x70, 0x98, 0x75, 0xFF
  31. bitdw_seg7_vertex_070022F8: # 0x070022F8 - 0x070023F8
  32. vertex 717, 614, -304, 982, 3024, 0x68, 0x7B, 0x6E, 0xFF
  33. vertex 717, 717, -304, 1236, 2768, 0x68, 0x7B, 0x6E, 0xFF
  34. vertex 717, 717, 309, -294, 1234, 0x68, 0x7B, 0x6E, 0xFF
  35. vertex 717, 614, 309, -550, 1490, 0x68, 0x7B, 0x6E, 0xFF
  36. vertex 102, 717, 309, -294, 1234, 0x68, 0x7B, 0x6E, 0xFF
  37. vertex 102, 819, -305, 1496, 2516, 0x68, 0x7B, 0x6E, 0xFF
  38. vertex 102, 819, 309, -38, 982, 0x68, 0x7B, 0x6E, 0xFF
  39. vertex 102, 717, -305, 1240, 2770, 0x68, 0x7B, 0x6E, 0xFF
  40. vertex 102, 819, -305, 5590, -1054, 0x83, 0x91, 0x80, 0xFF
  41. vertex -613, -716, -304, 0, 990, 0x83, 0x91, 0x80, 0xFF
  42. vertex -613, 819, -304, 3800, -2842, 0x83, 0x91, 0x80, 0xFF
  43. vertex -1125, 512, -304, 1756, -3354, 0x83, 0x91, 0x80, 0xFF
  44. vertex -613, 512, -304, 3034, -2076, 0x83, 0x91, 0x80, 0xFF
  45. vertex 717, 614, -304, 6612, 990, 0x83, 0x91, 0x80, 0xFF
  46. vertex 102, 717, -305, 5334, -798, 0x83, 0x91, 0x80, 0xFF
  47. vertex 307, -716, -304, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
  48. bitdw_seg7_vertex_070023F8: # 0x070023F8 - 0x070024F8
  49. vertex -613, -716, -304, 1500, -542, 0x83, 0x91, 0x80, 0xFF
  50. vertex 102, 819, -305, 2864, 3202, 0x83, 0x91, 0x80, 0xFF
  51. vertex 102, 717, -305, 2694, 3032, 0x83, 0x91, 0x80, 0xFF
  52. vertex 717, 614, -304, 1500, 3884, 0x83, 0x91, 0x80, 0xFF
  53. vertex 717, 717, -304, 1672, 4054, 0x83, 0x91, 0x80, 0xFF
  54. vertex -613, 819, 309, 3800, -2842, 0x83, 0x91, 0x80, 0xFF
  55. vertex -613, -716, 309, 0, 990, 0x83, 0x91, 0x80, 0xFF
  56. vertex 102, 819, 309, 5590, -1054, 0x83, 0x91, 0x80, 0xFF
  57. vertex 717, 614, -304, 6612, 990, 0x83, 0x91, 0x80, 0xFF
  58. vertex 1331, 614, -304, 8144, 2522, 0x83, 0x91, 0x80, 0xFF
  59. vertex 307, -716, -304, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
  60. vertex 717, 614, 309, 6612, 990, 0x83, 0x91, 0x80, 0xFF
  61. vertex 102, 717, 309, 5334, -798, 0x83, 0x91, 0x80, 0xFF
  62. vertex 717, 717, 309, 6866, 734, 0x83, 0x91, 0x80, 0xFF
  63. vertex 1331, 614, 309, 8144, 2522, 0x83, 0x91, 0x80, 0xFF
  64. vertex 307, -716, 309, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
  65. bitdw_seg7_vertex_070024F8: # 0x070024F8 - 0x070025D8
  66. vertex -613, 512, 309, 3034, -2076, 0x83, 0x91, 0x80, 0xFF
  67. vertex -1125, 512, 309, 1756, -3354, 0x83, 0x91, 0x80, 0xFF
  68. vertex -613, -716, 309, 0, 990, 0x83, 0x91, 0x80, 0xFF
  69. vertex -613, -716, 309, 480, 1498, 0x83, 0x91, 0x80, 0xFF
  70. vertex 102, 717, 309, -712, -2076, 0x83, 0x91, 0x80, 0xFF
  71. vertex 102, 819, 309, -882, -2246, 0x83, 0x91, 0x80, 0xFF
  72. vertex 307, -716, -304, -2338, 6344, 0x38, 0x4A, 0x3D, 0xFF
  73. vertex 1331, 614, -304, 982, 3024, 0x38, 0x4A, 0x3D, 0xFF
  74. vertex 1331, 614, 309, -550, 1490, 0x38, 0x4A, 0x3D, 0xFF
  75. vertex 307, -716, 309, -3872, 4812, 0x38, 0x4A, 0x3D, 0xFF
  76. vertex 717, 717, -304, 4822, -798, 0xCD, 0xDF, 0xCC, 0xFF
  77. vertex 102, 717, 309, 1756, -798, 0xCD, 0xDF, 0xCC, 0xFF
  78. vertex 717, 717, 309, 3290, -2332, 0xCD, 0xDF, 0xCC, 0xFF
  79. vertex 102, 717, -304, 3290, 734, 0xCD, 0xDF, 0xCC, 0xFF
  80. bitdw_seg7_vertex_070025D8: # 0x070025D8 - 0x07002658
  81. vertex 1331, 614, -304, 6356, -2332, 0xCD, 0xDF, 0xCC, 0xFF
  82. vertex 717, 614, -304, 4822, -798, 0xCD, 0xDF, 0xCC, 0xFF
  83. vertex 717, 614, 309, 3290, -2332, 0xCD, 0xDF, 0xCC, 0xFF
  84. vertex 1331, 614, 309, 4822, -3864, 0xCD, 0xDF, 0xCC, 0xFF
  85. vertex 102, 819, -304, 3290, 734, 0xCD, 0xDF, 0xCC, 0xFF
  86. vertex -613, 819, 309, 0, 990, 0xCD, 0xDF, 0xCC, 0xFF
  87. vertex 102, 819, 309, 1756, -798, 0xCD, 0xDF, 0xCC, 0xFF
  88. vertex -613, 819, -304, 1502, 2522, 0xCD, 0xDF, 0xCC, 0xFF
  89. bitdw_seg7_vertex_07002658: # 0x07002658 - 0x07002698
  90. vertex -613, 819, -509, 4566, -4120, 0x79, 0x9F, 0xEB, 0xFF
  91. vertex -1535, 819, -509, 0, -4120, 0x79, 0x9F, 0xEB, 0xFF
  92. vertex -1535, 819, 514, 0, 990, 0x79, 0x9F, 0xEB, 0xFF
  93. vertex -613, 819, 514, 4568, 990, 0x79, 0x9F, 0xEB, 0xFF
  94. bitdw_seg7_dl_07002698: # 0x07002698 - 0x07002700
  95. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000
  96. gsDPLoadSync
  97. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  98. gsSPVertex bitdw_seg7_vertex_07002138, 16, 0
  99. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  100. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  101. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  102. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  103. gsSPEndDisplayList
  104. bitdw_seg7_dl_07002700: # 0x07002700 - 0x07002758
  105. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800
  106. gsDPLoadSync
  107. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  108. gsSPVertex bitdw_seg7_vertex_07002238, 12, 0
  109. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  110. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  111. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  112. gsSPEndDisplayList
  113. bitdw_seg7_dl_07002758: # 0x07002758 - 0x07002868
  114. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  115. gsDPLoadSync
  116. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  117. gsSPVertex bitdw_seg7_vertex_070022F8, 16, 0
  118. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  119. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  120. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 12, 0x0
  121. gsSP2Triangles 13, 9, 14, 0x0, 9, 13, 15, 0x0
  122. gsSPVertex bitdw_seg7_vertex_070023F8, 16, 0
  123. gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 4, 0x0
  124. gsSP2Triangles 5, 6, 7, 0x0, 8, 9, 10, 0x0
  125. gsSP2Triangles 6, 11, 12, 0x0, 12, 11, 13, 0x0
  126. gsSP2Triangles 14, 11, 15, 0x0, 11, 6, 15, 0x0
  127. gsSPVertex bitdw_seg7_vertex_070024F8, 14, 0
  128. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  129. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  130. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  131. gsSPVertex bitdw_seg7_vertex_070025D8, 8, 0
  132. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  133. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  134. gsSPEndDisplayList
  135. bitdw_seg7_dl_07002868: # 0x07002868 - 0x070028A0
  136. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007800
  137. gsDPLoadSync
  138. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  139. gsSPVertex bitdw_seg7_vertex_07002658, 4, 0
  140. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  141. gsSPEndDisplayList
  142. glabel bitdw_seg7_dl_070028A0 # 0x070028A0 - 0x07002928
  143. gsDPPipeSync
  144. 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
  145. gsSPClearGeometryMode G_LIGHTING
  146. 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
  147. gsSPTexture -1, -1, 0, 0, 1
  148. gsDPTileSync
  149. 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
  150. gsDPSetTileSize 0, 0, 0, 124, 124
  151. gsSPDisplayList bitdw_seg7_dl_07002698
  152. gsSPDisplayList bitdw_seg7_dl_07002700
  153. gsSPDisplayList bitdw_seg7_dl_07002758
  154. gsSPDisplayList bitdw_seg7_dl_07002868
  155. gsSPTexture -1, -1, 0, 0, 0
  156. gsDPPipeSync
  157. 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
  158. gsSPSetGeometryMode G_LIGHTING
  159. gsSPEndDisplayList