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.

31 lines
1.5 KiB

6 years ago
  1. ccm_seg7_vertex_0701FDE8: # 0x0701FDE8 - 0x0701FE28
  2. vertex -7592, -5703, -6819, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -7592, -5600, -6716, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -7592, -5703, -6716, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -7592, -5600, -6819, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. ccm_seg7_dl_0701FE28: # 0x0701FE28 - 0x0701FE60
  7. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000800
  8. gsDPLoadSync
  9. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  10. gsSPVertex ccm_seg7_vertex_0701FDE8, 4, 0
  11. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  12. gsSPEndDisplayList
  13. glabel ccm_seg7_dl_0701FE60 # 0x0701FE60 - 0x0701FEE0
  14. gsDPPipeSync
  15. gsDPSetEnvColor 255, 255, 255, 150
  16. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_ENVIRONMENT
  17. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  18. 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
  19. gsSPTexture -1, -1, 0, 0, 1
  20. gsDPTileSync
  21. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  22. gsDPSetTileSize 0, 0, 0, 124, 124
  23. gsSPDisplayList ccm_seg7_dl_0701FE28
  24. gsSPTexture -1, -1, 0, 0, 0
  25. gsDPPipeSync
  26. 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
  27. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  28. gsDPSetEnvColor 255, 255, 255, 255
  29. gsSPEndDisplayList