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.
 
 
 
 
 

187 lines
11 KiB

castle_grounds_seg7_vertex_0700A8D0: # 0x0700A8D0 - 0x0700A9C0
vertex -4998, 316, 603, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5397, 265, 1006, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4993, 281, 1006, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4857, 316, 3006, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5259, 380, 3413, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4855, 330, 3415, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5260, 366, 3004, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6012, 435, 3247, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6417, 458, 3248, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6414, 499, 3655, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6009, 476, 3654, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6303, 260, 1201, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6705, 260, 1608, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6300, 260, 1607, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6708, 260, 1202, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700A9C0: # 0x0700A9C0 - 0x0700AAB0
vertex -6070, 452, -2345, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6473, 427, -2347, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6468, 386, -1945, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4998, 316, 603, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5402, 299, 602, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5397, 265, 1006, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4507, 367, 226, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4906, 317, 629, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4502, 333, 630, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4911, 351, 226, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5311, 382, -850, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5715, 367, -850, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5711, 351, -446, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5307, 365, -446, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6064, 411, -1944, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700AAB0: # 0x0700AAB0 - 0x0700ABA0
vertex -2355, 535, 2446, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2757, 382, 2818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2358, 439, 2832, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5396, 437, -2835, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5797, 465, -2834, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5793, 454, -2430, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5392, 426, -2431, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5751, 536, -3646, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6152, 543, -3647, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6149, 497, -3247, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5747, 490, -3245, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1700, 463, 2673, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2113, 381, 3062, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1704, 368, 3059, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2109, 476, 2676, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700ABA0: # 0x0700ABA0 - 0x0700AC90
vertex 35, 716, 2812, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -290, 551, 2805, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -283, 537, 3214, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2355, 535, 2446, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2753, 478, 2432, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2757, 382, 2818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1118, 755, 1671, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1524, 672, 2067, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1115, 690, 2070, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1527, 737, 1668, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1805, 653, 1265, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2220, 615, 1656, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1822, 692, 1653, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2203, 577, 1268, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 43, 701, 3221, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700AC90: # 0x0700AC90 - 0x0700AD80
vertex 2115, 312, 950, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1723, 265, 1363, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2078, 112, 1291, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1612, 100, 3077, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1333, 325, 3494, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1605, 92, 3486, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1340, 333, 3085, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 935, 415, 2391, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 574, 558, 2423, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 594, 621, 2820, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 955, 478, 2787, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1315, 318, 1775, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 937, 415, 2191, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1307, 293, 2183, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 945, 439, 1783, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700AD80: # 0x0700AD80 - 0x0700AE70
vertex 5978, 431, -1320, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5570, 413, -910, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5977, 448, -911, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2115, 312, 950, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1763, 465, 1020, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1723, 265, 1363, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3364, 277, 273, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2993, 377, 310, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2954, 179, 654, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3327, 80, 614, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6369, 323, 3, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5984, 112, 334, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6383, 172, 360, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5970, 263, -22, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5572, 396, -1319, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700AE70: # 0x0700AE70 - 0x0700AF60
vertex 6064, 734, -4652, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5661, 681, -4649, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5665, 661, -4246, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6604, 528, -1890, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6204, 461, -1480, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6605, 526, -1481, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6202, 463, -1888, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6154, 580, -3051, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5751, 532, -3047, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5759, 474, -2647, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6163, 522, -2651, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5664, 584, -3471, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5260, 536, -3467, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5268, 478, -3066, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5672, 526, -3070, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700AF60: # 0x0700AF60 - 0x0700AFD0
vertex 6597, 947, -5509, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6217, 790, -5117, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6610, 882, -5114, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6064, 734, -4652, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5665, 661, -4246, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6068, 714, -4250, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 6203, 855, -5512, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_dl_0700AFD0: # 0x0700AFD0 - 0x0700B1D0
gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, outside_0900BC00
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex castle_grounds_seg7_vertex_0700A8D0, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700A9C0, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
gsSP1Triangle 0, 2, 14, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700AAB0, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700ABA0, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSP1Triangle 0, 2, 14, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700AC90, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700AD80, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSP1Triangle 0, 14, 1, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700AE70, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700AF60, 7, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP1Triangle 0, 6, 1, 0x0
gsSPEndDisplayList
glabel castle_grounds_seg7_dl_0700B1D0 # 0x0700B1D0 - 0x0700B240
gsDPPipeSync
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
gsSPClearGeometryMode G_LIGHTING
gsDPSetTile G_IM_FMT_IA, 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
gsSPTexture -1, -1, 0, 0, 1
gsDPTileSync
gsDPSetTile G_IM_FMT_IA, 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
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList castle_grounds_seg7_dl_0700AFD0
gsSPTexture -1, -1, 0, 0, 0
gsDPPipeSync
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
gsSPSetGeometryMode G_LIGHTING
gsSPEndDisplayList