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.9 KiB

6 years ago
  1. wf_seg7_light_07007298: # 0x07007298 - 0x070072A0
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_070072A0: # 0x070072A0 - 0x070072B0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_070072B0: # 0x070072B0 - 0x070073A0
  7. vertex -255, 65, 256, -1308, 338, 0x00, 0xE7, 0x7C, 0xFF
  8. vertex 205, -62, 230, 990, 990, 0x00, 0xE7, 0x7C, 0xFF
  9. vertex 256, 65, 256, 1246, 338, 0x00, 0xE7, 0x7C, 0xFF
  10. vertex 256, 65, 256, -158, 302, 0x75, 0xD1, 0x00, 0xFF
  11. vertex 205, -62, -229, 2268, 990, 0x75, 0xD1, 0x00, 0xFF
  12. vertex 256, 65, -255, 2396, 302, 0x75, 0xD1, 0x00, 0xFF
  13. vertex 205, -62, 230, 0, 990, 0x75, 0xD1, 0x00, 0xFF
  14. vertex 256, 65, -255, -1308, 338, 0x00, 0xE7, 0x84, 0xFF
  15. vertex 205, -62, -229, -1052, 990, 0x00, 0xE7, 0x84, 0xFF
  16. vertex -204, -62, -229, 990, 990, 0x00, 0xE7, 0x84, 0xFF
  17. vertex -255, 65, -255, 1246, 338, 0x00, 0xE7, 0x84, 0xFF
  18. vertex -255, 65, -255, -1562, 0, 0x8B, 0xD1, 0x00, 0xFF
  19. vertex -204, -62, 230, 862, 656, 0x8B, 0xD1, 0x00, 0xFF
  20. vertex -255, 65, 256, 990, 0, 0x8B, 0xD1, 0x00, 0xFF
  21. vertex -204, -62, -229, -1436, 656, 0x8B, 0xD1, 0x00, 0xFF
  22. wf_seg7_vertex_070073A0: # 0x070073A0 - 0x07007410
  23. vertex 205, -62, 230, -1052, 990, 0x00, 0x81, 0x00, 0xFF
  24. vertex -204, -62, 230, 990, 990, 0x00, 0x81, 0x00, 0xFF
  25. vertex -204, -62, -229, 990, -1310, 0x00, 0x81, 0x00, 0xFF
  26. vertex -255, 65, 256, -1308, 338, 0x00, 0xE7, 0x7C, 0xFF
  27. vertex -204, -62, 230, -1052, 990, 0x00, 0xE7, 0x7C, 0xFF
  28. vertex 205, -62, 230, 990, 990, 0x00, 0xE7, 0x7C, 0xFF
  29. vertex 205, -62, -229, -1052, -1310, 0x00, 0x81, 0x00, 0xFF
  30. wf_seg7_vertex_07007410: # 0x07007410 - 0x07007450
  31. vertex 256, 65, -255, 990, -1566, 0x00, 0x7F, 0x00, 0xFF
  32. vertex -255, 65, 256, -1564, 990, 0x00, 0x7F, 0x00, 0xFF
  33. vertex 256, 65, 256, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  34. vertex -255, 65, -255, -1564, -1566, 0x00, 0x7F, 0x00, 0xFF
  35. wf_seg7_dl_07007450: # 0x07007450 - 0x070074E0
  36. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09000800
  37. gsDPLoadSync
  38. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  39. gsSPLight wf_seg7_light_070072A0, 1
  40. gsSPLight wf_seg7_light_07007298, 2
  41. gsSPVertex wf_seg7_vertex_070072B0, 15, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  43. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  44. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  45. gsSP1Triangle 11, 14, 12, 0x0
  46. gsSPVertex wf_seg7_vertex_070073A0, 7, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  48. gsSP1Triangle 0, 2, 6, 0x0
  49. gsSPEndDisplayList
  50. wf_seg7_dl_070074E0: # 0x070074E0 - 0x07007518
  51. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09001000
  52. gsDPLoadSync
  53. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  54. gsSPVertex wf_seg7_vertex_07007410, 4, 0
  55. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  56. gsSPEndDisplayList
  57. glabel wf_seg7_dl_07007518 # 0x07007518 - 0x07007590
  58. gsDPPipeSync
  59. 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
  60. gsSPClearGeometryMode G_SHADING_SMOOTH
  61. 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
  62. gsSPTexture -1, -1, 0, 0, 1
  63. gsDPTileSync
  64. 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
  65. gsDPSetTileSize 0, 0, 0, 124, 124
  66. gsSPDisplayList wf_seg7_dl_07007450
  67. gsSPDisplayList wf_seg7_dl_070074E0
  68. gsSPTexture -1, -1, 0, 0, 0
  69. gsDPPipeSync
  70. 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
  71. gsSPSetGeometryMode G_SHADING_SMOOTH
  72. gsSPEndDisplayList