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.

36 lines
1.7 KiB

6 years ago
  1. thi_seg7_light_070075A8: # 0x070075A8 - 0x070075B0
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. thi_seg7_light_070075B0: # 0x070075B0 - 0x070075C0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. thi_seg7_vertex_070075C0: # 0x070075C0 - 0x07007600
  7. vertex -101, 0, -101, 406, 406, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -101, 0, 102, 406, 552, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 102, 0, -101, 552, 406, 0x00, 0x7F, 0x00, 0xFF
  10. vertex 102, 0, 102, 552, 552, 0x00, 0x7F, 0x00, 0xFF
  11. thi_seg7_dl_07007600: # 0x07007600 - 0x07007648
  12. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, thi_seg7_texture_07000800
  13. gsDPLoadSync
  14. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  15. gsSPLight thi_seg7_light_070075B0, 1
  16. gsSPLight thi_seg7_light_070075A8, 2
  17. gsSPVertex thi_seg7_vertex_070075C0, 4, 0
  18. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  19. gsSPEndDisplayList
  20. glabel thi_seg7_dl_07007648 # 0x07007648 - 0x070076A8
  21. gsDPPipeSync
  22. 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
  23. 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
  24. gsSPTexture -1, -1, 0, 0, 1
  25. gsDPTileSync
  26. 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
  27. gsDPSetTileSize 0, 0, 0, 124, 124
  28. gsSPDisplayList thi_seg7_dl_07007600
  29. gsSPTexture -1, -1, 0, 0, 0
  30. gsDPPipeSync
  31. 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
  32. gsSPEndDisplayList