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_0700F220: # 0x0700F220 - 0x0700F228
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_0700F228: # 0x0700F228 - 0x0700F238
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_0700F238: # 0x0700F238 - 0x0700F268
  7. vertex 0, 384, -378, 10188, 8162, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -168, 384, -378, 9514, 8162, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 0, 384, 128, 10188, 10186, 0x00, 0x7F, 0x00, 0xFF
  10. wf_seg7_vertex_0700F268: # 0x0700F268 - 0x0700F2C8
  11. vertex 0, -383, 128, 1080, 3032, 0x88, 0x00, 0x28, 0xFF
  12. vertex 0, 384, 128, 1080, 0, 0x88, 0x00, 0x28, 0xFF
  13. vertex -168, 384, -378, -1052, 0, 0x88, 0x00, 0x28, 0xFF
  14. vertex 0, 384, -378, 1992, 0, 0x7F, 0x00, 0x00, 0xFF
  15. vertex 0, 384, 128, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  16. vertex 0, -383, 128, 0, 3032, 0x7F, 0x00, 0x00, 0xFF
  17. wf_seg7_dl_0700F2C8: # 0x0700F2C8 - 0x0700F308
  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_0700F228, 1
  22. gsSPLight wf_seg7_light_0700F220, 2
  23. gsSPVertex wf_seg7_vertex_0700F238, 3, 0
  24. gsSP1Triangle 0, 1, 2, 0x0
  25. gsSPEndDisplayList
  26. wf_seg7_dl_0700F308: # 0x0700F308 - 0x0700F340
  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_0700F268, 6, 0
  31. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  32. gsSPEndDisplayList
  33. glabel wf_seg7_dl_0700F340 # 0x0700F340 - 0x0700F3B8
  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_0700F2C8
  43. gsSPDisplayList wf_seg7_dl_0700F308
  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