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.

54 lines
2.5 KiB

6 years ago
  1. wf_seg7_light_0700F088: # 0x0700F088 - 0x0700F090
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_0700F090: # 0x0700F090 - 0x0700F0A0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_0700F0A0: # 0x0700F0A0 - 0x0700F0D0
  7. vertex 0, 384, 128, 16320, 10186, 0x00, 0x7F, 0x00, 0xFF
  8. vertex 184, 384, -378, 17056, 8162, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 0, 384, -378, 16320, 8162, 0x00, 0x7F, 0x00, 0xFF
  10. wf_seg7_vertex_0700F0D0: # 0x0700F0D0 - 0x0700F130
  11. vertex 0, -383, 128, 990, 3032, 0x81, 0x00, 0x00, 0xFF
  12. vertex 0, 384, 128, 990, 0, 0x81, 0x00, 0x00, 0xFF
  13. vertex 0, 384, -378, -1032, 0, 0x81, 0x00, 0x00, 0xFF
  14. vertex 0, -383, 128, 0, 3032, 0x77, 0x00, 0x2B, 0xFF
  15. vertex 184, 384, -378, 2122, 0, 0x77, 0x00, 0x2B, 0xFF
  16. vertex 0, 384, 128, 0, 0, 0x77, 0x00, 0x2B, 0xFF
  17. wf_seg7_dl_0700F130: # 0x0700F130 - 0x0700F170
  18. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09001000
  19. gsDPLoadSync
  20. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  21. gsSPLight wf_seg7_light_0700F090, 1
  22. gsSPLight wf_seg7_light_0700F088, 2
  23. gsSPVertex wf_seg7_vertex_0700F0A0, 3, 0
  24. gsSP1Triangle 0, 1, 2, 0x0
  25. gsSPEndDisplayList
  26. wf_seg7_dl_0700F170: # 0x0700F170 - 0x0700F1A8
  27. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09000800
  28. gsDPLoadSync
  29. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  30. gsSPVertex wf_seg7_vertex_0700F0D0, 6, 0
  31. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  32. gsSPEndDisplayList
  33. glabel wf_seg7_dl_0700F1A8 # 0x0700F1A8 - 0x0700F220
  34. gsDPPipeSync
  35. 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
  36. gsSPClearGeometryMode G_SHADING_SMOOTH
  37. 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
  38. gsSPTexture -1, -1, 0, 0, 1
  39. gsDPTileSync
  40. 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
  41. gsDPSetTileSize 0, 0, 0, 124, 124
  42. gsSPDisplayList wf_seg7_dl_0700F130
  43. gsSPDisplayList wf_seg7_dl_0700F170
  44. gsSPTexture -1, -1, 0, 0, 0
  45. gsDPPipeSync
  46. 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
  47. gsSPSetGeometryMode G_SHADING_SMOOTH
  48. gsSPEndDisplayList