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.

157 lines
8.9 KiB

5 years ago
  1. rr_seg7_vertex_07014FA8: # 0x07014FA8 - 0x070150A8
  2. vertex 3077, -315, -751, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
  3. vertex 2668, -315, -136, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
  4. vertex 3077, -315, -136, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
  5. vertex 2668, -315, -751, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
  6. vertex 2081, 1114, -765, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
  7. vertex 1672, 1114, -150, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
  8. vertex 2081, 1114, -150, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
  9. vertex 1672, 1114, -765, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
  10. vertex 2081, -162, -150, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
  11. vertex 1672, -162, -150, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
  12. vertex 1672, -162, -765, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
  13. vertex 2081, -162, -765, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
  14. vertex 2668, -1083, -751, -1052, 990, 0xBF, 0xAA, 0x3F, 0xFF
  15. vertex 3077, -1083, -751, -1052, 0, 0xBF, 0xAA, 0x3F, 0xFF
  16. vertex 3077, -1083, -136, 990, 0, 0xBF, 0xAA, 0x3F, 0xFF
  17. vertex 2668, -1083, -136, 990, 990, 0xBF, 0xAA, 0x3F, 0xFF
  18. rr_seg7_vertex_070150A8: # 0x070150A8 - 0x07015198
  19. vertex 1672, 1062, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
  20. vertex 1672, 1114, -765, 0, 990, 0x96, 0x96, 0x96, 0xFF
  21. vertex 2081, 1114, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  22. vertex 1672, -162, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
  23. vertex 1672, -111, -765, 0, 990, 0x96, 0x96, 0x96, 0xFF
  24. vertex 2081, -111, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  25. vertex 2081, -162, -765, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  26. vertex 2081, -162, -150, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  27. vertex 1672, -111, -150, 0, 990, 0x96, 0x96, 0x96, 0xFF
  28. vertex 1672, -162, -150, 224, 990, 0x96, 0x96, 0x96, 0xFF
  29. vertex 2081, -111, -150, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  30. vertex 2081, 1062, -150, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  31. vertex 1672, 1114, -150, 0, 990, 0x96, 0x96, 0x96, 0xFF
  32. vertex 1672, 1062, -150, 224, 990, 0x96, 0x96, 0x96, 0xFF
  33. vertex 2081, 1114, -150, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  34. rr_seg7_vertex_07015198: # 0x07015198 - 0x07015288
  35. vertex 3077, -1083, -136, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  36. vertex 2668, -1032, -136, 0, 990, 0x96, 0x96, 0x96, 0xFF
  37. vertex 2668, -1083, -136, 224, 990, 0x96, 0x96, 0x96, 0xFF
  38. vertex 1672, 1062, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
  39. vertex 2081, 1114, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  40. vertex 2081, 1062, -765, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  41. vertex 2668, -367, -751, 224, 990, 0x96, 0x96, 0x96, 0xFF
  42. vertex 2668, -315, -751, 0, 990, 0x96, 0x96, 0x96, 0xFF
  43. vertex 3077, -315, -751, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  44. vertex 3077, -367, -751, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  45. vertex 3077, -367, -136, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  46. vertex 2668, -315, -136, 0, 990, 0x96, 0x96, 0x96, 0xFF
  47. vertex 2668, -367, -136, 224, 990, 0x96, 0x96, 0x96, 0xFF
  48. vertex 3077, -315, -136, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  49. vertex 3077, -1032, -136, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  50. rr_seg7_vertex_07015288: # 0x07015288 - 0x07015378
  51. vertex 2668, -1083, -751, 224, 990, 0x96, 0x96, 0x96, 0xFF
  52. vertex 2668, -1032, -751, 0, 990, 0x96, 0x96, 0x96, 0xFF
  53. vertex 3077, -1032, -751, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  54. vertex 3077, -1083, -751, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  55. vertex 1672, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  56. vertex 1672, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
  57. vertex 1672, 1062, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
  58. vertex 1672, -162, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  59. vertex 1672, -111, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
  60. vertex 1672, -162, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
  61. vertex 1672, -111, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  62. vertex 2081, -162, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
  63. vertex 2081, -111, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  64. vertex 2081, -162, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  65. vertex 2081, -111, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
  66. rr_seg7_vertex_07015378: # 0x07015378 - 0x07015458
  67. vertex 2081, 1062, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
  68. vertex 2081, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
  69. vertex 2081, 1114, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  70. vertex 2081, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  71. vertex 3077, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
  72. vertex 3077, -1032, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
  73. vertex 3077, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  74. vertex 1672, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  75. vertex 1672, 1114, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  76. vertex 1672, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
  77. vertex 2668, -367, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  78. vertex 2668, -315, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  79. vertex 2668, -315, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
  80. vertex 2668, -367, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
  81. rr_seg7_vertex_07015458: # 0x07015458 - 0x07015508
  82. vertex 3077, -367, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
  83. vertex 3077, -315, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
  84. vertex 3077, -315, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  85. vertex 3077, -367, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  86. vertex 3077, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
  87. vertex 3077, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  88. vertex 3077, -1083, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  89. vertex 2668, -1083, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
  90. vertex 2668, -1032, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
  91. vertex 2668, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
  92. vertex 2668, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
  93. rr_seg7_dl_07015508: # 0x07015508 - 0x07015570
  94. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000
  95. gsDPLoadSync
  96. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  97. gsSPVertex rr_seg7_vertex_07014FA8, 16, 0
  98. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  99. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  100. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  101. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  102. gsSPEndDisplayList
  103. rr_seg7_dl_07015570: # 0x07015570 - 0x070156B8
  104. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800
  105. gsDPLoadSync
  106. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  107. gsSPVertex rr_seg7_vertex_070150A8, 15, 0
  108. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  109. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  110. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  111. gsSP1Triangle 11, 14, 12, 0x0
  112. gsSPVertex rr_seg7_vertex_07015198, 15, 0
  113. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  114. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  115. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  116. gsSP1Triangle 0, 14, 1, 0x0
  117. gsSPVertex rr_seg7_vertex_07015288, 15, 0
  118. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  119. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  120. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  121. gsSP1Triangle 11, 14, 12, 0x0
  122. gsSPVertex rr_seg7_vertex_07015378, 14, 0
  123. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  124. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  125. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  126. gsSPVertex rr_seg7_vertex_07015458, 11, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  128. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  129. gsSP1Triangle 7, 10, 8, 0x0
  130. gsSPEndDisplayList
  131. glabel rr_seg7_dl_070156B8 # 0x070156B8 - 0x07015748
  132. gsDPPipeSync
  133. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  134. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  135. 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
  136. gsSPTexture -1, -1, 0, 0, 1
  137. gsDPTileSync
  138. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  139. gsDPSetTileSize 0, 0, 0, 124, 124
  140. gsSPDisplayList rr_seg7_dl_07015508
  141. gsDPTileSync
  142. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  143. gsDPSetTileSize 0, 0, 0, 252, 124
  144. gsSPDisplayList rr_seg7_dl_07015570
  145. gsSPTexture -1, -1, 0, 0, 0
  146. gsDPPipeSync
  147. 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
  148. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  149. gsSPEndDisplayList