sm64/shape/keep/OLD/etc/testlift.sou
2022-12-04 22:27:02 -05:00

94 lines
3.6 KiB
Plaintext

/**********************************************************************
ultra64 displaylist C source file ( testlift )
**********************************************************************/
/* POLYGON TOTAL (12) */
/*---------------------------------------------------------------------
Light Data
---------------------------------------------------------------------*/
static Lights1 light_testlift[] = {
ShapeColor( 200,200, 30 ), /* attr (10) */
};
/*---------------------------------------------------------------------
Vtx Data
---------------------------------------------------------------------*/
static Vtx vtx_testlift[] = {
{ 200, -100, 200,0,0,0, 127, 0, 0,0 },
{ 200, -100, -200,0,0,0, 127, 0, 0,0 },
{ 200, 0, -200,0,0,0, 127, 0, 0,0 },
{ 200, 0, 200,0,0,0, 127, 0, 0,0 },
{ 200, -100, 200,0,0,0, 127, 0, 0,0 },
{ 200, 0, -200,0,0,0, 127, 0, 0,0 },
{ 200, -100, -200,0,0,0, 0,-127, 0,0 },
{ 200, -100, 200,0,0,0, 0,-127, 0,0 },
{ -200, -100, -200,0,0,0, 0,-127, 0,0 },
{ 200, -100, 200,0,0,0, 0,-127, 0,0 },
{ -200, -100, 200,0,0,0, 0,-127, 0,0 },
{ -200, -100, -200,0,0,0, 0,-127, 0,0 },
{ 200, 0, -200,0,0,0, 0, 0,-127,0 },
{ 200, -100, -200,0,0,0, 0, 0,-127,0 },
{ -200, -100, -200,0,0,0, 0, 0,-127,0 },
{ -200, 0, -200,0,0,0, 0, 0,-127,0 },
{ 200, 0, -200,0,0,0, 0, 0,-127,0 },
{ -200, -100, -200,0,0,0, 0, 0,-127,0 },
{ -200, -100, -200,0,0,0,-127, 0, 0,0 },
{ -200, -100, 200,0,0,0,-127, 0, 0,0 },
{ -200, 0, -200,0,0,0,-127, 0, 0,0 },
{ -200, -100, 200,0,0,0,-127, 0, 0,0 },
{ -200, 0, 200,0,0,0,-127, 0, 0,0 },
{ -200, 0, -200,0,0,0,-127, 0, 0,0 },
{ 200, 0, 200,0,0,0, 0, 127, 0,0 },
{ 200, 0, -200,0,0,0, 0, 127, 0,0 },
{ -200, 0, -200,0,0,0, 0, 127, 0,0 },
{ -200, 0, 200,0,0,0, 0, 127, 0,0 },
{ 200, 0, 200,0,0,0, 0, 127, 0,0 },
{ -200, 0, -200,0,0,0, 0, 127, 0,0 },
{ 200, -100, 200,0,0,0, 0, 0, 127,0 },
{ 200, 0, 200,0,0,0, 0, 0, 127,0 },
{ -200, -100, 200,0,0,0, 0, 0, 127,0 },
{ 200, 0, 200,0,0,0, 0, 0, 127,0 },
{ -200, 0, 200,0,0,0, 0, 0, 127,0 },
{ -200, -100, 200,0,0,0, 0, 0, 127,0 },
};
/*---------------------------------------------------------------------
Gfx Data
---------------------------------------------------------------------*/
Gfx gfx_testlift[] = {
gsSPNumLights(1),
gsSPLight((&light_testlift[0].l[0]),1),
gsSPLight((&light_testlift[0].a),2),
gsSPVertex(&vtx_testlift[0], 15, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 4, 5, 0),
gsSP1Triangle(6, 7, 8, 0),
gsSP1Triangle(9, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSPVertex(&vtx_testlift[15], 15, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 4, 5, 0),
gsSP1Triangle(6, 7, 8, 0),
gsSP1Triangle(9, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSPVertex(&vtx_testlift[30], 6, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 4, 5, 0),
gsSPEndDisplayList()
};
/*=====================================================================
end of shape
=====================================================================*/