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.

39 lines
2.1 KiB

6 years ago
  1. hmc_seg7_vertex_0701F700: # 0x0701F700 - 0x0701F7C0
  2. vertex -1689, -4177, -526, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  3. vertex -2201, -4689, -526, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  4. vertex -1689, -4689, -526, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  5. vertex -2201, -4177, -526, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  6. vertex -4863, -4177, -526, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  7. vertex -5375, -4689, -526, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  8. vertex -4863, -4689, -526, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  9. vertex -5375, -4177, -526, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  10. vertex -2774, -101, -6271, 990, 990, 0xFF, 0x00, 0x00, 0xB4
  11. vertex -2774, 410, -6783, 0, 0, 0xFF, 0x00, 0x00, 0xB4
  12. vertex -2774, -101, -6783, 0, 990, 0xFF, 0x00, 0x00, 0xB4
  13. vertex -2774, 410, -6271, 990, 0, 0xFF, 0x00, 0x00, 0xB4
  14. hmc_seg7_dl_0701F7C0: # 0x0701F7C0 - 0x0701F818
  15. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, cave_0900C000
  16. gsDPLoadSync
  17. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  18. gsSPVertex hmc_seg7_vertex_0701F700, 12, 0
  19. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  20. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  21. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  22. gsSPEndDisplayList
  23. glabel hmc_seg7_dl_0701F818 # 0x0701F818 - 0x0701F888
  24. gsDPPipeSync
  25. 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
  26. gsSPClearGeometryMode G_LIGHTING
  27. 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
  28. gsSPTexture -1, -1, 0, 0, 1
  29. gsDPTileSync
  30. 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
  31. gsDPSetTileSize 0, 0, 0, 124, 124
  32. gsSPDisplayList hmc_seg7_dl_0701F7C0
  33. gsSPTexture -1, -1, 0, 0, 0
  34. gsDPPipeSync
  35. 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
  36. gsSPSetGeometryMode G_LIGHTING
  37. gsSPEndDisplayList