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.

104 lines
5.9 KiB

6 years ago
  1. hmc_seg7_vertex_07017D70: # 0x07017D70 - 0x07017E60
  2. vertex -5436, 1741, -3404, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  3. vertex -5436, 2253, -3404, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  4. vertex -5436, 2253, -3916, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  5. vertex -5324, 3425, -6281, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  6. vertex -4914, 3015, -6281, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  7. vertex -5324, 3015, -6281, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  8. vertex -4914, 3425, -6281, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  9. vertex -5436, 2099, -6476, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  10. vertex -5436, 2611, -6988, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  11. vertex -5436, 2099, -6988, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  12. vertex -5436, 2611, -6476, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  13. vertex -5436, 1894, -4940, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  14. vertex -5436, 2406, -5452, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  15. vertex -5436, 1894, -5452, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  16. vertex -5436, 2406, -4940, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  17. hmc_seg7_vertex_07017E60: # 0x07017E60 - 0x07017F50
  18. vertex -4709, 2355, 374, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  19. vertex -4709, 1843, 374, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  20. vertex -5221, 1843, 374, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  21. vertex -5436, 1741, -3404, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  22. vertex -5436, 2253, -3916, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  23. vertex -5436, 1741, -3916, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  24. vertex -3497, 2355, -866, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  25. vertex -3621, 1843, -1362, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  26. vertex -3497, 1843, -866, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  27. vertex -3621, 2355, -1362, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  28. vertex -4625, 2355, 454, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  29. vertex -4263, 1843, 816, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  30. vertex -4625, 1843, 454, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  31. vertex -4263, 2355, 816, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  32. vertex -5221, 2355, 374, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  33. hmc_seg7_vertex_07017F50: # 0x07017F50 - 0x07018040
  34. vertex -6542, 1735, -3916, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  35. vertex -6542, 2247, -3404, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  36. vertex -6542, 1735, -3404, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  37. vertex -7582, 2355, 114, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  38. vertex -7458, 1843, 611, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  39. vertex -7582, 1843, 114, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  40. vertex -7458, 2355, 611, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  41. vertex -5597, 2355, 1112, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  42. vertex -5368, 2355, 654, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  43. vertex -5597, 1843, 1112, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  44. vertex -5368, 1843, 654, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  45. vertex -6542, 2094, -6988, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  46. vertex -6542, 2606, -6988, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  47. vertex -6542, 2606, -6476, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  48. vertex -6542, 2094, -6476, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  49. hmc_seg7_vertex_07018040: # 0x07018040 - 0x070180F0
  50. vertex -5621, 3015, -8191, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  51. vertex -5621, 3425, -8191, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  52. vertex -5621, 3425, -7781, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  53. vertex -6542, 1735, -3916, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  54. vertex -6542, 2247, -3916, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  55. vertex -6542, 2247, -3404, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  56. vertex -3248, 2355, 127, 990, 0, 0xFF, 0x55, 0x00, 0xB4
  57. vertex -3372, 1843, -369, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  58. vertex -3248, 1843, 127, 990, 990, 0xFF, 0x55, 0x00, 0xB4
  59. vertex -3372, 2355, -369, 0, 0, 0xFF, 0x55, 0x00, 0xB4
  60. vertex -5621, 3015, -7781, 0, 990, 0xFF, 0x55, 0x00, 0xB4
  61. hmc_seg7_dl_070180F0: # 0x070180F0 - 0x07018200
  62. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, cave_0900C000
  63. gsDPLoadSync
  64. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  65. gsSPVertex hmc_seg7_vertex_07017D70, 15, 0
  66. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  67. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  68. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  69. gsSP1Triangle 11, 14, 12, 0x0
  70. gsSPVertex hmc_seg7_vertex_07017E60, 15, 0
  71. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  72. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  73. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  74. gsSP1Triangle 14, 0, 2, 0x0
  75. gsSPVertex hmc_seg7_vertex_07017F50, 15, 0
  76. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  77. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  78. gsSP2Triangles 8, 10, 9, 0x0, 11, 12, 13, 0x0
  79. gsSP1Triangle 11, 13, 14, 0x0
  80. gsSPVertex hmc_seg7_vertex_07018040, 11, 0
  81. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  82. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  83. gsSP1Triangle 0, 2, 10, 0x0
  84. gsSPEndDisplayList
  85. glabel hmc_seg7_dl_07018200 # 0x07018200 - 0x07018270
  86. gsDPPipeSync
  87. 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
  88. gsSPClearGeometryMode G_LIGHTING
  89. gsDPSetTile G_IM_FMT_IA, 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
  90. gsSPTexture -1, -1, 0, 0, 1
  91. gsDPTileSync
  92. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  93. gsDPSetTileSize 0, 0, 0, 124, 124
  94. gsSPDisplayList hmc_seg7_dl_070180F0
  95. gsSPTexture -1, -1, 0, 0, 0
  96. gsDPPipeSync
  97. 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
  98. gsSPSetGeometryMode G_LIGHTING
  99. gsSPEndDisplayList