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.
 
 
 
 
 

170 lines
9.3 KiB

bitdw_seg7_vertex_07002138: # 0x07002138 - 0x07002238
vertex -613, 819, 514, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
vertex -613, 512, -509, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
vertex -613, 819, -509, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
vertex -613, 512, 514, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
vertex -1535, 819, 514, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
vertex -1535, 819, -509, 1808, 376, 0x3D, 0x41, 0x74, 0xFF
vertex -1535, 512, -509, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
vertex -1535, 512, 514, 1808, 990, 0x3D, 0x41, 0x74, 0xFF
vertex -613, 512, -509, -882, 990, 0x51, 0x51, 0xA8, 0xFF
vertex -1535, 512, -509, -882, 990, 0x51, 0x51, 0xA8, 0xFF
vertex -1535, 819, -509, -882, 376, 0x51, 0x51, 0xA8, 0xFF
vertex -613, 819, -509, -882, 376, 0x51, 0x51, 0xA8, 0xFF
vertex -1535, 512, 514, 820, 990, 0x51, 0x51, 0xA8, 0xFF
vertex -613, 819, 514, 820, 376, 0x51, 0x51, 0xA8, 0xFF
vertex -1535, 819, 514, 820, 376, 0x51, 0x51, 0xA8, 0xFF
vertex -613, 512, 514, 820, 990, 0x51, 0x51, 0xA8, 0xFF
bitdw_seg7_vertex_07002238: # 0x07002238 - 0x070022F8
vertex 1331, 614, 53, 480, 990, 0xBF, 0xD8, 0x8C, 0xFF
vertex 1741, 614, -49, -36, 0, 0xBF, 0xD8, 0x8C, 0xFF
vertex 1331, 614, -48, 0, 990, 0xBF, 0xD8, 0x8C, 0xFF
vertex 1741, 614, 53, 480, 0, 0xBF, 0xD8, 0x8C, 0xFF
vertex 1253, 512, 53, 0, 990, 0x70, 0x98, 0x75, 0xFF
vertex 1741, 614, 53, 990, -372, 0x70, 0x98, 0x75, 0xFF
vertex 1331, 614, 53, 990, 990, 0x70, 0x98, 0x75, 0xFF
vertex 1741, 512, 53, 0, -372, 0x70, 0x98, 0x75, 0xFF
vertex 1741, 512, -51, 0, -372, 0x70, 0x98, 0x75, 0xFF
vertex 1331, 614, -48, 990, 990, 0x70, 0x98, 0x75, 0xFF
vertex 1741, 614, -49, 990, -372, 0x70, 0x98, 0x75, 0xFF
vertex 1253, 512, -48, 0, 990, 0x70, 0x98, 0x75, 0xFF
bitdw_seg7_vertex_070022F8: # 0x070022F8 - 0x070023F8
vertex 717, 614, -304, 982, 3024, 0x68, 0x7B, 0x6E, 0xFF
vertex 717, 717, -304, 1236, 2768, 0x68, 0x7B, 0x6E, 0xFF
vertex 717, 717, 309, -294, 1234, 0x68, 0x7B, 0x6E, 0xFF
vertex 717, 614, 309, -550, 1490, 0x68, 0x7B, 0x6E, 0xFF
vertex 102, 717, 309, -294, 1234, 0x68, 0x7B, 0x6E, 0xFF
vertex 102, 819, -305, 1496, 2516, 0x68, 0x7B, 0x6E, 0xFF
vertex 102, 819, 309, -38, 982, 0x68, 0x7B, 0x6E, 0xFF
vertex 102, 717, -305, 1240, 2770, 0x68, 0x7B, 0x6E, 0xFF
vertex 102, 819, -305, 5590, -1054, 0x83, 0x91, 0x80, 0xFF
vertex -613, -716, -304, 0, 990, 0x83, 0x91, 0x80, 0xFF
vertex -613, 819, -304, 3800, -2842, 0x83, 0x91, 0x80, 0xFF
vertex -1125, 512, -304, 1756, -3354, 0x83, 0x91, 0x80, 0xFF
vertex -613, 512, -304, 3034, -2076, 0x83, 0x91, 0x80, 0xFF
vertex 717, 614, -304, 6612, 990, 0x83, 0x91, 0x80, 0xFF
vertex 102, 717, -305, 5334, -798, 0x83, 0x91, 0x80, 0xFF
vertex 307, -716, -304, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
bitdw_seg7_vertex_070023F8: # 0x070023F8 - 0x070024F8
vertex -613, -716, -304, 1500, -542, 0x83, 0x91, 0x80, 0xFF
vertex 102, 819, -305, 2864, 3202, 0x83, 0x91, 0x80, 0xFF
vertex 102, 717, -305, 2694, 3032, 0x83, 0x91, 0x80, 0xFF
vertex 717, 614, -304, 1500, 3884, 0x83, 0x91, 0x80, 0xFF
vertex 717, 717, -304, 1672, 4054, 0x83, 0x91, 0x80, 0xFF
vertex -613, 819, 309, 3800, -2842, 0x83, 0x91, 0x80, 0xFF
vertex -613, -716, 309, 0, 990, 0x83, 0x91, 0x80, 0xFF
vertex 102, 819, 309, 5590, -1054, 0x83, 0x91, 0x80, 0xFF
vertex 717, 614, -304, 6612, 990, 0x83, 0x91, 0x80, 0xFF
vertex 1331, 614, -304, 8144, 2522, 0x83, 0x91, 0x80, 0xFF
vertex 307, -716, -304, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
vertex 717, 614, 309, 6612, 990, 0x83, 0x91, 0x80, 0xFF
vertex 102, 717, 309, 5334, -798, 0x83, 0x91, 0x80, 0xFF
vertex 717, 717, 309, 6866, 734, 0x83, 0x91, 0x80, 0xFF
vertex 1331, 614, 309, 8144, 2522, 0x83, 0x91, 0x80, 0xFF
vertex 307, -716, 309, 2268, 3288, 0x83, 0x91, 0x80, 0xFF
bitdw_seg7_vertex_070024F8: # 0x070024F8 - 0x070025D8
vertex -613, 512, 309, 3034, -2076, 0x83, 0x91, 0x80, 0xFF
vertex -1125, 512, 309, 1756, -3354, 0x83, 0x91, 0x80, 0xFF
vertex -613, -716, 309, 0, 990, 0x83, 0x91, 0x80, 0xFF
vertex -613, -716, 309, 480, 1498, 0x83, 0x91, 0x80, 0xFF
vertex 102, 717, 309, -712, -2076, 0x83, 0x91, 0x80, 0xFF
vertex 102, 819, 309, -882, -2246, 0x83, 0x91, 0x80, 0xFF
vertex 307, -716, -304, -2338, 6344, 0x38, 0x4A, 0x3D, 0xFF
vertex 1331, 614, -304, 982, 3024, 0x38, 0x4A, 0x3D, 0xFF
vertex 1331, 614, 309, -550, 1490, 0x38, 0x4A, 0x3D, 0xFF
vertex 307, -716, 309, -3872, 4812, 0x38, 0x4A, 0x3D, 0xFF
vertex 717, 717, -304, 4822, -798, 0xCD, 0xDF, 0xCC, 0xFF
vertex 102, 717, 309, 1756, -798, 0xCD, 0xDF, 0xCC, 0xFF
vertex 717, 717, 309, 3290, -2332, 0xCD, 0xDF, 0xCC, 0xFF
vertex 102, 717, -304, 3290, 734, 0xCD, 0xDF, 0xCC, 0xFF
bitdw_seg7_vertex_070025D8: # 0x070025D8 - 0x07002658
vertex 1331, 614, -304, 6356, -2332, 0xCD, 0xDF, 0xCC, 0xFF
vertex 717, 614, -304, 4822, -798, 0xCD, 0xDF, 0xCC, 0xFF
vertex 717, 614, 309, 3290, -2332, 0xCD, 0xDF, 0xCC, 0xFF
vertex 1331, 614, 309, 4822, -3864, 0xCD, 0xDF, 0xCC, 0xFF
vertex 102, 819, -304, 3290, 734, 0xCD, 0xDF, 0xCC, 0xFF
vertex -613, 819, 309, 0, 990, 0xCD, 0xDF, 0xCC, 0xFF
vertex 102, 819, 309, 1756, -798, 0xCD, 0xDF, 0xCC, 0xFF
vertex -613, 819, -304, 1502, 2522, 0xCD, 0xDF, 0xCC, 0xFF
bitdw_seg7_vertex_07002658: # 0x07002658 - 0x07002698
vertex -613, 819, -509, 4566, -4120, 0x79, 0x9F, 0xEB, 0xFF
vertex -1535, 819, -509, 0, -4120, 0x79, 0x9F, 0xEB, 0xFF
vertex -1535, 819, 514, 0, 990, 0x79, 0x9F, 0xEB, 0xFF
vertex -613, 819, 514, 4568, 990, 0x79, 0x9F, 0xEB, 0xFF
bitdw_seg7_dl_07002698: # 0x07002698 - 0x07002700
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07002138, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07002700: # 0x07002700 - 0x07002758
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07002238, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07002758: # 0x07002758 - 0x07002868
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_070022F8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 12, 0x0
gsSP2Triangles 13, 9, 14, 0x0, 9, 13, 15, 0x0
gsSPVertex bitdw_seg7_vertex_070023F8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 4, 0x0
gsSP2Triangles 5, 6, 7, 0x0, 8, 9, 10, 0x0
gsSP2Triangles 6, 11, 12, 0x0, 12, 11, 13, 0x0
gsSP2Triangles 14, 11, 15, 0x0, 11, 6, 15, 0x0
gsSPVertex bitdw_seg7_vertex_070024F8, 14, 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, 13, 11, 0x0
gsSPVertex bitdw_seg7_vertex_070025D8, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07002868: # 0x07002868 - 0x070028A0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07002658, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSPEndDisplayList
glabel bitdw_seg7_dl_070028A0 # 0x070028A0 - 0x07002928
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 bitdw_seg7_dl_07002698
gsSPDisplayList bitdw_seg7_dl_07002700
gsSPDisplayList bitdw_seg7_dl_07002758
gsSPDisplayList bitdw_seg7_dl_07002868
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