X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fplayer.qh;h=514b34726c2edf295dc9c79e00bfca8f6dbc5f00;hb=b4fe1ad3fefeacb942754decab190f39e0233207;hp=5e6642e0471a78220a1af579a705e7b50d74b76b;hpb=be1aeb5b7ce833a6f6f9da0c4c00ba99f2dea7b8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/player.qh b/qcsrc/server/player.qh index 5e6642e04..514b34726 100644 --- a/qcsrc/server/player.qh +++ b/qcsrc/server/player.qh @@ -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);