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.

83 lines
4.7 KiB

6 years ago
  1. hmc_seg7_vertex_07021828: # 0x07021828 - 0x07021918
  2. vertex 4659, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  3. vertex 5171, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  4. vertex 4659, -4382, 2652, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  5. vertex 1280, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  6. vertex 1792, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  7. vertex 1280, -4382, 2652, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  8. vertex 1792, -3870, 2652, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  9. vertex 2406, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  10. vertex 2918, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  11. vertex 2406, -4382, 2652, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  12. vertex 2918, -3870, 2652, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  13. vertex 3533, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  14. vertex 4045, -3870, 2652, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  15. vertex 4045, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  16. vertex 3533, -4382, 2652, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  17. hmc_seg7_vertex_07021918: # 0x07021918 - 0x07021A08
  18. vertex 2406, -4382, 2007, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  19. vertex 2918, -4382, 2007, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  20. vertex 2918, -3870, 2007, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  21. vertex 4659, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  22. vertex 5171, -3870, 2652, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  23. vertex 5171, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  24. vertex 5786, -3870, 2652, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  25. vertex 6298, -4382, 2652, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  26. vertex 5786, -4382, 2652, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  27. vertex 6298, -3870, 2652, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  28. vertex 1280, -4382, 2007, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  29. vertex 1792, -3870, 2007, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  30. vertex 1280, -3870, 2007, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  31. vertex 1792, -4382, 2007, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  32. vertex 2406, -3870, 2007, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  33. hmc_seg7_vertex_07021A08: # 0x07021A08 - 0x07021AC8
  34. vertex 3533, -4382, 2007, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  35. vertex 4045, -4382, 2007, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  36. vertex 4045, -3870, 2007, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  37. vertex 3533, -3870, 2007, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  38. vertex 4659, -4382, 2007, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  39. vertex 5171, -3870, 2007, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  40. vertex 4659, -3870, 2007, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  41. vertex 5171, -4382, 2007, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  42. vertex 5786, -4382, 2007, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  43. vertex 6298, -3870, 2007, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  44. vertex 5786, -3870, 2007, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  45. vertex 6298, -4382, 2007, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  46. hmc_seg7_dl_07021AC8: # 0x07021AC8 - 0x07021BA0
  47. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, cave_0900C000
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  50. gsSPVertex hmc_seg7_vertex_07021828, 15, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  52. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  53. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  54. gsSP1Triangle 11, 13, 14, 0x0
  55. gsSPVertex hmc_seg7_vertex_07021918, 15, 0
  56. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  57. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  58. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  59. gsSP1Triangle 0, 2, 14, 0x0
  60. gsSPVertex hmc_seg7_vertex_07021A08, 12, 0
  61. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  62. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  63. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  64. gsSPEndDisplayList
  65. glabel hmc_seg7_dl_07021BA0 # 0x07021BA0 - 0x07021C10
  66. gsDPPipeSync
  67. 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
  68. gsSPClearGeometryMode G_LIGHTING
  69. 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
  70. gsSPTexture -1, -1, 0, 0, 1
  71. gsDPTileSync
  72. 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
  73. gsDPSetTileSize 0, 0, 0, 124, 124
  74. gsSPDisplayList hmc_seg7_dl_07021AC8
  75. gsSPTexture -1, -1, 0, 0, 0
  76. gsDPPipeSync
  77. 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
  78. gsSPSetGeometryMode G_LIGHTING
  79. gsSPEndDisplayList