]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/player.qh
Add support for some missing Quake 2 items
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / player.qh
index b5f8ca07c8d4a5dc81db14099d86f597405b2827..b9a5fa928835208119144e2d7749149c7685af4e 100644 (file)
@@ -9,6 +9,45 @@
 void CopyBody_Think(entity this);
 void CopyBody(entity this, float keepvelocity);
 
+void dedicated_print(string input);
+
+/// \brief Print the string to player's chat.
+/// \param[in] player Player to print to.
+/// \param[in] text Text to print.
+/// \return No return.
+void PrintToChat(entity player, string text);
+
+/// \brief Print the string to player's chat if the server cvar "developer" is
+/// not 0.
+/// \param[in] player Player to print to.
+/// \param[in] text Text to print.
+/// \return No return.
+void DebugPrintToChat(entity player, string text);
+
+/// \brief Prints the string to all players' chat.
+/// \param[in] text Text to print.
+/// \return No return.
+void PrintToChatAll(string text);
+
+/// \brief Prints the string to all players' chat if the server cvar "developer"
+/// is not 0.
+/// \param[in] text Text to print.
+/// \return No return.
+void DebugPrintToChatAll(string text);
+
+/// \brief Print the string to chat of all players of the specified team.
+/// \param[in] teamnum Team to print to. See NUM_TEAM constants.
+/// \param[in] text Text to print.
+/// \return No return.
+void PrintToChatTeam(int teamnum, string text);
+
+/// \brief Print the string to chat of all players of the specified team if the
+/// server cvar "developer" is not 0.
+/// \param[in] teamnum Team to print to. See NUM_TEAM constants.
+/// \param[in] text Text to print.
+/// \return No return.
+void DebugPrintToChatTeam(int teamnum, string text);
+
 void player_setupanimsformodel(entity this);
 
 void player_anim(entity this);