#ifndef MKISOSU_H_INCLUDED
	#define MKISOSU_H_INCLUDED
	#define EXTERN 
#else
	#define EXTERN extern
#endif

EXTERN int otoko_only;
EXTERN int onna_only;

EXTERN double Rorei_New[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][4];
EXTERN double Shogai_New[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3][3];
EXTERN double Izoku_New[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3];
EXTERN double Rorei_Old[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][9];
EXTERN double Shogai_Old[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3][3];
EXTERN double Izoku_Old[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3][3];
EXTERN double FurikaeKasan[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3];
EXTERN double Rorei_New_JURAI[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][4];
EXTERN double FurikaeKasan_JURAI[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3];
EXTERN double Shogai_New_JURAI[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3][3];
EXTERN double Izoku_New_JURAI[6][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3][3];

EXTERN double Kyufu[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][KYUFU_TAISHOU][SHIKYU_KEITAI][ZENGO_KIKAN];
EXTERN double Kyufu_Nendomatu[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][KYUFU_TAISHOU][SHIKYU_KEITAI][ZENGO_KIKAN];
EXTERN double Kyufu_Nendomatu_P[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][KYUFU_TAISHOU][SHIKYU_KEITAI][ZENGO_KIKAN];

EXTERN double Kokko[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][SHIKYU_KEITAI][ZENGO_KIKAN];
EXTERN double Kokko_Nendomatu[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][SHIKYU_KEITAI][ZENGO_KIKAN];
EXTERN double Kokko_Nendomatu_P[SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][SHINKYU][KYUFU_KUBUN][SHIKYU_KEITAI][ZENGO_KIKAN];

EXTERN double Kyoshutukin[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];
EXTERN double Kyoshutukin_Nendomatu[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];
EXTERN double Kyoshutukin_Nendomatu_P[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];

EXTERN double Kyoshutukin_Kokko[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];
EXTERN double Kyoshutukin_Kokko_Nendomatu[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];
EXTERN double Kyoshutukin_Kokko_Nendomatu_P[DETAIL_SEIDO_KUBUN][SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][ZENGO_KIKAN];

EXTERN double Tanka[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];
EXTERN double Tanka_Nendomatu[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];
EXTERN double Tanka_Nendomatu_P[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];

EXTERN double Tanka_K[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];

EXTERN double Tanka_Kokko[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];
EXTERN double Tanka_Kokko_Nendomatu[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];
EXTERN double Tanka_Kokko_Nendomatu_P[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][3];

EXTERN double Tokubetukokko[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][7][3][3]; 
EXTERN double Tokubetukokko_Nendomatu[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][7][3][3];
EXTERN double Tokubetukokko_Nendomatu_P[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - NENREI_SUM + 1][7][3][3];

EXTERN double SanteiTaishou[9][SOTOWAKU_SAISHUNENDO - SHONENDO + 1][4];
EXTERN double Hiho_Kokunen[SOTOWAKU_SAISHUNENDO - SHONENDO + 1];
EXTERN double Sankyu_Taishou[SOTOWAKU_SAISHUNENDO - SHONENDO + 1];

EXTERN double Kokko_Wariai[SAISHUNENDO - ( SHONENDO - 1 ) + 1];
EXTERN double tokubetu_kokko_wariai[SAISHUNENDO - ( SHONENDO - 1 ) + 1][7];
EXTERN double K_Wariai[9][SAISHUNENDO - ( SHONENDO - 1 ) + 1];

EXTERN double Cut_ritu[SAISHUNENDO - SHONENDO + 1][MAX_JUKYU - UNDER_63 + 1];

EXTERN double Tumatumi[7][SAISHUNENDO - SHONENDO + 1];
EXTERN double Tumatumi_2014[7];
EXTERN double i_rate_tumatumi[SAISHUNENDO - SHONENDO + 1];


