]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/defs.qh
Teamplay: Abstracted forced teams.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / defs.qh
index d699d03af247583775901248108ee2c0ec7c184a..908d99444887f43ebeef093a34039fc532d08089 100644 (file)
@@ -34,6 +34,8 @@ float server_is_dedicated;
 
 .void(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force) event_damage;
 
+.bool(entity targ, entity inflictor, float amount, float limit) event_heal;
+
 //.string      wad;
 //.string      map;
 
@@ -273,9 +275,6 @@ void W_Porto_Remove (entity p);
 // Nexball
 float g_nexball_meter_period;
 
-void SUB_DontUseTargets(entity this, entity actor, entity trigger);
-void SUB_UseTargets(entity this, entity actor, entity trigger);
-
 .void(entity this) reset; // if set, an entity is reset using this
 .void(entity this) reset2; // if set, an entity is reset using this (after calling ALL the reset functions for other entities)
 
@@ -355,8 +354,6 @@ const float ACTIVE_TOGGLE   = 3;
 
 //float serverflags;
 
-.float team_forced; // can be a team number to force a team, or 0 for default action, or -1 for forced spectator
-
 .float player_blocked;
 
 .float revival_time; // time at which player was last revived