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.

101 lines
5.7 KiB

6 years ago
  1. hmc_seg7_vertex_0700FAB0: # 0x0700FAB0 - 0x0700FBA0
  2. vertex 1137, 358, 6543, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 1014, 563, 6543, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 1137, 563, 6543, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 6973, 563, 3697, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 6851, 358, 3697, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 6973, 358, 3697, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 6851, 563, 3697, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 6912, 358, 3799, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 6912, 563, 3594, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 6912, 563, 3799, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 6912, 358, 3594, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 1075, 563, 6441, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 1075, 563, 6646, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex 1075, 358, 6646, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 1075, 358, 6441, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  17. hmc_seg7_vertex_0700FBA0: # 0x0700FBA0 - 0x0700FC90
  18. vertex 6482, 358, 3123, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 6482, 358, 3328, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 6482, 563, 3328, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex 1137, 358, 6543, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex 1014, 358, 6543, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 1014, 563, 6543, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 6973, 358, 6543, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex 6851, 563, 6543, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 6973, 563, 6543, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 6851, 358, 6543, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 6912, 563, 6441, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 6912, 358, 6646, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 6912, 358, 6441, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 6912, 563, 6646, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 6482, 563, 3123, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. hmc_seg7_vertex_0700FC90: # 0x0700FC90 - 0x0700FD80
  34. vertex 3878, 819, 1034, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 3756, 614, 1034, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 3878, 614, 1034, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 6420, 358, 3226, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 6543, 563, 3226, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 6420, 563, 3226, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex 6543, 358, 3226, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 6420, 358, 7014, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 6543, 563, 7014, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex 6420, 563, 7014, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex 6543, 358, 7014, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 6482, 358, 6912, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 6482, 358, 7117, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 6482, 563, 7117, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 6482, 563, 6912, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. hmc_seg7_vertex_0700FD80: # 0x0700FD80 - 0x0700FDF0
  50. vertex 3817, 614, 1137, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 3817, 614, 932, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 3817, 819, 932, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 3878, 819, 1034, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 3756, 819, 1034, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 3756, 614, 1034, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 3817, 819, 1137, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  57. hmc_seg7_dl_0700FDF0: # 0x0700FDF0 - 0x0700FEF0
  58. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cave_09007000
  59. gsDPLoadSync
  60. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  61. gsSPVertex hmc_seg7_vertex_0700FAB0, 15, 0
  62. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  63. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  64. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  65. gsSP1Triangle 11, 13, 14, 0x0
  66. gsSPVertex hmc_seg7_vertex_0700FBA0, 15, 0
  67. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  68. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  69. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  70. gsSP1Triangle 0, 2, 14, 0x0
  71. gsSPVertex hmc_seg7_vertex_0700FC90, 15, 0
  72. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  73. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  74. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  75. gsSP1Triangle 11, 13, 14, 0x0
  76. gsSPVertex hmc_seg7_vertex_0700FD80, 7, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  78. gsSP1Triangle 0, 2, 6, 0x0
  79. gsSPEndDisplayList
  80. glabel hmc_seg7_dl_0700FEF0 # 0x0700FEF0 - 0x0700FF70
  81. gsDPPipeSync
  82. gsDPSetEnvColor 255, 255, 255, 128
  83. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
  84. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  85. 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
  86. gsSPTexture -1, -1, 0, 0, 1
  87. gsDPTileSync
  88. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  89. gsDPSetTileSize 0, 0, 0, 124, 124
  90. gsSPDisplayList hmc_seg7_dl_0700FDF0
  91. gsSPTexture -1, -1, 0, 0, 0
  92. gsDPPipeSync
  93. 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
  94. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  95. gsDPSetEnvColor 255, 255, 255, 255
  96. gsSPEndDisplayList