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.

88 lines
5.0 KiB

6 years ago
  1. hmc_seg7_vertex_07013F38: # 0x07013F38 - 0x07014028
  2. vertex 4875, -613, -4402, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  3. vertex 4875, -101, -3890, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  4. vertex 4875, -613, -3890, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  5. vertex 5274, -716, -5621, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  6. vertex 4762, -204, -5621, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  7. vertex 4762, -716, -5621, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  8. vertex 5274, -204, -5621, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  9. vertex 4752, -613, -511, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  10. vertex 4752, -101, -1023, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  11. vertex 4752, -613, -1023, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  12. vertex 4752, -101, -511, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  13. vertex 5571, -511, -3173, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  14. vertex 5571, 0, -3173, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  15. vertex 5571, 0, -3685, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  16. vertex 5571, -511, -3685, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  17. hmc_seg7_vertex_07014028: # 0x07014028 - 0x07014118
  18. vertex 3523, -511, -869, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  19. vertex 3523, 0, -869, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  20. vertex 3523, 0, -1381, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  21. vertex 4875, -613, -4402, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  22. vertex 4875, -101, -4402, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  23. vertex 4875, -101, -3890, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  24. vertex 1700, -716, -2866, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  25. vertex 1700, -204, -2354, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  26. vertex 1700, -716, -2354, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  27. vertex 1700, -204, -2866, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  28. vertex 4240, -511, -3481, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  29. vertex 4240, 0, -3993, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  30. vertex 4240, -511, -3993, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  31. vertex 4240, 0, -3481, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  32. vertex 3523, -511, -1381, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  33. hmc_seg7_vertex_07014118: # 0x07014118 - 0x07014218
  34. vertex 1700, -716, 0, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  35. vertex 1700, -204, 512, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  36. vertex 1700, -716, 512, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  37. vertex 2253, 410, -296, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  38. vertex 1741, 922, -296, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  39. vertex 1741, 410, -296, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  40. vertex 2253, 922, -296, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  41. vertex 1700, 410, -180, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  42. vertex 1700, 922, -180, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  43. vertex 1700, 922, 256, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  44. vertex 1700, 410, 256, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  45. vertex 2294, -716, 512, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  46. vertex 2294, -204, 0, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  47. vertex 2294, -716, 0, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  48. vertex 2294, -204, 512, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  49. vertex 1700, -204, 0, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  50. hmc_seg7_dl_07014218: # 0x07014218 - 0x07014300
  51. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, cave_0900C000
  52. gsDPLoadSync
  53. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  54. gsSPVertex hmc_seg7_vertex_07013F38, 15, 0
  55. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  56. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  57. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  58. gsSP1Triangle 11, 13, 14, 0x0
  59. gsSPVertex hmc_seg7_vertex_07014028, 15, 0
  60. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  61. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  62. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  63. gsSP1Triangle 0, 2, 14, 0x0
  64. gsSPVertex hmc_seg7_vertex_07014118, 16, 0
  65. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  66. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  67. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  68. gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
  69. gsSPEndDisplayList
  70. glabel hmc_seg7_dl_07014300 # 0x07014300 - 0x07014370
  71. gsDPPipeSync
  72. 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
  73. gsSPClearGeometryMode G_LIGHTING
  74. 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
  75. gsSPTexture -1, -1, 0, 0, 1
  76. gsDPTileSync
  77. 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
  78. gsDPSetTileSize 0, 0, 0, 124, 124
  79. gsSPDisplayList hmc_seg7_dl_07014218
  80. gsSPTexture -1, -1, 0, 0, 0
  81. gsDPPipeSync
  82. 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
  83. gsSPSetGeometryMode G_LIGHTING
  84. gsSPEndDisplayList