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.
 
 
 
 
 

186 lines
10 KiB

lll_seg7_vertex_07014C68: # 0x07014C68 - 0x07014CE8
vertex -1023, 307, -383, 6100, 990, 0x00, 0x7F, 0x00, 0xFF
vertex 1280, 307, 256, -3096, -1566, 0x00, 0x7F, 0x00, 0xFF
vertex 1280, 307, -255, -3096, 478, 0x00, 0x7F, 0x00, 0xFF
vertex 1024, 307, 384, -2074, -2076, 0x00, 0x7F, 0x00, 0xFF
vertex 1024, 307, -383, -2074, 990, 0x00, 0x7F, 0x00, 0xFF
vertex -1279, 307, 256, 7122, -1564, 0x00, 0x7F, 0x00, 0xFF
vertex -1023, 307, 384, 6100, -2076, 0x00, 0x7F, 0x00, 0xFF
vertex -1279, 307, -255, 7122, 480, 0x00, 0x7F, 0x00, 0xFF
lll_seg7_vertex_07014CE8: # 0x07014CE8 - 0x07014DD8
vertex -1023, 0, 384, 990, 990, 0xC8, 0x00, 0x71, 0xFF
vertex -1279, 307, 256, -212, 0, 0xC8, 0x00, 0x71, 0xFF
vertex -1279, 0, 256, -212, 990, 0xC8, 0x00, 0x71, 0xFF
vertex 1280, 0, -255, 1672, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 1280, 307, -255, 1672, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 1280, 307, 256, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 1280, 0, 256, 0, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 1280, 0, 256, 1172, 990, 0x38, 0x00, 0x71, 0xFF
vertex 1024, 307, 384, 0, 0, 0x38, 0x00, 0x71, 0xFF
vertex 1024, 0, 384, 0, 990, 0x38, 0x00, 0x71, 0xFF
vertex 1280, 307, 256, 1172, 0, 0x38, 0x00, 0x71, 0xFF
vertex 1024, 0, 384, 990, 990, 0x00, 0x00, 0x7F, 0xFF
vertex 1024, 307, 384, 990, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -1023, 307, 384, -4118, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -1023, 0, 384, -4118, 990, 0x00, 0x00, 0x7F, 0xFF
lll_seg7_vertex_07014DD8: # 0x07014DD8 - 0x07014EC8
vertex -1023, 0, -383, 5078, 990, 0x00, 0x00, 0x81, 0xFF
vertex 1024, 307, -383, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex 1024, 0, -383, 0, 990, 0x00, 0x00, 0x81, 0xFF
vertex -1023, 0, 384, 990, 990, 0xC8, 0x00, 0x71, 0xFF
vertex -1023, 307, 384, 990, 0, 0xC8, 0x00, 0x71, 0xFF
vertex -1279, 307, 256, -212, 0, 0xC8, 0x00, 0x71, 0xFF
vertex -1279, 0, 256, 1502, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1279, 307, 256, 1502, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1279, 307, -255, -200, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1279, 0, -255, -200, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1279, 0, -255, 990, 990, 0xC8, 0x00, 0x8F, 0xFF
vertex -1279, 307, -255, 990, 0, 0xC8, 0x00, 0x8F, 0xFF
vertex -1023, 307, -383, -212, 0, 0xC8, 0x00, 0x8F, 0xFF
vertex -1023, 0, -383, -212, 990, 0xC8, 0x00, 0x8F, 0xFF
vertex -1023, 307, -383, 5078, 0, 0x00, 0x00, 0x81, 0xFF
lll_seg7_vertex_07014EC8: # 0x07014EC8 - 0x07014F08
vertex 1024, 0, -383, 1172, 990, 0x38, 0x00, 0x8F, 0xFF
vertex 1024, 307, -383, 1172, 0, 0x38, 0x00, 0x8F, 0xFF
vertex 1280, 307, -255, 0, 0, 0x38, 0x00, 0x8F, 0xFF
vertex 1280, 0, -255, 0, 990, 0x38, 0x00, 0x8F, 0xFF
lll_seg7_vertex_07014F08: # 0x07014F08 - 0x07014FE8
vertex -1458, 410, 128, 416, 0, 0x00, 0x00, 0x81, 0xFF
vertex -1279, 307, 128, 0, 224, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 307, 128, 606, 224, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 0, 128, 606, 990, 0x00, 0x00, 0x81, 0xFF
vertex -1279, 0, 128, 0, 990, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 307, -255, 2522, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -1535, 0, -255, 2522, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -1279, 0, -255, 3162, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -1279, 307, -255, 3162, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -1458, 410, -255, 2714, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -1535, 0, 256, 288, 734, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 307, 128, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 0, 128, 0, 734, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 307, 256, 288, 0, 0x81, 0x00, 0x00, 0xFF
lll_seg7_vertex_07014FE8: # 0x07014FE8 - 0x070150C8
vertex -1535, 307, 256, 2522, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -1279, 307, 256, 3162, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -1458, 410, 256, 2714, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -1535, 0, 256, 2522, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -1279, 0, 256, 3162, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -1279, 0, -383, 0, 990, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 307, -383, 606, 224, 0x00, 0x00, 0x81, 0xFF
vertex -1458, 410, -383, 416, 0, 0x00, 0x00, 0x81, 0xFF
vertex -1279, 307, -383, 0, 224, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 0, -383, 606, 990, 0x00, 0x00, 0x81, 0xFF
vertex -1535, 0, -255, -988, 734, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 307, -255, -988, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 307, -383, -1308, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 0, -383, -1308, 734, 0x81, 0x00, 0x00, 0xFF
lll_seg7_vertex_070150C8: # 0x070150C8 - 0x07015108
vertex -1279, 0, -255, 564, 990, 0x7F, 0x00, 0x00, 0xFF
vertex -1279, 0, -383, 990, 990, 0x7F, 0x00, 0x00, 0xFF
vertex -1279, 307, -383, 990, 0, 0x7F, 0x00, 0x00, 0xFF
vertex -1279, 307, -255, 564, 0, 0x7F, 0x00, 0x00, 0xFF
lll_seg7_vertex_07015108: # 0x07015108 - 0x07015208
vertex -1458, 410, -383, -1308, 0, 0x9B, 0x4C, 0x00, 0xFF
vertex -1535, 307, -383, -1308, 288, 0x9B, 0x4C, 0x00, 0xFF
vertex -1535, 307, -255, -988, 288, 0x9B, 0x4C, 0x00, 0xFF
vertex -1279, 307, 128, -286, 990, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, 128, -286, 476, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, 256, -604, 476, 0x3F, 0x6E, 0x00, 0xFF
vertex -1279, 307, 256, -604, 990, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, 128, 0, 0, 0x9B, 0x4C, 0x00, 0xFF
vertex -1535, 307, 256, 288, 288, 0x9B, 0x4C, 0x00, 0xFF
vertex -1458, 410, 256, 288, 0, 0x9B, 0x4C, 0x00, 0xFF
vertex -1535, 307, 128, 0, 288, 0x9B, 0x4C, 0x00, 0xFF
vertex -1279, 307, -383, 990, 990, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, -255, 670, 476, 0x3F, 0x6E, 0x00, 0xFF
vertex -1279, 307, -255, 670, 990, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, -383, 990, 476, 0x3F, 0x6E, 0x00, 0xFF
vertex -1458, 410, -255, -988, 0, 0x9B, 0x4C, 0x00, 0xFF
lll_seg7_dl_07015208: # 0x07015208 - 0x07015270
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07004800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight lll_seg7_light_0700FC08, 1
gsSPLight lll_seg7_light_0700FC00, 2
gsSPVertex lll_seg7_vertex_07014C68, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 0, 2, 4, 0x0, 0, 5, 6, 0x0
gsSP2Triangles 0, 7, 5, 0x0, 0, 6, 3, 0x0
gsSPEndDisplayList
lll_seg7_dl_07015270: # 0x07015270 - 0x07015328
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex lll_seg7_vertex_07014CE8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex lll_seg7_vertex_07014DD8, 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, 14, 1, 0x0
gsSPVertex lll_seg7_vertex_07014EC8, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSPEndDisplayList
lll_seg7_dl_07015328: # 0x07015328 - 0x070153F0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex lll_seg7_vertex_07014F08, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 1, 4, 0x0
gsSP2Triangles 3, 2, 1, 0x0, 5, 6, 7, 0x0
gsSP2Triangles 5, 7, 8, 0x0, 5, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSPVertex lll_seg7_vertex_07014FE8, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
gsSP2Triangles 0, 4, 1, 0x0, 5, 6, 7, 0x0
gsSP2Triangles 5, 7, 8, 0x0, 5, 9, 6, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
gsSPVertex lll_seg7_vertex_070150C8, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSPEndDisplayList
lll_seg7_dl_070153F0: # 0x070153F0 - 0x07015458
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex lll_seg7_vertex_07015108, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 14, 12, 0x0, 0, 2, 15, 0x0
gsSPEndDisplayList
glabel lll_seg7_dl_07015458 # 0x07015458 - 0x070154F8
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_SHADING_SMOOTH
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 lll_seg7_dl_07015208
gsSPDisplayList lll_seg7_dl_07015328
gsSPDisplayList lll_seg7_dl_070153F0
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 lll_seg7_dl_07015270
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_SHADING_SMOOTH
gsSPEndDisplayList