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.

134 lines
7.7 KiB

5 years ago
  1. rr_seg7_vertex_0700E208: # 0x0700E208 - 0x0700E2F8
  2. vertex -961, 350, 0, 0, -8910, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -465, 391, 0, 990, -9618, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -783, 658, 0, 0, -9798, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -177, 1008, 0, 0, -11032, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -105, 599, 0, 990, -11212, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 107, 605, 0, 990, -11918, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 178, 1008, 0, 0, -11918, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -511, 887, 0, 0, -10324, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -303, 527, 0, 990, -10504, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -105, 599, 0, 990, -11032, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -177, 1008, 0, 0, -11212, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -783, 658, 0, 0, -9618, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -303, 527, 0, 990, -10324, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -511, 887, 0, 0, -10504, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -465, 391, 0, 990, -9798, 0xFF, 0xFF, 0xFF, 0xFF
  17. rr_seg7_vertex_0700E2F8: # 0x0700E2F8 - 0x0700E3E8
  18. vertex -783, -657, 0, 0, -6788, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -465, -390, 0, 990, -6968, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -570, -207, 0, 990, -7496, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -961, 350, 0, 0, -8910, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -570, 208, 0, 990, -9090, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -465, 391, 0, 990, -9618, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -1023, 0, 0, 0, -8202, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -607, 0, 0, 990, -8382, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -570, 208, 0, 990, -8910, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -961, 350, 0, 0, -9090, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -961, -349, 0, 0, -7496, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -570, -207, 0, 990, -7676, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -607, 0, 0, 990, -8202, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -1023, 0, 0, 0, -8382, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -961, -349, 0, 0, -7676, 0xFF, 0xFF, 0xFF, 0xFF
  33. rr_seg7_vertex_0700E3E8: # 0x0700E3E8 - 0x0700E4D8
  34. vertex 512, -886, 0, 0, -3960, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 304, -526, 0, 990, -4140, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 106, -598, 0, 990, -4668, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -511, -886, 0, 0, -6082, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex -303, -526, 0, 990, -6262, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -465, -390, 0, 990, -6788, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -783, -657, 0, 0, -6968, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -177, -1007, 0, 0, -5374, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex -105, -598, 0, 990, -5554, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -303, -526, 0, 990, -6082, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -511, -886, 0, 0, -6262, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 178, -1007, 0, 0, -4668, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -105, -598, 0, 990, -5374, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -177, -1007, 0, 0, -5554, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 106, -598, 0, 990, -4848, 0xFF, 0xFF, 0xFF, 0xFF
  49. rr_seg7_vertex_0700E4D8: # 0x0700E4D8 - 0x0700E5C8
  50. vertex 1024, 0, 0, 0, -1838, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 571, -207, 0, 990, -2546, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 962, -349, 0, 0, -2726, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 512, -886, 0, 0, -3960, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 106, -598, 0, 990, -4668, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 178, -1007, 0, 0, -4848, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 784, -657, 0, 0, -3252, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 304, -526, 0, 990, -3960, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 512, -886, 0, 0, -4140, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 466, -390, 0, 990, -3434, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 962, -349, 0, 0, -2546, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 466, -390, 0, 990, -3252, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 784, -657, 0, 0, -3434, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 571, -207, 0, 990, -2726, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex 608, 0, 0, 990, -2018, 0xFF, 0xFF, 0xFF, 0xFF
  65. rr_seg7_vertex_0700E5C8: # 0x0700E5C8 - 0x0700E6C8
  66. vertex 178, 1008, 0, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex 304, 527, 0, 990, 282, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex 512, 887, 0, 0, 102, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 962, 350, 0, 0, -1132, 0xFF, 0xFF, 0xFF, 0xFF
  70. vertex 571, 208, 0, 990, -1312, 0xFF, 0xFF, 0xFF, 0xFF
  71. vertex 608, 0, 0, 990, -1838, 0xFF, 0xFF, 0xFF, 0xFF
  72. vertex 1024, 0, 0, 0, -2018, 0xFF, 0xFF, 0xFF, 0xFF
  73. vertex 784, 658, 0, 0, -424, 0xFF, 0xFF, 0xFF, 0xFF
  74. vertex 466, 391, 0, 990, -604, 0xFF, 0xFF, 0xFF, 0xFF
  75. vertex 571, 208, 0, 990, -1132, 0xFF, 0xFF, 0xFF, 0xFF
  76. vertex 962, 350, 0, 0, -1312, 0xFF, 0xFF, 0xFF, 0xFF
  77. vertex 512, 887, 0, 0, 282, 0xFF, 0xFF, 0xFF, 0xFF
  78. vertex 466, 391, 0, 990, -424, 0xFF, 0xFF, 0xFF, 0xFF
  79. vertex 784, 658, 0, 0, -604, 0xFF, 0xFF, 0xFF, 0xFF
  80. vertex 304, 527, 0, 990, 102, 0xFF, 0xFF, 0xFF, 0xFF
  81. vertex 107, 605, 0, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  82. rr_seg7_dl_0700E6C8: # 0x0700E6C8 - 0x0700E830
  83. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005800
  84. gsDPLoadSync
  85. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  86. gsSPVertex rr_seg7_vertex_0700E208, 15, 0
  87. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  88. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  89. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  90. gsSP1Triangle 11, 14, 12, 0x0
  91. gsSPVertex rr_seg7_vertex_0700E2F8, 15, 0
  92. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  93. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  94. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  95. gsSP1Triangle 0, 2, 14, 0x0
  96. gsSPVertex rr_seg7_vertex_0700E3E8, 15, 0
  97. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  98. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  99. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  100. gsSP1Triangle 11, 14, 12, 0x0
  101. gsSPVertex rr_seg7_vertex_0700E4D8, 15, 0
  102. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  103. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  104. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  105. gsSP1Triangle 0, 14, 1, 0x0
  106. gsSPVertex rr_seg7_vertex_0700E5C8, 16, 0
  107. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  108. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  109. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  110. gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
  111. gsSPEndDisplayList
  112. glabel rr_seg7_dl_0700E830 # 0x0700E830 - 0x0700E8B0
  113. gsDPPipeSync
  114. gsDPSetEnvColor 255, 255, 255, 200
  115. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
  116. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  121. gsDPSetTileSize 0, 0, 0, 124, 124
  122. gsSPDisplayList rr_seg7_dl_0700E6C8
  123. gsSPTexture -1, -1, 0, 0, 0
  124. gsDPPipeSync
  125. 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
  126. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  127. gsDPSetEnvColor 255, 255, 255, 255
  128. gsSPEndDisplayList