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.

155 lines
5.8 KiB

5 years ago
  1. lll_seg7_vertex_0701A270: # 0x0701A270 - 0x0701A2B0
  2. vertex -245, 0, 246, 0, 992, 0x00, 0x7F, 0x00, 0xFF
  3. vertex 246, 0, 246, 992, 992, 0x00, 0x7F, 0x00, 0xFF
  4. vertex 246, 0, -245, 992, 0, 0x00, 0x7F, 0x00, 0xFF
  5. vertex -245, 0, -245, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  6. lll_seg7_vertex_0701A2B0: # 0x0701A2B0 - 0x0701A2F0
  7. vertex -245, -45, 246, 0, 0, 0x00, 0x00, 0x00, 0xC8
  8. vertex 246, -45, 246, 0, 0, 0x00, 0x00, 0x00, 0xC8
  9. vertex 246, -45, -245, 0, 0, 0x00, 0x00, 0x00, 0xC8
  10. vertex -245, -45, -245, 0, 0, 0x00, 0x00, 0x00, 0xC8
  11. lll_seg7_dl_0701A2F0: # 0x0701A2F0 - 0x0701A338
  12. gsDPPipeSync
  13. 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
  14. gsSPClearGeometryMode G_SHADING_SMOOTH
  15. 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
  16. gsSPTexture -1, -1, 0, 0, 1
  17. gsDPTileSync
  18. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  19. gsDPSetTileSize 0, 0, 0, 124, 124
  20. gsSPEndDisplayList
  21. lll_seg7_dl_0701A338: # 0x0701A338 - 0x0701A388
  22. gsSPLight lll_seg7_light_0700FC08, 1
  23. gsSPLight lll_seg7_light_0700FC00, 2
  24. gsSPVertex lll_seg7_vertex_0701A270, 4, 0
  25. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  26. gsSPTexture -1, -1, 0, 0, 0
  27. gsDPPipeSync
  28. 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
  29. gsSPSetGeometryMode G_SHADING_SMOOTH
  30. gsSPEndDisplayList
  31. glabel lll_seg7_dl_0701A388 # 0x0701A388 - 0x0701A3B8
  32. gsSPDisplayList lll_seg7_dl_0701A2F0
  33. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07006000
  34. gsDPLoadSync
  35. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  36. gsSPDisplayList lll_seg7_dl_0701A338
  37. gsSPEndDisplayList
  38. glabel lll_seg7_dl_0701A3B8 # 0x0701A3B8 - 0x0701A3E8
  39. gsSPDisplayList lll_seg7_dl_0701A2F0
  40. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07006800
  41. gsDPLoadSync
  42. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  43. gsSPDisplayList lll_seg7_dl_0701A338
  44. gsSPEndDisplayList
  45. glabel lll_seg7_dl_0701A3E8 # 0x0701A3E8 - 0x0701A418
  46. gsSPDisplayList lll_seg7_dl_0701A2F0
  47. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07007000
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  50. gsSPDisplayList lll_seg7_dl_0701A338
  51. gsSPEndDisplayList
  52. glabel lll_seg7_dl_0701A418 # 0x0701A418 - 0x0701A448
  53. gsSPDisplayList lll_seg7_dl_0701A2F0
  54. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07007800
  55. gsDPLoadSync
  56. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  57. gsSPDisplayList lll_seg7_dl_0701A338
  58. gsSPEndDisplayList
  59. glabel lll_seg7_dl_0701A448 # 0x0701A448 - 0x0701A478
  60. gsSPDisplayList lll_seg7_dl_0701A2F0
  61. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07008000
  62. gsDPLoadSync
  63. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  64. gsSPDisplayList lll_seg7_dl_0701A338
  65. gsSPEndDisplayList
  66. glabel lll_seg7_dl_0701A478 # 0x0701A478 - 0x0701A4A8
  67. gsSPDisplayList lll_seg7_dl_0701A2F0
  68. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07008800
  69. gsDPLoadSync
  70. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  71. gsSPDisplayList lll_seg7_dl_0701A338
  72. gsSPEndDisplayList
  73. glabel lll_seg7_dl_0701A4A8 # 0x0701A4A8 - 0x0701A4D8
  74. gsSPDisplayList lll_seg7_dl_0701A2F0
  75. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07009000
  76. gsDPLoadSync
  77. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  78. gsSPDisplayList lll_seg7_dl_0701A338
  79. gsSPEndDisplayList
  80. glabel lll_seg7_dl_0701A4D8 # 0x0701A4D8 - 0x0701A508
  81. gsSPDisplayList lll_seg7_dl_0701A2F0
  82. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07009800
  83. gsDPLoadSync
  84. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  85. gsSPDisplayList lll_seg7_dl_0701A338
  86. gsSPEndDisplayList
  87. glabel lll_seg7_dl_0701A508 # 0x0701A508 - 0x0701A538
  88. gsSPDisplayList lll_seg7_dl_0701A2F0
  89. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700A000
  90. gsDPLoadSync
  91. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  92. gsSPDisplayList lll_seg7_dl_0701A338
  93. gsSPEndDisplayList
  94. glabel lll_seg7_dl_0701A538 # 0x0701A538 - 0x0701A568
  95. gsSPDisplayList lll_seg7_dl_0701A2F0
  96. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700A800
  97. gsDPLoadSync
  98. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  99. gsSPDisplayList lll_seg7_dl_0701A338
  100. gsSPEndDisplayList
  101. glabel lll_seg7_dl_0701A568 # 0x0701A568 - 0x0701A598
  102. gsSPDisplayList lll_seg7_dl_0701A2F0
  103. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700B000
  104. gsDPLoadSync
  105. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  106. gsSPDisplayList lll_seg7_dl_0701A338
  107. gsSPEndDisplayList
  108. glabel lll_seg7_dl_0701A598 # 0x0701A598 - 0x0701A5C8
  109. gsSPDisplayList lll_seg7_dl_0701A2F0
  110. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700B800
  111. gsDPLoadSync
  112. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  113. gsSPDisplayList lll_seg7_dl_0701A338
  114. gsSPEndDisplayList
  115. glabel lll_seg7_dl_0701A5C8 # 0x0701A5C8 - 0x0701A5F8
  116. gsSPDisplayList lll_seg7_dl_0701A2F0
  117. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700C000
  118. gsDPLoadSync
  119. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  120. gsSPDisplayList lll_seg7_dl_0701A338
  121. gsSPEndDisplayList
  122. glabel lll_seg7_dl_0701A5F8 # 0x0701A5F8 - 0x0701A628
  123. gsSPDisplayList lll_seg7_dl_0701A2F0
  124. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700C800
  125. gsDPLoadSync
  126. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  127. gsSPDisplayList lll_seg7_dl_0701A338
  128. gsSPEndDisplayList
  129. glabel lll_seg7_dl_0701A628 # 0x0701A628 - 0x0701A670
  130. gsDPPipeSync
  131. gsSPClearGeometryMode G_LIGHTING
  132. 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
  133. gsSPVertex lll_seg7_vertex_0701A2B0, 4, 0
  134. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  135. gsDPPipeSync
  136. gsSPSetGeometryMode G_LIGHTING
  137. gsSPEndDisplayList