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.

152 lines
8.7 KiB

6 years ago
  1. castle_courtyard_seg7_vertex_070049E8: # 0x070049E8 - 0x07004AC8
  2. vertex 0, 4741, -96, 632, -2850, 0x72, 0x72, 0x8C, 0xFF
  3. vertex 0, 3660, -546, 0, 990, 0x72, 0x72, 0x8C, 0xFF
  4. vertex -358, 3662, -375, 1292, 990, 0x72, 0x72, 0x8C, 0xFF
  5. vertex 0, 2136, -792, 638, -734, 0x72, 0x72, 0x8C, 0xFF
  6. vertex 0, 1751, -1195, 0, 990, 0x72, 0x72, 0x8C, 0xFF
  7. vertex -554, 2139, -518, 2694, -662, 0x72, 0x72, 0x8C, 0xFF
  8. vertex -936, 1751, -654, 3566, 990, 0x72, 0x72, 0x8C, 0xFF
  9. vertex 0, 3660, -546, 238, 46, 0x72, 0x72, 0x8C, 0xFF
  10. vertex 0, 3431, -733, 0, 990, 0x72, 0x72, 0x8C, 0xFF
  11. vertex -358, 3662, -375, 1560, 44, 0x72, 0x72, 0x8C, 0xFF
  12. vertex -508, 3430, -487, 1850, 990, 0x72, 0x72, 0x8C, 0xFF
  13. vertex 0, 4741, -96, 628, -2850, 0xC3, 0xC3, 0xCD, 0xFF
  14. vertex 359, 3662, -375, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
  15. vertex 0, 3660, -546, 1292, 990, 0xC3, 0xC3, 0xCD, 0xFF
  16. castle_courtyard_seg7_vertex_07004AC8: # 0x07004AC8 - 0x07004BB8
  17. vertex 0, 2136, -792, 2896, -738, 0xC3, 0xC3, 0xCD, 0xFF
  18. vertex 555, 2139, -518, 840, -658, 0xC3, 0xC3, 0xCD, 0xFF
  19. vertex 0, 1751, -1195, 3566, 990, 0xC3, 0xC3, 0xCD, 0xFF
  20. vertex 937, 1751, -654, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
  21. vertex 0, 3660, -546, 1580, 46, 0xC3, 0xC3, 0xCD, 0xFF
  22. vertex 359, 3662, -375, 256, 44, 0xC3, 0xC3, 0xCD, 0xFF
  23. vertex 0, 3431, -733, 1850, 990, 0xC3, 0xC3, 0xCD, 0xFF
  24. vertex 509, 3430, -487, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
  25. vertex 0, 4741, -96, 738, -2776, 0xDC, 0xDC, 0xE3, 0xFF
  26. vertex 349, 3669, 156, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
  27. vertex 359, 3662, -375, 1738, 990, 0xDC, 0xDC, 0xE3, 0xFF
  28. vertex 555, 2139, -518, 2982, -824, 0xDC, 0xDC, 0xE3, 0xFF
  29. vertex 562, 2150, 244, 446, -846, 0xDC, 0xDC, 0xE3, 0xFF
  30. vertex 937, 1751, -654, 3426, 990, 0xDC, 0xDC, 0xE3, 0xFF
  31. vertex 945, 1751, 384, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
  32. castle_courtyard_seg7_vertex_07004BB8: # 0x07004BB8 - 0x07004CA8
  33. vertex 349, 3669, 156, 202, 36, 0xDC, 0xDC, 0xE3, 0xFF
  34. vertex 508, 3431, 227, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
  35. vertex 359, 3662, -375, 1972, 72, 0xDC, 0xDC, 0xE3, 0xFF
  36. vertex 509, 3430, -487, 2344, 990, 0xDC, 0xDC, 0xE3, 0xFF
  37. vertex 0, 4741, -96, 968, -2776, 0x9C, 0x9C, 0xAE, 0xFF
  38. vertex -358, 3662, -375, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
  39. vertex -348, 3669, 156, 1738, 990, 0x9C, 0x9C, 0xAE, 0xFF
  40. vertex -554, 2139, -518, 412, -824, 0x9C, 0x9C, 0xAE, 0xFF
  41. vertex -936, 1751, -654, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
  42. vertex -561, 2150, 244, 2948, -846, 0x9C, 0x9C, 0xAE, 0xFF
  43. vertex -944, 1751, 384, 3426, 990, 0x9C, 0x9C, 0xAE, 0xFF
  44. vertex -348, 3669, 156, 2110, 36, 0x9C, 0x9C, 0xAE, 0xFF
  45. vertex -358, 3662, -375, 340, 72, 0x9C, 0x9C, 0xAE, 0xFF
  46. vertex -507, 3431, 227, 2344, 990, 0x9C, 0x9C, 0xAE, 0xFF
  47. vertex -508, 3430, -487, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
  48. castle_courtyard_seg7_vertex_07004CA8: # 0x07004CA8 - 0x07004DA8
  49. vertex -936, 1751, -654, 5364, -7748, 0x72, 0x72, 0x8C, 0xFF
  50. vertex 0, 1751, -1195, 0, -7748, 0x72, 0x72, 0x8C, 0xFF
  51. vertex 0, 0, -1195, 0, 990, 0x72, 0x72, 0x8C, 0xFF
  52. vertex 0, 2136, -792, 2036, 990, 0xC3, 0xC3, 0xCD, 0xFF
  53. vertex 0, 3431, -733, 1864, -5480, 0xC3, 0xC3, 0xCD, 0xFF
  54. vertex 509, 3430, -487, -952, -5458, 0xC3, 0xC3, 0xCD, 0xFF
  55. vertex 555, 2139, -518, -1052, 990, 0xC3, 0xC3, 0xCD, 0xFF
  56. vertex 937, 0, -654, -3328, 990, 0xC3, 0xC3, 0xCD, 0xFF
  57. vertex 0, 0, -1195, 2012, 990, 0xC3, 0xC3, 0xCD, 0xFF
  58. vertex 0, 1751, -1195, 1612, -7748, 0xC3, 0xC3, 0xCD, 0xFF
  59. vertex 937, 1751, -654, -3728, -7748, 0xC3, 0xC3, 0xCD, 0xFF
  60. vertex -936, 0, -654, 5364, 990, 0x72, 0x72, 0x8C, 0xFF
  61. vertex -508, 3430, -487, 2960, -5458, 0x72, 0x72, 0x8C, 0xFF
  62. vertex 0, 3431, -733, 136, -5480, 0x72, 0x72, 0x8C, 0xFF
  63. vertex -554, 2139, -518, 3056, 990, 0x72, 0x72, 0x8C, 0xFF
  64. vertex 0, 2136, -792, 0, 990, 0x72, 0x72, 0x8C, 0xFF
  65. castle_courtyard_seg7_vertex_07004DA8: # 0x07004DA8 - 0x07004EA8
  66. vertex 945, 1751, 384, -3096, -7748, 0xDC, 0xDC, 0xE3, 0xFF
  67. vertex 945, 0, 384, -3092, 990, 0xDC, 0xDC, 0xE3, 0xFF
  68. vertex 937, 1751, -654, 2088, -7748, 0xDC, 0xDC, 0xE3, 0xFF
  69. vertex 937, 0, -654, 2088, 990, 0xDC, 0xDC, 0xE3, 0xFF
  70. vertex 509, 3430, -487, 2000, -5454, 0xDC, 0xDC, 0xE3, 0xFF
  71. vertex 508, 3431, 227, -1560, -5410, 0xDC, 0xDC, 0xE3, 0xFF
  72. vertex 555, 2139, -518, 2240, 990, 0xDC, 0xDC, 0xE3, 0xFF
  73. vertex 562, 2150, 244, -1560, 990, 0xDC, 0xDC, 0xE3, 0xFF
  74. vertex -936, 1751, -654, -1052, -7748, 0x9C, 0x9C, 0xAE, 0xFF
  75. vertex -936, 0, -654, -1052, 990, 0x9C, 0x9C, 0xAE, 0xFF
  76. vertex -944, 1751, 384, 4132, -7748, 0x9C, 0x9C, 0xAE, 0xFF
  77. vertex -944, 0, 384, 4132, 990, 0x9C, 0x9C, 0xAE, 0xFF
  78. vertex -508, 3430, -487, 208, -5454, 0x9C, 0x9C, 0xAE, 0xFF
  79. vertex -554, 2139, -518, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
  80. vertex -507, 3431, 227, 3772, -5410, 0x9C, 0x9C, 0xAE, 0xFF
  81. vertex -561, 2150, 244, 3772, 990, 0x9C, 0x9C, 0xAE, 0xFF
  82. castle_courtyard_seg7_vertex_07004EA8: # 0x07004EA8 - 0x07004ED8
  83. vertex -25, 4639, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
  84. vertex 0, 5253, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
  85. vertex 26, 4639, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
  86. castle_courtyard_seg7_dl_07004ED8: # 0x07004ED8 - 0x07004FB0
  87. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09007800
  88. gsDPLoadSync
  89. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  90. gsSPVertex castle_courtyard_seg7_vertex_070049E8, 14, 0
  91. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  92. gsSP2Triangles 5, 4, 6, 0x0, 7, 8, 9, 0x0
  93. gsSP2Triangles 9, 8, 10, 0x0, 11, 12, 13, 0x0
  94. gsSPVertex castle_courtyard_seg7_vertex_07004AC8, 15, 0
  95. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  96. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  97. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  98. gsSP1Triangle 12, 14, 13, 0x0
  99. gsSPVertex castle_courtyard_seg7_vertex_07004BB8, 15, 0
  100. gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
  101. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  102. gsSP2Triangles 9, 8, 10, 0x0, 11, 12, 13, 0x0
  103. gsSP1Triangle 12, 14, 13, 0x0
  104. gsSPEndDisplayList
  105. castle_courtyard_seg7_dl_07004FB0: # 0x07004FB0 - 0x07005060
  106. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09001000
  107. gsDPLoadSync
  108. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  109. gsSPVertex castle_courtyard_seg7_vertex_07004CA8, 16, 0
  110. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  111. gsSP2Triangles 6, 3, 5, 0x0, 7, 8, 9, 0x0
  112. gsSP2Triangles 7, 9, 10, 0x0, 0, 2, 11, 0x0
  113. gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
  114. gsSPVertex castle_courtyard_seg7_vertex_07004DA8, 16, 0
  115. gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
  116. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  117. gsSP2Triangles 8, 9, 10, 0x0, 10, 9, 11, 0x0
  118. gsSP2Triangles 12, 13, 14, 0x0, 14, 13, 15, 0x0
  119. gsSPEndDisplayList
  120. castle_courtyard_seg7_dl_07005060: # 0x07005060 - 0x07005078
  121. gsSPVertex castle_courtyard_seg7_vertex_07004EA8, 3, 0
  122. gsSP1Triangle 0, 1, 2, 0x0
  123. gsSPEndDisplayList
  124. glabel castle_courtyard_seg7_dl_07005078 # 0x07005078 - 0x07005110
  125. gsDPPipeSync
  126. 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
  127. gsSPClearGeometryMode G_LIGHTING
  128. 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
  129. gsSPTexture -1, -1, 0, 0, 1
  130. gsDPTileSync
  131. 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
  132. gsDPSetTileSize 0, 0, 0, 124, 124
  133. gsSPDisplayList castle_courtyard_seg7_dl_07004ED8
  134. gsDPTileSync
  135. 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
  136. gsDPSetTileSize 0, 0, 0, 252, 124
  137. gsSPDisplayList castle_courtyard_seg7_dl_07004FB0
  138. gsSPTexture -1, -1, 0, 0, 0
  139. gsDPPipeSync
  140. 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
  141. gsSPDisplayList castle_courtyard_seg7_dl_07005060
  142. gsSPSetGeometryMode G_LIGHTING
  143. gsSPEndDisplayList