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.

120 lines
6.9 KiB

6 years ago
  1. vcutm_seg7_vertex_07008E80: # 0x07008E80 - 0x07008F70
  2. vertex 0, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
  3. vertex -6553, -6553, 6554, 10188, 9164, 0x00, 0x00, 0x00, 0xFF
  4. vertex -6553, -4505, 6554, 10188, 4054, 0x99, 0x99, 0x99, 0xFF
  5. vertex -1637, -6553, -2917, 3172, 5076, 0x00, 0x00, 0x00, 0xFF
  6. vertex -2457, -4505, -2917, 1128, 0, 0x99, 0x99, 0x99, 0xFF
  7. vertex -2457, -6553, -2917, 1128, 5076, 0x00, 0x00, 0x00, 0xFF
  8. vertex -1637, -4505, -2917, 3172, 0, 0x99, 0x99, 0x99, 0xFF
  9. vertex -2457, -6553, -1177, 2012, 9164, 0x00, 0x00, 0x00, 0xFF
  10. vertex -1637, -4505, -1177, 992, 6610, 0x99, 0x99, 0x99, 0xFF
  11. vertex -1637, -6553, -1177, 992, 9164, 0x00, 0x00, 0x00, 0xFF
  12. vertex -2457, -4505, -1177, 2012, 6610, 0x99, 0x99, 0x99, 0xFF
  13. vertex -6553, -4505, 1638, -8204, 990, 0x99, 0x99, 0x99, 0xFF
  14. vertex -6553, -6553, 1638, -8204, 6098, 0x00, 0x00, 0x00, 0xFF
  15. vertex -1637, -6553, 1638, 4056, 6098, 0x00, 0x00, 0x00, 0xFF
  16. vertex -1637, -4505, 1638, 4056, 990, 0x99, 0x99, 0x99, 0xFF
  17. vcutm_seg7_vertex_07008F70: # 0x07008F70 - 0x07009060
  18. vertex -1637, -6553, -6553, 0, 3032, 0x00, 0x00, 0x00, 0xFF
  19. vertex 0, -4505, -6553, 4056, -2076, 0x99, 0x99, 0x99, 0xFF
  20. vertex -1637, -4505, -6553, 0, -2076, 0x99, 0x99, 0x99, 0xFF
  21. vertex 0, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
  22. vertex -6553, -4505, 6554, 10188, 4054, 0x99, 0x99, 0x99, 0xFF
  23. vertex 0, -4505, 6554, -6160, 4054, 0x99, 0x99, 0x99, 0xFF
  24. vertex 4915, -4505, 6554, -6160, 4054, 0x99, 0x99, 0x99, 0xFF
  25. vertex 4915, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
  26. vertex 0, -6553, 6554, 6100, 9164, 0x00, 0x00, 0x00, 0xFF
  27. vertex 0, -4505, 6554, 6100, 4054, 0x99, 0x99, 0x99, 0xFF
  28. vertex 0, -6553, -6553, -4116, 9164, 0x00, 0x00, 0x00, 0xFF
  29. vertex 3738, -6553, -6553, 5076, 9164, 0x00, 0x00, 0x00, 0xFF
  30. vertex 3738, -4505, -6553, 5076, 4054, 0x99, 0x99, 0x99, 0xFF
  31. vertex 0, -4505, -6553, -4116, 4054, 0x99, 0x99, 0x99, 0xFF
  32. vertex 0, -6553, -6553, 4056, 3032, 0x00, 0x00, 0x00, 0xFF
  33. vcutm_seg7_vertex_07009060: # 0x07009060 - 0x07009140
  34. vertex 3738, -6553, -5938, 4568, 9164, 0x00, 0x00, 0x00, 0xFF
  35. vertex 4915, -4505, -5938, 7632, 4054, 0x99, 0x99, 0x99, 0xFF
  36. vertex 3738, -4505, -5938, 4568, 4054, 0x99, 0x99, 0x99, 0xFF
  37. vertex 4915, -6553, -5938, 7632, 9164, 0x00, 0x00, 0x00, 0xFF
  38. vertex -1637, -4505, -4914, 2012, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -1637, -6553, -6553, 6100, 3032, 0x00, 0x00, 0x00, 0xFF
  40. vertex -1637, -4505, -6553, 6100, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -1637, -6553, -4914, 2012, 3032, 0x00, 0x00, 0x00, 0xFF
  42. vertex -1637, -6553, -2917, -2968, 3032, 0x00, 0x00, 0x00, 0xFF
  43. vertex -1637, -4505, -2917, -2968, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -2457, -6553, -1177, -7308, 3032, 0x00, 0x00, 0x00, 0xFF
  45. vertex -2457, -4505, -2917, -2968, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -2457, -4505, -1177, -7308, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -2457, -6553, -2917, -2968, 3032, 0x00, 0x00, 0x00, 0xFF
  48. vcutm_seg7_vertex_07009140: # 0x07009140 - 0x07009230
  49. vertex -6553, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
  50. vertex -6553, -6553, 1638, 6100, 9164, 0x00, 0x00, 0x00, 0xFF
  51. vertex -6553, -4505, 1638, 6100, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex -6553, -4505, 6554, -6160, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 4915, -6553, 0, -8204, 9164, 0x00, 0x00, 0x00, 0xFF
  54. vertex 4915, -4505, 6554, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 4915, -4505, 0, -8204, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex -1637, -6553, 1638, -4116, 4054, 0x00, 0x00, 0x00, 0xFF
  57. vertex -1637, -6553, -1177, 2908, 4054, 0x00, 0x00, 0x00, 0xFF
  58. vertex -1637, -4505, -1177, 2908, -1054, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex -1637, -4505, 1638, -4116, -1054, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 3738, -4505, -6553, -9228, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 3738, -6553, -5938, -7692, 9164, 0x00, 0x00, 0x00, 0xFF
  62. vertex 3738, -4505, -5938, -7692, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 3738, -6553, -6553, -9228, 9164, 0x00, 0x00, 0x00, 0xFF
  64. vcutm_seg7_vertex_07009230: # 0x07009230 - 0x070092A0
  65. vertex 4915, -6553, -5938, -6672, 9164, 0x00, 0x00, 0x00, 0xFF
  66. vertex 4915, -6553, 0, 8144, 9164, 0x00, 0x00, 0x00, 0xFF
  67. vertex 4915, -4505, 0, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex 4915, -4505, -5938, -6672, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex 4915, -6553, 0, -8204, 9164, 0x00, 0x00, 0x00, 0xFF
  70. vertex 4915, -6553, 6554, 8144, 9164, 0x00, 0x00, 0x00, 0xFF
  71. vertex 4915, -4505, 6554, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
  72. vcutm_seg7_dl_070092A0: # 0x070092A0 - 0x070093E8
  73. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, vcutm_seg7_texture_07000800
  74. gsDPLoadSync
  75. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  76. gsSPVertex vcutm_seg7_vertex_07008E80, 15, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  78. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  79. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  80. gsSP1Triangle 11, 13, 14, 0x0
  81. gsSPVertex vcutm_seg7_vertex_07008F70, 15, 0
  82. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  83. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  84. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  85. gsSP1Triangle 0, 14, 1, 0x0
  86. gsSPVertex vcutm_seg7_vertex_07009060, 14, 0
  87. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  88. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  89. gsSP2Triangles 8, 7, 4, 0x0, 8, 4, 9, 0x0
  90. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  91. gsSPVertex vcutm_seg7_vertex_07009140, 15, 0
  92. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  93. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  94. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  95. gsSP1Triangle 11, 14, 12, 0x0
  96. gsSPVertex vcutm_seg7_vertex_07009230, 7, 0
  97. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  98. gsSP1Triangle 4, 5, 6, 0x0
  99. gsSPEndDisplayList
  100. glabel vcutm_seg7_dl_070093E8 # 0x070093E8 - 0x07009458
  101. gsDPPipeSync
  102. 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
  103. gsSPClearGeometryMode G_LIGHTING
  104. 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
  105. gsSPTexture -1, -1, 0, 0, 1
  106. gsDPTileSync
  107. 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
  108. gsDPSetTileSize 0, 0, 0, 252, 124
  109. gsSPDisplayList vcutm_seg7_dl_070092A0
  110. gsSPTexture -1, -1, 0, 0, 0
  111. gsDPPipeSync
  112. 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
  113. gsSPSetGeometryMode G_LIGHTING
  114. gsSPEndDisplayList