|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | CHAT_NOSPECTATORS() |
Functions | |
| void | DebugPrintToChat (entity client, string text) |
| Print the string to the client's chat if the server cvar "developer" is not 0. | |
| void | DebugPrintToChatAll (string text) |
| Prints the string to all clients' chat if the server cvar "developer" is not 0. | |
| void | DebugPrintToChatTeam (int team_num, string text) |
| Print the string to chat of all clients of the specified team if the server cvar "developer" is not 0. | |
| string | formatmessage (entity this, string msg) |
| string | NearestLocation (vector p) |
| void | PrintToChat (entity client, string text) |
| Print the string to the client's chat. | |
| void | PrintToChatAll (string text) |
| Prints the string to all clients' chat. | |
| void | PrintToChatTeam (int team_num, string text) |
| Print the string to chat of all clients of the specified team. | |
| int | Say (entity source, int teamsay, entity privatesay, string msgin, bool floodcontrol) |
| message "": do not say, just test flood control return value: 1 = accept 0 = reject -1 = fake accept | |
| #define CHAT_NOSPECTATORS | ( | ) |
Print the string to the client's chat if the server cvar "developer" is not 0.
| [in] | client | Client to print to. |
| [in] | text | Text to print. |
Definition at line 601 of file chat.qc.
References autocvar_developer, entity(), and PrintToChat().
Prints the string to all clients' chat if the server cvar "developer" is not 0.
| [in] | text | Text to print. |
Definition at line 617 of file chat.qc.
References autocvar_developer, and PrintToChatAll().
Print the string to chat of all clients of the specified team if the server cvar "developer" is not 0.
| [in] | team_num | Team to print to. See NUM_TEAM constants. |
| [in] | text | Text to print. |
Definition at line 639 of file chat.qc.
References autocvar_developer, and PrintToChatTeam().
Definition at line 498 of file chat.qc.
References AmmoNameFromWeaponentity(), autocvar_timelimit, ceil(), death_origin, entity(), floor(), ftos(), game_starttime, GetResource(), M_ARGV, max(), min(), MUTATOR_CALLHOOK, NearestLocation(), NO_SLASH, NULL, ON_SLASH, origin, PlayerHealth(), PrintToChat(), RES_ARMOR, seconds_tostring(), strcat(), strlen, strstrofs, substring(), time, trace_endpos, trace_ent, vector, velocity, vlen(), vtos(), WarpZone_crosshair_trace_plusvisibletriggers(), weaponentities, and WeaponNameFromWeaponentity().
Referenced by Say().
Definition at line 446 of file chat.qc.
References entity(), findnearest(), and vector.
Referenced by formatmessage(), and Obituary().
Print the string to the client's chat.
| [in] | client | Client to print to. |
| [in] | text | Text to print. |
Definition at line 594 of file chat.qc.
References entity(), sprint(), and strcat().
Referenced by DebugPrintToChat(), and formatmessage().
Print the string to chat of all clients of the specified team.
| [in] | team_num | Team to print to. See NUM_TEAM constants. |
| [in] | text | Text to print. |
Definition at line 626 of file chat.qc.
References FOREACH_CLIENT, IS_REAL_CLIENT, sprint(), and strcat().
Referenced by DebugPrintToChatTeam().
message "": do not say, just test flood control return value: 1 = accept 0 = reject -1 = fake accept
Definition at line 27 of file chat.qc.
References active_minigame, autocvar_g_chat_allowed, autocvar_g_chat_flood_burst, autocvar_g_chat_flood_burst_team, autocvar_g_chat_flood_burst_tell, autocvar_g_chat_flood_lmax, autocvar_g_chat_flood_lmax_team, autocvar_g_chat_flood_lmax_tell, autocvar_g_chat_flood_notify_flooder, autocvar_g_chat_flood_spl, autocvar_g_chat_flood_spl_team, autocvar_g_chat_flood_spl_tell, autocvar_g_chat_private_allowed, autocvar_g_chat_show_playerid, autocvar_g_chat_spectator_allowed, autocvar_g_chat_team_allowed, autocvar_g_chat_teamcolors, autocvar_g_chat_tellprivacy, autocvar_sv_eventlog, centerprint(), CHAT_NOSPECTATORS, CS(), dedicated_print(), entity(), etof, floodcontrol_chat, floodcontrol_chatteam, floodcontrol_chattell, FOREACH_CLIENT, formatmessage(), ftos(), game_stopped, GameLogEcho(), gettime(), GETTIME_FRAMESTART, getWrappedLine_remaining, getWrappedLineLen(), ignore_playerinlist(), INGAME, IS_OBSERVER, IS_PLAYER, IS_REAL_CLIENT, itos, LOG_INFO, M_ARGV, max(), MUTATOR_CALLHOOK, MX_Say(), playername(), Send_Notification(), sprint(), strcat(), string_null, strlen, substring(), Team_ColorCode(), teamplay, and trigger_magicear_processmessage_forallears().
Referenced by ClientCommand_say(), ClientCommand_say_team(), ClientCommand_tell(), and MX_Handle().
| bool autocvar_g_chat_flood_notify_flooder |
| entity nearest_entity[NUM_NEAREST_ENTITIES] |
Definition at line 23 of file chat.qh.
Referenced by findnearest().
| float nearest_length[NUM_NEAREST_ENTITIES] |
Definition at line 24 of file chat.qh.
Referenced by findnearest().
| const float NUM_NEAREST_ENTITIES = 4 |
Definition at line 22 of file chat.qh.
Referenced by findnearest().