71 lines
3.3 KiB
Plaintext
71 lines
3.3 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (carry_grip)
|
|
****************************************************************************************************/
|
|
#define carry_grip_AMB_SCALE 0.25
|
|
#define ShapeColor_carry_grip(R,G,B) {{R*carry_grip_AMB_SCALE ,G*carry_grip_AMB_SCALE ,B*carry_grip_AMB_SCALE ,0 ,R*carry_grip_AMB_SCALE ,G*carry_grip_AMB_SCALE ,B*carry_grip_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_carry_grip[] = {
|
|
ShapeColor_carry_grip( 50, 50, 50),
|
|
};
|
|
|
|
static Vtx vtx_carry_grip_0[] = {
|
|
{ -99, -129, 130, 0, 0, 0, 36, -87, 84, 255},
|
|
{ -135, -173, 100, 0, 0, 0, 36, -87, 84, 255},
|
|
{ -55, -236, 0, 0, 0, 0, 36, -87, 84, 255},
|
|
{ -135, -173, 100, 0, 0, 0, -93, 17, 84, 255},
|
|
{ -202, -49, 0, 0, 0, 0, -93, 17, 84, 255},
|
|
{ -213, -113, 1, 0, 0, 0, -93, 17, 84, 255},
|
|
{ -135, -173, 100, 0, 0, 0, -92, 18, 84, 255},
|
|
{ -99, -129, 130, 0, 0, 0, -92, 18, 84, 255},
|
|
{ -202, -49, 0, 0, 0, 0, -92, 18, 84, 255},
|
|
{ -135, -173, 100, 0, 0, 0, -78, -99, 0, 255},
|
|
{ -132, -175, -100, 0, 0, 0, -78, -99, 0, 255},
|
|
{ -55, -236, 0, 0, 0, 0, -78, -99, 0, 255},
|
|
{ -135, -173, 100, 0, 0, 0, -77, -100, 0, 255},
|
|
{ -213, -113, 1, 0, 0, 0, -77, -100, 0, 255},
|
|
{ -132, -175, -100, 0, 0, 0, -77, -100, 0, 255},
|
|
{ -213, -113, 1, 0, 0, 0, -93, 14, -84, 255},
|
|
{ -202, -49, 0, 0, 0, 0, -93, 14, -84, 255},
|
|
{ -98, -130, -130, 0, 0, 0, -93, 14, -84, 255},
|
|
{ -132, -175, -100, 0, 0, 0, -93, 14, -84, 255},
|
|
{ -99, -129, 130, 0, 0, 0, 37, -87, 84, 255},
|
|
{ -55, -236, 0, 0, 0, 0, 37, -87, 84, 255},
|
|
{ 3, -210, 1, 0, 0, 0, 37, -87, 84, 255},
|
|
{ -132, -175, -100, 0, 0, 0, 40, -86, -83, 255},
|
|
{ 3, -210, 1, 0, 0, 0, 40, -86, -83, 255},
|
|
{ -55, -236, 0, 0, 0, 0, 40, -86, -83, 255},
|
|
{ -98, -130, -130, 0, 0, 0, 40, -86, -83, 255},
|
|
};
|
|
|
|
static Gfx gfx_carry_grip_0[] = {
|
|
|
|
gsSPLight((&light_carry_grip[0].l[0]),1 ),
|
|
gsSPLight((&light_carry_grip[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_carry_grip_0[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_carry_grip_0[15], 11, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 0, 2, 3, 0),
|
|
gsSP1Triangle( 4, 5, 6, 0),
|
|
gsSP1Triangle( 7, 8, 9, 0),
|
|
gsSP1Triangle( 7,10, 8, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_carry_grip[] = {
|
|
gsDPPipeSync(),
|
|
gsSPClearGeometryMode(G_SHADING_SMOOTH),
|
|
|
|
gsSPDisplayList(gfx_carry_grip_0),
|
|
|
|
gsDPPipeSync(),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|