]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode_towerdefense.qh
Begin converting tower defense to a teamplay mode
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_towerdefense.qh
index 8864ee75a2ccf08bca93a6f65373aed49cbab90f..30b08d6f34191f35a02aa8888d744db32cc86a3c 100644 (file)
@@ -1,60 +1,6 @@
-// Counters
-float monster_count, totalmonsters;
-float current_monsters;
-float waterspawns_count, flyspawns_count;
-float wave_count, max_waves;
-float max_turrets;
+float FL_GENERATOR = 2048;
 
-// Monster defs
-.float drop_size;
-float m_speed_run;
-float m_speed_walk;
-
-// Turret defs
-.float turret_buff;
-
-// TD defs
-.float stat_current_wave;
-.float stat_totalwaves;
-.float spawntype;
-float spawn_delay;
-float max_current;
 float ignore_turrets;
-float SWARM_NORMAL     = 0;
-float SWARM_WEAK       = 1;
-float SWARM_STRONG     = 2;
-float SWARM_FLY                = 3;
-float SWARM_SWIM       = 4;
-float build_time;
-float td_dont_end;
-void(float starting) wave_end;
-.float turret_cnt;
-float td_gencount;
-void() spawnfunc_td_controller;
-float current_phase;
-#define PHASE_BUILD    1
-#define PHASE_COMBAT   2
-
-// Scores
-#define SP_TD_KILLS    0
-#define SP_TD_TURKILLS         2
-#define SP_TD_SCORE    4
-#define SP_TD_DEATHS   6
-#define SP_TD_SUICIDES         8
-
-// Controller
-.float maxwaves;
-.float monstercount;
-.float startwave;
-.float dontend;
-.float maxturrets;
-.float buildtime;
-.float mspeed_run;
-.float mspeed_walk;
-.float spawndelay;
-.float maxcurrent;
-.float ignoreturrets;
 
-// Generator
-float gendestroyed;
-float FL_GENERATOR = 2048;
\ No newline at end of file
+#define SP_TD_DESTROYS 4
+#define ST_TD_DESTROYS 1
\ No newline at end of file