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.

38 lines
1.8 KiB

6 years ago
  1. hmc_seg7_vertex_07014B88: # 0x07014B88 - 0x07014BC8
  2. vertex 3021, 922, -296, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 2407, 922, -296, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 2407, 307, -296, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 3021, 307, -296, 990, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  6. hmc_seg7_dl_07014BC8: # 0x07014BC8 - 0x07014C00
  7. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, hmc_seg7_texture_07002000
  8. gsDPLoadSync
  9. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  10. gsSPVertex hmc_seg7_vertex_07014B88, 4, 0
  11. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  12. gsSPEndDisplayList
  13. glabel hmc_seg7_dl_07014C00 # 0x07014C00 - 0x07014CB8
  14. gsDPPipeSync
  15. gsDPSetCycleType G_CYC_2CYCLE
  16. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  17. gsDPSetDepthSource G_ZS_PIXEL
  18. gsDPSetFogColor 0, 0, 0, 255
  19. gsSPFogPosition 960, 1000
  20. gsSPSetGeometryMode G_FOG
  21. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  22. gsSPClearGeometryMode G_LIGHTING
  23. 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
  24. gsSPTexture -1, -1, 0, 0, 1
  25. gsDPTileSync
  26. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  27. gsDPSetTileSize 0, 0, 0, 124, 252
  28. gsSPDisplayList hmc_seg7_dl_07014BC8
  29. gsSPTexture -1, -1, 0, 0, 0
  30. gsDPPipeSync
  31. gsDPSetCycleType G_CYC_1CYCLE
  32. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  33. gsSPClearGeometryMode G_FOG
  34. 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
  35. gsSPSetGeometryMode G_LIGHTING
  36. gsSPEndDisplayList