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.

144 lines
8.3 KiB

5 years ago
  1. bitdw_seg7_vertex_07003C60: # 0x07003C60 - 0x07003D60
  2. vertex -1074, 102, 51, 1330, 1568, 0x2B, 0x5C, 0x54, 0xFF
  3. vertex -1074, -101, -50, 1500, 1396, 0x2B, 0x5C, 0x54, 0xFF
  4. vertex -1074, -101, -460, 2182, 1534, 0x2B, 0x5C, 0x54, 0xFF
  5. vertex -1074, 102, -562, 2352, 1772, 0x2B, 0x5C, 0x54, 0xFF
  6. vertex -2309, -204, 1075, -370, 922, 0x37, 0x7E, 0x69, 0xFF
  7. vertex -2309, -613, 1075, -370, 514, 0x37, 0x7E, 0x69, 0xFF
  8. vertex -1795, -51, 47, 1338, 1414, 0x37, 0x7E, 0x69, 0xFF
  9. vertex -1795, -307, -55, 1508, 1194, 0x37, 0x7E, 0x69, 0xFF
  10. vertex -2718, -613, 1280, 0, 650, 0x37, 0x7E, 0x69, 0xFF
  11. vertex -2923, -204, 1280, 0, 990, 0x37, 0x7E, 0x69, 0xFF
  12. vertex -2004, 0, -557, -3088, 1668, 0x37, 0x7E, 0x69, 0xFF
  13. vertex -1898, -307, -259, -2592, 1330, 0x37, 0x7E, 0x69, 0xFF
  14. vertex -1898, -307, -259, -3434, 1766, 0x2E, 0x9A, 0x73, 0xFF
  15. vertex -2004, 0, -557, -3612, 2010, 0x2E, 0x9A, 0x73, 0xFF
  16. vertex -1074, -101, -460, -2064, 1716, 0x2E, 0x9A, 0x73, 0xFF
  17. vertex -1074, 102, -562, -2064, 1862, 0x2E, 0x9A, 0x73, 0xFF
  18. bitdw_seg7_vertex_07003D60: # 0x07003D60 - 0x07003E60
  19. vertex -1795, -51, 47, -3264, 1924, 0x2E, 0x9A, 0x73, 0xFF
  20. vertex -1795, -307, -55, -3264, 1742, 0x2E, 0x9A, 0x73, 0xFF
  21. vertex -1074, 102, 51, -2064, 1862, 0x2E, 0x9A, 0x73, 0xFF
  22. vertex -1074, -101, -50, -2064, 1716, 0x2E, 0x9A, 0x73, 0xFF
  23. vertex -1795, -51, 47, 2442, 4142, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -1074, 102, 52, 3038, 3538, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -2004, 0, -557, 2772, 4818, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -1074, 102, -562, 3550, 4050, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -2309, -204, 1075, 1160, 3714, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -2923, -204, 1280, 478, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -1898, -307, -259, 2614, 4482, 0x00, 0x43, 0x43, 0xFF
  30. vertex -1795, -307, -55, 2528, 4226, 0x00, 0x43, 0x43, 0xFF
  31. vertex -2309, -613, 1075, 1160, 3714, 0x00, 0x43, 0x43, 0xFF
  32. vertex -1074, -101, -50, 3124, 3624, 0x00, 0x43, 0x43, 0xFF
  33. vertex -2718, -613, 1280, 650, 3884, 0x00, 0x43, 0x43, 0xFF
  34. vertex -1074, -101, -460, 3464, 3964, 0x00, 0x43, 0x43, 0xFF
  35. bitdw_seg7_vertex_07003E60: # 0x07003E60 - 0x07003F60
  36. vertex 272, 307, -613, -540, 480, 0x7C, 0x89, 0x79, 0xFF
  37. vertex 272, -306, -613, 990, -1054, 0x7C, 0x89, 0x79, 0xFF
  38. vertex -341, -306, -613, 2524, 478, 0x7C, 0x89, 0x79, 0xFF
  39. vertex -341, 307, -613, 990, 2010, 0x7C, 0x89, 0x79, 0xFF
  40. vertex -341, 307, 102, 990, 2010, 0x7C, 0x89, 0x79, 0xFF
  41. vertex -341, -306, 102, 2524, 478, 0x7C, 0x89, 0x79, 0xFF
  42. vertex 272, -306, 102, 990, -1054, 0x7C, 0x89, 0x79, 0xFF
  43. vertex 272, 307, 102, -540, 480, 0x7C, 0x89, 0x79, 0xFF
  44. vertex 1792, 102, -101, 1246, 1244, 0x59, 0x7D, 0x4C, 0xFF
  45. vertex 1741, -50, -101, 1628, 862, 0x59, 0x7D, 0x4C, 0xFF
  46. vertex 1741, -50, -409, 862, 96, 0x59, 0x7D, 0x4C, 0xFF
  47. vertex 1792, 102, -409, 480, 480, 0x59, 0x7D, 0x4C, 0xFF
  48. vertex 1024, 102, -562, 96, 96, 0x59, 0x7D, 0x4C, 0xFF
  49. vertex 1024, -204, -50, 2140, 606, 0x59, 0x7D, 0x4C, 0xFF
  50. vertex 1024, 102, 51, 1628, 1626, 0x59, 0x7D, 0x4C, 0xFF
  51. vertex 1024, -204, -460, 1118, -416, 0x59, 0x7D, 0x4C, 0xFF
  52. bitdw_seg7_vertex_07003F60: # 0x07003F60 - 0x07004060
  53. vertex 272, 307, 102, 1246, 2266, 0x68, 0x7B, 0x6E, 0xFF
  54. vertex 272, -306, -613, 990, -1054, 0x68, 0x7B, 0x6E, 0xFF
  55. vertex 272, 307, -613, -542, 480, 0x68, 0x7B, 0x6E, 0xFF
  56. vertex 272, -306, 102, 2778, 734, 0x68, 0x7B, 0x6E, 0xFF
  57. vertex -341, 307, -613, -542, 480, 0x68, 0x7B, 0x6E, 0xFF
  58. vertex -341, -306, -613, 990, -1054, 0x68, 0x7B, 0x6E, 0xFF
  59. vertex -341, -306, 102, 2778, 734, 0x68, 0x7B, 0x6E, 0xFF
  60. vertex -341, 307, 102, 1246, 2266, 0x68, 0x7B, 0x6E, 0xFF
  61. vertex -341, 307, 102, 0, 990, 0xB7, 0xCD, 0xBA, 0xFF
  62. vertex 272, 307, -613, 3290, 1244, 0xB7, 0xCD, 0xBA, 0xFF
  63. vertex -341, 307, -613, 1756, 2776, 0xB7, 0xCD, 0xBA, 0xFF
  64. vertex 272, 307, 102, 1500, -542, 0xB7, 0xCD, 0xBA, 0xFF
  65. vertex -341, -306, -613, 1756, 2776, 0x55, 0x55, 0x55, 0xFF
  66. vertex 272, -306, -613, 3290, 1244, 0x55, 0x55, 0x55, 0xFF
  67. vertex 272, -306, 102, 1500, -542, 0x55, 0x55, 0x55, 0xFF
  68. vertex -341, -306, 102, 0, 990, 0x55, 0x55, 0x55, 0xFF
  69. bitdw_seg7_vertex_07004060: # 0x07004060 - 0x07004160
  70. vertex 1741, -50, -101, 2352, 1498, 0x3A, 0x48, 0x35, 0xFF
  71. vertex 1024, -204, -460, 0, 2692, 0x3A, 0x48, 0x35, 0xFF
  72. vertex 1741, -50, -409, 2352, 2522, 0x3A, 0x48, 0x35, 0xFF
  73. vertex 1024, -204, -50, 0, 1328, 0x3A, 0x48, 0x35, 0xFF
  74. vertex 1792, 102, -409, -3734, -3736, 0x66, 0x88, 0x67, 0xFF
  75. vertex 1741, -50, -409, -3224, -3992, 0x66, 0x88, 0x67, 0xFF
  76. vertex 1024, 102, -562, -1818, -1820, 0x66, 0x88, 0x67, 0xFF
  77. vertex 1024, -204, -460, -1052, -2588, 0x66, 0x88, 0x67, 0xFF
  78. vertex 1024, 102, 51, -1818, -1820, 0x66, 0x88, 0x67, 0xFF
  79. vertex 1024, -204, -50, -1052, -2588, 0x66, 0x88, 0x67, 0xFF
  80. vertex 1741, -50, -101, -3224, -3992, 0x66, 0x88, 0x67, 0xFF
  81. vertex 1792, 102, -101, -3734, -3736, 0x66, 0x88, 0x67, 0xFF
  82. vertex 1792, 102, -409, 6484, -2970, 0xBD, 0xDB, 0xB3, 0xFF
  83. vertex 1024, 102, 51, 3418, -2204, 0xBD, 0xDB, 0xB3, 0xFF
  84. vertex 1792, 102, -101, 5716, -3736, 0xBD, 0xDB, 0xB3, 0xFF
  85. vertex 1024, 102, -562, 4950, -670, 0xBD, 0xDB, 0xB3, 0xFF
  86. bitdw_seg7_dl_07004160: # 0x07004160 - 0x07004220
  87. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000800
  88. gsDPLoadSync
  89. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  90. gsSPVertex bitdw_seg7_vertex_07003C60, 16, 0
  91. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  92. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  93. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  94. gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
  95. gsSPVertex bitdw_seg7_vertex_07003D60, 16, 0
  96. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  97. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  98. gsSP2Triangles 8, 4, 9, 0x0, 4, 6, 9, 0x0
  99. gsSP2Triangles 10, 11, 12, 0x0, 13, 11, 10, 0x0
  100. gsSP2Triangles 10, 12, 14, 0x0, 10, 15, 13, 0x0
  101. gsSPEndDisplayList
  102. bitdw_seg7_dl_07004220: # 0x07004220 - 0x07004318
  103. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  104. gsDPLoadSync
  105. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  106. gsSPVertex bitdw_seg7_vertex_07003E60, 16, 0
  107. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  108. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  109. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  110. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  111. gsSPVertex bitdw_seg7_vertex_07003F60, 16, 0
  112. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  113. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  114. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  115. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  116. gsSPVertex bitdw_seg7_vertex_07004060, 16, 0
  117. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  118. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  119. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  120. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  121. gsSPEndDisplayList
  122. glabel bitdw_seg7_dl_07004318 # 0x07004318 - 0x07004390
  123. gsDPPipeSync
  124. 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
  125. gsSPClearGeometryMode G_LIGHTING
  126. 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
  127. gsSPTexture -1, -1, 0, 0, 1
  128. gsDPTileSync
  129. 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
  130. gsDPSetTileSize 0, 0, 0, 124, 124
  131. gsSPDisplayList bitdw_seg7_dl_07004160
  132. gsSPDisplayList bitdw_seg7_dl_07004220
  133. gsSPTexture -1, -1, 0, 0, 0
  134. gsDPPipeSync
  135. 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
  136. gsSPSetGeometryMode G_LIGHTING
  137. gsSPEndDisplayList