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.

87 lines
3.6 KiB

6 years ago
  1. # Water Splash
  2. water_splash_seg4_vertex_0402A588: # 0x0402A588
  3. vertex -64, 0, 0, 0, 2016, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 64, 0, 0, 992, 2016, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 64, 256, 0, 992, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -64, 256, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. water_splash_seg4_texture_0402A5C8: # 0x0402A5C8
  8. .incbin "actors/water_splash/0.ia16"
  9. water_splash_seg4_texture_0402B5C8: # 0x0402B5C8
  10. .incbin "actors/water_splash/1.ia16"
  11. water_splash_seg4_texture_0402C5C8: # 0x0402C5C8
  12. .incbin "actors/water_splash/2.ia16"
  13. water_splash_seg4_texture_0402D5C8: # 0x0402D5C8
  14. .incbin "actors/water_splash/3.ia16"
  15. water_splash_seg4_texture_0402E5C8: # 0x0402E5C8
  16. .incbin "actors/water_splash/4.ia16"
  17. water_splash_seg4_texture_0402F5C8: # 0x0402F5C8
  18. .incbin "actors/water_splash/5.ia16"
  19. water_splash_seg4_texture_040305C8: # 0x040305C8
  20. .incbin "actors/water_splash/6.ia16"
  21. water_splash_seg4_texture_040315C8: # 0x040315C8
  22. .incbin "actors/water_splash/7.ia16"
  23. glabel water_splash_seg4_dl_040325C8 # 0x040325C8 - 0x04032640
  24. gsSPClearGeometryMode G_LIGHTING
  25. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
  26. gsSPTexture -1, -1, 0, 0, 1
  27. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  28. gsDPLoadSync
  29. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  30. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  31. gsDPSetTileSize 0, 0, 0, 124, 252
  32. gsSPVertex water_splash_seg4_vertex_0402A588, 4, 0
  33. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  34. gsSPTexture -1, -1, 0, 0, 0
  35. 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
  36. gsSPSetGeometryMode G_LIGHTING
  37. gsSPEndDisplayList
  38. glabel water_splash_seg4_dl_04032640 # 0x04032640 - 0x04032658
  39. gsDPPipeSync
  40. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402A5C8
  41. gsSPBranchList water_splash_seg4_dl_040325C8
  42. glabel water_splash_seg4_dl_04032658 # 0x04032658 - 0x04032670
  43. gsDPPipeSync
  44. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402B5C8
  45. gsSPBranchList water_splash_seg4_dl_040325C8
  46. glabel water_splash_seg4_dl_04032670 # 0x04032670 - 0x04032688
  47. gsDPPipeSync
  48. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402C5C8
  49. gsSPBranchList water_splash_seg4_dl_040325C8
  50. glabel water_splash_seg4_dl_04032688 # 0x04032688 - 0x040326A0
  51. gsDPPipeSync
  52. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402D5C8
  53. gsSPBranchList water_splash_seg4_dl_040325C8
  54. glabel water_splash_seg4_dl_040326A0 # 0x040326A0 - 0x040326B8
  55. gsDPPipeSync
  56. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402E5C8
  57. gsSPBranchList water_splash_seg4_dl_040325C8
  58. glabel water_splash_seg4_dl_040326B8 # 0x040326B8 - 0x040326D0
  59. gsDPPipeSync
  60. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_0402F5C8
  61. gsSPBranchList water_splash_seg4_dl_040325C8
  62. glabel water_splash_seg4_dl_040326D0 # 0x040326D0 - 0x040326E8
  63. gsDPPipeSync
  64. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_040305C8
  65. gsSPBranchList water_splash_seg4_dl_040325C8
  66. glabel water_splash_seg4_dl_040326E8 # 0x040326E8 - 0x04032700
  67. gsDPPipeSync
  68. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_splash_seg4_texture_040315C8
  69. gsSPBranchList water_splash_seg4_dl_040325C8