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.

117 lines
6.9 KiB

6 years ago
  1. castle_grounds_seg7_vertex_0700A328: # 0x0700A328 - 0x0700A418
  2. vertex -4817, 405, -1601, 18906, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -4817, 508, -1601, 18872, 0, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -4692, 524, -2546, -154, 0, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -5856, 543, -4352, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -4942, 540, -4175, 18556, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -5856, 646, -4352, -38, 0, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -4942, 642, -4175, 18550, 0, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -4942, 540, -4175, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -4723, 645, -3663, 11102, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -4942, 642, -4175, -20, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -4723, 543, -3663, 11090, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -4723, 543, -3663, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -4692, 422, -2546, 22390, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -4692, 524, -2546, 22168, -20, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -4723, 645, -3663, -250, -20, 0xFF, 0xFF, 0xFF, 0xFF
  17. castle_grounds_seg7_vertex_0700A418: # 0x0700A418 - 0x0700A508
  18. vertex -4817, 405, -1601, 500, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -4144, 370, -544, 25534, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -4144, 473, -544, 25476, 0, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -4692, 422, -2546, -118, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -4817, 405, -1601, 18906, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -4692, 524, -2546, -154, 0, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -4144, 370, -544, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -3098, 444, -343, 21296, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -3098, 547, -343, 21438, -28, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex -4144, 473, -544, 110, -28, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -3098, 444, -343, -38, 2008, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -2051, 518, -142, 21288, 2008, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -2051, 621, -142, 21430, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -3098, 547, -343, 102, 0, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -4817, 508, -1601, 442, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. castle_grounds_seg7_vertex_0700A508: # 0x0700A508 - 0x0700A5F8
  34. vertex 5231, 387, -651, -8206, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex 4795, 394, -508, 956, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex 4795, 497, -508, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -1305, 767, -142, 15460, 0, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex -2051, 518, -142, -98, 1972, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -1295, 667, -142, 15266, 1972, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -2051, 621, -142, 294, 0, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -612, 903, -141, 14240, 0, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex -1295, 667, -142, -62, 1972, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -592, 805, -141, 14236, 1972, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -1305, 767, -142, 130, 0, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex 4616, 404, -1008, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex 5070, 473, -2042, 22452, 0, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex 4617, 507, -1011, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex 5068, 371, -2039, 22452, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  49. castle_grounds_seg7_vertex_0700A5F8: # 0x0700A5F8 - 0x0700A6E8
  50. vertex 2316, 371, -141, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  51. vertex 3323, 403, -530, 21430, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  52. vertex 3323, 506, -530, 21430, 0, 0xFF, 0xFF, 0xFF, 0xFF
  53. vertex 5231, 387, -651, -8206, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  54. vertex 4795, 497, -508, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  55. vertex 5232, 489, -652, -8206, 0, 0xFF, 0xFF, 0xFF, 0xFF
  56. vertex 2316, 473, -141, 17278, 32, 0xFF, 0xFF, 0xFF, 0xFF
  57. vertex 1459, 584, -141, 192, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  58. vertex 2316, 371, -141, 17790, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  59. vertex 1471, 684, -141, -54, 32, 0xFF, 0xFF, 0xFF, 0xFF
  60. vertex 1471, 684, -141, 17318, 32, 0xFF, 0xFF, 0xFF, 0xFF
  61. vertex 603, 798, -141, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  62. vertex 1459, 584, -141, 17566, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  63. vertex 628, 894, -141, -16, 32, 0xFF, 0xFF, 0xFF, 0xFF
  64. vertex 2316, 473, -141, 16, 0, 0xFF, 0xFF, 0xFF, 0xFF
  65. castle_grounds_seg7_vertex_0700A6E8: # 0x0700A6E8 - 0x0700A728
  66. vertex -5856, 543, -4352, 18364, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  67. vertex -5856, 646, -4352, 18364, 0, 0xFF, 0xFF, 0xFF, 0xFF
  68. vertex -6620, 646, -3837, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  69. vertex -6620, 543, -3837, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
  70. castle_grounds_seg7_dl_0700A728: # 0x0700A728 - 0x0700A860
  71. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, castle_grounds_seg7_texture_07000000
  72. gsDPLoadSync
  73. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  74. gsSPVertex castle_grounds_seg7_vertex_0700A328, 15, 0
  75. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  76. gsSP2Triangles 4, 6, 5, 0x0, 7, 8, 9, 0x0
  77. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  78. gsSP1Triangle 11, 13, 14, 0x0
  79. gsSPVertex castle_grounds_seg7_vertex_0700A418, 15, 0
  80. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  81. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  82. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  83. gsSP1Triangle 0, 2, 14, 0x0
  84. gsSPVertex castle_grounds_seg7_vertex_0700A508, 15, 0
  85. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  86. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  87. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  88. gsSP1Triangle 11, 14, 12, 0x0
  89. gsSPVertex castle_grounds_seg7_vertex_0700A5F8, 15, 0
  90. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  91. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  92. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  93. gsSP1Triangle 0, 2, 14, 0x0
  94. gsSPVertex castle_grounds_seg7_vertex_0700A6E8, 4, 0
  95. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  96. gsSPEndDisplayList
  97. glabel castle_grounds_seg7_dl_0700A860 # 0x0700A860 - 0x0700A8D0
  98. gsDPPipeSync
  99. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  100. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  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_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  105. gsDPSetTileSize 0, 0, 0, 124, 252
  106. gsSPDisplayList castle_grounds_seg7_dl_0700A728
  107. gsSPTexture -1, -1, 0, 0, 0
  108. gsDPPipeSync
  109. 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
  110. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  111. gsSPEndDisplayList