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.

73 lines
3.7 KiB

6 years ago
  1. wf_seg7_light_0700AC70: # 0x0700AC70 - 0x0700AC78
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_0700AC78: # 0x0700AC78 - 0x0700AC88
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_0700AC88: # 0x0700AC88 - 0x0700ACE8
  7. vertex 1536, 102, -767, 990, 5076, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -1023, 102, 768, -2074, 1244, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 1024, 102, 768, -2074, 5332, 0x00, 0x7F, 0x00, 0xFF
  10. vertex -1535, 102, 256, -1052, 224, 0x00, 0x7F, 0x00, 0xFF
  11. vertex 1536, 102, 256, -1052, 6354, 0x00, 0x7F, 0x00, 0xFF
  12. vertex -1535, 102, -767, 990, 224, 0x00, 0x7F, 0x00, 0xFF
  13. wf_seg7_vertex_0700ACE8: # 0x0700ACE8 - 0x0700ADE8
  14. vertex -695, 133, 292, -2074, -2076, 0x00, 0x7F, 0x00, 0xFF
  15. vertex -419, 133, 568, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  16. vertex -327, 133, 476, 2012, 0, 0x00, 0x7F, 0x00, 0xFF
  17. vertex -327, 133, 292, 2012, -2076, 0x00, 0x7F, 0x00, 0xFF
  18. vertex -419, 133, 200, 990, -3098, 0x00, 0x7F, 0x00, 0xFF
  19. vertex -603, 133, 200, -1052, -3098, 0x00, 0x7F, 0x00, 0xFF
  20. vertex -603, 133, 568, -1052, 990, 0x00, 0x7F, 0x00, 0xFF
  21. vertex -695, 133, 476, -2074, 0, 0x00, 0x7F, 0x00, 0xFF
  22. vertex 768, 154, 0, 3034, -3098, 0x00, 0x7F, 0x00, 0xFF
  23. vertex 896, 154, 384, 0, -2076, 0x00, 0x7F, 0x00, 0xFF
  24. vertex 1152, 154, 384, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  25. vertex 768, 154, 256, 990, -3098, 0x00, 0x7F, 0x00, 0xFF
  26. vertex 1152, 154, -127, 4056, 0, 0x00, 0x7F, 0x00, 0xFF
  27. vertex 896, 154, -127, 4056, -2076, 0x00, 0x7F, 0x00, 0xFF
  28. vertex 1280, 154, 0, 3034, 990, 0x00, 0x7F, 0x00, 0xFF
  29. vertex 1280, 154, 256, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  30. wf_seg7_dl_0700ADE8: # 0x0700ADE8 - 0x0700AE40
  31. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09005800
  32. gsDPLoadSync
  33. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  34. gsSPLight wf_seg7_light_0700AC78, 1
  35. gsSPLight wf_seg7_light_0700AC70, 2
  36. gsSPVertex wf_seg7_vertex_0700AC88, 6, 0
  37. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  38. gsSP2Triangles 0, 2, 4, 0x0, 0, 5, 3, 0x0
  39. gsSPEndDisplayList
  40. wf_seg7_dl_0700AE40: # 0x0700AE40 - 0x0700AEC8
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09002000
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPVertex wf_seg7_vertex_0700ACE8, 16, 0
  45. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  46. gsSP2Triangles 0, 4, 5, 0x0, 0, 2, 3, 0x0
  47. gsSP2Triangles 0, 6, 1, 0x0, 0, 7, 6, 0x0
  48. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  49. gsSP2Triangles 8, 12, 13, 0x0, 8, 14, 12, 0x0
  50. gsSP2Triangles 8, 10, 15, 0x0, 8, 15, 14, 0x0
  51. gsSPEndDisplayList
  52. glabel wf_seg7_dl_0700AEC8 # 0x0700AEC8 - 0x0700AF40
  53. gsDPPipeSync
  54. 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
  55. gsSPClearGeometryMode G_SHADING_SMOOTH
  56. 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
  57. gsSPTexture -1, -1, 0, 0, 1
  58. gsDPTileSync
  59. 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
  60. gsDPSetTileSize 0, 0, 0, 124, 124
  61. gsSPDisplayList wf_seg7_dl_0700ADE8
  62. gsSPDisplayList wf_seg7_dl_0700AE40
  63. gsSPTexture -1, -1, 0, 0, 0
  64. gsDPPipeSync
  65. 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
  66. gsSPSetGeometryMode G_SHADING_SMOOTH
  67. gsSPEndDisplayList