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.

129 lines
7.2 KiB

5 years ago
  1. rr_seg7_vertex_07018C18: # 0x07018C18 - 0x07018D18
  2. vertex -1381, 256, -1228, 3546, 0, 0xCE, 0xAF, 0x16, 0xFF
  3. vertex -1996, 256, -153, 0, 990, 0xCE, 0xAF, 0x16, 0xFF
  4. vertex -1381, 256, -153, 0, 0, 0xCE, 0xAF, 0x16, 0xFF
  5. vertex -1996, 256, -1228, 3546, 990, 0xCE, 0xAF, 0x16, 0xFF
  6. vertex -806, -972, 485, 990, 990, 0x4C, 0x6A, 0x35, 0xFF
  7. vertex -806, -972, 792, 990, 0, 0x4C, 0x6A, 0x35, 0xFF
  8. vertex -89, -972, 792, -1392, 0, 0x4C, 0x6A, 0x35, 0xFF
  9. vertex -499, -972, 485, 0, 990, 0x4C, 0x6A, 0x35, 0xFF
  10. vertex -767, -153, 307, 3546, 0, 0xDF, 0xBF, 0x1F, 0xFF
  11. vertex -239, -153, 1427, 0, 990, 0xDF, 0xBF, 0x1F, 0xFF
  12. vertex 113, -153, 924, 0, 0, 0xDF, 0xBF, 0x1F, 0xFF
  13. vertex -1119, -153, 810, 3546, 990, 0xDF, 0xBF, 0x1F, 0xFF
  14. vertex -499, -972, 485, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -89, -972, 792, -1392, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex 1855, -972, 792, -7866, 0, 0xFF, 0xFF, 0xFF, 0xFF
  17. vertex 1855, -972, 485, -7866, 990, 0xFF, 0xFF, 0xFF, 0xFF
  18. rr_seg7_vertex_07018D18: # 0x07018D18 - 0x07018E18
  19. vertex -239, -255, 1427, 224, 990, 0x8C, 0x8C, 0x8C, 0xFF
  20. vertex -1119, -153, 810, 0, -3098, 0x8C, 0x8C, 0x8C, 0xFF
  21. vertex -1119, -255, 810, 224, -3098, 0x8C, 0x8C, 0x8C, 0xFF
  22. vertex -239, -153, 1427, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  23. vertex -767, -255, 307, 224, -3098, 0x8C, 0x8C, 0x8C, 0xFF
  24. vertex 113, -153, 924, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
  25. vertex 113, -255, 924, 224, 990, 0x8C, 0x8C, 0x8C, 0xFF
  26. vertex -767, -153, 307, 0, -3098, 0x8C, 0x8C, 0x8C, 0xFF
  27. vertex -1381, 154, -1228, 224, 990, 0x64, 0x64, 0x64, 0xFF
  28. vertex -1381, 256, -1228, 0, 990, 0x64, 0x64, 0x64, 0xFF
  29. vertex -1381, 256, -153, 0, 3670, 0x64, 0x64, 0x64, 0xFF
  30. vertex -1381, 154, -153, 224, 3670, 0x64, 0x64, 0x64, 0xFF
  31. vertex -1996, 154, -153, 224, 3670, 0x64, 0x64, 0x64, 0xFF
  32. vertex -1996, 256, -153, 0, 3670, 0x64, 0x64, 0x64, 0xFF
  33. vertex -1996, 256, -1228, 0, 990, 0x64, 0x64, 0x64, 0xFF
  34. vertex -1996, 154, -1228, 224, 990, 0x64, 0x64, 0x64, 0xFF
  35. rr_seg7_vertex_07018E18: # 0x07018E18 - 0x07018F08
  36. vertex -1381, 154, -153, 224, 990, 0x96, 0x96, 0x96, 0xFF
  37. vertex -1996, 256, -153, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  38. vertex -1996, 154, -153, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  39. vertex -1381, 256, -153, 0, 990, 0x96, 0x96, 0x96, 0xFF
  40. vertex -1996, 154, -1228, 224, -1054, 0x96, 0x96, 0x96, 0xFF
  41. vertex -1381, 256, -1228, 0, 990, 0x96, 0x96, 0x96, 0xFF
  42. vertex -1381, 154, -1228, 224, 990, 0x96, 0x96, 0x96, 0xFF
  43. vertex -1996, 256, -1228, 0, -1054, 0x96, 0x96, 0x96, 0xFF
  44. vertex 113, -255, 924, 224, -1054, 0x64, 0x64, 0x64, 0xFF
  45. vertex -239, -153, 1427, 0, 990, 0x64, 0x64, 0x64, 0xFF
  46. vertex -239, -255, 1427, 224, 990, 0x64, 0x64, 0x64, 0xFF
  47. vertex 1855, -1074, 485, 224, 990, 0x64, 0x64, 0x64, 0xFF
  48. vertex 1855, -972, 485, 0, 990, 0x64, 0x64, 0x64, 0xFF
  49. vertex 1855, -972, 792, 0, -1054, 0x64, 0x64, 0x64, 0xFF
  50. vertex 1855, -1074, 792, 224, -1054, 0x64, 0x64, 0x64, 0xFF
  51. rr_seg7_vertex_07018F08: # 0x07018F08 - 0x07018FF8
  52. vertex -806, -1074, 792, 224, -1054, 0x64, 0x64, 0x64, 0xFF
  53. vertex -806, -972, 792, 0, -1054, 0x64, 0x64, 0x64, 0xFF
  54. vertex -806, -972, 485, 0, 990, 0x64, 0x64, 0x64, 0xFF
  55. vertex -806, -1074, 485, 224, 990, 0x64, 0x64, 0x64, 0xFF
  56. vertex -1119, -255, 810, 224, 990, 0x64, 0x64, 0x64, 0xFF
  57. vertex -767, -153, 307, 0, -1054, 0x64, 0x64, 0x64, 0xFF
  58. vertex -767, -255, 307, 224, -1054, 0x64, 0x64, 0x64, 0xFF
  59. vertex -1119, -153, 810, 0, 990, 0x64, 0x64, 0x64, 0xFF
  60. vertex 113, -255, 924, 224, -1054, 0x64, 0x64, 0x64, 0xFF
  61. vertex 113, -153, 924, 0, -1054, 0x64, 0x64, 0x64, 0xFF
  62. vertex -239, -153, 1427, 0, 990, 0x64, 0x64, 0x64, 0xFF
  63. vertex 1855, -1074, 792, 224, -12296, 0x91, 0x91, 0x91, 0xFF
  64. vertex 1855, -972, 792, 0, -12296, 0x91, 0x91, 0x91, 0xFF
  65. vertex -806, -972, 792, 0, 990, 0x91, 0x91, 0x91, 0xFF
  66. vertex -806, -1074, 792, 224, 990, 0x91, 0x91, 0x91, 0xFF
  67. rr_seg7_vertex_07018FF8: # 0x07018FF8 - 0x07019038
  68. vertex -806, -1074, 485, 224, 990, 0x91, 0x91, 0x91, 0xFF
  69. vertex 1855, -972, 485, 0, -12296, 0x91, 0x91, 0x91, 0xFF
  70. vertex 1855, -1074, 485, 224, -12296, 0x91, 0x91, 0x91, 0xFF
  71. vertex -806, -972, 485, 0, 990, 0x91, 0x91, 0x91, 0xFF
  72. rr_seg7_dl_07019038: # 0x07019038 - 0x070190A0
  73. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000
  74. gsDPLoadSync
  75. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  76. gsSPVertex rr_seg7_vertex_07018C18, 16, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  78. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  79. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  80. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  81. gsSPEndDisplayList
  82. rr_seg7_dl_070190A0: # 0x070190A0 - 0x070191A0
  83. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800
  84. gsDPLoadSync
  85. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  86. gsSPVertex rr_seg7_vertex_07018D18, 16, 0
  87. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  88. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  89. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  90. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  91. gsSPVertex rr_seg7_vertex_07018E18, 15, 0
  92. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  93. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  94. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  95. gsSP1Triangle 11, 13, 14, 0x0
  96. gsSPVertex rr_seg7_vertex_07018F08, 15, 0
  97. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  98. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  99. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  100. gsSP1Triangle 11, 13, 14, 0x0
  101. gsSPVertex rr_seg7_vertex_07018FF8, 4, 0
  102. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  103. gsSPEndDisplayList
  104. glabel rr_seg7_dl_070191A0 # 0x070191A0 - 0x07019230
  105. gsDPPipeSync
  106. 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
  107. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  108. 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
  109. gsSPTexture -1, -1, 0, 0, 1
  110. gsDPTileSync
  111. 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
  112. gsDPSetTileSize 0, 0, 0, 124, 124
  113. gsSPDisplayList rr_seg7_dl_07019038
  114. gsDPTileSync
  115. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  116. gsDPSetTileSize 0, 0, 0, 252, 124
  117. gsSPDisplayList rr_seg7_dl_070190A0
  118. gsSPTexture -1, -1, 0, 0, 0
  119. gsDPPipeSync
  120. 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
  121. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  122. gsSPEndDisplayList