]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/player.qh
Move the Say function into client code (not really a player-specific thing)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / player.qh
index 5e6642e0471a78220a1af579a705e7b50d74b76b..514b34726c2edf295dc9c79e00bfca8f6dbc5f00 100644 (file)
@@ -2,7 +2,7 @@
 
 .entity pusher;
 .float pushltime;
-.float istypefrag;
+.bool istypefrag;
 
 .float CopyBody_nextthink;
 .void(entity this) CopyBody_think;
@@ -28,15 +28,6 @@ void PlayerCorpseDamage(entity this, entity inflictor, entity attacker, float da
 
 void calculate_player_respawn_time(entity this);
 
-void ClientKill_Now_TeamChange(entity this);
-
-/// \brief Moves player to the specified team.
-/// \param[in,out] client Client to move.
-/// \param[in] team_colour Color of the team.
-/// \param[in] type ???
-/// \return True on success, false otherwise.
-bool MoveToTeam(entity client, float team_colour, float type);
-
 void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
 
-int Say(entity source, float teamsay, entity privatesay, string msgin, float floodcontrol);
+bool PlayerHeal(entity targ, entity inflictor, float amount, float limit);