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_0700B118: # 0x0700B118 - 0x0700B120
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ccm_seg7_light_0700B120: # 0x0700B120 - 0x0700B130
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ccm_seg7_vertex_0700B130: # 0x0700B130 - 0x0700B190
  7. vertex 768, -1535, 5118, 820, 450, 0x2C, 0x76, 0xF8, 0xFF
  8. vertex 805, -1535, 5320, 0, 990, 0x2C, 0x76, 0xF8, 0xFF
  9. vertex 2566, -2303, 3621, 0, -11806, 0x2C, 0x76, 0xF8, 0xFF
  10. vertex 768, -1535, 5118, 820, 450, 0x1D, 0x78, 0xE5, 0xFF
  11. vertex 2566, -2303, 3621, 0, -11806, 0x1D, 0x78, 0xE5, 0xFF
  12. vertex 2391, -2303, 3433, 1246, -11830, 0x1D, 0x78, 0xE5, 0xFF
  13. ccm_seg7_dl_0700B190: # 0x0700B190 - 0x0700B1D8
  14. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09008000
  15. gsDPLoadSync
  16. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  17. gsSPLight ccm_seg7_light_0700B120, 1
  18. gsSPLight ccm_seg7_light_0700B118, 2
  19. gsSPVertex ccm_seg7_vertex_0700B130, 6, 0
  20. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  21. gsSPEndDisplayList
  22. glabel ccm_seg7_dl_0700B1D8 # 0x0700B1D8 - 0x0700B248
  23. gsDPPipeSync
  24. 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
  25. gsSPClearGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  26. 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
  27. gsSPTexture -1, -1, 0, 0, 1
  28. gsDPTileSync
  29. 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
  30. gsDPSetTileSize 0, 0, 0, 124, 124
  31. gsSPDisplayList ccm_seg7_dl_0700B190
  32. gsSPTexture -1, -1, 0, 0, 0
  33. gsDPPipeSync
  34. 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
  35. gsSPSetGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  36. gsSPEndDisplayList