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.

48 lines
2.6 KiB

6 years ago
  1. lll_seg7_vertex_07025AC0: # 0x07025AC0 - 0x07025B80
  2. vertex -2732, 2391, -1140, 479, 0, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -2773, 2309, -1069, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -2732, 2309, -1140, 479, 479, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -2773, 2391, -1069, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -2446, 2391, -1636, 479, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -2487, 2309, -1565, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -2446, 2309, -1636, 479, 479, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -2487, 2391, -1565, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 2937, 518, -30, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 2937, 436, 51, 479, 479, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 2937, 518, 51, 479, 0, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 2937, 436, -30, 0, 479, 0xFF, 0xFF, 0xFF, 0xFF
  14. lll_seg7_dl_07025B80: # 0x07025B80 - 0x07025BD8
  15. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700D000
  16. gsDPLoadSync
  17. gsDPLoadBlock 7, 0, 0, 0x0FF, 0x200
  18. gsSPVertex lll_seg7_vertex_07025AC0, 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 lll_seg7_dl_07025BD8 # 0x07025BD8 - 0x07025C90
  24. gsDPPipeSync
  25. gsDPSetCycleType G_CYC_2CYCLE
  26. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_TEX_EDGE2
  27. gsDPSetDepthSource G_ZS_PIXEL
  28. gsDPSetFogColor 0, 0, 0, 255
  29. gsSPFogFactor 0x0855, 0xF8AB # This isn't gsSPFogPosition since there is no valid min/max pair that corresponds to 0x0855F8AB
  30. gsSPSetGeometryMode G_FOG
  31. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  32. gsSPClearGeometryMode G_LIGHTING
  33. 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
  34. gsSPTexture -1, -1, 0, 0, 1
  35. gsDPTileSync
  36. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 4, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 4, G_TX_NOLOD
  37. gsDPSetTileSize 0, 0, 0, 60, 60
  38. gsSPDisplayList lll_seg7_dl_07025B80
  39. gsSPTexture -1, -1, 0, 0, 0
  40. gsDPPipeSync
  41. gsDPSetCycleType G_CYC_1CYCLE
  42. gsDPSetRenderMode G_RM_AA_ZB_TEX_EDGE, G_RM_NOOP2
  43. gsSPClearGeometryMode G_FOG
  44. 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
  45. gsSPSetGeometryMode G_LIGHTING
  46. gsSPEndDisplayList