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.

50 lines
2.6 KiB

5 years ago
  1. sl_seg7_light_0700A620: # 0x0700A620 - 0x0700A628
  2. .byte 0x73, 0x73, 0x73, 0x00, 0x73, 0x73, 0x73, 0x00
  3. sl_seg7_light_0700A628: # 0x0700A628 - 0x0700A638
  4. .byte 0xE6, 0xE6, 0xE6, 0x00, 0xE6, 0xE6, 0xE6, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. sl_seg7_vertex_0700A638: # 0x0700A638 - 0x0700A718
  7. vertex 102, 0, -255, 2522, 2010, 0x59, 0x59, 0x00, 0xFF
  8. vertex 0, 102, 256, 0, 1498, 0x59, 0x59, 0x00, 0xFF
  9. vertex 102, 0, 256, 0, 2010, 0x59, 0x59, 0x00, 0xFF
  10. vertex 0, 102, -255, 2522, 1500, 0x59, 0x59, 0x00, 0xFF
  11. vertex 0, 102, -255, 2522, 1500, 0xA6, 0x59, 0x00, 0xFF
  12. vertex -101, 0, 256, 0, 990, 0xA6, 0x59, 0x00, 0xFF
  13. vertex 0, 102, 256, 0, 1498, 0xA6, 0x59, 0x00, 0xFF
  14. vertex -101, 0, -255, 2522, 990, 0xA6, 0x59, 0x00, 0xFF
  15. vertex 0, 102, 256, 478, 480, 0x00, 0x00, 0x7F, 0xFF
  16. vertex -101, 0, 256, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  17. vertex 102, 0, 256, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  18. vertex 102, 0, -255, 990, 990, 0x00, 0x00, 0x81, 0xFF
  19. vertex -101, 0, -255, 0, 990, 0x00, 0x00, 0x81, 0xFF
  20. vertex 0, 102, -255, 478, 480, 0x00, 0x00, 0x81, 0xFF
  21. sl_seg7_dl_0700A718: # 0x0700A718 - 0x0700A780
  22. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09008800
  23. gsDPLoadSync
  24. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  25. gsSPLight sl_seg7_light_0700A628, 1
  26. gsSPLight sl_seg7_light_0700A620, 2
  27. gsSPVertex sl_seg7_vertex_0700A638, 14, 0
  28. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  29. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  30. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  31. gsSPEndDisplayList
  32. glabel sl_seg7_dl_0700A780 # 0x0700A780 - 0x0700A7F0
  33. gsDPPipeSync
  34. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  35. gsSPClearGeometryMode G_SHADING_SMOOTH
  36. 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
  37. gsSPTexture -1, -1, 0, 0, 1
  38. gsDPTileSync
  39. 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
  40. gsDPSetTileSize 0, 0, 0, 124, 124
  41. gsSPDisplayList sl_seg7_dl_0700A718
  42. gsSPTexture -1, -1, 0, 0, 0
  43. gsDPPipeSync
  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_SHADING_SMOOTH
  46. gsSPEndDisplayList