/******************************************************************************** RCP_HmsCannonBody [ Oct 23, 1995 ] *********************************************************************************/ #define ShapeColor_cannon_body(R,G,B) {{R*SCALE ,G*SCALE ,B*SCALE ,0 ,R*SCALE ,G*SCALE ,B*SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } /********************************************************************************/ /* Light data of CannonBody. */ /********************************************************************************/ static Lights1 light_cannon_body[] = { ShapeColor_cannon_body(255,255,255), ShapeColor_cannon_body( 0, 0, 50), }; /********************************************************************************/ /* Texture data of CannonBody. */ /********************************************************************************/ static unsigned short cannon_steelA_txt[] = { 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0853, 0x1095, 0x18d7, 0x319b, 0x4a61, 0x73a7, 0x94ad, 0xbdf5, 0xd6b9, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x18d7, 0x39db, 0x52a1, 0x73a7, 0x9cef, 0xbdf5, 0xd6b9, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x2119, 0x39dd, 0x5ae3, 0x7be9, 0x9cef, 0xbdf5, 0xd6b9, 0xe73b, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0013, 0x0853, 0x1095, 0x2959, 0x421d, 0x6323, 0x7be9, 0xa52f, 0xbdf5, 0xd6b9, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x18d7, 0x295b, 0x4a5f, 0x6b65, 0x8c6b, 0xa52f, 0xc635, 0xd6b9, 0xe73b, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0013, 0x1095, 0x18d7, 0x319b, 0x4a5f, 0x6b65, 0x8c6b, 0xad71, 0xc635, 0xd6b9, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x18d7, 0x319b, 0x52a1, 0x6b67, 0x94ad, 0xad71, 0xc635, 0xdef9, 0xe73b, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7f, 0xe73d, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x2117, 0x319b, 0x52a1, 0x73a7, 0x94ad, 0xb5b3, 0xce77, 0xd6b9, 0xe73d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xe73d, 0xce79, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0013, 0x1095, 0x2117, 0x39dd, 0x5ae1, 0x73a7, 0x9ced, 0xb5b3, 0xce77, 0xdefb, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73d, 0xd6b9, 0xad71, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0013, 0x0853, 0x1095, 0x2117, 0x39dd, 0x5ae3, 0x7be7, 0x9cef, 0xb5b3, 0xce77, 0xdef9, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73d, 0xd6b9, 0xad71, 0x7be7, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x2119, 0x39dd, 0x5ae3, 0x7be9, 0x9cef, 0xbdf3, 0xce77, 0xdefb, 0xe73b, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73b, 0xd6b9, 0xad71, 0x7be9, 0x4a5f, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x2119, 0x421f, 0x6323, 0x8429, 0xa52f, 0xbdf5, 0xd6b9, 0xdefb, 0xe73d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xe73d, 0xce79, 0xad71, 0x7be9, 0x421f, 0x2119, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x1095, 0x2959, 0x421d, 0x6325, 0x842b, 0xa531, 0xbdf5, 0xd6b9, 0xdefb, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73b, 0xce77, 0xad71, 0x73a7, 0x4a61, 0x2119, 0x1095, 0x0011, 0x0011, 0x0011, 0x0013, 0x0013, 0x0853, 0x1095, 0x2959, 0x421f, 0x6325, 0x842b, 0xa531, 0xc635, 0xd6b9, 0xe73b, 0xef7d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73b, 0xce77, 0xa531, 0x7be9, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x18d7, 0x295b, 0x4a5f, 0x6b65, 0x94ad, 0xad71, 0xc637, 0xd6b9, 0xe73b, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73b, 0xce77, 0xa531, 0x73a7, 0x4a5f, 0x2119, 0x1095, 0x0853, 0x0011, 0x0011, 0x0011, 0x0013, 0x0853, 0x18d7, 0x319b, 0x4a5f, 0x73a7, 0x94ad, 0xb5b3, 0xc637, 0xdef9, 0xe73b, 0xef7d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73b, 0xce77, 0xa531, 0x73a7, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0013, 0x0013, 0x0853, 0x18d7, 0x319b, 0x4a61, 0x7be9, 0x9cef, 0xbdf3, 0xce77, 0xdef9, 0xe73d, 0xef7d, 0xef7f, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xdefb, 0xce77, 0xa52f, 0x73a7, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0853, 0x1095, 0x18d7, 0x319b, 0x4a61, 0x73a7, 0x9cef, 0xbdf5, 0xce77, 0xdefb, 0xe73b, 0xef7d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xdefb, 0xc637, 0xa52f, 0x73a7, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x1095, 0x2119, 0x319b, 0x52a1, 0x8429, 0xa52f, 0xbdf5, 0xd6b9, 0xdefb, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xef7d, 0xdefb, 0xc637, 0xa52f, 0x6b67, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x2119, 0x39dd, 0x6323, 0x8429, 0xa531, 0xbdf5, 0xd6b9, 0xe73b, 0xef7d, 0xef7d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7f, 0xef7d, 0xdefb, 0xc637, 0x9cef, 0x73a7, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x421d, 0x6323, 0x842b, 0xad71, 0xc635, 0xd6b9, 0xe73b, 0xe73d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7f, 0xef7d, 0xdefb, 0xc637, 0x9cef, 0x6b67, 0x421f, 0x2119, 0x1095, 0x0853, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x6325, 0x842b, 0xad71, 0xc637, 0xdef9, 0xe73b, 0xef7d, 0xef7d, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73d, 0xdefb, 0xc637, 0x9cef, 0x6b65, 0x421f, 0x2119, 0x0855, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x8c6b, 0xad71, 0xc637, 0xdef9, 0xe73b, 0xef7d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xe73d, 0xdefb, 0xc635, 0x9cef, 0x6b65, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xad73, 0xc637, 0xd6b9, 0xe73b, 0xef7d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7d, 0xef7d, 0xdefb, 0xc635, 0x9cef, 0x6b65, 0x421f, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xce77, 0xd6b9, 0xe73b, 0xef7d, 0xef7d, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xf7bf, 0xef7f, 0xef7d, 0xe73d, 0xdefb, 0xc635, 0x9cef, 0x6b67, 0x421f, 0x2119, 0x0855, 0x0013, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xd6b9, 0xe73b, 0xef7d, 0xef7d, 0xef7f, 0xef7f, 0xef7d, 0xef7f, 0xf7bf, 0xf7bf, 0xef7d, 0xe73d, 0xdef9, 0xc635, 0x9cef, 0x6b65, 0x39dd, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xe73b, 0xef7d, 0xef7d, 0xef7f, 0xef7d, 0xef7d, 0xef7d, 0xf7bf, 0xef7f, 0xef7d, 0xe73d, 0xdef9, 0xc635, 0x9cef, 0x6b65, 0x421d, 0x2119, 0x0855, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xef7d, 0xef7d, 0xef7d, 0xef7d, 0xef7f, 0xef7d, 0xef7d, 0xef7d, 0xef7d, 0xe73d, 0xd6b9, 0xbdf5, 0x9cef, 0x73a7, 0x421d, 0x2117, 0x0855, 0x0013, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xef7d, 0xef7d, 0xef7d, 0xef7d, 0xef7f, 0xf7bf, 0xef7d, 0xef7d, 0xe73d, 0xdef9, 0xbdf5, 0x94ad, 0x6b65, 0x421d, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xef7d, 0xef7d, 0xef7f, 0xef7f, 0xef7d, 0xf7bf, 0xef7d, 0xe73d, 0xdef9, 0xbdf5, 0x94ad, 0x6325, 0x421d, 0x2117, 0x1095, 0x0853, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xef7d, 0xef7d, 0xef7d, 0xef7f, 0xef7d, 0xef7d, 0xe73d, 0xdef9, 0xbdf5, 0x94ad, 0x6b65, 0x39dd, 0x2119, 0x1095, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0xef7d, 0xef7d, 0xef7d, 0xef7d, 0xef7d, 0xe73d, 0xd6b9, 0xbdf5, 0x94ad, 0x6b65, 0x39dd, 0x2117, 0x0853, 0x0013, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, }; /********************************************************************************/ /* Vertex data of CannonBody. */ /********************************************************************************/ static Vtx vtx_cannon_body_0[] = { { -40, 236, 41, 0, 176, 748, 69, 93, 205, 255}, { -56, 236, 0, 0, 64, 480, 102, 73, 13, 255}, { -81, 236, 0, 0, -98, 480, 184, 104, 9, 255}, { -57, 236, 58, 0, 60, 864, 204, 92, 68, 255}, { -40, 236, -40, 0, 176, 210, 43, 104, 58, 255}, { -57, 236, -57, 0, 60, 94, 174, 73, 194, 255}, { 0, 236, -81, 0, 444, -66, 244, 92, 171, 255}, { 0, 236, -56, 0, 444, 98, 246, 92, 86, 255}, { 41, 236, -40, 0, 714, 210, 188, 93, 51, 255}, { 58, 236, -57, 0, 830, 94, 52, 92, 187, 255}, { 57, 236, 0, 0, 826, 480, 170, 92, 246, 255}, { 82, 236, 0, 0, 990, 480, 85, 92, 244, 255}, { 58, 236, 58, 0, 830, 864, 58, 104, 43, 255}, { 41, 236, 41, 0, 714, 748, 195, 74, 174, 255}, { 0, 236, 57, 0, 444, 860, 9, 103, 184, 255}, { 0, 236, 82, 0, 444, 1022, 13, 73, 102, 255}, }; static Vtx vtx_cannon_body_1[] = { { 41, 236, 41, 0, 0, 0, 195, 74, 174, 255}, { 41, -19, 41, 0, 0, 0, 174, 74, 195, 255}, { 0, -19, 57, 0, 0, 0, 243, 73, 154, 255}, { -40, 236, -40, 0, 0, 0, 43, 104, 58, 255}, { -40, -19, -40, 0, 0, 0, 42, 115, 32, 255}, { 0, -19, -56, 0, 0, 0, 16, 42, 118, 255}, { -56, 236, 0, 0, 0, 0, 102, 73, 13, 255}, { -56, -19, 0, 0, 0, 0, 118, 42, 241, 255}, { 41, -19, -40, 0, 0, 0, 195, 74, 82, 255}, { -40, -19, 41, 0, 0, 0, 62, 74, 174, 255}, { 57, -19, 0, 0, 0, 0, 154, 73, 13, 255}, { -40, 236, 41, 0, 0, 0, 69, 93, 205, 255}, { 0, 236, 57, 0, 0, 0, 9, 103, 184, 255}, { 57, 236, 0, 0, 0, 0, 170, 92, 246, 255}, { 41, 236, -40, 0, 0, 0, 188, 93, 51, 255}, { 0, 236, -56, 0, 0, 0, 246, 92, 86, 255}, { 82, -19, 0, 0, 0, 0, 116, 206, 11, 255}, { 58, -19, 58, 0, 0, 0, 73, 206, 90, 255}, { 0, -71, 0, 0, 0, 0, 0, 130, 0, 255}, { 0, -19, 82, 0, 0, 0, 244, 206, 116, 255}, { 58, 236, 58, 0, 0, 0, 58, 104, 43, 255}, { 0, 236, 82, 0, 0, 0, 13, 73, 102, 255}, { 82, 236, 0, 0, 0, 0, 85, 92, 244, 255}, { -57, 236, 58, 0, 0, 0, 204, 92, 68, 255}, { -57, -19, 58, 0, 0, 0, 166, 207, 73, 255}, { 58, -19, -57, 0, 0, 0, 90, 207, 182, 255}, { 58, 236, -57, 0, 0, 0, 52, 92, 187, 255}, { 0, -19, -81, 0, 0, 0, 11, 207, 140, 255}, { 0, 236, -81, 0, 0, 0, 244, 92, 171, 255}, { -57, -19, -57, 0, 0, 0, 182, 207, 166, 255}, { -81, 236, 0, 0, 0, 0, 184, 104, 9, 255}, { -57, 236, -57, 0, 0, 0, 174, 73, 194, 255}, { -81, -19, 0, 0, 0, 0, 140, 207, 244, 255}, { -57, -19, -57, 0, 0, 0, 182, 207, 166, 255}, { 0, -71, 0, 0, 0, 0, 0, 130, 0, 255}, { -57, 236, -57, 0, 0, 0, 174, 73, 194, 255}, { -81, 236, 0, 0, 0, 0, 184, 104, 9, 255}, { -57, -19, 58, 0, 0, 0, 166, 207, 73, 255}, }; /********************************************************************************/ /* Graphic display list of CannonBody. */ /********************************************************************************/ static Gfx gfx_cannon_body_0[] = { gs_Tani_LoadTextureImage2(cannon_steelA_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_cannon_body[0].l[0]),1 ), gsSPLight((&light_cannon_body[0].a ),2 ), gsSPVertex(&vtx_cannon_body_0[0], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 2, 4, 5, 0), gsSP1Triangle( 2, 1, 4, 0), gsSP1Triangle( 4, 6, 5, 0), gsSP1Triangle( 4, 7, 6, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 7, 9, 6, 0), gsSP1Triangle( 8,10,11, 0), gsSP1Triangle( 8,11, 9, 0), gsSP1Triangle(10,12,11, 0), gsSP1Triangle(10,13,12, 0), gsSP1Triangle(14,15,12, 0), gsSP1Triangle(14, 3,15, 0), gsSP1Triangle(14, 0, 3, 0), gsSP1Triangle(14,12,13, 0), gsSPEndDisplayList() }; static Gfx gfx_cannon_body_1[] = { gsSPLight((&light_cannon_body[1].l[0]),1 ), gsSPLight((&light_cannon_body[1].a ),2 ), gsSPVertex(&vtx_cannon_body_1[0], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 7, 4, 0), gsSP1Triangle( 6, 4, 3, 0), gsSP1Triangle( 4, 8, 5, 0), gsSP1Triangle( 4, 7, 9, 0), gsSP1Triangle( 4, 9, 2, 0), gsSP1Triangle( 4, 2, 1, 0), gsSP1Triangle( 4, 1,10, 0), gsSP1Triangle( 4,10, 8, 0), gsSP1Triangle(11, 9, 7, 0), gsSP1Triangle(11, 7, 6, 0), gsSP1Triangle(12, 2, 9, 0), gsSP1Triangle(12, 9,11, 0), gsSP1Triangle( 0, 2,12, 0), gsSP1Triangle(13,10, 1, 0), gsSP1Triangle(13, 1, 0, 0), gsSP1Triangle(14, 8,10, 0), gsSP1Triangle(14,10,13, 0), gsSP1Triangle(15, 8,14, 0), gsSP1Triangle(15, 5, 8, 0), gsSP1Triangle( 3, 5,15, 0), gsSPVertex(&vtx_cannon_body_1[16], 16, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 1, 3, 2, 0), gsSP1Triangle( 1, 4, 5, 0), gsSP1Triangle( 1, 5, 3, 0), gsSP1Triangle( 0, 4, 1, 0), gsSP1Triangle( 0, 6, 4, 0), gsSP1Triangle( 3, 5, 7, 0), gsSP1Triangle( 3, 8, 2, 0), gsSP1Triangle( 3, 7, 8, 0), gsSP1Triangle( 9, 0, 2, 0), gsSP1Triangle( 9, 6, 0, 0), gsSP1Triangle( 9,10, 6, 0), gsSP1Triangle(11, 9, 2, 0), gsSP1Triangle(11,10, 9, 0), gsSP1Triangle(11,12,10, 0), gsSP1Triangle(13,11, 2, 0), gsSP1Triangle(13,12,11, 0), gsSP1Triangle( 8, 7,14, 0), gsSP1Triangle(13,15,12, 0), gsSPVertex(&vtx_cannon_body_1[32], 6, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gsSP1Triangle( 0, 4, 3, 0), gsSP1Triangle( 5, 0, 2, 0), gsSP1Triangle( 5, 4, 0, 0), gsSPEndDisplayList() }; Gfx gfx_cannon_body[] = { 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_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_cannon_body_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_cannon_body_1), gsSPEndDisplayList() };