/************************************************************************

		<< TEST GAME >>	
		vOpO[oϐ`wb_[

 ************************************************************************/

#define	mapnomal	4		/* ŏ}bvzuTCYPUdotɐݒ	*/
#define	mapzoom		16		/* }bv{̌					*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*		|S`p̍\̐錾										*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

typedef struct	{
	double	shapeX;
	double	shapeY;
	double	shapeZ;
}	ShapePoints;

typedef struct	{
	double	rotateX;
	double	rotateY;
	double	rotateZ;
}	RotatePoints;

typedef struct	{
	double	displayX;
	double	displayY;
}	DisplayPoints;

typedef struct {
	double	vectorX;
	double	vectorY;
	double	vectorZ;
}	Vector;

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*		mdvrł̂cq`vpbP[W									*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

typedef	struct	{

	double			wx,wy,wz;			/* JWʒu					*/
	double			ax,ay,az;			/* Jpx						*/
	double			lx,ly,lz;			/* JCgʒu					*/
	double			*worldmatrix;		/* J]sւ̃|C^		*/
	double			*lightvector;		/* CgxNgւ̃|C^		*/
	double			cx,cy,cz;			/* JWItZbgl			*/
	double			dispCX,dispCY;		/* XN[̒Sl				*/
	GC				gc;					/* GC 								*/
	int				scale;				/* VFCv̊g嗦					*/
	Pixmap			pixmap;				/* PIXMAP							*/
	char			*romP;				/* VFCvւ	ROM AhX		*/
	int				Lflag;				/* }bvVFCvIJ[tO	*/
	int				pointtotal;
	int				facetotal;
	ShapePoints		*shapeP;			/* {fB[Wñ|Cgf[^	*/
	RotatePoints	*rotateP;			/* ϊ̃|Cgf[^		*/
	DisplayPoints	*displayP;			/* ϊ̃|Cgf[^		*/
	int				*overflagP;			/* I[o[t[ptOobt@	*/

} DRAWPACK;


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*		GAf[^̃NXg										*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

typedef	struct	node{
	struct	node	*next;		/* \Ǘp̑oXg|C^	  	*/
	struct	node	*prev;	
	GroundInfo		*ground;	/* nf[^ւ̃|C^	  	*/
}	AreaInfo;


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*																		*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

extern Pixmap scaleUpPict;
extern Pixmap scaleDownPict;
extern Pixmap toolIcons[13];

extern GC bitmapGPort;			/* rbg}bvpfb					*/
extern GC pixmapGPort;			/* sNX}bvpfb					*/
extern GC viewerGPort;			/* Rcr[pfb						*/

extern MenuPtr fileMenu;		/* t@CEj[ւ̃|C^		*/
extern MenuPtr editMenu;		/* GfBbgEj[ւ̃|C^		*/
extern MenuPtr windowMenu;		/* EBhEEj[ւ̃|C^		*/
extern MenuPtr optionMenu;		/* IvVEj[ւ̃|C^		*/
extern MenuPtr objectMenu;		/* IuWFNgEj[ւ̃|C^	*/
extern MenuPtr groupMenu;		/* O[vEj[ւ̃|C^		*/
extern MenuPtr mtoolMenu;		/* f[c[Ej[ւ̃|C^	*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*																		*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

#define	defaultBACK		0x00		/* 	VXewiFpbgԍ		*/
#define	defaultPIXEL	0x01		/*	VXe`Fpbgԍ		*/

#define	TRUE			1			/* ^ł	( 0 ȊO )				*/
#define	FALSE			0			/* Uł	( 0 )					*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*																		*/
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

#define	AngleParam		1024		/* RUOx܂ł̕				*/

