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.

110 lines
6.5 KiB

6 years ago
  1. inside_castle_seg7_vertex_07029078: # 0x07029078 - 0x07029168
  2. vertex -13, 614, -1037, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 0, 717, -1043, 114, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -13, 717, -1037, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 0, 614, -1043, 114, 990, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 606, 717, -1043, 6160, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 606, 614, -1043, 6160, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 532, 307, -1023, 9166, 0, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 532, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 532, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 532, 205, -93, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 424, 205, 14, -1052, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 424, 307, 14, -1052, 0, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -2579, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -2579, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -2579, 307, -1023, 9166, 0, 0xFF, 0xFF, 0xFF, 0xFF
  17. inside_castle_seg7_vertex_07029168: # 0x07029168 - 0x07029268
  18. vertex 171, 26, 268, -2584, 990, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 171, 128, 268, -2584, 0, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 424, 307, 14, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex 424, 205, 14, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -2471, 307, 14, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -2218, 128, 268, -2584, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -2218, 26, 268, -2586, 990, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -2471, 205, 14, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -2579, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -2471, 307, 14, -1052, 0, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -2471, 205, 14, -1052, 990, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -2579, 205, -93, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -269, 614, -781, 8656, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -622, 614, -429, 5078, 0, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -622, 512, -429, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex -2579, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
  34. inside_castle_seg7_vertex_07029268: # 0x07029268 - 0x07029348
  35. vertex 606, 614, -1043, 6100, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 805, 717, -1242, 8144, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex 606, 717, -1043, 6100, 0, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex 805, 614, -1242, 8144, 990, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -13, 717, -1037, 3570, 0, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -269, 512, -781, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -13, 614, -1037, 3572, 990, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex -269, 614, -781, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -269, 614, -781, 8656, 0, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -622, 512, -429, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex -269, 512, -781, 8656, 990, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -1424, 512, -429, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -1228, 512, -429, 1928, 990, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex -1424, 614, -429, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  49. inside_castle_seg7_vertex_07029348: # 0x07029348 - 0x07029438
  50. vertex -622, 614, -429, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex -818, 512, -429, -966, 990, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex -622, 512, -429, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex -818, 614, -429, -966, 0, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex -1424, 614, -429, -3096, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex -2039, 614, -1044, -9228, 0, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex -2039, 512, -1044, -9228, 990, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex -1424, 512, -429, -3096, 990, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex -2653, 512, -1043, -15360, 990, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex -2653, 614, -1043, -15360, 0, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex -2852, 512, -1242, -17404, 990, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex -2852, 614, -1242, -17404, 0, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex -1228, 512, -429, 1928, 990, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex -1228, 614, -429, 1928, 0, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex -1424, 614, -429, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  65. inside_castle_seg7_dl_07029438: # 0x07029438 - 0x07029578
  66. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008800
  67. gsDPLoadSync
  68. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  69. gsSPVertex inside_castle_seg7_vertex_07029078, 15, 0
  70. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  71. gsSP2Triangles 4, 3, 5, 0x0, 4, 1, 3, 0x0
  72. gsSP2Triangles 6, 7, 8, 0x0, 7, 9, 8, 0x0
  73. gsSP2Triangles 9, 10, 8, 0x0, 10, 11, 8, 0x0
  74. gsSP1Triangle 12, 13, 14, 0x0
  75. gsSPVertex inside_castle_seg7_vertex_07029168, 16, 0
  76. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  77. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  78. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  79. gsSP2Triangles 12, 13, 14, 0x0, 8, 11, 15, 0x0
  80. gsSPVertex inside_castle_seg7_vertex_07029268, 14, 0
  81. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  82. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  83. gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
  84. gsSPVertex inside_castle_seg7_vertex_07029348, 15, 0
  85. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  86. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  87. gsSP2Triangles 5, 8, 6, 0x0, 5, 9, 8, 0x0
  88. gsSP2Triangles 9, 10, 8, 0x0, 9, 11, 10, 0x0
  89. gsSP1Triangle 12, 13, 14, 0x0
  90. gsSPEndDisplayList
  91. glabel inside_castle_seg7_dl_07029578 # 0x07029578 - 0x070295E8
  92. gsDPPipeSync
  93. 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
  94. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  95. 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
  96. gsSPTexture -1, -1, 0, 0, 1
  97. gsDPTileSync
  98. 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
  99. gsDPSetTileSize 0, 0, 0, 124, 124
  100. gsSPDisplayList inside_castle_seg7_dl_07029438
  101. gsSPTexture -1, -1, 0, 0, 0
  102. gsDPPipeSync
  103. 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
  104. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  105. gsSPEndDisplayList