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. ccm_seg7_light_07010A60: # 0x07010A60 - 0x07010A68
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ccm_seg7_light_07010A68: # 0x07010A68 - 0x07010A78
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ccm_seg7_vertex_07010A78: # 0x07010A78 - 0x07010AF8
  7. vertex -55, 540, 574, -912, 4482, 0x01, 0x7E, 0x00, 0xFF
  8. vertex -1163, 553, 677, 308, 990, 0x01, 0x7E, 0x00, 0xFF
  9. vertex -1120, 553, 770, 0, 990, 0x01, 0x7E, 0x00, 0xFF
  10. vertex -12, 540, 667, -1254, 4482, 0x01, 0x7E, 0x00, 0xFF
  11. vertex -1799, 553, 517, 1672, -714, 0x00, 0x7F, 0x00, 0xFF
  12. vertex -1120, 553, 770, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  13. vertex -1333, 553, 304, 1672, 990, 0x00, 0x7F, 0x00, 0xFF
  14. vertex -1586, 553, 983, 0, -714, 0x00, 0x7F, 0x00, 0xFF
  15. ccm_seg7_dl_07010AF8: # 0x07010AF8 - 0x07010B50
  16. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000800
  17. gsDPLoadSync
  18. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  19. gsSPLight ccm_seg7_light_07010A68, 1
  20. gsSPLight ccm_seg7_light_07010A60, 2
  21. gsSPVertex ccm_seg7_vertex_07010A78, 8, 0
  22. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  23. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  24. gsSPEndDisplayList
  25. glabel ccm_seg7_dl_07010B50 # 0x07010B50 - 0x07010BD0
  26. gsDPPipeSync
  27. gsDPSetEnvColor 255, 255, 255, 90
  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 ccm_seg7_dl_07010AF8
  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