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.

72 lines
3.4 KiB

6 years ago
  1. bbh_seg7_light_070079B0: # 0x070079B0 - 0x070079B8
  2. .byte 0x3F, 0x51, 0x66, 0x00, 0x3F, 0x51, 0x66, 0x00
  3. bbh_seg7_light_070079B8: # 0x070079B8 - 0x070079C8
  4. .byte 0x9E, 0xCC, 0xFF, 0x00, 0x9E, 0xCC, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bbh_seg7_light_070079C8: # 0x070079C8 - 0x070079D0
  7. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  8. bbh_seg7_light_070079D0: # 0x070079D0 - 0x070079E0
  9. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. bbh_seg7_vertex_070079E0: # 0x070079E0 - 0x07007AA0
  12. vertex 1331, 512, 2038, 990, 0, 0x00, 0x00, 0x81, 0xFF
  13. vertex 1741, 512, 2038, 0, 0, 0x00, 0x00, 0x81, 0xFF
  14. vertex 1741, 102, 2038, 0, 990, 0x00, 0x00, 0x81, 0xFF
  15. vertex 1331, 102, 2038, 990, 990, 0x00, 0x00, 0x81, 0xFF
  16. vertex -409, 1536, 2038, 990, 0, 0x00, 0x00, 0x81, 0xFF
  17. vertex 0, 1536, 2038, 0, 0, 0x00, 0x00, 0x81, 0xFF
  18. vertex 0, 1126, 2038, 0, 990, 0x00, 0x00, 0x81, 0xFF
  19. vertex -409, 1126, 2038, 990, 990, 0x00, 0x00, 0x81, 0xFF
  20. vertex 1331, 1536, 2038, 990, 0, 0x00, 0x00, 0x81, 0xFF
  21. vertex 1741, 1536, 2038, 0, 0, 0x00, 0x00, 0x81, 0xFF
  22. vertex 1741, 1126, 2038, 0, 990, 0x00, 0x00, 0x81, 0xFF
  23. vertex 1331, 1126, 2038, 990, 990, 0x00, 0x00, 0x81, 0xFF
  24. bbh_seg7_vertex_07007AA0: # 0x07007AA0 - 0x07007AE0
  25. vertex 512, 1075, 2038, 990, 0, 0x00, 0x00, 0x81, 0xFF
  26. vertex 922, 666, 2038, 0, 990, 0x00, 0x00, 0x81, 0xFF
  27. vertex 512, 666, 2038, 990, 990, 0x00, 0x00, 0x81, 0xFF
  28. vertex 922, 1075, 2038, 0, 0, 0x00, 0x00, 0x81, 0xFF
  29. bbh_seg7_dl_07007AE0: # 0x07007AE0 - 0x07007B48
  30. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006000
  31. gsDPLoadSync
  32. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  33. gsSPLight bbh_seg7_light_070079B8, 1
  34. gsSPLight bbh_seg7_light_070079B0, 2
  35. gsSPVertex bbh_seg7_vertex_070079E0, 12, 0
  36. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  37. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  38. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  39. gsSPEndDisplayList
  40. bbh_seg7_dl_07007B48: # 0x07007B48 - 0x07007B90
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bbh_seg7_texture_07001000
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPLight bbh_seg7_light_070079D0, 1
  45. gsSPLight bbh_seg7_light_070079C8, 2
  46. gsSPVertex bbh_seg7_vertex_07007AA0, 4, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  48. gsSPEndDisplayList
  49. glabel bbh_seg7_dl_07007B90 # 0x07007B90 - 0x07007C08
  50. gsDPPipeSync
  51. 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
  52. gsSPClearGeometryMode G_SHADING_SMOOTH
  53. 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
  54. gsSPTexture -1, -1, 0, 0, 1
  55. gsDPTileSync
  56. 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
  57. gsDPSetTileSize 0, 0, 0, 124, 124
  58. gsSPDisplayList bbh_seg7_dl_07007AE0
  59. gsSPDisplayList bbh_seg7_dl_07007B48
  60. gsSPTexture -1, -1, 0, 0, 0
  61. gsDPPipeSync
  62. 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
  63. gsSPSetGeometryMode G_SHADING_SMOOTH
  64. gsSPEndDisplayList