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.
 
 
 
 
 

134 lines
7.7 KiB

rr_seg7_vertex_0700E208: # 0x0700E208 - 0x0700E2F8
vertex -961, 350, 0, 0, -8910, 0xFF, 0xFF, 0xFF, 0xFF
vertex -465, 391, 0, 990, -9618, 0xFF, 0xFF, 0xFF, 0xFF
vertex -783, 658, 0, 0, -9798, 0xFF, 0xFF, 0xFF, 0xFF
vertex -177, 1008, 0, 0, -11032, 0xFF, 0xFF, 0xFF, 0xFF
vertex -105, 599, 0, 990, -11212, 0xFF, 0xFF, 0xFF, 0xFF
vertex 107, 605, 0, 990, -11918, 0xFF, 0xFF, 0xFF, 0xFF
vertex 178, 1008, 0, 0, -11918, 0xFF, 0xFF, 0xFF, 0xFF
vertex -511, 887, 0, 0, -10324, 0xFF, 0xFF, 0xFF, 0xFF
vertex -303, 527, 0, 990, -10504, 0xFF, 0xFF, 0xFF, 0xFF
vertex -105, 599, 0, 990, -11032, 0xFF, 0xFF, 0xFF, 0xFF
vertex -177, 1008, 0, 0, -11212, 0xFF, 0xFF, 0xFF, 0xFF
vertex -783, 658, 0, 0, -9618, 0xFF, 0xFF, 0xFF, 0xFF
vertex -303, 527, 0, 990, -10324, 0xFF, 0xFF, 0xFF, 0xFF
vertex -511, 887, 0, 0, -10504, 0xFF, 0xFF, 0xFF, 0xFF
vertex -465, 391, 0, 990, -9798, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_0700E2F8: # 0x0700E2F8 - 0x0700E3E8
vertex -783, -657, 0, 0, -6788, 0xFF, 0xFF, 0xFF, 0xFF
vertex -465, -390, 0, 990, -6968, 0xFF, 0xFF, 0xFF, 0xFF
vertex -570, -207, 0, 990, -7496, 0xFF, 0xFF, 0xFF, 0xFF
vertex -961, 350, 0, 0, -8910, 0xFF, 0xFF, 0xFF, 0xFF
vertex -570, 208, 0, 990, -9090, 0xFF, 0xFF, 0xFF, 0xFF
vertex -465, 391, 0, 990, -9618, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1023, 0, 0, 0, -8202, 0xFF, 0xFF, 0xFF, 0xFF
vertex -607, 0, 0, 990, -8382, 0xFF, 0xFF, 0xFF, 0xFF
vertex -570, 208, 0, 990, -8910, 0xFF, 0xFF, 0xFF, 0xFF
vertex -961, 350, 0, 0, -9090, 0xFF, 0xFF, 0xFF, 0xFF
vertex -961, -349, 0, 0, -7496, 0xFF, 0xFF, 0xFF, 0xFF
vertex -570, -207, 0, 990, -7676, 0xFF, 0xFF, 0xFF, 0xFF
vertex -607, 0, 0, 990, -8202, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1023, 0, 0, 0, -8382, 0xFF, 0xFF, 0xFF, 0xFF
vertex -961, -349, 0, 0, -7676, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_0700E3E8: # 0x0700E3E8 - 0x0700E4D8
vertex 512, -886, 0, 0, -3960, 0xFF, 0xFF, 0xFF, 0xFF
vertex 304, -526, 0, 990, -4140, 0xFF, 0xFF, 0xFF, 0xFF
vertex 106, -598, 0, 990, -4668, 0xFF, 0xFF, 0xFF, 0xFF
vertex -511, -886, 0, 0, -6082, 0xFF, 0xFF, 0xFF, 0xFF
vertex -303, -526, 0, 990, -6262, 0xFF, 0xFF, 0xFF, 0xFF
vertex -465, -390, 0, 990, -6788, 0xFF, 0xFF, 0xFF, 0xFF
vertex -783, -657, 0, 0, -6968, 0xFF, 0xFF, 0xFF, 0xFF
vertex -177, -1007, 0, 0, -5374, 0xFF, 0xFF, 0xFF, 0xFF
vertex -105, -598, 0, 990, -5554, 0xFF, 0xFF, 0xFF, 0xFF
vertex -303, -526, 0, 990, -6082, 0xFF, 0xFF, 0xFF, 0xFF
vertex -511, -886, 0, 0, -6262, 0xFF, 0xFF, 0xFF, 0xFF
vertex 178, -1007, 0, 0, -4668, 0xFF, 0xFF, 0xFF, 0xFF
vertex -105, -598, 0, 990, -5374, 0xFF, 0xFF, 0xFF, 0xFF
vertex -177, -1007, 0, 0, -5554, 0xFF, 0xFF, 0xFF, 0xFF
vertex 106, -598, 0, 990, -4848, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_0700E4D8: # 0x0700E4D8 - 0x0700E5C8
vertex 1024, 0, 0, 0, -1838, 0xFF, 0xFF, 0xFF, 0xFF
vertex 571, -207, 0, 990, -2546, 0xFF, 0xFF, 0xFF, 0xFF
vertex 962, -349, 0, 0, -2726, 0xFF, 0xFF, 0xFF, 0xFF
vertex 512, -886, 0, 0, -3960, 0xFF, 0xFF, 0xFF, 0xFF
vertex 106, -598, 0, 990, -4668, 0xFF, 0xFF, 0xFF, 0xFF
vertex 178, -1007, 0, 0, -4848, 0xFF, 0xFF, 0xFF, 0xFF
vertex 784, -657, 0, 0, -3252, 0xFF, 0xFF, 0xFF, 0xFF
vertex 304, -526, 0, 990, -3960, 0xFF, 0xFF, 0xFF, 0xFF
vertex 512, -886, 0, 0, -4140, 0xFF, 0xFF, 0xFF, 0xFF
vertex 466, -390, 0, 990, -3434, 0xFF, 0xFF, 0xFF, 0xFF
vertex 962, -349, 0, 0, -2546, 0xFF, 0xFF, 0xFF, 0xFF
vertex 466, -390, 0, 990, -3252, 0xFF, 0xFF, 0xFF, 0xFF
vertex 784, -657, 0, 0, -3434, 0xFF, 0xFF, 0xFF, 0xFF
vertex 571, -207, 0, 990, -2726, 0xFF, 0xFF, 0xFF, 0xFF
vertex 608, 0, 0, 990, -2018, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_0700E5C8: # 0x0700E5C8 - 0x0700E6C8
vertex 178, 1008, 0, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 304, 527, 0, 990, 282, 0xFF, 0xFF, 0xFF, 0xFF
vertex 512, 887, 0, 0, 102, 0xFF, 0xFF, 0xFF, 0xFF
vertex 962, 350, 0, 0, -1132, 0xFF, 0xFF, 0xFF, 0xFF
vertex 571, 208, 0, 990, -1312, 0xFF, 0xFF, 0xFF, 0xFF
vertex 608, 0, 0, 990, -1838, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1024, 0, 0, 0, -2018, 0xFF, 0xFF, 0xFF, 0xFF
vertex 784, 658, 0, 0, -424, 0xFF, 0xFF, 0xFF, 0xFF
vertex 466, 391, 0, 990, -604, 0xFF, 0xFF, 0xFF, 0xFF
vertex 571, 208, 0, 990, -1132, 0xFF, 0xFF, 0xFF, 0xFF
vertex 962, 350, 0, 0, -1312, 0xFF, 0xFF, 0xFF, 0xFF
vertex 512, 887, 0, 0, 282, 0xFF, 0xFF, 0xFF, 0xFF
vertex 466, 391, 0, 990, -424, 0xFF, 0xFF, 0xFF, 0xFF
vertex 784, 658, 0, 0, -604, 0xFF, 0xFF, 0xFF, 0xFF
vertex 304, 527, 0, 990, 102, 0xFF, 0xFF, 0xFF, 0xFF
vertex 107, 605, 0, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_dl_0700E6C8: # 0x0700E6C8 - 0x0700E830
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_0700E208, 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 rr_seg7_vertex_0700E2F8, 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, 12, 13, 0x0
gsSP1Triangle 0, 2, 14, 0x0
gsSPVertex rr_seg7_vertex_0700E3E8, 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 rr_seg7_vertex_0700E4D8, 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, 14, 1, 0x0
gsSPVertex rr_seg7_vertex_0700E5C8, 16, 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
gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_0700E830 # 0x0700E830 - 0x0700E8B0
gsDPPipeSync
gsDPSetEnvColor 255, 255, 255, 200
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList rr_seg7_dl_0700E6C8
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
gsDPSetEnvColor 255, 255, 255, 255
gsSPEndDisplayList