]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_quake.qc
Reduce spam of "x minutes" and "x fps" strings of a few sliders
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_quake.qc
index 219a6ae231162ed9b467ade90f7aa294c78e5f77..74a324b98193ad4918fbab1d853d6528e2a9ddcd 100644 (file)
@@ -1,15 +1,28 @@
+#include "_all.qh"
+
+#include "../common/weapons/all.qh"
+
+void spawnfunc_weapon_electro();
+void spawnfunc_weapon_hagar();
+void spawnfunc_weapon_machinegun();
+void spawnfunc_item_bullets();
+void spawnfunc_item_armor_large();
+void spawnfunc_item_armor_large();
+void spawnfunc_item_health_mega();
+void spawnfunc_item_health_medium();
+
 //***********************
 //QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
 //***********************
-void spawnfunc_weapon_nailgun (void) {spawnfunc_weapon_electro();}
-void spawnfunc_weapon_supernailgun (void) {spawnfunc_weapon_hagar();}
-void spawnfunc_weapon_supershotgun (void) {spawnfunc_weapon_machinegun();}
-
-void spawnfunc_item_spikes (void) {spawnfunc_item_bullets();}
-//void spawnfunc_item_armor1 (void) {spawnfunc_item_armor_medium;}  // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
-void spawnfunc_item_armor2 (void) {spawnfunc_item_armor_large();}
-void item_armorInv (void) {spawnfunc_item_armor_large();}
-void spawnfunc_item_health (void) {if (self.spawnflags & 2) spawnfunc_item_health_mega();else spawnfunc_item_health_medium();}
+void spawnfunc_weapon_nailgun() {spawnfunc_weapon_electro();}
+void spawnfunc_weapon_supernailgun() {spawnfunc_weapon_hagar();}
+void spawnfunc_weapon_supershotgun() {spawnfunc_weapon_machinegun();}
+
+void spawnfunc_item_spikes() {spawnfunc_item_bullets();}
+//void spawnfunc_item_armor1() {spawnfunc_item_armor_medium;}  // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
+void spawnfunc_item_armor2() {spawnfunc_item_armor_large();}
+void item_armorInv() {spawnfunc_item_armor_large();}
+void spawnfunc_item_health() {SELFPARAM();if (self.spawnflags & 2) spawnfunc_item_health_mega();else spawnfunc_item_health_medium();}
 
 //spawnfunc_item_spikes
 //spawnfunc_item_health