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.
 
 
 
 
 

132 lines
7.3 KiB

lll_seg7_vertex_07019470: # 0x07019470 - 0x07019530
vertex 0, 154, 1024, -2074, 2776, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 154, 1792, -2074, 4310, 0x00, 0x7F, 0x00, 0xFF
vertex 1536, 154, 896, 990, 2520, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, 512, -3862, 1754, 0x00, 0x7F, 0x00, 0xFF
vertex -1535, 154, 896, -5140, 2520, 0x00, 0x7F, 0x00, 0xFF
vertex 896, 154, -511, -286, -288, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 154, -1791, -2074, -2842, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 154, -1023, -2074, -1310, 0x00, 0x7F, 0x00, 0xFF
vertex 1536, 154, -895, 990, -1054, 0x00, 0x7F, 0x00, 0xFF
vertex 896, 154, 512, -286, 1754, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, -511, -3862, -288, 0x00, 0x7F, 0x00, 0xFF
vertex -1535, 154, -895, -5140, -1054, 0x00, 0x7F, 0x00, 0xFF
lll_seg7_vertex_07019530: # 0x07019530 - 0x07019620
vertex 0, 0, 1792, 17002, 990, 0xC0, 0x00, 0x6D, 0xFF
vertex 0, 154, 1792, 17002, 0, 0xC0, 0x00, 0x6D, 0xFF
vertex -1535, 154, 896, 0, 0, 0xC0, 0x00, 0x6D, 0xFF
vertex 0, 0, 1024, 10188, 990, 0xC1, 0x00, 0x92, 0xFF
vertex 0, 154, 1024, 10188, 0, 0xC1, 0x00, 0x92, 0xFF
vertex 896, 154, 512, 0, 0, 0xC1, 0x00, 0x92, 0xFF
vertex 896, 0, 512, 0, 990, 0xC1, 0x00, 0x92, 0xFF
vertex 1536, 0, 896, 990, 990, 0x3F, 0x00, 0x6D, 0xFF
vertex 1536, 154, 896, 990, 0, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 154, 1792, -16042, 0, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 0, 1792, -16042, 990, 0x3F, 0x00, 0x6D, 0xFF
vertex -895, 0, 512, 10188, 990, 0x3F, 0x00, 0x92, 0xFF
vertex 0, 154, 1024, 0, 0, 0x3F, 0x00, 0x92, 0xFF
vertex 0, 0, 1024, 0, 990, 0x3F, 0x00, 0x92, 0xFF
vertex -895, 154, 512, 10188, 0, 0x3F, 0x00, 0x92, 0xFF
lll_seg7_vertex_07019620: # 0x07019620 - 0x07019710
vertex 0, 0, -1023, 10188, 990, 0x3F, 0x00, 0x6E, 0xFF
vertex 0, 154, -1023, 10188, 0, 0x3F, 0x00, 0x6E, 0xFF
vertex -895, 154, -511, 0, 0, 0x3F, 0x00, 0x6E, 0xFF
vertex 0, 0, 1792, 17002, 990, 0xC0, 0x00, 0x6D, 0xFF
vertex -1535, 154, 896, 0, 0, 0xC0, 0x00, 0x6D, 0xFF
vertex -1535, 0, 896, 0, 990, 0xC0, 0x00, 0x6D, 0xFF
vertex -895, 0, -511, 10188, 990, 0x7F, 0x00, 0x00, 0xFF
vertex -895, 154, 512, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex -895, 0, 512, 0, 990, 0x7F, 0x00, 0x00, 0xFF
vertex -895, 154, -511, 10188, 0, 0x7F, 0x00, 0x00, 0xFF
vertex -1535, 0, 896, 16320, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 154, -895, -712, 0, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 0, -895, -712, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 154, 896, 16320, 0, 0x81, 0x00, 0x00, 0xFF
vertex -895, 0, -511, 0, 990, 0x3F, 0x00, 0x6E, 0xFF
lll_seg7_vertex_07019710: # 0x07019710 - 0x07019800
vertex 896, 0, 512, 990, 990, 0x81, 0x00, 0x00, 0xFF
vertex 896, 154, -511, -9228, 0, 0x81, 0x00, 0x00, 0xFF
vertex 896, 0, -511, -9228, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1535, 0, -895, 17002, 990, 0xC0, 0x00, 0x93, 0xFF
vertex -1535, 154, -895, 17002, 0, 0xC0, 0x00, 0x93, 0xFF
vertex 0, 154, -1791, 0, 0, 0xC0, 0x00, 0x93, 0xFF
vertex 0, 0, -1791, 0, 990, 0xC0, 0x00, 0x93, 0xFF
vertex 896, 0, -511, 10188, 990, 0xC1, 0x00, 0x6E, 0xFF
vertex 896, 154, -511, 10188, 0, 0xC1, 0x00, 0x6E, 0xFF
vertex 0, 154, -1023, 0, 0, 0xC1, 0x00, 0x6E, 0xFF
vertex 0, 0, -1023, 0, 990, 0xC1, 0x00, 0x6E, 0xFF
vertex 0, 0, -1791, 16320, 990, 0x3F, 0x00, 0x93, 0xFF
vertex 1536, 154, -895, -712, 0, 0x3F, 0x00, 0x93, 0xFF
vertex 1536, 0, -895, -712, 990, 0x3F, 0x00, 0x93, 0xFF
vertex 0, 154, -1791, 16320, 0, 0x3F, 0x00, 0x93, 0xFF
lll_seg7_vertex_07019800: # 0x07019800 - 0x07019870
vertex 1536, 0, -895, 17002, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 1536, 154, -895, 17002, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 1536, 154, 896, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 896, 0, 512, 990, 990, 0x81, 0x00, 0x00, 0xFF
vertex 896, 154, 512, 990, 0, 0x81, 0x00, 0x00, 0xFF
vertex 896, 154, -511, -9228, 0, 0x81, 0x00, 0x00, 0xFF
vertex 1536, 0, 896, 0, 990, 0x7F, 0x00, 0x00, 0xFF
lll_seg7_dl_07019870: # 0x07019870 - 0x07019908
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07003000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight lll_seg7_light_0700FC08, 1
gsSPLight lll_seg7_light_0700FC00, 2
gsSPVertex lll_seg7_vertex_07019470, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 1, 0x0
gsSP2Triangles 3, 1, 0, 0x0, 5, 6, 7, 0x0
gsSP2Triangles 5, 8, 6, 0x0, 9, 8, 5, 0x0
gsSP2Triangles 9, 2, 8, 0x0, 10, 11, 4, 0x0
gsSP2Triangles 0, 2, 9, 0x0, 7, 11, 10, 0x0
gsSP2Triangles 7, 6, 11, 0x0, 10, 4, 3, 0x0
gsSPEndDisplayList
lll_seg7_dl_07019908: # 0x07019908 - 0x07019A08
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex lll_seg7_vertex_07019530, 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 lll_seg7_vertex_07019620, 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 lll_seg7_vertex_07019710, 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 lll_seg7_vertex_07019800, 7, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP1Triangle 0, 2, 6, 0x0
gsSPEndDisplayList
glabel lll_seg7_dl_07019A08 # 0x07019A08 - 0x07019A98
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_07019870
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_07019908
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