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.

63 lines
2.7 KiB

6 years ago
  1. # Water Waves
  2. water_waves_seg4_vertex_04025318: # 0x04025318
  3. vertex -64, 0, 64, 0, 0, 0xFF, 0xFF, 0xFF, 0xC8
  4. vertex 64, 0, 64, 992, 0, 0xFF, 0xFF, 0xFF, 0xC8
  5. vertex 64, 0, -64, 992, 992, 0xFF, 0xFF, 0xFF, 0xC8
  6. vertex -64, 0, -64, 0, 992, 0xFF, 0xFF, 0xFF, 0xC8
  7. water_waves_seg4_texture_04025358: # 0x04025358
  8. .incbin "actors/water_wave/0.ia16"
  9. water_waves_seg4_texture_04025B58: # 0x04025B58
  10. .incbin "actors/water_wave/1.ia16"
  11. water_waves_seg4_texture_04026358: # 0x04026358
  12. .incbin "actors/water_wave/2.ia16"
  13. water_waves_seg4_texture_04026B58: # 0x04026B58
  14. .incbin "actors/water_wave/3.ia16"
  15. glabel water_waves_seg4_dl_04027358 # 0x04027358 - 0x040273A0
  16. gsSPClearGeometryMode G_LIGHTING
  17. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  18. gsSPTexture -1, -1, 0, 0, 1
  19. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  20. gsDPLoadSync
  21. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  22. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  23. gsDPSetTileSize 0, 0, 0, 124, 124
  24. gsSPEndDisplayList
  25. glabel water_waves_seg4_dl_040273A0 # 0x040273A0 - 0x040273D8
  26. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  27. gsDPPipeSync
  28. gsSPTexture 1, 1, 0, 0, 0
  29. 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
  30. gsSPSetGeometryMode G_LIGHTING
  31. gsSPEndDisplayList
  32. glabel water_waves_seg4_dl_040273D8 # 0x040273D8 - 0x040273F0
  33. gsSPDisplayList water_waves_seg4_dl_04027358
  34. gsSPVertex water_waves_seg4_vertex_04025318, 4, 0
  35. gsSPBranchList water_waves_seg4_dl_040273A0
  36. glabel water_waves_seg4_dl_040273F0 # 0x040273F0 - 0x04027408
  37. gsDPPipeSync
  38. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, water_waves_seg4_texture_04025358
  39. gsSPBranchList water_waves_seg4_dl_040273D8
  40. glabel water_waves_seg4_dl_04027408 # 0x04027408 - 0x04027420
  41. gsDPPipeSync
  42. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, water_waves_seg4_texture_04025B58
  43. gsSPBranchList water_waves_seg4_dl_040273D8
  44. glabel water_waves_seg4_dl_04027420 # 0x04027420 - 0x04027438
  45. gsDPPipeSync
  46. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, water_waves_seg4_texture_04026358
  47. gsSPBranchList water_waves_seg4_dl_040273D8
  48. glabel water_waves_seg4_dl_04027438 # 0x04027438 - 0x04027450
  49. gsDPPipeSync
  50. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, water_waves_seg4_texture_04026B58
  51. gsSPBranchList water_waves_seg4_dl_040273D8