こちらのサイトで勉強しながらSTG作っていますが
キーコンフィグに対応させてみようで
typedef struct{
int flag;
int cnt;
int power;
int point;
int score;
int num;
int mutekicnt;
int shot_mode;
int money;
int img;
int slow;
double x,y;
}ch_t;
typedef struct{
int key[PAD_MAX];
}pad_t;
typedef struct{
int left,up,right,down,shot,bom,slow,start,change;
}configpad_t;
何か抜けているのでしょうか もよくわかりません。