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.

55 lines
2.8 KiB

6 years ago
  1. ccm_seg7_light_0700FB78: # 0x0700FB78 - 0x0700FB80
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ccm_seg7_light_0700FB80: # 0x0700FB80 - 0x0700FB90
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ccm_seg7_vertex_0700FB90: # 0x0700FB90 - 0x0700FC90
  7. vertex -123, -613, 238, 0, 990, 0x8F, 0x00, 0x38, 0xFF
  8. vertex -283, 666, -85, 690, 138, 0x8F, 0x00, 0x38, 0xFF
  9. vertex -283, -613, -85, 690, 990, 0x8F, 0x00, 0x38, 0xFF
  10. vertex 201, -613, 78, 690, 990, 0x38, 0x00, 0x71, 0xFF
  11. vertex 201, 666, 78, 690, -288, 0x38, 0x00, 0x71, 0xFF
  12. vertex -123, 666, 238, 0, -288, 0x38, 0x00, 0x71, 0xFF
  13. vertex -123, -613, 238, 0, 990, 0x38, 0x00, 0x71, 0xFF
  14. vertex 41, -613, -246, 690, 990, 0x71, 0x00, 0xC8, 0xFF
  15. vertex 41, 666, -246, 690, 138, 0x71, 0x00, 0xC8, 0xFF
  16. vertex 201, 666, 78, 0, 138, 0x71, 0x00, 0xC8, 0xFF
  17. vertex 201, -613, 78, 0, 990, 0x71, 0x00, 0xC8, 0xFF
  18. vertex -283, -613, -85, 690, 1244, 0xC8, 0x00, 0x8F, 0xFF
  19. vertex 41, 666, -246, 0, 0, 0xC8, 0x00, 0x8F, 0xFF
  20. vertex 41, -613, -246, 0, 1244, 0xC8, 0x00, 0x8F, 0xFF
  21. vertex -283, 666, -85, 690, 0, 0xC8, 0x00, 0x8F, 0xFF
  22. vertex -123, 666, 238, 0, 138, 0x8F, 0x00, 0x38, 0xFF
  23. ccm_seg7_dl_0700FC90: # 0x0700FC90 - 0x0700FD08
  24. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000800
  25. gsDPLoadSync
  26. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  27. gsSPLight ccm_seg7_light_0700FB80, 1
  28. gsSPLight ccm_seg7_light_0700FB78, 2
  29. gsSPVertex ccm_seg7_vertex_0700FB90, 16, 0
  30. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  31. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  32. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  33. gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
  34. gsSPEndDisplayList
  35. glabel ccm_seg7_dl_0700FD08 # 0x0700FD08 - 0x0700FD88
  36. gsDPPipeSync
  37. gsDPSetEnvColor 255, 255, 255, 90
  38. 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
  39. gsSPClearGeometryMode G_SHADING_SMOOTH
  40. 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
  41. gsSPTexture -1, -1, 0, 0, 1
  42. gsDPTileSync
  43. 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
  44. gsDPSetTileSize 0, 0, 0, 124, 124
  45. gsSPDisplayList ccm_seg7_dl_0700FC90
  46. gsSPTexture -1, -1, 0, 0, 0
  47. gsDPPipeSync
  48. 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
  49. gsSPSetGeometryMode G_SHADING_SMOOTH
  50. gsDPSetEnvColor 255, 255, 255, 255
  51. gsSPEndDisplayList