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.

137 lines
7.6 KiB

5 years ago
  1. bitdw_seg7_vertex_0700A718: # 0x0700A718 - 0x0700A818
  2. vertex 102, 102, 102, 18, 836, 0x8E, 0xAC, 0x52, 0xFF
  3. vertex -420, 162, -49, 82, -532, 0x8E, 0xAC, 0x52, 0xFF
  4. vertex 102, 102, 307, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
  5. vertex -565, 162, 95, 990, -766, 0x8E, 0xAC, 0x52, 0xFF
  6. vertex -995, 314, -334, 990, -574, 0x8E, 0xAC, 0x52, 0xFF
  7. vertex -565, 162, 95, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
  8. vertex -420, 162, -49, 0, 990, 0x8E, 0xAC, 0x52, 0xFF
  9. vertex -850, 314, -479, 0, -574, 0x8E, 0xAC, 0x52, 0xFF
  10. vertex 102, 102, 102, 0, 62, 0x8E, 0xAC, 0x52, 0xFF
  11. vertex 717, 102, 307, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
  12. vertex 717, 102, 102, 0, 990, 0x8E, 0xAC, 0x52, 0xFF
  13. vertex 102, 102, 307, 990, 0, 0x8E, 0xAC, 0x52, 0xFF
  14. vertex -565, 60, 95, 1012, -744, 0x3A, 0x47, 0x2D, 0xFF
  15. vertex -420, 60, -49, 104, -510, 0x3A, 0x47, 0x2D, 0xFF
  16. vertex 102, 0, 102, 40, 858, 0x3A, 0x47, 0x2D, 0xFF
  17. vertex 102, 0, 307, 1012, 1010, 0x3A, 0x47, 0x2D, 0xFF
  18. bitdw_seg7_vertex_0700A818: # 0x0700A818 - 0x0700A918
  19. vertex -565, 60, 95, 990, 1050, 0x3A, 0x47, 0x2D, 0xFF
  20. vertex -1065, 236, -404, 990, -512, 0x3A, 0x47, 0x2D, 0xFF
  21. vertex -920, 236, -549, 0, -512, 0x3A, 0x47, 0x2D, 0xFF
  22. vertex -420, 60, -49, 0, 1050, 0x3A, 0x47, 0x2D, 0xFF
  23. vertex 717, 0, 102, 0, 990, 0x3A, 0x47, 0x2D, 0xFF
  24. vertex 717, 0, 307, 990, 990, 0x3A, 0x47, 0x2D, 0xFF
  25. vertex 102, 0, 307, 990, -542, 0x3A, 0x47, 0x2D, 0xFF
  26. vertex 102, 0, 102, 0, -544, 0x3A, 0x47, 0x2D, 0xFF
  27. vertex 717, 0, 102, -1308, 606, 0x4D, 0x6F, 0x2D, 0xFF
  28. vertex 102, 102, 102, -158, 734, 0x4D, 0x6F, 0x2D, 0xFF
  29. vertex 717, 102, 102, -1308, 352, 0x4D, 0x6F, 0x2D, 0xFF
  30. vertex 102, 0, 102, -158, 990, 0x4D, 0x6F, 0x2D, 0xFF
  31. vertex 102, 102, 307, 0, 734, 0x4D, 0x6F, 0x2D, 0xFF
  32. vertex 717, 0, 307, -1308, 606, 0x4D, 0x6F, 0x2D, 0xFF
  33. vertex 717, 102, 307, -1308, 352, 0x4D, 0x6F, 0x2D, 0xFF
  34. vertex 102, 0, 307, 0, 990, 0x4D, 0x6F, 0x2D, 0xFF
  35. bitdw_seg7_vertex_0700A918: # 0x0700A918 - 0x0700AA18
  36. vertex -420, 60, -49, 1352, 1244, 0x47, 0x61, 0x15, 0xFF
  37. vertex -420, 162, -49, 1352, 990, 0x47, 0x61, 0x15, 0xFF
  38. vertex 102, 102, 102, 2658, 1136, 0x47, 0x61, 0x15, 0xFF
  39. vertex 102, 0, 102, 2658, 1392, 0x47, 0x61, 0x15, 0xFF
  40. vertex -565, 162, 95, 1636, 720, 0x47, 0x61, 0x15, 0xFF
  41. vertex -565, 60, 95, 1636, 890, 0x47, 0x61, 0x15, 0xFF
  42. vertex 102, 0, 307, 0, 990, 0x47, 0x61, 0x15, 0xFF
  43. vertex 102, 102, 307, 0, 820, 0x47, 0x61, 0x15, 0xFF
  44. vertex -420, 162, -49, 1352, 990, 0x44, 0x5F, 0x25, 0xFF
  45. vertex -420, 60, -49, 1352, 1244, 0x44, 0x5F, 0x25, 0xFF
  46. vertex -850, 314, -479, 278, 610, 0x44, 0x5F, 0x25, 0xFF
  47. vertex -920, 236, -549, 102, 804, 0x44, 0x5F, 0x25, 0xFF
  48. vertex -995, 314, -334, -82, 610, 0x44, 0x5F, 0x25, 0xFF
  49. vertex -565, 60, 95, 990, 1244, 0x44, 0x5F, 0x25, 0xFF
  50. vertex -565, 162, 95, 990, 990, 0x44, 0x5F, 0x25, 0xFF
  51. vertex -1065, 236, -404, -256, 804, 0x44, 0x5F, 0x25, 0xFF
  52. bitdw_seg7_vertex_0700AA18: # 0x0700AA18 - 0x0700AAF8
  53. vertex 1126, 0, 0, -90, 1042, 0x4E, 0x69, 0x7E, 0xFF
  54. vertex 1189, -168, 94, -18, 1254, 0x4E, 0x69, 0x7E, 0xFF
  55. vertex 717, 0, 102, 562, 512, 0x4E, 0x69, 0x7E, 0xFF
  56. vertex 717, 0, 307, 888, 758, 0x4E, 0x69, 0x7E, 0xFF
  57. vertex 1189, -168, 315, 336, 1520, 0x4E, 0x69, 0x7E, 0xFF
  58. vertex 1126, 0, 410, 562, 1532, 0x4E, 0x69, 0x7E, 0xFF
  59. vertex 717, 102, 307, 820, 1498, 0x74, 0xB2, 0xBD, 0xFF
  60. vertex 1126, 102, 410, 0, 990, 0x74, 0xB2, 0xBD, 0xFF
  61. vertex 1126, 102, 0, 650, 308, 0x74, 0xB2, 0xBD, 0xFF
  62. vertex 717, 102, 102, 1160, 1158, 0x74, 0xB2, 0xBD, 0xFF
  63. vertex 717, 0, 102, 562, 512, 0x27, 0x35, 0x3E, 0xFF
  64. vertex 1189, -168, 315, 336, 1520, 0x27, 0x35, 0x3E, 0xFF
  65. vertex 717, 0, 307, 888, 758, 0x27, 0x35, 0x3E, 0xFF
  66. vertex 1189, -168, 94, -18, 1254, 0x27, 0x35, 0x3E, 0xFF
  67. bitdw_seg7_vertex_0700AAF8: # 0x0700AAF8 - 0x0700AB78
  68. vertex 717, 0, 307, 0, 480, 0x2D, 0x5E, 0x7C, 0xFF
  69. vertex 1126, 102, 410, 1246, 1244, 0x2D, 0x5E, 0x7C, 0xFF
  70. vertex 717, 102, 307, 224, 224, 0x2D, 0x5E, 0x7C, 0xFF
  71. vertex 1126, 0, 410, 990, 1498, 0x2D, 0x5E, 0x7C, 0xFF
  72. vertex 1126, 0, 0, 990, 1498, 0x2D, 0x5E, 0x7C, 0xFF
  73. vertex 717, 102, 102, 224, 224, 0x2D, 0x5E, 0x7C, 0xFF
  74. vertex 1126, 102, 0, 1246, 1244, 0x2D, 0x5E, 0x7C, 0xFF
  75. vertex 717, 0, 102, 0, 480, 0x2D, 0x5E, 0x7C, 0xFF
  76. bitdw_seg7_dl_0700AB78: # 0x0700AB78 - 0x0700AC70
  77. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800
  78. gsDPLoadSync
  79. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  80. gsSPVertex bitdw_seg7_vertex_0700A718, 16, 0
  81. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  82. gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
  83. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  84. gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
  85. gsSPVertex bitdw_seg7_vertex_0700A818, 16, 0
  86. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  87. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  88. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  89. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  90. gsSPVertex bitdw_seg7_vertex_0700A918, 16, 0
  91. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  92. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  93. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  94. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  95. gsSPEndDisplayList
  96. bitdw_seg7_dl_0700AC70: # 0x0700AC70 - 0x0700ACC8
  97. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
  98. gsDPLoadSync
  99. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  100. gsSPVertex bitdw_seg7_vertex_0700AA18, 14, 0
  101. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  102. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  103. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  104. gsSPEndDisplayList
  105. bitdw_seg7_dl_0700ACC8: # 0x0700ACC8 - 0x0700AD10
  106. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  107. gsDPLoadSync
  108. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  109. gsSPVertex bitdw_seg7_vertex_0700AAF8, 8, 0
  110. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  111. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  112. gsSPEndDisplayList
  113. glabel bitdw_seg7_dl_0700AD10 # 0x0700AD10 - 0x0700AD90
  114. gsDPPipeSync
  115. 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
  116. gsSPClearGeometryMode G_LIGHTING
  117. 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
  118. gsSPTexture -1, -1, 0, 0, 1
  119. gsDPTileSync
  120. 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
  121. gsDPSetTileSize 0, 0, 0, 124, 124
  122. gsSPDisplayList bitdw_seg7_dl_0700AB78
  123. gsSPDisplayList bitdw_seg7_dl_0700AC70
  124. gsSPDisplayList bitdw_seg7_dl_0700ACC8
  125. gsSPTexture -1, -1, 0, 0, 0
  126. gsDPPipeSync
  127. 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
  128. gsSPSetGeometryMode G_LIGHTING
  129. gsSPEndDisplayList