|
@@ -57,7 +57,8 @@ int main(int argc,char** argv)
|
|
|
int refresh_time=100; //how long the program waits before refreshing the screen
|
|
|
int chflag=0; //cheat flag: 0=normal, 1=cheats allowed.
|
|
|
int num=0;
|
|
|
- int commands[CMD_NUM]={'a','d','w','s','p',' ','l','m','q'};
|
|
|
+ int commands[CMD_NUM];
|
|
|
+ read_commands(commands); //0:left,1:right,2:up,3:down,4:pause,5:shoot1,6:shoot2,7:mute,8:quit
|
|
|
|
|
|
WINDOW *Score,*BossHP;
|
|
|
|