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

inside_castle_seg7_vertex_07029078: # 0x07029078 - 0x07029168
vertex -13, 614, -1037, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 0, 717, -1043, 114, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -13, 717, -1037, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 0, 614, -1043, 114, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 606, 717, -1043, 6160, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 606, 614, -1043, 6160, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 532, 307, -1023, 9166, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 532, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 532, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 532, 205, -93, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 424, 205, 14, -1052, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 424, 307, 14, -1052, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 307, -1023, 9166, 0, 0xFF, 0xFF, 0xFF, 0xFF
inside_castle_seg7_vertex_07029168: # 0x07029168 - 0x07029268
vertex 171, 26, 268, -2584, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 171, 128, 268, -2584, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 424, 307, 14, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 424, 205, 14, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2471, 307, 14, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2218, 128, 268, -2584, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2218, 26, 268, -2586, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2471, 205, 14, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 307, -93, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2471, 307, 14, -1052, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2471, 205, 14, -1052, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 205, -93, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -269, 614, -781, 8656, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -622, 614, -429, 5078, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -622, 512, -429, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2579, 205, -1023, 9166, 990, 0xFF, 0xFF, 0xFF, 0xFF
inside_castle_seg7_vertex_07029268: # 0x07029268 - 0x07029348
vertex 606, 614, -1043, 6100, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 805, 717, -1242, 8144, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 606, 717, -1043, 6100, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 805, 614, -1242, 8144, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -13, 717, -1037, 3570, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -269, 512, -781, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -13, 614, -1037, 3572, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -269, 614, -781, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -269, 614, -781, 8656, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -622, 512, -429, 5078, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -269, 512, -781, 8656, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1424, 512, -429, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1228, 512, -429, 1928, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1424, 614, -429, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
inside_castle_seg7_vertex_07029348: # 0x07029348 - 0x07029438
vertex -622, 614, -429, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -818, 512, -429, -966, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -622, 512, -429, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -818, 614, -429, -966, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1424, 614, -429, -3096, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2039, 614, -1044, -9228, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2039, 512, -1044, -9228, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1424, 512, -429, -3096, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2653, 512, -1043, -15360, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2653, 614, -1043, -15360, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2852, 512, -1242, -17404, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2852, 614, -1242, -17404, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1228, 512, -429, 1928, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1228, 614, -429, 1928, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1424, 614, -429, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
inside_castle_seg7_dl_07029438: # 0x07029438 - 0x07029578
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex inside_castle_seg7_vertex_07029078, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 3, 5, 0x0, 4, 1, 3, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 7, 9, 8, 0x0
gsSP2Triangles 9, 10, 8, 0x0, 10, 11, 8, 0x0
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex inside_castle_seg7_vertex_07029168, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 8, 11, 15, 0x0
gsSPVertex inside_castle_seg7_vertex_07029268, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSPVertex inside_castle_seg7_vertex_07029348, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 5, 8, 6, 0x0, 5, 9, 8, 0x0
gsSP2Triangles 9, 10, 8, 0x0, 9, 11, 10, 0x0
gsSP1Triangle 12, 13, 14, 0x0
gsSPEndDisplayList
glabel inside_castle_seg7_dl_07029578 # 0x07029578 - 0x070295E8
gsDPPipeSync
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
gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
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
gsSPTexture -1, -1, 0, 0, 1
gsDPTileSync
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
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList inside_castle_seg7_dl_07029438
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 | G_CULL_BACK
gsSPEndDisplayList