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.

241 lines
13 KiB

6 years ago
  1. jrb_seg7_light_07006A98: # 0x07006A98 - 0x07006AA0
  2. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  3. jrb_seg7_light_07006AA0: # 0x07006AA0 - 0x07006AB0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. jrb_seg7_vertex_07006AB0: # 0x07006AB0 - 0x07006BA0
  7. vertex -3758, -918, -1419, 2012, 0, 0x65, 0x00, 0xB4, 0xFF
  8. vertex -4270, -2966, -2955, 0, 990, 0x76, 0x2D, 0x03, 0xFF
  9. vertex -4270, -918, -2955, 2012, 990, 0x73, 0x00, 0x35, 0xFF
  10. vertex -4270, -918, -7563, 8484, -798, 0x00, 0x81, 0x00, 0xFF
  11. vertex 6481, -918, -7563, 1332, 4566, 0x00, 0x81, 0x00, 0xFF
  12. vertex 6481, -918, -907, -3096, 1244, 0x00, 0x81, 0x00, 0xFF
  13. vertex -4270, -918, -907, 4056, -4120, 0x00, 0x81, 0x00, 0xFF
  14. vertex -174, -918, -1931, 2012, 0, 0x9D, 0x00, 0xB2, 0xFF
  15. vertex -1710, -2966, -907, 0, 990, 0xE0, 0x4A, 0x9F, 0xFF
  16. vertex -1710, -918, -907, 2012, 990, 0xFD, 0x00, 0x82, 0xFF
  17. vertex -174, -2966, -1931, 0, 0, 0xA0, 0x4B, 0xE1, 0xFF
  18. vertex -1710, -918, -907, 2012, 0, 0xFD, 0x00, 0x82, 0xFF
  19. vertex -1710, -2966, -907, 0, 0, 0xE0, 0x4A, 0x9F, 0xFF
  20. vertex -3758, -2966, -1419, 0, 990, 0x36, 0x4C, 0xAB, 0xFF
  21. vertex -3758, -918, -1419, 2012, 990, 0x65, 0x00, 0xB4, 0xFF
  22. jrb_seg7_vertex_07006BA0: # 0x07006BA0 - 0x07006CA0
  23. vertex 3921, -918, -5003, 2012, 0, 0xEA, 0x00, 0x84, 0xFF
  24. vertex 3921, -2966, -5003, 0, 0, 0xF2, 0x3A, 0x91, 0xFF
  25. vertex 1361, -2966, -3467, 0, 3032, 0xE5, 0x00, 0x85, 0xFF
  26. vertex -3758, -918, -1419, 2012, 0, 0x65, 0x00, 0xB4, 0xFF
  27. vertex -3758, -2966, -1419, 0, 0, 0x36, 0x4C, 0xAB, 0xFF
  28. vertex -4270, -2966, -2955, 0, 990, 0x76, 0x2D, 0x03, 0xFF
  29. vertex 6481, -918, -7051, 2012, 376, 0x86, 0x00, 0x20, 0xFF
  30. vertex 6481, -2966, -5515, 0, 1602, 0x86, 0x00, 0xE0, 0xFF
  31. vertex 6481, -918, -5515, 2012, 1602, 0x93, 0x00, 0xC0, 0xFF
  32. vertex 5969, -2966, -5003, 0, 2010, 0xDA, 0x00, 0x88, 0xFF
  33. vertex 5969, -918, -5003, 2012, 2010, 0xE9, 0x00, 0x84, 0xFF
  34. vertex 6481, -2966, -7051, 0, 376, 0x93, 0x00, 0x40, 0xFF
  35. vertex 1361, -918, -3467, 2012, 3032, 0x12, 0x00, 0x83, 0xFF
  36. vertex -4270, -918, -2955, 2012, 0, 0x73, 0x00, 0x35, 0xFF
  37. vertex -4270, -2966, -2955, 0, 0, 0x76, 0x2D, 0x03, 0xFF
  38. vertex -2222, -2966, -5003, 0, 2010, 0x40, 0x00, 0x6D, 0xFF
  39. jrb_seg7_vertex_07006CA0: # 0x07006CA0 - 0x07006D90
  40. vertex 1361, -918, -3467, 2012, 0, 0x12, 0x00, 0x83, 0xFF
  41. vertex 1361, -2966, -3467, 0, 0, 0xE5, 0x00, 0x85, 0xFF
  42. vertex 337, -2966, -3979, 0, 990, 0x09, 0x00, 0x82, 0xFF
  43. vertex 337, -918, -3979, 2012, 990, 0xCF, 0x00, 0x8B, 0xFF
  44. vertex 337, -918, -3979, 2012, 0, 0xCF, 0x00, 0x8B, 0xFF
  45. vertex 337, -2966, -3979, 0, 0, 0x09, 0x00, 0x82, 0xFF
  46. vertex -174, -2966, -3467, 0, 990, 0x93, 0x00, 0xC0, 0xFF
  47. vertex -174, -918, -3467, 2012, 990, 0x86, 0x00, 0xE0, 0xFF
  48. vertex -174, -918, -3467, 2012, 0, 0x86, 0x00, 0xE0, 0xFF
  49. vertex -174, -2966, -1931, 0, 990, 0xA0, 0x4B, 0xE1, 0xFF
  50. vertex -174, -918, -1931, 2012, 990, 0x9D, 0x00, 0xB2, 0xFF
  51. vertex -174, -2966, -3467, 0, 0, 0x93, 0x00, 0xC0, 0xFF
  52. vertex -686, -918, -5515, 2012, 0, 0x7A, 0x00, 0x20, 0xFF
  53. vertex -686, -2966, -7051, 0, 990, 0x7A, 0x00, 0x20, 0xFF
  54. vertex -686, -918, -7051, 2012, 990, 0x6D, 0x00, 0x40, 0xFF
  55. jrb_seg7_vertex_07006D90: # 0x07006D90 - 0x07006E70
  56. vertex -4270, -918, -2955, 2012, 0, 0x73, 0x00, 0x35, 0xFF
  57. vertex -2222, -2966, -5003, 0, 2010, 0x40, 0x00, 0x6D, 0xFF
  58. vertex -2222, -918, -5003, 2012, 2010, 0x20, 0x00, 0x7A, 0xFF
  59. vertex -2222, -918, -5003, 2012, 0, 0x20, 0x00, 0x7A, 0xFF
  60. vertex -2222, -2966, -5003, 0, 0, 0x40, 0x00, 0x6D, 0xFF
  61. vertex -1198, -2966, -5003, 0, 990, 0x20, 0x00, 0x7A, 0xFF
  62. vertex -1198, -918, -5003, 2012, 990, 0x40, 0x00, 0x6D, 0xFF
  63. vertex -1198, -918, -5003, 2012, 0, 0x40, 0x00, 0x6D, 0xFF
  64. vertex -1198, -2966, -5003, 0, 0, 0x20, 0x00, 0x7A, 0xFF
  65. vertex -686, -2966, -5515, 0, 990, 0x6D, 0x00, 0x40, 0xFF
  66. vertex -686, -918, -5515, 2012, 990, 0x7A, 0x00, 0x20, 0xFF
  67. vertex -686, -918, -5515, 2012, 0, 0x7A, 0x00, 0x20, 0xFF
  68. vertex -686, -2966, -5515, 0, 0, 0x6D, 0x00, 0x40, 0xFF
  69. vertex -686, -2966, -7051, 0, 990, 0x7A, 0x00, 0x20, 0xFF
  70. jrb_seg7_vertex_07006E70: # 0x07006E70 - 0x07006F60
  71. vertex 2385, -2966, -7051, 0, 990, 0x20, 0x00, 0x7A, 0xFF
  72. vertex 2385, -918, -7051, 2012, 990, 0x40, 0x00, 0x6D, 0xFF
  73. vertex 1361, -918, -7051, 2012, 0, 0xE0, 0x00, 0x7A, 0xFF
  74. vertex -686, -918, -7051, 2012, 0, 0x6D, 0x00, 0x40, 0xFF
  75. vertex -686, -2966, -7051, 0, 0, 0x7A, 0x00, 0x20, 0xFF
  76. vertex -174, -2966, -7563, 0, 990, 0x30, 0x00, 0x75, 0xFF
  77. vertex -174, -918, -7563, 2012, 990, 0x30, 0x00, 0x75, 0xFF
  78. vertex 5969, -918, -7563, 2012, 0, 0xD0, 0x00, 0x75, 0xFF
  79. vertex 5969, -2966, -7563, 0, 0, 0xD0, 0x00, 0x75, 0xFF
  80. vertex 6481, -2966, -7051, 0, 376, 0x93, 0x00, 0x40, 0xFF
  81. vertex 6481, -918, -7051, 2012, 376, 0x86, 0x00, 0x20, 0xFF
  82. vertex 2897, -2966, -7563, 0, 990, 0x30, 0x00, 0x75, 0xFF
  83. vertex 2385, -918, -7051, 2012, 0, 0x40, 0x00, 0x6D, 0xFF
  84. vertex 2385, -2966, -7051, 0, 0, 0x20, 0x00, 0x7A, 0xFF
  85. vertex 2897, -918, -7563, 2012, 990, 0x30, 0x00, 0x75, 0xFF
  86. jrb_seg7_vertex_07006F60: # 0x07006F60 - 0x07007050
  87. vertex 849, -918, -7563, 2012, 990, 0xD0, 0x00, 0x75, 0xFF
  88. vertex -174, -2966, -7563, 0, 0, 0x30, 0x00, 0x75, 0xFF
  89. vertex 849, -2966, -7563, 0, 990, 0xD0, 0x00, 0x75, 0xFF
  90. vertex 2385, -2966, -7051, 0, 990, 0x20, 0x00, 0x7A, 0xFF
  91. vertex 1361, -918, -7051, 2012, 0, 0xE0, 0x00, 0x7A, 0xFF
  92. vertex 1361, -2966, -7051, 0, 0, 0xC0, 0x00, 0x6D, 0xFF
  93. vertex 1361, -2966, -7051, 0, 990, 0xC0, 0x00, 0x6D, 0xFF
  94. vertex 1361, -918, -7051, 2012, 990, 0xE0, 0x00, 0x7A, 0xFF
  95. vertex 849, -918, -7563, 2012, 0, 0xD0, 0x00, 0x75, 0xFF
  96. vertex 849, -2966, -7563, 0, 0, 0xD0, 0x00, 0x75, 0xFF
  97. vertex 5969, -918, -7563, 2012, 3032, 0xD0, 0x00, 0x75, 0xFF
  98. vertex 2897, -918, -7563, 2012, 0, 0x30, 0x00, 0x75, 0xFF
  99. vertex 2897, -2966, -7563, 0, 0, 0x30, 0x00, 0x75, 0xFF
  100. vertex 5969, -2966, -7563, 0, 3032, 0xD0, 0x00, 0x75, 0xFF
  101. vertex -174, -918, -7563, 2012, 0, 0x30, 0x00, 0x75, 0xFF
  102. jrb_seg7_vertex_07007050: # 0x07007050 - 0x07007110
  103. vertex 4638, -2761, -5003, 172, 1294, 0x00, 0x00, 0x81, 0xFF
  104. vertex 4842, -2966, -5003, 0, 1090, 0x00, 0x00, 0x81, 0xFF
  105. vertex 3921, -2966, -5003, 0, 2010, 0xF2, 0x3A, 0x91, 0xFF
  106. vertex 4638, -2146, -5003, 784, 1294, 0x00, 0x00, 0x81, 0xFF
  107. vertex 3921, -918, -5003, 2012, 2010, 0xEA, 0x00, 0x84, 0xFF
  108. vertex 4842, -1942, -5003, 988, 1090, 0x00, 0x00, 0x81, 0xFF
  109. vertex 5457, -1942, -5003, 988, 480, 0x00, 0x00, 0x81, 0xFF
  110. vertex 5969, -918, -5003, 2012, 0, 0xE9, 0x00, 0x84, 0xFF
  111. vertex 5662, -2146, -5003, 784, 274, 0x00, 0x00, 0x81, 0xFF
  112. vertex 5969, -2966, -5003, 0, 0, 0xDA, 0x00, 0x88, 0xFF
  113. vertex 5662, -2761, -5003, 172, 274, 0x00, 0x00, 0x81, 0xFF
  114. vertex 5457, -2966, -5003, 0, 480, 0x00, 0x00, 0x81, 0xFF
  115. jrb_seg7_vertex_07007110: # 0x07007110 - 0x070071D0
  116. vertex -2971, -2812, -1222, 4940, 0, 0x95, 0x38, 0xDC, 0xFF
  117. vertex -2734, -2812, -1931, 0, 0, 0xCE, 0x6C, 0xD5, 0xFF
  118. vertex -2734, -2966, -1931, 0, 990, 0xA1, 0x00, 0xAD, 0xFF
  119. vertex -2971, -2966, -1222, 4940, 990, 0x88, 0x00, 0xD8, 0xFF
  120. vertex -1710, -2966, -2443, 2012, 990, 0x31, 0x00, 0x8B, 0xFF
  121. vertex -1710, -2812, -2443, 2012, 0, 0xF8, 0x2F, 0x8B, 0xFF
  122. vertex -789, -2812, -1522, -6656, 0, 0x3F, 0x59, 0xC1, 0xFF
  123. vertex -789, -2966, -1522, -6656, 990, 0x59, 0x00, 0xA7, 0xFF
  124. vertex -2734, -2966, -1931, 7584, 990, 0xA1, 0x00, 0xAD, 0xFF
  125. vertex -1710, -2812, -2443, 0, 0, 0xF8, 0x2F, 0x8B, 0xFF
  126. vertex -1710, -2966, -2443, 0, 990, 0x31, 0x00, 0x8B, 0xFF
  127. vertex -2734, -2812, -1931, 7584, 0, 0xCE, 0x6C, 0xD5, 0xFF
  128. jrb_seg7_vertex_070071D0: # 0x070071D0 - 0x070072A0
  129. vertex -686, -2966, -7563, 12232, -544, 0x00, 0x7F, 0x00, 0xFF
  130. vertex -1710, -2966, -907, 992, -4376, 0xE0, 0x4A, 0x9F, 0xFF
  131. vertex -174, -2966, -1931, 0, -3098, 0xA0, 0x4B, 0xE1, 0xFF
  132. vertex -2734, -2812, -1931, 5080, -4376, 0xCE, 0x6C, 0xD5, 0xFF
  133. vertex -1710, -2812, -907, 992, -4376, 0x00, 0x7F, 0x00, 0xFF
  134. vertex -789, -2812, -1522, 376, -3610, 0x3F, 0x59, 0xC1, 0xFF
  135. vertex -1710, -2812, -2443, 4056, -3610, 0xF8, 0x2F, 0x8B, 0xFF
  136. vertex -2971, -2812, -1222, 4136, -4848, 0x95, 0x38, 0xDC, 0xFF
  137. vertex 3921, -2966, -5003, -2072, 478, 0xF2, 0x3A, 0x91, 0xFF
  138. vertex 6481, -2966, -5003, -7184, 1754, 0x00, 0x7F, 0x00, 0xFF
  139. vertex 6481, -2966, -7563, -2072, 3032, 0x00, 0x7F, 0x00, 0xFF
  140. vertex -4270, -2966, -2955, 10188, -4632, 0x76, 0x2D, 0x03, 0xFF
  141. vertex -3758, -2966, -1419, 6100, -5142, 0x36, 0x4C, 0xAB, 0xFF
  142. jrb_seg7_dl_070072A0: # 0x070072A0 - 0x070074A8
  143. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09003800
  144. gsDPLoadSync
  145. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  146. gsSPLight jrb_seg7_light_07006AA0, 1
  147. gsSPLight jrb_seg7_light_07006A98, 2
  148. gsSPVertex jrb_seg7_vertex_07006AB0, 15, 0
  149. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  150. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  151. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  152. gsSP1Triangle 11, 13, 14, 0x0
  153. gsSPVertex jrb_seg7_vertex_07006BA0, 16, 0
  154. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  155. gsSP2Triangles 6, 7, 8, 0x0, 8, 9, 10, 0x0
  156. gsSP2Triangles 8, 7, 9, 0x0, 6, 11, 7, 0x0
  157. gsSP2Triangles 0, 2, 12, 0x0, 13, 14, 15, 0x0
  158. gsSPVertex jrb_seg7_vertex_07006CA0, 15, 0
  159. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  160. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  161. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  162. gsSP1Triangle 12, 13, 14, 0x0
  163. gsSPVertex jrb_seg7_vertex_07006D90, 14, 0
  164. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  165. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  166. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  167. gsSPVertex jrb_seg7_vertex_07006E70, 15, 0
  168. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  169. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  170. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  171. gsSP1Triangle 11, 14, 12, 0x0
  172. gsSPVertex jrb_seg7_vertex_07006F60, 15, 0
  173. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  174. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  175. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  176. gsSP1Triangle 0, 14, 1, 0x0
  177. gsSPVertex jrb_seg7_vertex_07007050, 12, 0
  178. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  179. gsSP2Triangles 3, 2, 4, 0x0, 5, 3, 4, 0x0
  180. gsSP2Triangles 6, 5, 4, 0x0, 6, 4, 7, 0x0
  181. gsSP2Triangles 8, 6, 7, 0x0, 9, 8, 7, 0x0
  182. gsSP2Triangles 9, 10, 8, 0x0, 9, 11, 10, 0x0
  183. gsSPEndDisplayList
  184. jrb_seg7_dl_070074A8: # 0x070074A8 - 0x07007500
  185. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09001800
  186. gsDPLoadSync
  187. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  188. gsSPVertex jrb_seg7_vertex_07007110, 12, 0
  189. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  190. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  191. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  192. gsSPEndDisplayList
  193. jrb_seg7_dl_07007500: # 0x07007500 - 0x07007570
  194. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09002800
  195. gsDPLoadSync
  196. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  197. gsSPVertex jrb_seg7_vertex_070071D0, 13, 0
  198. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  199. gsSP2Triangles 3, 5, 6, 0x0, 3, 7, 4, 0x0
  200. gsSP2Triangles 0, 8, 9, 0x0, 0, 9, 10, 0x0
  201. gsSP2Triangles 0, 2, 8, 0x0, 0, 11, 12, 0x0
  202. gsSP1Triangle 0, 12, 1, 0x0
  203. gsSPEndDisplayList
  204. glabel jrb_seg7_dl_07007570 # 0x07007570 - 0x07007628
  205. gsDPPipeSync
  206. gsDPSetCycleType G_CYC_2CYCLE
  207. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  208. gsDPSetDepthSource G_ZS_PIXEL
  209. gsDPSetFogColor 5, 80, 75, 255
  210. gsSPFogPosition 900, 1000
  211. gsSPSetGeometryMode G_FOG
  212. gsDPSetCombineMode G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  213. 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
  214. gsSPTexture -1, -1, 0, 0, 1
  215. gsDPTileSync
  216. 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
  217. gsDPSetTileSize 0, 0, 0, 252, 124
  218. gsSPDisplayList jrb_seg7_dl_070072A0
  219. gsSPDisplayList jrb_seg7_dl_070074A8
  220. gsSPDisplayList jrb_seg7_dl_07007500
  221. gsSPTexture -1, -1, 0, 0, 0
  222. gsDPPipeSync
  223. gsDPSetCycleType G_CYC_1CYCLE
  224. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  225. gsSPClearGeometryMode G_FOG
  226. 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
  227. gsSPEndDisplayList