112 lines
3.9 KiB
Plaintext
112 lines
3.9 KiB
Plaintext
/**********************************************************************
|
|
|
|
ultra64 displaylist C source file ( vanime )
|
|
|
|
**********************************************************************/
|
|
|
|
/* POLYGON TOTAL (12) */
|
|
|
|
|
|
/*---------------------------------------------------------------------
|
|
Light Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
|
|
static long long dmmy1_vanime = 0;
|
|
static Lights1 light_vanime[] = {
|
|
ShapeColor( 255, 0, 0 ), /* attr (12) */
|
|
ShapeColor( 100,100,100 ), /* attr (100) */
|
|
};
|
|
static long long dmmy2_vanime = 0;
|
|
|
|
/*---------------------------------------------------------------------
|
|
Vtx Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
static Vtx vtx_vanime[] = {
|
|
{ 400, 0, 400,0,0,0, 0, 127, 0,0 },
|
|
{ 400, 0, -400,0,0,0, 0, 127, 0,0 },
|
|
{ -400, 0, -400,0,0,0, 0, 127, 0,0 },
|
|
{ -400, 0, 400,0,0,0, 0, 127, 0,0 },
|
|
{ 400, 0, 400,0,0,0, 0, 127, 0,0 },
|
|
{ -400, 0, -400,0,0,0, 0, 127, 0,0 },
|
|
{ 400, -20, -400,0,0,0, 0,-127, 0,0 },
|
|
{ 400, -20, 400,0,0,0, 0,-127, 0,0 },
|
|
{ -400, -20, -400,0,0,0, 0,-127, 0,0 },
|
|
{ 400, -20, 400,0,0,0, 0,-127, 0,0 },
|
|
{ -400, -20, 400,0,0,0, 0,-127, 0,0 },
|
|
{ -400, -20, -400,0,0,0, 0,-127, 0,0 },
|
|
{ 400, -20, 400,0,0,0, 0, 0, 127,0 },
|
|
{ 400, 0, 400,0,0,0, 0, 0, 127,0 },
|
|
{ -400, 0, 400,0,0,0, 0, 0, 127,0 },
|
|
{ -400, -20, 400,0,0,0, 0, 0, 127,0 },
|
|
{ 400, -20, 400,0,0,0, 0, 0, 127,0 },
|
|
{ -400, 0, 400,0,0,0, 0, 0, 127,0 },
|
|
{ 400, 0, -400,0,0,0, 0, 0,-127,0 },
|
|
{ 400, -20, -400,0,0,0, 0, 0,-127,0 },
|
|
{ -400, 0, -400,0,0,0, 0, 0,-127,0 },
|
|
{ 400, -20, -400,0,0,0, 0, 0,-127,0 },
|
|
{ -400, -20, -400,0,0,0, 0, 0,-127,0 },
|
|
{ -400, 0, -400,0,0,0, 0, 0,-127,0 },
|
|
{ -400, 0, -400,0,0,0,-127, 0, 0,0 },
|
|
{ -400, -20, -400,0,0,0,-127, 0, 0,0 },
|
|
{ -400, 0, 400,0,0,0,-127, 0, 0,0 },
|
|
{ -400, -20, -400,0,0,0,-127, 0, 0,0 },
|
|
{ -400, -20, 400,0,0,0,-127, 0, 0,0 },
|
|
{ -400, 0, 400,0,0,0,-127, 0, 0,0 },
|
|
{ 400, -20, -400,0,0,0, 127, 0, 0,0 },
|
|
{ 400, 0, -400,0,0,0, 127, 0, 0,0 },
|
|
{ 400, 0, 400,0,0,0, 127, 0, 0,0 },
|
|
{ 400, -20, 400,0,0,0, 127, 0, 0,0 },
|
|
{ 400, -20, -400,0,0,0, 127, 0, 0,0 },
|
|
{ 400, 0, 400,0,0,0, 127, 0, 0,0 },
|
|
};
|
|
|
|
/*---------------------------------------------------------------------
|
|
Gfx Data
|
|
---------------------------------------------------------------------*/
|
|
|
|
Gfx RCP_vanime[] = {
|
|
|
|
gsSPNumLights(1),
|
|
gsSPLight((&light_vanime[0].l[0]),1),
|
|
gsSPLight((&light_vanime[0].a),2),
|
|
|
|
gsSPVertex(&vtx_vanime[0], 6, 0),
|
|
gsSP1Triangle(0, 1, 2, 0),
|
|
gsSP1Triangle(3, 4, 5, 0),
|
|
|
|
gsSPNumLights(1),
|
|
gsSPLight((&light_vanime[1].l[0]),1),
|
|
gsSPLight((&light_vanime[1].a),2),
|
|
|
|
gsSPVertex(&vtx_vanime[6], 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_vanime[21], 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),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
/*=====================================================================
|
|
end of shape
|
|
=====================================================================*/
|
|
|
|
Hierarchy RCP_HmsVanime[] = {
|
|
|
|
hmsGroup()
|
|
hmsBegin()
|
|
hmsGfx( RM_SURF, RCP_vanime)
|
|
hmsEnd()
|
|
hmsExit()
|
|
|
|
};
|
|
|