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.
 
 
 
 
 

117 lines
6.9 KiB

castle_grounds_seg7_vertex_0700A328: # 0x0700A328 - 0x0700A418
vertex -4817, 405, -1601, 18906, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4817, 508, -1601, 18872, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4692, 524, -2546, -154, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5856, 543, -4352, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4942, 540, -4175, 18556, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5856, 646, -4352, -38, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4942, 642, -4175, 18550, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4942, 540, -4175, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4723, 645, -3663, 11102, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4942, 642, -4175, -20, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4723, 543, -3663, 11090, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4723, 543, -3663, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4692, 422, -2546, 22390, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4692, 524, -2546, 22168, -20, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4723, 645, -3663, -250, -20, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700A418: # 0x0700A418 - 0x0700A508
vertex -4817, 405, -1601, 500, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4144, 370, -544, 25534, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4144, 473, -544, 25476, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4692, 422, -2546, -118, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4817, 405, -1601, 18906, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4692, 524, -2546, -154, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4144, 370, -544, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -3098, 444, -343, 21296, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -3098, 547, -343, 21438, -28, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4144, 473, -544, 110, -28, 0xFF, 0xFF, 0xFF, 0xFF
vertex -3098, 444, -343, -38, 2008, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2051, 518, -142, 21288, 2008, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2051, 621, -142, 21430, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -3098, 547, -343, 102, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -4817, 508, -1601, 442, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700A508: # 0x0700A508 - 0x0700A5F8
vertex 5231, 387, -651, -8206, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4795, 394, -508, 956, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4795, 497, -508, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1305, 767, -142, 15460, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2051, 518, -142, -98, 1972, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1295, 667, -142, 15266, 1972, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2051, 621, -142, 294, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -612, 903, -141, 14240, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1295, 667, -142, -62, 1972, 0xFF, 0xFF, 0xFF, 0xFF
vertex -592, 805, -141, 14236, 1972, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1305, 767, -142, 130, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4616, 404, -1008, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5070, 473, -2042, 22452, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4617, 507, -1011, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5068, 371, -2039, 22452, 2012, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700A5F8: # 0x0700A5F8 - 0x0700A6E8
vertex 2316, 371, -141, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3323, 403, -530, 21430, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3323, 506, -530, 21430, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5231, 387, -651, -8206, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4795, 497, -508, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 5232, 489, -652, -8206, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2316, 473, -141, 17278, 32, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1459, 584, -141, 192, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2316, 371, -141, 17790, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1471, 684, -141, -54, 32, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1471, 684, -141, 17318, 32, 0xFF, 0xFF, 0xFF, 0xFF
vertex 603, 798, -141, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1459, 584, -141, 17566, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex 628, 894, -141, -16, 32, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2316, 473, -141, 16, 0, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_vertex_0700A6E8: # 0x0700A6E8 - 0x0700A728
vertex -5856, 543, -4352, 18364, 2012, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5856, 646, -4352, 18364, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6620, 646, -3837, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6620, 543, -3837, 0, 2012, 0xFF, 0xFF, 0xFF, 0xFF
castle_grounds_seg7_dl_0700A728: # 0x0700A728 - 0x0700A860
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, castle_grounds_seg7_texture_07000000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
gsSPVertex castle_grounds_seg7_vertex_0700A328, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 4, 6, 5, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700A418, 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 castle_grounds_seg7_vertex_0700A508, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex castle_grounds_seg7_vertex_0700A5F8, 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 castle_grounds_seg7_vertex_0700A6E8, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSPEndDisplayList
glabel castle_grounds_seg7_dl_0700A860 # 0x0700A860 - 0x0700A8D0
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, 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_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 252
gsSPDisplayList castle_grounds_seg7_dl_0700A728
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
gsSPEndDisplayList