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.

45 lines
2.2 KiB

6 years ago
  1. sl_seg7_light_0700CA68: # 0x0700CA68 - 0x0700CA70
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. sl_seg7_light_0700CA70: # 0x0700CA70 - 0x0700CA80
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. sl_seg7_vertex_0700CA80: # 0x0700CA80 - 0x0700CB00
  7. vertex 410, 0, 1126, 786, 990, 0x00, 0x00, 0x7F, 0xFF
  8. vertex 2048, 614, 1126, 2420, -236, 0x00, 0x00, 0x7F, 0xFF
  9. vertex 410, 614, 1126, 786, -236, 0x00, 0x00, 0x7F, 0xFF
  10. vertex 2048, 0, 1126, 2420, 990, 0x00, 0x00, 0x7F, 0xFF
  11. vertex -2047, 614, 1126, -1666, -236, 0x00, 0x00, 0x7F, 0xFF
  12. vertex -409, 0, 1126, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  13. vertex -409, 614, 1126, 0, -236, 0x00, 0x00, 0x7F, 0xFF
  14. vertex -2047, 0, 1126, -1666, 990, 0x00, 0x00, 0x7F, 0xFF
  15. sl_seg7_dl_0700CB00: # 0x0700CB00 - 0x0700CB58
  16. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000800
  17. gsDPLoadSync
  18. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  19. gsSPLight sl_seg7_light_0700CA70, 1
  20. gsSPLight sl_seg7_light_0700CA68, 2
  21. gsSPVertex sl_seg7_vertex_0700CA80, 8, 0
  22. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  23. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  24. gsSPEndDisplayList
  25. glabel sl_seg7_dl_0700CB58 # 0x0700CB58 - 0x0700CBD8
  26. gsDPPipeSync
  27. gsDPSetEnvColor 255, 255, 255, 100
  28. 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
  29. gsSPClearGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  30. 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
  31. gsSPTexture -1, -1, 0, 0, 1
  32. gsDPTileSync
  33. 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
  34. gsDPSetTileSize 0, 0, 0, 124, 124
  35. gsSPDisplayList sl_seg7_dl_0700CB00
  36. gsSPTexture -1, -1, 0, 0, 0
  37. gsDPPipeSync
  38. 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
  39. gsSPSetGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  40. gsDPSetEnvColor 255, 255, 255, 255
  41. gsSPEndDisplayList