]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/invasion/sv_invasion.qh
Merge branch 'master' into Mario/monsters
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / invasion / sv_invasion.qh
index 3c16e34e18dea1b1179760cadb65aea08c3a0ce9..f3da6b6782b72a532948654335bc0ed64f289b76 100644 (file)
@@ -2,9 +2,7 @@
 
 #include <common/mutators/base.qh>
 #define autocvar_g_invasion_point_limit cvar("g_invasion_point_limit")
-int autocvar_g_invasion_teams;
 int autocvar_g_invasion_type;
-bool autocvar_g_invasion_team_spawns;
 bool g_invasion;
 IntrusiveList g_invasion_roundends;
 IntrusiveList g_invasion_waves;
@@ -32,21 +30,16 @@ REGISTER_MUTATOR(inv, false)
        return 0;
 }
 
-float inv_numspawned;
-float inv_maxspawned;
-float inv_roundcnt;
-float inv_maxrounds;
-float inv_numkilled;
+int inv_numspawned;
+int inv_maxspawned;
+int inv_roundcnt;
+int inv_maxrounds;
+int inv_numkilled;
 float inv_lastcheck;
-float inv_maxcurrent;
-
-float invasion_teams;
-float inv_monsters_perteam[17];
+int inv_maxcurrent;
 
 float inv_monsterskill;
 
-const float ST_INV_KILLS = 1;
-
 const int INV_TYPE_ROUND = 0; // round-based waves of enemies
 const int INV_TYPE_HUNT = 1; // clear the map of placed enemies
 const int INV_TYPE_STAGE = 2; // reach the end of the level