};
for(int bulletloop = 1; bulletloop<8; bulletloop=bulletloop+2){
- strcpy (pods[bulletloop].line0, " - ");
- strcpy (pods[bulletloop].line1, " - ");
+ strcpy (bullets[bulletloop].line0, " - ");
+ strcpy (bullets[bulletloop].line1, " - ");
};
int loopvar = 0;
int input = 0;
- int podloop = 0;
+ int lastkey = 0;
int podcount = 0;
for(int podloop = 0; podloop<8; podloop++){ radar_plot(pods[podloop], drawlocation); };
//debug
- //mvprintw(21,1,"y:%d drawloc:%d", pod2.y, drawlocation);
+ //mvprintw(21,1,"Lastkey:%d", lastkey);
//get the cursor out of the way
mvprintw(23,79,"|");
};
};
//check for / process player fire
-
+ if(input=='9'){
+ //we fired
+ };
+
//check for 0 active pods, saved pods, level victory
podcount = 0;
for(int podloop = 0; podloop<8; podloop++){ podcount = podcount + pods[podloop].active; };