+Only saved pods respawned for 4 levels.
+Copyright info.
Tripleshot, shield, life, smartbomb powerups.
Landers don't fire while chasing pods.
Implemented triple shot. Needs powerup to activate.
+/*
+ Curfender
+ Copyright (C) 2007 Jonathan Ciesla
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA
+
+*/
+
#include <ncurses.h>
#include <cstring>
#include <cstdlib>
//Advance level
level++;
//Reactivate pods if not zombied
- for(int podloop = 0; podloop<podmax; podloop++){ pods[podloop] = pod_init(pods[podloop]); };
+ if(level % 4 == 0){
+ for(int podloop = 0; podloop<podmax; podloop++){ pods[podloop] = pod_init(pods[podloop]); };
+ } else {
+ for(int podloop = 0; podloop<podsin; podloop++){ pods[podloop] = pod_init(pods[podloop]); };
+ };
podsin = 0;
//Bump shields
if(shieldsleft<=450){