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.

19 lines
1.0 KiB

6 years ago
  1. wf_seg7_vertex_0700F680: # 0x0700F680 - 0x0700F6C0
  2. vertex -96, 0, 300, -480, -480, 0x00, 0x00, 0x00, 0x96
  3. vertex 95, 0, 300, 480, -480, 0x00, 0x00, 0x00, 0x96
  4. vertex 95, 0, 0, 480, 480, 0x00, 0x00, 0x00, 0x96
  5. vertex -96, 0, 0, -480, 480, 0x00, 0x00, 0x00, 0x96
  6. glabel wf_seg7_dl_0700F6C0 # 0x0700F6C0 - 0x0700F758
  7. gsDPPipeSync
  8. gsSPClearGeometryMode G_LIGHTING
  9. 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
  10. gsSPTexture -1, -1, 0, 0, 1
  11. gsDPLoadTextureBlock wf_seg7_texture_07002800, G_IM_FMT_IA, G_IM_SIZ_8b, 16, 16, 0, G_TX_WRAP | G_TX_MIRROR, G_TX_WRAP | G_TX_MIRROR, 4, 4, G_TX_NOLOD, G_TX_NOLOD
  12. gsSPVertex wf_seg7_vertex_0700F680, 4, 0
  13. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  14. gsSPTexture -1, -1, 0, 0, 0
  15. gsDPPipeSync
  16. 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
  17. gsSPSetGeometryMode G_LIGHTING
  18. gsSPEndDisplayList