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.
 
 
 
 
 

199 lines
11 KiB

rr_seg7_vertex_07014590: # 0x07014590 - 0x07014670
vertex 17, 1352, -736, -3692, 650, 0xAD, 0xBB, 0xD1, 0xFF
vertex 40, 1352, -722, -3538, 572, 0xAD, 0xBB, 0xD1, 0xFF
vertex 32, 1352, -736, -3590, 598, 0xAD, 0xBB, 0xD1, 0xFF
vertex 32, 1352, -709, -3590, 598, 0xAD, 0xBB, 0xD1, 0xFF
vertex 17, 1352, -709, -3692, 650, 0xAD, 0xBB, 0xD1, 0xFF
vertex 9, 1352, -722, -3744, 674, 0xAD, 0xBB, 0xD1, 0xFF
vertex 40, 1352, -722, -3538, 572, 0x97, 0xA9, 0xCD, 0xFF
vertex 32, 1352, -709, -3590, 598, 0x97, 0xA9, 0xCD, 0xFF
vertex 40, 379, -722, 1314, 572, 0x97, 0xA9, 0xCD, 0xFF
vertex 32, 379, -709, 1262, 598, 0x97, 0xA9, 0xCD, 0xFF
vertex 9, 1352, -722, -3744, 674, 0x97, 0xA9, 0xCD, 0xFF
vertex 17, 1352, -736, -3692, 650, 0x97, 0xA9, 0xCD, 0xFF
vertex 9, 379, -722, 1110, 674, 0x97, 0xA9, 0xCD, 0xFF
vertex 17, 379, -736, 1160, 650, 0x97, 0xA9, 0xCD, 0xFF
rr_seg7_vertex_07014670: # 0x07014670 - 0x07014770
vertex 32, 1352, -709, -3590, 598, 0x52, 0x70, 0xAC, 0xFF
vertex 17, 1352, -709, -3692, 650, 0x52, 0x70, 0xAC, 0xFF
vertex 32, 379, -709, 1262, 598, 0x52, 0x70, 0xAC, 0xFF
vertex 17, 379, -709, 1160, 650, 0x52, 0x70, 0xAC, 0xFF
vertex 17, 1352, -736, -3692, 650, 0x52, 0x70, 0xAC, 0xFF
vertex 32, 1352, -736, -3590, 598, 0x52, 0x70, 0xAC, 0xFF
vertex 17, 379, -736, 1160, 650, 0x52, 0x70, 0xAC, 0xFF
vertex 32, 379, -736, 1262, 598, 0x52, 0x70, 0xAC, 0xFF
vertex 17, 1352, -709, -3692, 650, 0x79, 0x8C, 0xEB, 0xFF
vertex 9, 1352, -722, -3744, 674, 0x79, 0x8C, 0xEB, 0xFF
vertex 17, 379, -709, 1160, 650, 0x79, 0x8C, 0xEB, 0xFF
vertex 9, 379, -722, 1110, 674, 0x79, 0x8C, 0xEB, 0xFF
vertex 32, 1352, -736, -3590, 598, 0x79, 0x8C, 0xEB, 0xFF
vertex 40, 1352, -722, -3538, 572, 0x79, 0x8C, 0xEB, 0xFF
vertex 32, 379, -736, 1262, 598, 0x79, 0x8C, 0xEB, 0xFF
vertex 40, 379, -722, 1314, 572, 0x79, 0x8C, 0xEB, 0xFF
rr_seg7_vertex_07014770: # 0x07014770 - 0x07014870
vertex -1134, 236, -444, 906, 1926, 0x59, 0x7A, 0xB3, 0xFF
vertex -566, -439, -209, 1238, 1126, 0x59, 0x7A, 0xB3, 0xFF
vertex -1134, 236, 495, 0, 990, 0x59, 0x7A, 0xB3, 0xFF
vertex -566, -439, 260, 770, 658, 0x59, 0x7A, 0xB3, 0xFF
vertex 1136, 236, 495, 2234, -1276, 0x59, 0x7A, 0xB3, 0xFF
vertex 568, -439, 260, 1902, -474, 0x59, 0x7A, 0xB3, 0xFF
vertex 1136, 236, -444, 3172, -338, 0x59, 0x7A, 0xB3, 0xFF
vertex 568, -439, -209, 2372, -6, 0x59, 0x7A, 0xB3, 0xFF
vertex -566, -439, -209, 1238, 1126, 0x38, 0x5E, 0x96, 0xFF
vertex 568, -439, 260, 1902, -474, 0x38, 0x5E, 0x96, 0xFF
vertex 236, -439, 593, 1238, -474, 0x38, 0x5E, 0x96, 0xFF
vertex -234, -439, -541, 1902, 1126, 0x38, 0x5E, 0x96, 0xFF
vertex 236, -439, -541, 2372, 658, 0x38, 0x5E, 0x96, 0xFF
vertex 568, -439, -209, 2372, -6, 0x38, 0x5E, 0x96, 0xFF
vertex -234, -439, 593, 770, -6, 0x38, 0x5E, 0x96, 0xFF
vertex -566, -439, 260, 770, 658, 0x38, 0x5E, 0x96, 0xFF
rr_seg7_vertex_07014870: # 0x07014870 - 0x07014970
vertex -469, 236, -1109, 2234, 1926, 0x52, 0x70, 0xAC, 0xFF
vertex -234, -439, -541, 1902, 1126, 0x52, 0x70, 0xAC, 0xFF
vertex -566, -439, -209, 1238, 1126, 0x52, 0x70, 0xAC, 0xFF
vertex -1134, 236, 495, 0, 990, 0x52, 0x70, 0xAC, 0xFF
vertex -234, -439, 593, 770, -6, 0x52, 0x70, 0xAC, 0xFF
vertex -469, 236, 1160, 0, -338, 0x52, 0x70, 0xAC, 0xFF
vertex -566, -439, 260, 770, 658, 0x52, 0x70, 0xAC, 0xFF
vertex 471, 236, 1160, 906, -1276, 0x52, 0x70, 0xAC, 0xFF
vertex 236, -439, 593, 1238, -474, 0x52, 0x70, 0xAC, 0xFF
vertex 568, -439, 260, 1902, -474, 0x52, 0x70, 0xAC, 0xFF
vertex 1136, 236, 495, 2234, -1276, 0x52, 0x70, 0xAC, 0xFF
vertex 1136, 236, -444, 3172, -338, 0x52, 0x70, 0xAC, 0xFF
vertex 236, -439, -541, 2372, 658, 0x52, 0x70, 0xAC, 0xFF
vertex 471, 236, -1109, 3172, 990, 0x52, 0x70, 0xAC, 0xFF
vertex 568, -439, -209, 2372, -6, 0x52, 0x70, 0xAC, 0xFF
vertex -1134, 236, -444, 906, 1926, 0x52, 0x70, 0xAC, 0xFF
rr_seg7_vertex_07014970: # 0x07014970 - 0x07014A60
vertex -469, 236, 1160, 0, -338, 0x52, 0x61, 0xAC, 0xFF
vertex 236, -439, 593, 1238, -474, 0x52, 0x61, 0xAC, 0xFF
vertex 471, 236, 1160, 906, -1276, 0x52, 0x61, 0xAC, 0xFF
vertex -234, -439, 593, 770, -6, 0x52, 0x61, 0xAC, 0xFF
vertex 471, 236, -1109, 3172, 990, 0x52, 0x61, 0xAC, 0xFF
vertex -234, -439, -541, 1902, 1126, 0x52, 0x61, 0xAC, 0xFF
vertex -469, 236, -1109, 2234, 1926, 0x52, 0x61, 0xAC, 0xFF
vertex 236, -439, -541, 2372, 658, 0x52, 0x61, 0xAC, 0xFF
vertex 1136, 236, 495, 2800, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1136, 379, 495, 2800, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 379, 1160, 1142, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1136, 236, -444, 3974, -670, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 236, -1109, 3974, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 379, -1109, 3974, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1136, 379, -444, 3974, -670, 0x7D, 0x7D, 0x7D, 0xFF
rr_seg7_vertex_07014A60: # 0x07014A60 - 0x07014B60
vertex -1134, 236, -444, 1142, 2162, 0x7D, 0x7D, 0x7D, 0xFF
vertex -469, 379, -1109, 2800, 2162, 0x7D, 0x7D, 0x7D, 0xFF
vertex -469, 236, -1109, 2800, 2162, 0x7D, 0x7D, 0x7D, 0xFF
vertex -1134, 379, -444, 1142, 2162, 0x7D, 0x7D, 0x7D, 0xFF
vertex -469, 379, 1160, 0, -670, 0x7D, 0x7D, 0x7D, 0xFF
vertex -1134, 236, 495, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex -469, 236, 1160, 0, -670, 0x7D, 0x7D, 0x7D, 0xFF
vertex -1134, 379, 495, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1136, 236, 495, 2800, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 379, 1160, 1142, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 236, 1160, 1142, -1842, 0x7D, 0x7D, 0x7D, 0xFF
vertex 471, 379, -1109, 3974, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 471, 379, 1160, 1142, -1842, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1136, 379, 495, 2800, -1842, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1136, 379, -444, 3974, -670, 0xFF, 0xFF, 0xFF, 0xFF
vertex -469, 379, 1160, 0, -670, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_07014B60: # 0x07014B60 - 0x07014C60
vertex 471, 379, -1109, 3974, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1134, 379, -444, 1142, 2162, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1134, 379, 495, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -469, 379, -1109, 2800, 2162, 0xFF, 0xFF, 0xFF, 0xFF
vertex -469, 379, 1160, 0, -670, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1136, 236, 495, 2800, -1842, 0x64, 0x64, 0x64, 0xFF
vertex 1136, 379, -444, 3974, -670, 0x64, 0x64, 0x64, 0xFF
vertex 1136, 379, 495, 2800, -1842, 0x64, 0x64, 0x64, 0xFF
vertex 1136, 236, -444, 3974, -670, 0x64, 0x64, 0x64, 0xFF
vertex -1134, 236, -444, 1142, 2162, 0x64, 0x64, 0x64, 0xFF
vertex -1134, 236, 495, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1134, 379, 495, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1134, 379, -444, 1142, 2162, 0x64, 0x64, 0x64, 0xFF
vertex -469, 379, -1109, 2800, 2162, 0x91, 0x91, 0x91, 0xFF
vertex 471, 379, -1109, 3974, 990, 0x91, 0x91, 0x91, 0xFF
vertex -469, 236, -1109, 2800, 2162, 0x91, 0x91, 0x91, 0xFF
rr_seg7_vertex_07014C60: # 0x07014C60 - 0x07014CD0
vertex 471, 379, -1109, 3974, 990, 0x91, 0x91, 0x91, 0xFF
vertex 471, 236, -1109, 3974, 990, 0x91, 0x91, 0x91, 0xFF
vertex -469, 236, -1109, 2800, 2162, 0x91, 0x91, 0x91, 0xFF
vertex 471, 379, 1160, 1142, -1842, 0x91, 0x91, 0x91, 0xFF
vertex -469, 379, 1160, 0, -670, 0x91, 0x91, 0x91, 0xFF
vertex -469, 236, 1160, 0, -670, 0x91, 0x91, 0x91, 0xFF
vertex 471, 236, 1160, 1142, -1842, 0x91, 0x91, 0x91, 0xFF
rr_seg7_dl_07014CD0: # 0x07014CD0 - 0x07014D80
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07014590, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 0, 4, 3, 0x0, 0, 5, 4, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 7, 9, 8, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 11, 13, 12, 0x0
gsSPVertex rr_seg7_vertex_07014670, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPEndDisplayList
rr_seg7_dl_07014D80: # 0x07014D80 - 0x07014F30
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07014770, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 12, 0x0
gsSP2Triangles 8, 13, 9, 0x0, 8, 12, 13, 0x0
gsSP2Triangles 8, 14, 15, 0x0, 8, 10, 14, 0x0
gsSPVertex rr_seg7_vertex_07014870, 16, 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
gsSP2Triangles 11, 14, 12, 0x0, 0, 2, 15, 0x0
gsSPVertex rr_seg7_vertex_07014970, 15, 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
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex rr_seg7_vertex_07014A60, 16, 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
gsSP2Triangles 11, 13, 14, 0x0, 11, 15, 12, 0x0
gsSPVertex rr_seg7_vertex_07014B60, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 0, 2, 4, 0x0, 5, 6, 7, 0x0
gsSP2Triangles 5, 8, 6, 0x0, 9, 10, 11, 0x0
gsSP2Triangles 9, 11, 12, 0x0, 13, 14, 15, 0x0
gsSPVertex rr_seg7_vertex_07014C60, 7, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP1Triangle 3, 5, 6, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_07014F30 # 0x07014F30 - 0x07014FA8
gsDPPipeSync
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
gsSPClearGeometryMode G_LIGHTING
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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList rr_seg7_dl_07014CD0
gsSPDisplayList rr_seg7_dl_07014D80
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