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.

81 lines
4.6 KiB

6 years ago
  1. rr_seg7_vertex_07007EF0: # 0x07007EF0 - 0x07007FF0
  2. vertex -2405, -76, -741, -4260, 8996, 0x8C, 0x8C, 0x8C, 0xFF
  3. vertex -2815, 128, -537, -5140, 8908, 0x8C, 0x8C, 0x8C, 0xFF
  4. vertex -2405, 128, -741, -4374, 8654, 0x8C, 0x8C, 0x8C, 0xFF
  5. vertex 2406, -76, 589, -144, 648, 0x8C, 0x8C, 0x8C, 0xFF
  6. vertex 2816, 128, 384, 734, 734, 0x8C, 0x8C, 0x8C, 0xFF
  7. vertex 2406, 128, 589, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  8. vertex 2816, -76, 384, 620, 392, 0x8C, 0x8C, 0x8C, 0xFF
  9. vertex 2406, 128, -741, 1628, 2648, 0x8C, 0x8C, 0x8C, 0xFF
  10. vertex 2816, 128, -537, 1884, 1882, 0x8C, 0x8C, 0x8C, 0xFF
  11. vertex 2816, -76, -537, 2228, 1996, 0x8C, 0x8C, 0x8C, 0xFF
  12. vertex 2406, -76, -741, 1972, 2764, 0x8C, 0x8C, 0x8C, 0xFF
  13. vertex -2405, 128, 589, -6034, 6992, 0x8C, 0x8C, 0x8C, 0xFF
  14. vertex -2815, -76, 384, -6632, 7644, 0x8C, 0x8C, 0x8C, 0xFF
  15. vertex -2405, -76, 589, -6378, 6878, 0x8C, 0x8C, 0x8C, 0xFF
  16. vertex -2815, 128, 384, -6290, 7758, 0x8C, 0x8C, 0x8C, 0xFF
  17. vertex -2815, -76, -537, -5026, 9252, 0x8C, 0x8C, 0x8C, 0xFF
  18. rr_seg7_vertex_07007FF0: # 0x07007FF0 - 0x070080F0
  19. vertex -2405, 128, -741, -4374, 8654, 0x96, 0x96, 0x96, 0xFF
  20. vertex 2406, -76, -741, 1884, 2904, 0x96, 0x96, 0x96, 0xFF
  21. vertex -2405, -76, -741, -4118, 8908, 0x96, 0x96, 0x96, 0xFF
  22. vertex 2406, 128, -741, 1628, 2648, 0x96, 0x96, 0x96, 0xFF
  23. vertex -2405, -76, 589, -6290, 6736, 0x96, 0x96, 0x96, 0xFF
  24. vertex 2406, 128, 589, 0, 990, 0x96, 0x96, 0x96, 0xFF
  25. vertex -2405, 128, 589, -6034, 6992, 0x96, 0x96, 0x96, 0xFF
  26. vertex 2406, -76, 589, -286, 734, 0x96, 0x96, 0x96, 0xFF
  27. vertex 2816, -76, 384, 990, 478, 0x7D, 0x7D, 0x7D, 0xFF
  28. vertex 2816, 128, -537, 1884, 1882, 0x7D, 0x7D, 0x7D, 0xFF
  29. vertex 2816, 128, 384, 734, 734, 0x7D, 0x7D, 0x7D, 0xFF
  30. vertex 2816, -76, -537, 2140, 1626, 0x7D, 0x7D, 0x7D, 0xFF
  31. vertex -2815, 128, 384, -6290, 7758, 0x7D, 0x7D, 0x7D, 0xFF
  32. vertex -2815, 128, -537, -5140, 8908, 0x7D, 0x7D, 0x7D, 0xFF
  33. vertex -2815, -76, -537, -5396, 9164, 0x7D, 0x7D, 0x7D, 0xFF
  34. vertex -2815, -76, 384, -6546, 8014, 0x7D, 0x7D, 0x7D, 0xFF
  35. rr_seg7_vertex_070080F0: # 0x070080F0 - 0x07008170
  36. vertex -2405, 128, -741, -4374, 8654, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -2405, 128, 589, -6034, 6992, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 2406, 128, 589, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -2815, 128, -537, -5140, 8908, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -2815, 128, 384, -6290, 7758, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 2816, 128, 384, 734, 734, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex 2816, 128, -537, 1884, 1882, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex 2406, 128, -741, 1628, 2648, 0xFF, 0xFF, 0xFF, 0xFF
  44. rr_seg7_dl_07008170: # 0x07008170 - 0x07008258
  45. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
  46. gsDPLoadSync
  47. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  48. gsSPVertex rr_seg7_vertex_07007EF0, 16, 0
  49. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  50. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  51. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  52. gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
  53. gsSPVertex rr_seg7_vertex_07007FF0, 16, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  55. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  56. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  57. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  58. gsSPVertex rr_seg7_vertex_070080F0, 8, 0
  59. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  60. gsSP2Triangles 0, 4, 1, 0x0, 0, 2, 5, 0x0
  61. gsSP2Triangles 0, 5, 6, 0x0, 0, 6, 7, 0x0
  62. gsSPEndDisplayList
  63. glabel rr_seg7_dl_07008258 # 0x07008258 - 0x070082C8
  64. gsDPPipeSync
  65. 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
  66. gsSPClearGeometryMode G_LIGHTING
  67. 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
  68. gsSPTexture -1, -1, 0, 0, 1
  69. gsDPTileSync
  70. 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
  71. gsDPSetTileSize 0, 0, 0, 124, 124
  72. gsSPDisplayList rr_seg7_dl_07008170
  73. gsSPTexture -1, -1, 0, 0, 0
  74. gsDPPipeSync
  75. 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
  76. gsSPSetGeometryMode G_LIGHTING
  77. gsSPEndDisplayList