#include<ultra64.h>
/*   2 Materials */

extern Vtx gate04_v[];
extern Lights1 gate04_material[];

extern unsigned short f_gate01_txt[];
extern unsigned short f_gate02_txt[];

#define	gsKDPLoadTextureBlock(timg, fmt, siz, loadtile, rendertile,	\
		tmem, width, height,					\
		cms, cmt, masks, maskt, shifts, shiftt)			\
									\
	gsDPSetTextureImage(fmt, siz##_LOAD_BLOCK, 1, timg),		\
	gsDPSetTile(fmt, siz##_LOAD_BLOCK, 0, tmem, loadtile, 0,	\
		cmt, maskt, shiftt, cms, masks, shifts),		\
	gsDPLoadSync(),							\
	gsDPLoadBlock(loadtile, 0, 0,	 				\
		(((width)*(height) + siz##_INCR) >> siz##_SHIFT)-1,	\
		CALC_DXT(width, siz##_BYTES)), 				\
	gsDPPipeSync(),							\
	gsDPSetTile(fmt, siz, ((((width) * siz##_LINE_BYTES)+7)>>3),	\
		tmem, rendertile, 0,					\
		cmt, maskt, shiftt, cms, masks, shifts),		\
	gsDPSetTileSize(rendertile, 0, 0,				\
		((width)-1) << G_TEXTURE_IMAGE_FRAC,			\
		((height)-1) << G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

Gfx set_tex_gate03[]={
	gsDPPipeSync(),
	gsKDPLoadTextureBlock( f_gate02_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 7,1, 0, 32,32, G_TX_WRAP,G_TX_WRAP, 5,5, G_TX_NOLOD,G_TX_NOLOD),
	gsKDPLoadTextureBlock( f_gate01_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 7,0, 256, 32,32, G_TX_WRAP,G_TX_WRAP, 5,5, G_TX_NOLOD,G_TX_NOLOD),
	gsSPEndDisplayList(),
};

extern	Gfx gate03_model[]={
	gsSPTexture( 0xFFFF,0xFFFF, 0, 1, G_ON ),

	gsSPVertex(&gate04_v[0],12,0),
	gsSP2Triangles(0, 1, 2, 0, 0, 3, 1, 0),
	gsSP2Triangles(4, 5, 6, 0, 4, 7, 5, 0),
	gsSP2Triangles(8, 9, 10, 0, 9, 11, 10, 0),

	gsSPTexture( 0xFFFF,0xFFFF, 0, 0, G_ON ),

	gsSPVertex(&gate04_v[12],32,0),
	gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
	gsSP2Triangles(4, 5, 6, 0, 7, 8, 9, 0),
	gsSP2Triangles(9, 10, 11, 0, 10, 12, 11, 0),
	gsSP2Triangles(13, 14, 15, 0, 13, 16, 17, 0),
	gsSP2Triangles(18, 19, 20, 0, 21, 22, 9, 0),
	gsSP2Triangles(23, 24, 25, 0, 26, 27, 28, 0),
	gsSP2Triangles(8, 29, 30, 0, 31, 8, 30, 0),

	gsSPVertex(&gate04_v[44],18,0),
	gsSP2Triangles(0, 1, 2, 0, 0, 3, 4, 0),
	gsSP2Triangles(5, 6, 7, 0, 5, 8, 6, 0),
	gsSP2Triangles(9, 10, 11, 0, 12, 11, 13, 0),
	gsSP2Triangles(12, 14, 11, 0, 15, 16, 17, 0),
	gsSPEndDisplayList(),
}; /* db */ 

#undef G_CC_PRIMSHADE
#undef gs_Nin_LoadTextureImage
#undef gs_Nin_SetUpTileDescrip
/*  68 vertices */
Vtx gate04_v[]={
	{    33,    33,   111,     0,    -7, -3099,   255,   255,   255,   255},	/* 0 */
	{    66,     0,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 1 */
	{    66,     0,   111,     0,  1016, -3099,   255,   255,   255,   255},	/* 2 */
	{    33,    33,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 3 */
	{   -33,    33,   111,     0,    11, -3080,   255,   255,   255,   255},	/* 4 */
	{    33,    33,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 5 */
	{    33,    33,   111,     0,  1035, -3080,   255,   255,   255,   255},	/* 6 */
	{   -33,    33,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 7 */
	{   -66,     0,   111,     0,   -11, -3066,   255,   255,   255,   255},	/* 8 */
	{   -66,     0,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 9 */
	{   -33,    33,   111,     0,  1012, -3066,   255,   255,   255,   255},	/* 10 */
	{   -33,    33,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 11 */
	{   -33,    62,   111,     0,  1013, -3068,   255,   255,   255,   255},	/* 12 */
	{    33,    62,   111,     0,   -10, -3068,   255,   255,   255,   255},	/* 13 */
	{    33,    62,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 14 */
	{   -33,    62,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 15 */
	{   -66,     0,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 16 */
	{   -66,   -23,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 17 */
	{  -102,    -5,  -111,     0,  1024,     0,   255,   255,   255,   255},	/* 18 */
	{   -66,     0,  -111,     0,     0,  1024,   255,   255,   255,   255},	/* 19 */
	{  -102,    -5,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 20 */
	{   -33,    62,  -111,     0,  1024,     0,   255,   255,   255,   255},	/* 21 */
	{    33,    62,  -111,     0,     0,     0,   255,   255,   255,   255},	/* 22 */
	{   -33,    33,  -111,     0,  1024,  1024,   255,   255,   255,   255},	/* 23 */
	{    33,    33,  -111,     0,     0,  1024,   255,   255,   255,   255},	/* 24 */
	{    33,    62,  -111,     0,  1024,     0,   255,   255,   255,   255},	/* 25 */
	{   102,    -5,  -111,     0,  1024,  1024,   255,   255,   255,   255},	/* 26 */
	{    66,     0,  -111,     0,     0,  1024,   255,   255,   255,   255},	/* 27 */
	{    66,     0,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 28 */
	{    33,    33,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 29 */
	{   102,    -5,  -111,     0,  1024,     0,   255,   255,   255,   255},	/* 30 */
	{    66,   -23,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 31 */
	{    66,     0,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 32 */
	{   -33,    33,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 33 */
	{   -66,     0,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 34 */
	{    33,    33,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 35 */
	{    66,     0,   111,     0,     0,  1023,   255,   255,   255,   255},	/* 36 */
	{    33,    62,   111,     0,  1024,     0,   255,   255,   255,   255},	/* 37 */
	{  -102,    -5,   111,     0,  1024,     0,   255,   255,   255,   255},	/* 38 */
	{   -66,   -23,   111,     0,     0,  1023,   255,   255,   255,   255},	/* 39 */
	{   -66,     0,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 40 */
	{  -102,    -5,   111,     0,  1025, -3102,   255,   255,   255,   255},	/* 41 */
	{   -33,    62,   111,     0,     1, -3102,   255,   255,   255,   255},	/* 42 */
	{   -33,    62,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 43 */
	{   -33,    62,   111,     0,  1024,     0,   255,   255,   255,   255},	/* 44 */
	{   -66,     0,   111,     0,     0,  1023,   255,   255,   255,   255},	/* 45 */
	{   -33,    33,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 46 */
	{  -102,    -5,   111,     0,  1024,  1024,   255,   255,   255,   255},	/* 47 */
	{   -66,     0,   111,     0,     0,  1024,   255,   255,   255,   255},	/* 48 */
	{    33,    62,   111,     0,  1032, -3081,   255,   255,   255,   255},	/* 49 */
	{   102,    -5,  -111,     0,     0,  1023,   255,   255,   255,   255},	/* 50 */
	{    33,    62,  -111,     0,  1024,  1023,   255,   255,   255,   255},	/* 51 */
	{   102,    -5,   111,     0,     8, -3081,   255,   255,   255,   255},	/* 52 */
	{    66,     0,   111,     0,     0,  1024,   255,   255,   255,   255},	/* 53 */
	{   102,    -5,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 54 */
	{    33,    62,   111,     0,  1024,     0,   255,   255,   255,   255},	/* 55 */
	{   -33,    33,   111,     0,     0,  1024,   255,   255,   255,   255},	/* 56 */
	{   -33,    62,   111,     0,     0,     0,   255,   255,   255,   255},	/* 57 */
	{    33,    33,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 58 */
	{    66,     0,   111,     0,  1024,  1023,   255,   255,   255,   255},	/* 59 */
	{    66,   -23,   111,     0,     0,  1023,   255,   255,   255,   255},	/* 60 */
	{   102,    -5,   111,     0,  1024,     0,   255,   255,   255,   255},	/* 61 */
};


/**/
#ifndef TTX_f_gate01_txt
#define TTX_f_gate01_txt
unsigned short f_gate01_txt[] = {
	0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 
	0x93dd, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xd5a9, 0xd5a9, 0xcd67, 0xd5eb, 0xddeb, 0xc567, 0xbce5, 0xbce5, 0xb4a3, 0xa421, 0xa41f, 0xa41f, 0xa421, 0xaca3, 0xac61, 0xc527, 0xcda9, 0xcd67, 0xcd67, 0xcd67, 0xcda9, 0xd5a9, 0xde2b, 0xe62b, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xddeb, 0xde2b, 0xd5a9, 0xcd69, 0xc527, 0xc527, 0xcd67, 0xac63, 0xb4a3, 0xa41f, 0xa421, 0xa41f, 0xa41f, 0xb4a3, 0xc525, 0xc527, 0xb4a3, 0xcd67, 0xcda9, 0xcda9, 0xd5eb, 0xd5a9, 0xde2b, 0xde2b, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xcd69, 0xbce5, 0xcd67, 0xd5a9, 0xcd67, 0xbce5, 0xb4a3, 0xb4a3, 0xb4a3, 0xa421, 0xa41f, 0xa421, 0xac61, 0xac61, 0xb4a3, 0xbd25, 0xc525, 0xc527, 0xc527, 0xbce5, 0xc527, 0xcd67, 0xcd67, 0xd5a9, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xcda9, 0xcd69, 0xbce5, 0xbce5, 0xc527, 0xc527, 0xbce5, 0xac61, 0xac61, 0xac61, 0xac61, 0xa421, 0xa421, 0xac61, 0xb4a3, 0xbce5, 0xc527, 0xbd25, 0xc527, 0xcd67, 0xc567, 0xcda9, 0xcda9, 0xddeb, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xc567, 0xcd67, 0xd5e9, 0xcd67, 0xbce5, 0xb4a3, 0xb4a3, 0xbca5, 0xac61, 0xa421, 0xa421, 0xa41f, 0xa421, 0xac61, 0xb4a3, 0xac63, 0xb4a3, 0xbce5, 0xc527, 0xc527, 0xbce5, 0xbd25, 0xcd67, 0xc567, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x1, 0x1, 0xf62f, 0x3149, 0xd5a9, 0xcd67, 0xaca3, 0xbce5, 0xb4a3, 0x314b, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x314b, 0xb4a3, 0xc567, 0xbce5, 0xc567, 0xcd67, 0x3149, 0xf62f, 0x1, 0x1, 
	0x1, 0x1, 0xf62f, 0x3149, 0xb4a3, 0xbce5, 0xbca5, 0xb4a3, 0xbce5, 0x418d, 0x314b, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x2909, 0x314b, 0x418d, 0xc567, 0xbd25, 0xbd25, 0xc525, 0xcd67, 0x3149, 0xf62f, 0x1, 0x1, 
	0x3991, 0x3991, 0xf62f, 0x3149, 0xcd67, 0xc527, 0xc525, 0xc525, 0xac61, 0x418d, 0x418d, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x418d, 0x418d, 0xbd25, 0xbce5, 0xc567, 0xc527, 0xbce5, 0x3149, 0xf62f, 0x3991, 0x3991, 
	0x6a9d, 0x6a9d, 0xf62f, 0x3149, 0xb4a3, 0xc525, 0xac61, 0xac61, 0xa421, 0x418d, 0x418d, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x418d, 0x418d, 0xc527, 0xbd25, 0xc527, 0xbce5, 0xc567, 0x3149, 0xf62f, 0x6a9d, 0x6a9d, 
	0x6a9d, 0x6a9d, 0xf62f, 0x3149, 0xa41f, 0xa421, 0xa421, 0xac61, 0xac61, 0x418d, 0x418d, 0x1, 0x1, 0x801, 0x2801, 0x3801, 0x3801, 0x2801, 0x801, 0x1, 0x1, 0x418d, 0x418d, 0xac63, 0xac61, 0xbce5, 0xbce5, 0xb4e3, 0x3149, 0xf62f, 0x6a9d, 0x6a9d, 
	0x1, 0x1, 0xf62f, 0x3149, 0xac61, 0xac61, 0xa421, 0xa41f, 0x9bdf, 0x418d, 0x418d, 0x1, 0x1, 0x2801, 0x8841, 0xb941, 0xb941, 0x8841, 0x2801, 0x1, 0x1, 0x418d, 0x418d, 0x9bdf, 0xa421, 0xa421, 0xa41f, 0xac61, 0x3149, 0xf62f, 0x1, 0x1, 
	0x1, 0x1, 0xf62f, 0x3149, 0x9bdf, 0x9bdf, 0xa41f, 0xa41f, 0xa41f, 0x418d, 0x418d, 0x1, 0x1, 0x3801, 0xb941, 0xf3c1, 0xf3c1, 0xb941, 0x3801, 0x1, 0x1, 0x418d, 0x418d, 0x9bdf, 0xa41f, 0x9bdf, 0xa41f, 0x9bdf, 0x3149, 0xf62f, 0x1, 0x1, 
	0x1, 0x1, 0xf62f, 0x3149, 0xa41f, 0xa41f, 0xa41f, 0xa41f, 0xa41f, 0x418d, 0x418d, 0x1, 0x1, 0x3801, 0xb941, 0xf3c1, 0xf3c1, 0xb941, 0x3801, 0x1, 0x1, 0x418d, 0x418d, 0x9bdf, 0xa41f, 0x9bdf, 0xa41f, 0x9bdf, 0x3149, 0xf62f, 0x1, 0x1, 
	0x1, 0x1, 0xf62f, 0x3149, 0xac61, 0xa41f, 0xa421, 0xa41f, 0x9bdf, 0x418d, 0x418d, 0x1, 0x1, 0x2801, 0x8841, 0xb941, 0xb941, 0x8841, 0x2801, 0x1, 0x1, 0x418d, 0x418d, 0x93dd, 0xa41f, 0x9bdf, 0xa421, 0x93dd, 0x3149, 0xf62f, 0x1, 0x1, 
	0x6a9d, 0x6a9d, 0xf62f, 0x3149, 0xa421, 0xac61, 0xac61, 0xa421, 0xac61, 0x418d, 0x418d, 0x1, 0x1, 0x801, 0x2801, 0x3801, 0x3801, 0x2801, 0x801, 0x1, 0x1, 0x418d, 0x418d, 0x9bdf, 0x9bdf, 0x93dd, 0x9bdf, 0x9bdf, 0x3149, 0xf62f, 0x6a9d, 0x6a9d, 
	0x6a9d, 0x6a9d, 0xf62f, 0x3149, 0xb4a3, 0xaca3, 0xbce5, 0xac63, 0xac63, 0x418d, 0x418d, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x418d, 0x418d, 0xaca3, 0xac61, 0xb4a3, 0xa421, 0xa41f, 0x3149, 0xf62f, 0x6a9d, 0x6a9d, 
	0x3991, 0x3991, 0xf62f, 0x3149, 0xbca5, 0xbce5, 0xb4a3, 0xb4a3, 0xb4a3, 0x418d, 0x418d, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x418d, 0x418d, 0xbce5, 0xb4a3, 0xac61, 0xac61, 0xb4a3, 0x3149, 0xf62f, 0x3991, 0x3991, 
	0x1, 0x1, 0xf62f, 0x3149, 0xbce5, 0xbd25, 0xbd25, 0xc527, 0xb4a3, 0x418d, 0xa421, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xa421, 0x418d, 0xb4a3, 0xbd25, 0xc527, 0xc527, 0xac61, 0x3149, 0xf62f, 0x1, 0x1, 
	0x1, 0x1, 0xf62f, 0x3149, 0xbce5, 0xcda9, 0xb4a3, 0xc527, 0xc527, 0xa421, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xa421, 0xc527, 0xc567, 0xbce5, 0xcd67, 0xc567, 0x3149, 0xf62f, 0x1, 0x1, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xb4a3, 0xc525, 0xbd25, 0xc567, 0xb4a3, 0xc527, 0xbce5, 0xbce5, 0xb4a3, 0xa421, 0xbce5, 0xb4a3, 0xb4a3, 0xaca3, 0xbce5, 0xc567, 0xbce5, 0xac61, 0xac61, 0xbd25, 0xcd67, 0xbd25, 0xc525, 0xc527, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xcd67, 0xb4e3, 0xc527, 0xc527, 0xc527, 0xcd67, 0xc527, 0xac63, 0xb4a3, 0xac61, 0xa421, 0xac63, 0xc525, 0xbce5, 0xc525, 0xaca3, 0xb4a3, 0xcda7, 0xd5e9, 0xc567, 0xbd25, 0xc525, 0xcd67, 0xc527, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xbca5, 0xbce5, 0xc527, 0xbd25, 0xc527, 0xbce5, 0xbce5, 0xc525, 0xc527, 0xbce5, 0xb4a3, 0xb4a3, 0xac61, 0xb4a3, 0xc527, 0xc567, 0xd5a9, 0xc525, 0xbce5, 0xb4e3, 0xcd67, 0xcda9, 0xc527, 0xd5a9, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xcd67, 0xbce5, 0xbce5, 0xc525, 0xbce5, 0xc525, 0xcd67, 0xbd25, 0xb4a3, 0xb4a3, 0xac61, 0xbce5, 0xcd67, 0xcd67, 0xc525, 0xcd67, 0xb4a3, 0xb4a3, 0xbd25, 0xc567, 0xc525, 0xc527, 0xb4a3, 0xbd25, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0xcd69, 0xcda9, 0xc525, 0xbce5, 0xcd67, 0xc527, 0xbce5, 0xbce5, 0xc527, 0xbd25, 0xbce5, 0xbce5, 0xb4e3, 0xbce5, 0xbce5, 0xbce5, 0xc567, 0xddeb, 0xcd67, 0xcd67, 0xb4e3, 0xc525, 0xcd67, 0xddeb, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0x3149, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0xf62f, 0x1, 0x93dd, 
	0x93dd, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x93dd, 
	0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 0x93dd, 
};
#endif

#ifndef TTX_f_gate02_txt
#define TTX_f_gate02_txt
unsigned short f_gate02_txt[] = {
	0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 
	0x5187, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x724b, 0x724b, 0x6a09, 0x724b, 0x724b, 0x6a09, 0x61c9, 0x61c9, 0x61c9, 0x5989, 0x5987, 0x5187, 0x5989, 0x59c9, 0x59c9, 0x6a09, 0x724b, 0x6a09, 0x6a09, 0x6a09, 0x720b, 0x724b, 0x724b, 0x7a8b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x724b, 0x7a4b, 0x724b, 0x6a0b, 0x6a09, 0x6a09, 0x6a09, 0x59c9, 0x59c9, 0x5187, 0x5989, 0x5987, 0x5187, 0x61c9, 0x6a09, 0x6a09, 0x61c9, 0x6a09, 0x720b, 0x724b, 0x724b, 0x724b, 0x724b, 0x7a8b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x720b, 0x6209, 0x6a09, 0x724b, 0x6a09, 0x61c9, 0x61c9, 0x61c9, 0x61c9, 0x5989, 0x5987, 0x5989, 0x59c9, 0x59c9, 0x59c9, 0x6209, 0x6a09, 0x6a09, 0x6a09, 0x61c9, 0x6a09, 0x6a09, 0x6a09, 0x724b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x724b, 0x6a0b, 0x6209, 0x61c9, 0x6a09, 0x6a09, 0x61c9, 0x59c9, 0x59c9, 0x5989, 0x5989, 0x5989, 0x5989, 0x5989, 0x61c9, 0x61c9, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x6a09, 0x724b, 0x724b, 0x724b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x6a09, 0x6a09, 0x724b, 0x6a09, 0x61c9, 0x61c9, 0x61c9, 0x61c9, 0x5989, 0x5989, 0x5989, 0x5187, 0x5989, 0x5989, 0x61c9, 0x59c9, 0x61c9, 0x61c9, 0x6a09, 0x6a09, 0x6209, 0x6209, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x5187, 
	0x1, 0x1, 0x824b, 0x1883, 0x724b, 0x6a09, 0x59c9, 0x61c9, 0x61c9, 0x1883, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1883, 0x61c9, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x1, 
	0x1, 0x1, 0x824b, 0x1883, 0x61c9, 0x61c9, 0x61c9, 0x59c9, 0x61c9, 0x2083, 0x1883, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1041, 0x1883, 0x2083, 0x6a09, 0x6209, 0x6209, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x1, 
	0x2085, 0x2085, 0x824b, 0x1883, 0x6a09, 0x6a09, 0x6a09, 0x6a09, 0x59c9, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x61c9, 0x1883, 0x824b, 0x2085, 0x2085, 
	0x3907, 0x3907, 0x824b, 0x1883, 0x61c9, 0x6a09, 0x5989, 0x59c9, 0x5989, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x6a09, 0x6209, 0x6a09, 0x6209, 0x6a09, 0x1883, 0x824b, 0x3907, 0x3907, 
	0x3907, 0x3907, 0x824b, 0x1883, 0x5987, 0x5989, 0x5989, 0x5989, 0x5989, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1801, 0x2001, 0x2001, 0x1801, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x59c9, 0x59c9, 0x61c9, 0x6209, 0x61c9, 0x1883, 0x824b, 0x3907, 0x3907, 
	0x1, 0x1, 0x824b, 0x1883, 0x5989, 0x5989, 0x5989, 0x5987, 0x5187, 0x2083, 0x2083, 0x1, 0x1, 0x1801, 0x4801, 0x6081, 0x6081, 0x4801, 0x1801, 0x1, 0x1, 0x2083, 0x2083, 0x5187, 0x5989, 0x5989, 0x5187, 0x59c9, 0x1883, 0x824b, 0x1, 0x1, 
	0x1, 0x1, 0x824b, 0x1883, 0x5187, 0x5187, 0x5187, 0x5987, 0x5187, 0x2083, 0x2083, 0x1, 0x1, 0x2001, 0x6081, 0x8181, 0x8181, 0x6081, 0x2001, 0x1, 0x1, 0x2083, 0x2083, 0x5187, 0x5187, 0x5187, 0x5987, 0x5187, 0x1883, 0x824b, 0x1, 0x1, 
	0x1, 0x1, 0x824b, 0x1883, 0x5187, 0x5987, 0x5987, 0x5187, 0x5987, 0x2083, 0x2083, 0x1, 0x1, 0x2001, 0x6081, 0x8181, 0x8181, 0x6081, 0x2001, 0x1, 0x1, 0x2083, 0x2083, 0x5187, 0x5987, 0x5187, 0x5187, 0x5187, 0x1883, 0x824b, 0x1, 0x1, 
	0x1, 0x1, 0x824b, 0x1883, 0x59c9, 0x5187, 0x5989, 0x5187, 0x5187, 0x2083, 0x2083, 0x1, 0x1, 0x1801, 0x4801, 0x6081, 0x6081, 0x4801, 0x1801, 0x1, 0x1, 0x2083, 0x2083, 0x5187, 0x5987, 0x5187, 0x5989, 0x5187, 0x1883, 0x824b, 0x1, 0x1, 
	0x3907, 0x3907, 0x824b, 0x1883, 0x5989, 0x59c9, 0x5989, 0x5989, 0x5989, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1801, 0x2001, 0x2001, 0x1801, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x1883, 0x824b, 0x3907, 0x3907, 
	0x3907, 0x3907, 0x824b, 0x1883, 0x61c9, 0x59c9, 0x61c9, 0x59c9, 0x59c9, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x59c9, 0x59c9, 0x61c9, 0x5989, 0x5187, 0x1883, 0x824b, 0x3907, 0x3907, 
	0x2085, 0x2085, 0x824b, 0x1883, 0x61c9, 0x6209, 0x61c9, 0x61c9, 0x61c9, 0x2083, 0x2083, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x2083, 0x2083, 0x61c9, 0x61c9, 0x59c9, 0x5989, 0x61c9, 0x1883, 0x824b, 0x2085, 0x2085, 
	0x1, 0x1, 0x824b, 0x1883, 0x6209, 0x6209, 0x6209, 0x6a09, 0x61c9, 0x2083, 0x5989, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x5989, 0x2083, 0x61c9, 0x6209, 0x6a09, 0x6a09, 0x59c9, 0x1883, 0x824b, 0x1, 0x1, 
	0x1, 0x1, 0x824b, 0x1883, 0x61c9, 0x720b, 0x61c9, 0x6a09, 0x6a09, 0x5989, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x5989, 0x6a09, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x1, 
	0x5187, 0x1, 0x824b, 0x1883, 0x61c9, 0x6a09, 0x6209, 0x6a09, 0x61c9, 0x6a09, 0x61c9, 0x6209, 0x61c9, 0x5989, 0x61c9, 0x61c9, 0x61c9, 0x59c9, 0x6209, 0x6a09, 0x6209, 0x59c9, 0x59c9, 0x6a09, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x6a09, 0x61c9, 0x6a09, 0x6a09, 0x6a09, 0x6a09, 0x6a09, 0x59c9, 0x61c9, 0x5989, 0x5989, 0x59c9, 0x6a09, 0x61c9, 0x6a09, 0x59c9, 0x61c9, 0x6a09, 0x724b, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x6a09, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x61c9, 0x61c9, 0x6a09, 0x6209, 0x6a09, 0x61c9, 0x61c9, 0x6a09, 0x6a09, 0x61c9, 0x61c9, 0x61c9, 0x5989, 0x59c9, 0x6a09, 0x6a09, 0x724b, 0x6a09, 0x6209, 0x61c9, 0x6a09, 0x720b, 0x6a09, 0x724b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x6a09, 0x61c9, 0x6209, 0x6a09, 0x61c9, 0x6a09, 0x6a09, 0x6a09, 0x61c9, 0x59c9, 0x59c9, 0x61c9, 0x6a09, 0x6a09, 0x6a09, 0x6a09, 0x61c9, 0x59c9, 0x6a09, 0x6a09, 0x6a09, 0x6a09, 0x61c9, 0x6209, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x6a0b, 0x720b, 0x6a09, 0x6209, 0x6a09, 0x6a09, 0x61c9, 0x61c9, 0x6a09, 0x6a09, 0x61c9, 0x61c9, 0x61c9, 0x61c9, 0x6209, 0x61c9, 0x6a09, 0x724b, 0x6a09, 0x6a09, 0x61c9, 0x6a09, 0x6a09, 0x724b, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x1883, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x824b, 0x1, 0x5187, 
	0x5187, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x5187, 
	0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 0x5187, 
};
#endif

