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.

79 lines
3.1 KiB

6 years ago
  1. # Walk Smoke
  2. smoke_seg4_vertex_0401DE60: # 0x0401DE60
  3. vertex -32, 0, 0, 0, 992, 0xFF, 0xFF, 0xFF, 0x64
  4. vertex 32, 0, 0, 992, 992, 0xFF, 0xFF, 0xFF, 0x64
  5. vertex 32, 64, 0, 992, 0, 0xFF, 0xFF, 0xFF, 0x64
  6. vertex -32, 64, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0x64
  7. smoke_seg4_texture_0401DEA0: # 0x0401DEA0
  8. .incbin "actors/walk_smoke/0.ia16"
  9. smoke_seg4_texture_0401E6A0: # 0x0401E6A0
  10. .incbin "actors/walk_smoke/1.ia16"
  11. smoke_seg4_texture_0401EEA0: # 0x0401EEA0
  12. .incbin "actors/walk_smoke/2.ia16"
  13. smoke_seg4_texture_0401F6A0: # 0x0401F6A0
  14. .incbin "actors/walk_smoke/3.ia16"
  15. smoke_seg4_texture_0401FEA0: # 0x0401FEA0
  16. .incbin "actors/walk_smoke/4.ia16"
  17. smoke_seg4_texture_040206A0: # 0x040206A0
  18. .incbin "actors/walk_smoke/5.ia16"
  19. smoke_seg4_texture_04020EA0: # 0x04020EA0
  20. .incbin "actors/walk_smoke/6.ia16"
  21. glabel smoke_seg4_dl_040216A0 # 0x040216A0 - 0x04021718
  22. gsSPClearGeometryMode G_LIGHTING
  23. 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
  24. gsSPTexture -1, -1, 0, 0, 1
  25. 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
  26. gsDPLoadSync
  27. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  28. 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
  29. gsDPSetTileSize 0, 0, 0, 124, 124
  30. gsSPVertex smoke_seg4_vertex_0401DE60, 4, 0
  31. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  32. gsSPTexture -1, -1, 0, 0, 0
  33. 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
  34. gsSPSetGeometryMode G_LIGHTING
  35. gsSPEndDisplayList
  36. glabel smoke_seg4_dl_04021718 # 0x04021718 - 0x04021730
  37. gsDPPipeSync
  38. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_0401DEA0
  39. gsSPBranchList smoke_seg4_dl_040216A0
  40. glabel smoke_seg4_dl_04021730 # 0x04021730 - 0x04021748
  41. gsDPPipeSync
  42. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_0401E6A0
  43. gsSPBranchList smoke_seg4_dl_040216A0
  44. glabel smoke_seg4_dl_04021748 # 0x04021748 - 0x04021760
  45. gsDPPipeSync
  46. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_0401EEA0
  47. gsSPBranchList smoke_seg4_dl_040216A0
  48. glabel smoke_seg4_dl_04021760 # 0x04021760 - 0x04021778
  49. gsDPPipeSync
  50. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_0401F6A0
  51. gsSPBranchList smoke_seg4_dl_040216A0
  52. glabel smoke_seg4_dl_04021778 # 0x04021778 - 0x04021790
  53. gsDPPipeSync
  54. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_0401FEA0
  55. gsSPBranchList smoke_seg4_dl_040216A0
  56. glabel smoke_seg4_dl_04021790 # 0x04021790 - 0x040217A8
  57. gsDPPipeSync
  58. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_040206A0
  59. gsSPBranchList smoke_seg4_dl_040216A0
  60. glabel smoke_seg4_dl_040217A8 # 0x040217A8 - 0x040217C0
  61. gsDPPipeSync
  62. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, smoke_seg4_texture_04020EA0
  63. gsSPBranchList smoke_seg4_dl_040216A0