/*************************************************************************************************** Convert from NINGEN (rabi_LearB) ****************************************************************************************************/ #define rabi_LearB_AMB_SCALE 0.4 #define ShapeColor_rabi_LearB(R,G,B) {{R*rabi_LearB_AMB_SCALE ,G*rabi_LearB_AMB_SCALE ,B*rabi_LearB_AMB_SCALE ,0 ,R*rabi_LearB_AMB_SCALE ,G*rabi_LearB_AMB_SCALE ,B*rabi_LearB_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_rabi_LearB[] = { ShapeColor_rabi_LearB(150,150, 0), ShapeColor_rabi_LearB(133,142, 0), ShapeColor_rabi_LearB(255,255,255), }; static Vtx vtx_rabi_LearB_0[] = { { 1, 0, -13, 0, -52, 2012, -66, 95, -49, 255}, { 1, 0, 15, 0, -52, 2012, -96, 47, 67, 255}, { 80, 0, 28, 0, 702, 2122, 53, 45, 105, 255}, { 80, 0, -26, 0, 702, 2122, 57, 2, -113, 255}, { 94, -14, 1, 0, 848, 1676, 125, -21, 0, 255}, { -2, -19, 0, 0, -72, 1382, -68, -106, -2, 255}, { 1, 0, 15, 0, -52, 2012, -96, 47, 67, 255}, { 1, 0, -13, 0, -52, 2012, -66, 95, -49, 255}, { -2, -19, 0, 0, -72, 1382, -68, -106, -2, 255}, { 80, 0, -26, 0, 702, 2122, 57, 2, -113, 255}, { 79, -32, 0, 0, 714, 1108, 51, -115, -1, 255}, { 80, 0, 28, 0, 702, 2122, 53, 45, 105, 255}, { 94, -14, 1, 0, 848, 1676, 125, -21, 0, 255}, { 1, 0, -13, 0, -52, 2012, -66, 95, -49, 255}, { 1, 0, 15, 0, -52, 2012, -96, 47, 67, 255}, }; static Gfx gfx_rabi_LearB_0[] = { gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_rabi_LearB[0].l[0]),1 ), gsSPLight((&light_rabi_LearB[0].a ),2 ), gsSPVertex(&vtx_rabi_LearB_0[0], 5, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 3, 2, 4, 0), gsSPLight((&light_rabi_LearB[1].l[0]),1 ), gsSPLight((&light_rabi_LearB[1].a ),2 ), gsSPVertex(&vtx_rabi_LearB_0[5], 3, 0), gsSP1Triangle( 0, 1, 2, 0), gsSPLight((&light_rabi_LearB[2].l[0]),1 ), gsSPLight((&light_rabi_LearB[2].a ),2 ), gsSPVertex(&vtx_rabi_LearB_0[8], 7, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 3, 2, 4, 0), gsSP1Triangle( 2, 1, 4, 0), gsSP1Triangle( 0, 5, 1, 0), gsSP1Triangle( 3, 6, 0, 0), gsSPEndDisplayList() }; Gfx gfx_rabi_LearB[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0), gsSPTexture(0xffff,0xffff, 0, 0, G_ON), gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_rabi_LearB_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPEndDisplayList() };