// #include <stdio.h>
// #include <ctype.h>
// #include <malloc.h>
// #include <memory.h>
// #include <string.h>
// #include <io.h>
// #include <dos.h>
// #include <stdlib.h>
// #include <egb.h>
// #include <fmcfrb.h>
// #include <conio.h>
// #include <spr.h>
// #include <snd.h>

typedef	unsigned char	uchar;
typedef	unsigned char	byte;
typedef	unsigned short	ushort;
typedef	unsigned int	uint;
typedef	unsigned long	ulong;
typedef	unsigned char	bool;
typedef	unsigned char	status;

#define	YES	((bool)1)
#define	NO	((bool)0)

#ifndef	TRUE
	#define	TRUE	((bool)1)
#endif

#ifndef	FALSE
	#define	FALSE	((bool)0)
#endif

#define	OK		((status)0)
#define	ERROR	((status)-1)

#define	VOID	void
#define	BOOL	bool
#define	STATUS	status

#define	iskanji(c)	((0x80<(c)&&(c)<0xa0)||(0xdf<(c)&&(c)<0xfd))
#define	swap(a,b)	{ int t;  t=a;  a=b;  b=t; }

#define	Begin	{
#define	End		}

typedef struct {
	char		*buf;
	short int	bufsel;
	short int	x1,y1,x2,y2;
} para_putBlock;

typedef struct {
	short int	num;
	short int	x,y;
} para_pset;
