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.

119 lines
6.7 KiB

6 years ago
  1. bitdw_seg7_vertex_0700BBC8: # 0x0700BBC8 - 0x0700BCA8
  2. vertex -716, 256, 307, 1948, 0, 0x65, 0xFF, 0xB2, 0xFF
  3. vertex -716, 256, -306, 32, 0, 0x65, 0xFF, 0xB2, 0xFF
  4. vertex -1023, 256, -306, 32, 926, 0x65, 0xFF, 0xB2, 0xFF
  5. vertex -1023, 256, 307, 1948, 926, 0x65, 0xFF, 0xB2, 0xFF
  6. vertex -1023, 256, 307, 1948, 926, 0x52, 0xAC, 0x7F, 0xFF
  7. vertex -1023, 256, -306, 32, 926, 0x52, 0xAC, 0x7F, 0xFF
  8. vertex -1023, 0, -306, 32, 926, 0x52, 0xAC, 0x7F, 0xFF
  9. vertex -1023, 0, 307, 1948, 926, 0x52, 0xAC, 0x7F, 0xFF
  10. vertex -1023, 0, -306, 32, 926, 0x3F, 0xBF, 0x7F, 0xFF
  11. vertex -1023, 256, -306, 32, 926, 0x3F, 0xBF, 0x7F, 0xFF
  12. vertex -716, 256, -306, 32, 0, 0x3F, 0xBF, 0x7F, 0xFF
  13. vertex -1023, 256, 307, 1948, 926, 0x3F, 0xBF, 0x7F, 0xFF
  14. vertex -1023, 0, 307, 1948, 926, 0x3F, 0xBF, 0x7F, 0xFF
  15. vertex -716, 256, 307, 1948, 0, 0x3F, 0xBF, 0x7F, 0xFF
  16. bitdw_seg7_vertex_0700BCA8: # 0x0700BCA8 - 0x0700BD98
  17. vertex -409, 512, -306, 32, 0, 0x65, 0xFF, 0xCC, 0xFF
  18. vertex -716, 512, 307, 1948, 926, 0x65, 0xFF, 0xCC, 0xFF
  19. vertex -409, 512, 307, 1948, 0, 0x65, 0xFF, 0xCC, 0xFF
  20. vertex -716, 512, -306, 32, 926, 0x65, 0xFF, 0xCC, 0xFF
  21. vertex -101, 768, 307, 1948, 0, 0x65, 0xFF, 0xE5, 0xFF
  22. vertex -409, 768, -306, 32, 926, 0x65, 0xFF, 0xE5, 0xFF
  23. vertex -409, 768, 307, 1948, 926, 0x65, 0xFF, 0xE5, 0xFF
  24. vertex -101, 768, -306, 32, 0, 0x65, 0xFF, 0xE5, 0xFF
  25. vertex -716, 256, 307, 1948, 926, 0x52, 0xAC, 0x9D, 0xFF
  26. vertex -716, 512, 307, 1948, 926, 0x52, 0xAC, 0x9D, 0xFF
  27. vertex -716, 512, -306, 32, 926, 0x52, 0xAC, 0x9D, 0xFF
  28. vertex -716, 256, -306, 32, 926, 0x52, 0xAC, 0x9D, 0xFF
  29. vertex -716, 256, -306, 32, 926, 0x3F, 0xBF, 0xAA, 0xFF
  30. vertex -716, 512, -306, 32, 926, 0x3F, 0xBF, 0xAA, 0xFF
  31. vertex -409, 512, -306, 32, 0, 0x3F, 0xBF, 0xAA, 0xFF
  32. bitdw_seg7_vertex_0700BD98: # 0x0700BD98 - 0x0700BE98
  33. vertex -409, 512, 307, 1948, 0, 0x3F, 0xBF, 0xAA, 0xFF
  34. vertex -716, 512, 307, 1948, 926, 0x3F, 0xBF, 0xAA, 0xFF
  35. vertex -716, 256, 307, 1948, 926, 0x3F, 0xBF, 0xAA, 0xFF
  36. vertex -409, 768, 307, 1948, 926, 0x52, 0xAC, 0xAC, 0xFF
  37. vertex -409, 512, -306, 32, 926, 0x52, 0xAC, 0xAC, 0xFF
  38. vertex -409, 512, 307, 1948, 926, 0x52, 0xAC, 0xAC, 0xFF
  39. vertex -409, 768, -306, 32, 926, 0x52, 0xAC, 0xAC, 0xFF
  40. vertex -409, 512, -306, 32, 926, 0x3F, 0xBF, 0xBF, 0xFF
  41. vertex -409, 768, -306, 32, 926, 0x3F, 0xBF, 0xBF, 0xFF
  42. vertex -101, 768, -306, 32, 0, 0x3F, 0xBF, 0xBF, 0xFF
  43. vertex -409, 768, 307, 1948, 926, 0x3F, 0xBF, 0xBF, 0xFF
  44. vertex -409, 512, 307, 1948, 926, 0x3F, 0xBF, 0xBF, 0xFF
  45. vertex -101, 768, 307, 1948, 0, 0x3F, 0xBF, 0xBF, 0xFF
  46. vertex 205, 1024, 307, 1948, 0, 0x65, 0xE5, 0xFF, 0xFF
  47. vertex 205, 1024, -306, 32, 0, 0x65, 0xE5, 0xFF, 0xFF
  48. vertex -101, 1024, -306, 32, 926, 0x65, 0xE5, 0xFF, 0xFF
  49. bitdw_seg7_vertex_0700BE98: # 0x0700BE98 - 0x0700BF68
  50. vertex 205, 1024, 307, 1948, 0, 0x65, 0xE5, 0xFF, 0xFF
  51. vertex -101, 1024, -306, 32, 926, 0x65, 0xE5, 0xFF, 0xFF
  52. vertex -101, 1024, 307, 1948, 926, 0x65, 0xE5, 0xFF, 0xFF
  53. vertex -101, 1024, 307, 1948, 926, 0x52, 0x9D, 0xAC, 0xFF
  54. vertex -101, 768, -306, 32, 926, 0x52, 0x9D, 0xAC, 0xFF
  55. vertex -101, 768, 307, 1948, 926, 0x52, 0x9D, 0xAC, 0xFF
  56. vertex -101, 1024, -306, 32, 926, 0x52, 0x9D, 0xAC, 0xFF
  57. vertex -101, 768, -306, 32, 926, 0x3F, 0xAA, 0xBF, 0xFF
  58. vertex -101, 1024, -306, 32, 926, 0x3F, 0xAA, 0xBF, 0xFF
  59. vertex 205, 1024, -306, 32, 0, 0x3F, 0xAA, 0xBF, 0xFF
  60. vertex -101, 1024, 307, 1948, 926, 0x3F, 0xAA, 0xBF, 0xFF
  61. vertex -101, 768, 307, 1948, 926, 0x3F, 0xAA, 0xBF, 0xFF
  62. vertex 205, 1024, 307, 1948, 0, 0x3F, 0xAA, 0xBF, 0xFF
  63. bitdw_seg7_vertex_0700BF68: # 0x0700BF68 - 0x0700BFA8
  64. vertex -1023, 0, 307, 0, 0, 0xB7, 0xCD, 0xBA, 0xFF
  65. vertex -1023, 0, -306, -1052, 990, 0xB7, 0xCD, 0xBA, 0xFF
  66. vertex -1637, 0, -306, -2074, 0, 0xB7, 0xCD, 0xBA, 0xFF
  67. vertex -1637, 0, 307, -1052, -1054, 0xB7, 0xCD, 0xBA, 0xFF
  68. bitdw_seg7_dl_0700BFA8: # 0x0700BFA8 - 0x0700C0A8
  69. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000
  70. gsDPLoadSync
  71. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  72. gsSPVertex bitdw_seg7_vertex_0700BBC8, 14, 0
  73. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  74. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  75. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  76. gsSPVertex bitdw_seg7_vertex_0700BCA8, 15, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  78. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  79. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  80. gsSP1Triangle 12, 13, 14, 0x0
  81. gsSPVertex bitdw_seg7_vertex_0700BD98, 16, 0
  82. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  83. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  84. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  85. gsSPVertex bitdw_seg7_vertex_0700BE98, 13, 0
  86. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  87. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  88. gsSP1Triangle 10, 11, 12, 0x0
  89. gsSPEndDisplayList
  90. bitdw_seg7_dl_0700C0A8: # 0x0700C0A8 - 0x0700C0E0
  91. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  92. gsDPLoadSync
  93. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  94. gsSPVertex bitdw_seg7_vertex_0700BF68, 4, 0
  95. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  96. gsSPEndDisplayList
  97. glabel bitdw_seg7_dl_0700C0E0 # 0x0700C0E0 - 0x0700C158
  98. gsDPPipeSync
  99. 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
  100. gsSPClearGeometryMode G_LIGHTING
  101. 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
  102. gsSPTexture -1, -1, 0, 0, 1
  103. gsDPTileSync
  104. 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
  105. gsDPSetTileSize 0, 0, 0, 124, 124
  106. gsSPDisplayList bitdw_seg7_dl_0700BFA8
  107. gsSPDisplayList bitdw_seg7_dl_0700C0A8
  108. gsSPTexture -1, -1, 0, 0, 0
  109. gsDPPipeSync
  110. 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
  111. gsSPSetGeometryMode G_LIGHTING
  112. gsSPEndDisplayList