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.

40 lines
1.9 KiB

6 years ago
  1. ccm_seg7_light_0700F6E0: # 0x0700F6E0 - 0x0700F6E8
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ccm_seg7_light_0700F6E8: # 0x0700F6E8 - 0x0700F6F8
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ccm_seg7_vertex_0700F6F8: # 0x0700F6F8 - 0x0700F738
  7. vertex 219, -378, 76, 0, 990, 0x56, 0x00, 0x5C, 0xFF
  8. vertex 294, -378, 6, 990, 990, 0x56, 0x00, 0x5C, 0xFF
  9. vertex 294, -275, 6, 990, 0, 0x56, 0x00, 0x5C, 0xFF
  10. vertex 219, -275, 76, 0, 0, 0x56, 0x00, 0x5C, 0xFF
  11. ccm_seg7_dl_0700F738: # 0x0700F738 - 0x0700F780
  12. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000800
  13. gsDPLoadSync
  14. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  15. gsSPLight ccm_seg7_light_0700F6E8, 1
  16. gsSPLight ccm_seg7_light_0700F6E0, 2
  17. gsSPVertex ccm_seg7_vertex_0700F6F8, 4, 0
  18. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  19. gsSPEndDisplayList
  20. glabel ccm_seg7_dl_0700F780 # 0x0700F780 - 0x0700F800
  21. gsDPPipeSync
  22. gsDPSetEnvColor 255, 255, 255, 90
  23. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_ENVIRONMENT
  24. gsSPClearGeometryMode G_SHADING_SMOOTH
  25. 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
  26. gsSPTexture -1, -1, 0, 0, 1
  27. gsDPTileSync
  28. 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
  29. gsDPSetTileSize 0, 0, 0, 124, 124
  30. gsSPDisplayList ccm_seg7_dl_0700F738
  31. gsSPTexture -1, -1, 0, 0, 0
  32. gsDPPipeSync
  33. 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
  34. gsSPSetGeometryMode G_SHADING_SMOOTH
  35. gsDPSetEnvColor 255, 255, 255, 255
  36. gsSPEndDisplayList