#ifndef MFILE_OPEN_H_INCLUDED
	#define MFILE_OPEN_H_INCLUDED
	#define EXTERN 
#else
	#define EXTERN extern
#endif

#define INFILE_NUM			43

#define OUTFILE_NUM			18

EXTERN FILE *fp_in[INFILE_NUM ];
EXTERN FILE *fp_out[ OUTFILE_NUM ];
EXTERN char infile_name[INFILE_NUM][BUFFER_MAX];
EXTERN char outfile_name[OUTFILE_NUM][BUFFER_MAX];

#define YUUSHI	0

#define KEIZAI		6
#define KAITEI		7
#define TANNEN_CUT	8
#define DOKUZI		9
#define HOKEN		10

#define SOTOWAKU_START		11

#define KOKUNEN_1GOU		11
#define KOUNEN_2GOU		12
#define KOKKYOU_2GOU		13
#define CHIKYOU_2GOU		14
#define SIGAKU_2GOU		15
#define KOUNEN_3GOU_12SYU	16
#define KOUNEN_3GOU_3SYU	17
#define KOKKYOU_3GOU		18
#define CHIKYOU_3GOU		19
#define SIGAKU_3GOU		20
#define JR_2GOU			21
#define JT_2GOU			22
#define NOURIN_2GOU		23
#define JR_3GOU			24
#define JT_3GOU			25
#define NOURIN_3GOU		26

#define SOTOWAKU_PART_START		27

#define WAKU_1GOU_TO_PART		27
#define WAKU_PART_TO_2GOU		28
#define WAKU_KOUNEN_3GOU_TO_PART	29
#define WAKU_KOKKYOU_3GOU_TO_PART	30
#define WAKU_CHIKYOU_3GOU_TO_PART	31
#define WAKU_SIGAKU_3GOU_TO_PART 	32
#define KAKUDAI_1GOU_TO_PART		33
#define KAKUDAI_PART_TO_2GOU		34
#define KAKUDAI_KOUNEN_3GOU_TO_PART	35
#define KAKUDAI_KOKKYOU_3GOU_TO_PART	36
#define KAKUDAI_CHIKYOU_3GOU_TO_PART	37
#define KAKUDAI_SIGAKU_3GOU_TO_PART 	38
#define zisseki_hosei			39
#define CUT				40
#define TUMATUMI_RATE			41
#define CUT_K				42
#define SETTEI				0

#define KYOSHUTUKIN			6
#define TUMATUMI_OUT			7
#define KEKKA_b				8
#define KEKKA_KOKKO_b			9
#define KEKKA_a				10
#define KEKKA_KOKKO_a			11
#define TOKUBETU_NENDOKAN_01		12
#define TOKUBETU_NENDOMATU_01		13
#define TOKUBETU_NENDOKAN_02		14
#define TOKUBETU_NENDOMATU_02		15
#define CUTA				16
#define OUTPUT				17

