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.

77 lines
3.9 KiB

6 years ago
  1. wf_seg7_light_0700D780: # 0x0700D780 - 0x0700D788
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_0700D788: # 0x0700D788 - 0x0700D798
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_0700D798: # 0x0700D798 - 0x0700D898
  7. vertex -252, 261, 75, 0, -3138, 0x0C, 0x7E, 0x00, 0xFF
  8. vertex 259, 210, -96, 1194, 0, 0x0C, 0x7E, 0x00, 0xFF
  9. vertex -252, 261, -77, 1194, -3138, 0x0C, 0x7E, 0x00, 0xFF
  10. vertex 259, 210, 95, 0, 0, 0x0C, 0x7E, 0x00, 0xFF
  11. vertex -252, 210, -128, 2522, -34, 0x00, 0x00, 0x81, 0xFF
  12. vertex 259, 5, -128, 0, 990, 0x00, 0x00, 0x81, 0xFF
  13. vertex -252, 5, -128, 2520, 990, 0x00, 0x00, 0x81, 0xFF
  14. vertex -252, 210, -128, 2522, -34, 0x07, 0x13, 0x83, 0xFF
  15. vertex 259, 210, -96, 468, -34, 0x07, 0x13, 0x83, 0xFF
  16. vertex 259, 5, -128, 0, 990, 0x07, 0x13, 0x83, 0xFF
  17. vertex -252, 261, -77, 4056, 412, 0x05, 0x59, 0xA7, 0xFF
  18. vertex 259, 210, -96, 478, 990, 0x05, 0x59, 0xA7, 0xFF
  19. vertex -252, 210, -128, 4056, 990, 0x05, 0x59, 0xA7, 0xFF
  20. vertex -252, 210, 127, -3096, 990, 0x05, 0x5A, 0x58, 0xFF
  21. vertex 259, 210, 95, 480, 990, 0x05, 0x5A, 0x58, 0xFF
  22. vertex -252, 261, 75, -3096, 412, 0x05, 0x5A, 0x58, 0xFF
  23. wf_seg7_vertex_0700D898: # 0x0700D898 - 0x0700D8F8
  24. vertex -252, 5, 127, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  25. vertex 259, 5, 127, 2012, 990, 0x00, 0x00, 0x7F, 0xFF
  26. vertex -252, 210, 127, 0, 182, 0x00, 0x00, 0x7F, 0xFF
  27. vertex 259, 5, 127, 2012, 990, 0x07, 0x13, 0x7D, 0xFF
  28. vertex 259, 210, 95, 2012, 162, 0x07, 0x13, 0x7D, 0xFF
  29. vertex -252, 210, 127, 0, 182, 0x07, 0x13, 0x7D, 0xFF
  30. wf_seg7_vertex_0700D8F8: # 0x0700D8F8 - 0x0700D938
  31. vertex 259, 5, -128, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  32. vertex 259, 210, 95, 96, 172, 0x7F, 0x00, 0x00, 0xFF
  33. vertex 259, 5, 127, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  34. vertex 259, 210, -96, 862, 172, 0x7F, 0x00, 0x00, 0xFF
  35. wf_seg7_dl_0700D938: # 0x0700D938 - 0x0700D9B8
  36. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09008000
  37. gsDPLoadSync
  38. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  39. gsSPLight wf_seg7_light_0700D788, 1
  40. gsSPLight wf_seg7_light_0700D780, 2
  41. gsSPVertex wf_seg7_vertex_0700D798, 16, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  43. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  44. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  45. gsSPVertex wf_seg7_vertex_0700D898, 6, 0
  46. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  47. gsSPEndDisplayList
  48. wf_seg7_dl_0700D9B8: # 0x0700D9B8 - 0x0700D9F0
  49. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, wf_seg7_texture_07002000
  50. gsDPLoadSync
  51. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  52. gsSPVertex wf_seg7_vertex_0700D8F8, 4, 0
  53. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  54. gsSPEndDisplayList
  55. glabel wf_seg7_dl_0700D9F0 # 0x0700D9F0 - 0x0700DA68
  56. gsDPPipeSync
  57. 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
  58. gsSPClearGeometryMode G_SHADING_SMOOTH
  59. 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
  60. gsSPTexture -1, -1, 0, 0, 1
  61. gsDPTileSync
  62. 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
  63. gsDPSetTileSize 0, 0, 0, 124, 124
  64. gsSPDisplayList wf_seg7_dl_0700D938
  65. gsSPDisplayList wf_seg7_dl_0700D9B8
  66. gsSPTexture -1, -1, 0, 0, 0
  67. gsDPPipeSync
  68. 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
  69. gsSPSetGeometryMode G_SHADING_SMOOTH
  70. gsSPEndDisplayList