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.

76 lines
4.2 KiB

6 years ago
  1. hmc_seg7_vertex_0701A150: # 0x0701A150 - 0x0701A240
  2. vertex -3583, 2253, -3276, -4118, -7186, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -2559, 2253, -2764, 990, 3032, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -3071, 2253, -2764, 990, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -2559, 2355, -2764, -2074, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -2559, 2253, -2252, 3034, 990, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -2559, 2355, -2252, 3034, 0, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -2559, 2253, -2764, -2074, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -3583, 2355, -2252, 8144, -5142, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -3071, 2355, -2252, 3034, -5142, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -3071, 2355, -2764, 3034, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -3583, 2355, -3276, 8144, 5076, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -2047, 2355, -3276, -7184, 5076, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -2559, 2355, -2252, -2074, -5142, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -2047, 2355, -2252, -7184, -5142, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -2047, 2253, -3276, -4118, 8142, 0xFF, 0xFF, 0xFF, 0xFF
  17. hmc_seg7_vertex_0701A240: # 0x0701A240 - 0x0701A340
  18. vertex -3071, 2253, -2764, 990, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -3071, 2253, -2252, 6100, -2076, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -3583, 2253, -2252, 6100, -7186, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -3583, 2253, -3276, -4118, -7186, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -2047, 2253, -3276, -4118, 8142, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -2047, 2253, -2252, 6100, 8142, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -2559, 2253, -2764, 990, 3032, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -2559, 2253, -2252, 6100, 3032, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -3071, 2355, -2252, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -3071, 2253, -2764, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -3071, 2355, -2764, 5078, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -3071, 2253, -2252, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -3071, 2355, -2764, -2074, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -2559, 2253, -2764, 3034, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -2559, 2355, -2764, 3034, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex -3071, 2253, -2764, -2074, 990, 0xFF, 0xFF, 0xFF, 0xFF
  34. hmc_seg7_dl_0701A340: # 0x0701A340 - 0x0701A400
  35. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cave_09001000
  36. gsDPLoadSync
  37. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  38. gsSPVertex hmc_seg7_vertex_0701A150, 15, 0
  39. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  40. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  41. gsSP2Triangles 7, 9, 10, 0x0, 9, 3, 11, 0x0
  42. gsSP2Triangles 9, 11, 10, 0x0, 3, 12, 13, 0x0
  43. gsSP2Triangles 3, 13, 11, 0x0, 0, 14, 1, 0x0
  44. gsSPVertex hmc_seg7_vertex_0701A240, 16, 0
  45. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  46. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  47. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  48. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  49. gsSPEndDisplayList
  50. glabel hmc_seg7_dl_0701A400 # 0x0701A400 - 0x0701A4B8
  51. gsDPPipeSync
  52. gsDPSetCycleType G_CYC_2CYCLE
  53. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_TEX_EDGE2
  54. gsDPSetDepthSource G_ZS_PIXEL
  55. gsDPSetFogColor 0, 0, 0, 255
  56. gsSPFogPosition 960, 1000
  57. gsSPSetGeometryMode G_FOG
  58. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  59. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  60. 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
  61. gsSPTexture -1, -1, 0, 0, 1
  62. gsDPTileSync
  63. 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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  64. gsDPSetTileSize 0, 0, 0, 124, 124
  65. gsSPDisplayList hmc_seg7_dl_0701A340
  66. gsSPTexture -1, -1, 0, 0, 0
  67. gsDPPipeSync
  68. gsDPSetCycleType G_CYC_1CYCLE
  69. gsDPSetRenderMode G_RM_AA_ZB_TEX_EDGE, G_RM_NOOP2
  70. gsSPClearGeometryMode G_FOG
  71. 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
  72. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  73. gsSPEndDisplayList