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.

102 lines
5.6 KiB

6 years ago
  1. sl_seg7_vertex_07007480: # 0x07007480 - 0x07007570
  2. vertex -33, 2150, 1233, -3506, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 34, 2253, 1766, 1854, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -33, 2253, 1233, -3506, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 1504, 1741, 1650, 5130, 990, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 1404, 1843, 2246, -898, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 1404, 1741, 2246, -898, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 1504, 1843, 1650, 5130, 0, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 2116, 1998, 862, 9124, -20, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 1504, 1741, 1650, -956, 990, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 2116, 1896, 862, 9124, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 1504, 1843, 1650, -956, -20, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 2116, 1896, 862, -630, 994, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 1897, 1896, 716, 1994, 994, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex 1897, 1999, 716, 1994, -26, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 2116, 1999, 862, -630, -26, 0xFF, 0xFF, 0xFF, 0xFF
  17. sl_seg7_vertex_07007570: # 0x07007570 - 0x070075E0
  18. vertex 34, 2150, 1766, -800, 990, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 899, 2150, 1531, 8144, 990, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 899, 2253, 1531, 8144, 0, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -33, 2150, 1233, -3506, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex 34, 2150, 1766, 1854, 990, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 34, 2253, 1766, 1854, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 34, 2253, 1766, -800, 0, 0xFF, 0xFF, 0xFF, 0xFF
  25. sl_seg7_vertex_070075E0: # 0x070075E0 - 0x070076E0
  26. vertex -522, 1352, -5052, 8824, 990, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -522, 1249, -5052, 8824, 0, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -200, 1249, -3761, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 1725, 3328, 260, 14616, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 63, 3226, 1704, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 63, 3328, 1704, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 1725, 3226, 260, 14616, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex 365, 3328, 2052, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  34. vertex 2027, 3226, 608, 14616, 0, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 2027, 3328, 608, 14616, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 365, 3226, 2052, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -200, 1352, -3761, 8824, 990, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 1091, 1249, -4084, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex 1091, 1352, -4084, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -200, 1249, -3761, 8824, 0, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex 768, 1249, -5375, 8824, 0, 0xFF, 0xFF, 0xFF, 0xFF
  42. sl_seg7_vertex_070076E0: # 0x070076E0 - 0x07007770
  43. vertex -522, 1352, -5052, 8824, 990, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -200, 1249, -3761, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex -200, 1352, -3761, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 768, 1249, -5375, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 768, 1352, -5375, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex -522, 1249, -5052, 8824, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. vertex 1091, 1352, -4084, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  50. vertex 768, 1249, -5375, 8824, 0, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 768, 1352, -5375, 8824, 990, 0xFF, 0xFF, 0xFF, 0xFF
  52. sl_seg7_dl_07007770: # 0x07007770 - 0x070077F0
  53. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09005800
  54. gsDPLoadSync
  55. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  56. gsSPVertex sl_seg7_vertex_07007480, 15, 0
  57. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  58. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  59. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  60. gsSP1Triangle 11, 13, 14, 0x0
  61. gsSPVertex sl_seg7_vertex_07007570, 7, 0
  62. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  63. gsSP1Triangle 0, 2, 6, 0x0
  64. gsSPEndDisplayList
  65. sl_seg7_dl_070077F0: # 0x070077F0 - 0x07007880
  66. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09007000
  67. gsDPLoadSync
  68. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  69. gsSPVertex sl_seg7_vertex_070075E0, 16, 0
  70. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  71. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  72. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  73. gsSP2Triangles 11, 14, 12, 0x0, 13, 12, 15, 0x0
  74. gsSPVertex sl_seg7_vertex_070076E0, 9, 0
  75. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 4, 0x0
  76. gsSP2Triangles 3, 5, 0, 0x0, 6, 7, 8, 0x0
  77. gsSPEndDisplayList
  78. glabel sl_seg7_dl_07007880 # 0x07007880 - 0x07007910
  79. gsDPPipeSync
  80. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
  81. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  82. 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
  83. gsSPTexture -1, -1, 0, 0, 1
  84. gsDPTileSync
  85. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  86. gsDPSetTileSize 0, 0, 0, 124, 124
  87. gsSPDisplayList sl_seg7_dl_07007770
  88. gsDPTileSync
  89. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  90. gsDPSetTileSize 0, 0, 0, 252, 124
  91. gsSPDisplayList sl_seg7_dl_070077F0
  92. gsSPTexture -1, -1, 0, 0, 0
  93. gsDPPipeSync
  94. 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
  95. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  96. gsSPEndDisplayList