|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/command/_mod.qh>#include <common/constants.qh>#include <common/teams.qh>#include <common/util.qh>#include <common/sounds/sound.qh>#include <common/weapons/all.qh>#include "all.inc"Go to the source code of this file.
Macros | |
| #define | ACVNN(name) |
| #define | APP_NUM(num, prefix) |
| #define | APP_TEAM_NUM(num, prefix) |
| #define | BOLD_OPERATOR "^BOLD" |
| #define | DEFAULT_FILENAME "notifications_dump.cfg" |
| #define | EIGHT_VARS_TO_VARARGS_VARLIST |
| #define | HASH_REPLACE(full_msg, num, attacker_name) |
| #define | KILL_SPREE_LIST |
| #define | MSG_ANNCE_NOTIF(name, defaultvalue, sound, channel, volume, position, queuetime) |
| #define | MSG_ANNCE_NOTIF_(teamnum, name, cvarname, defaultvalue, sound, channel, volume, position, queuetime) |
| #define | MSG_ANNCE_NOTIF_TEAM(teamnum, name, cvarname, defaultvalue, sound, channel, volume, position, queuetime) |
| #define | MSG_CENTER_NOTIF(name, defaultvalue, strnum, flnum, args, cpid, durcnt, normal, gentle) |
| #define | MSG_CENTER_NOTIF_(teamnum, name, cvarname, defaultvalue, strnum, flnum, args, cpid, durcnt, normal, gentle) |
| #define | MSG_CENTER_NOTIF_TEAM(teamnum, name, cvarname, defaultvalue, strnum, flnum, args, cpid, durcnt, normal, gentle) |
| #define | MSG_CHOICE_NOTIF(name, defaultvalue, challow, chtype, optiona, optionb) |
| #define | MSG_CHOICE_NOTIF_(teamnum, name, cvarname, defaultvalue, challow, chtype, optiona, optionb) |
| #define | MSG_CHOICE_NOTIF_TEAM(teamnum, name, cvarname, defaultvalue, challow, chtype, optiona, optionb) |
| #define | MSG_INFO_NOTIF(name, defaultvalue, strnum, flnum, args, hudargs, icon, normal, gentle) |
| #define | MSG_INFO_NOTIF_(teamnum, name, cvarname, defaultvalue, strnum, flnum, args, hudargs, icon, normal, gentle) |
| #define | MSG_INFO_NOTIF_TEAM(teamnum, name, cvarname, defaultvalue, strnum, flnum, args, hudargs, icon, normal, gentle) |
| #define | MSG_MULTI_NOTIF(name, defaultvalue, anncename, infoname, centername) |
| #define | MULTIICON_INFO(name, defaultvalue, strnum, flnum, args, hudargs, iconargs, icon, normal, gentle) |
| #define | MULTIICON_INFO_(name, defaultvalue, strnum, flnum, args, hudargs, iconargs, icon, normal, gentle) |
| #define | NOTIF_ADD_AUTOCVAR(name, defaultvalue) |
| #define | NOTIF_ARGUMENT_LIST |
| #define | NOTIF_HIT_MAX(count, funcname) |
| #define | NOTIF_HIT_UNKNOWN(token, funcname) |
| #define | SPREE_ITEM(counta, countb, center, normal, gentle) |
| #define | SPREE_ITEM(counta, countb, center, normal, gentle) |
Typedefs | |
| using | Notification = entity |
| always last | |
Functions | |
| string | BUFF_NAME (int i) |
| void | Create_Notification_Entity (entity notif, float var_default, float var_cvar, MSG typeId, string namestring, int teamnum) |
| void | Create_Notification_Entity_Annce (entity notif, float var_cvar, string namestring, float channel, string snd, float vol, float position, float queuetime) |
| void | Create_Notification_Entity_Choice (entity notif, float var_cvar, string namestring, float challow_def, float challow_var, MSG chtype, Notification optiona, Notification optionb) |
| void | Create_Notification_Entity_InfoCenter (entity notif, float var_cvar, string namestring, int strnum, int flnum, string args, string hudargs, string icon, CPID cpid, string durcnt, string normal, string gentle) |
| void | Create_Notification_Entity_Multi (entity notif, float var_cvar, string namestring, Notification anncename, Notification infoname, Notification centername) |
| void | Destroy_All_Notifications () |
| void | Dump_Notifications (int fh, bool alsoprint) |
| used to output notifications.cfg file | |
| GENERIC_COMMAND (dumpnotifs, "Dump all notifications into " DEFAULT_FILENAME, false) | |
| string | Get_Notif_BroadcastName (NOTIF broadcast) |
| send to one client and their spectators | |
| string | Get_Notif_CvarName (Notification notif) |
| Notification | Get_Notif_Ent (MSG net_type, int net_name) |
| string | Get_Notif_TypeName (MSG net_type) |
| main types/groups of notifications | |
| string | hash_replace (string full_msg, int ent_msg_num, string ent_msg, string attacker_name) |
| void | Kill_Notification (NOTIF broadcast, entity client, MSG net_type, CPID net_name) |
| void | Local_Notification (MSG net_type, Notification net_name,...count) |
| void | Local_Notification_Queue_Process () |
| void | Local_Notification_WOVA (MSG net_type, Notification net_name, float stringcount, float floatcount, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4) |
| glue for networking, forwards to Local_Notification | |
| string | notif_arg_frag_ping (bool newline, float fping) |
| string | notif_arg_frag_stats (float fhealth, float farmor, float fping) |
| string | notif_arg_item_wepammo (float f1, float f2) |
| string | notif_arg_spree_cen (float spree) |
| string | notif_arg_spree_inf (float type, string input, string player, float spree) |
| void | Notification_GetCvars (entity this, entity store) |
| REGISTRY_BEGIN (Notifications) | |
| REGISTRY_END (Notifications) | |
| void | ReplicateVars (bool would_destroy) |
| void | Send_Notification (NOTIF broadcast, entity client, MSG net_type, Notification net_name,...count) |
| void | Send_Notification_WOCOVA (NOTIF broadcast, entity client, MSG net_type, Notification net_name, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4) |
| void | Send_Notification_WOVA (NOTIF broadcast, entity client, MSG net_type, Notification net_name, float stringcount, float floatcount, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4) |
| STATIC_INIT (g_notifications) | |
| STATIC_INIT (Notifications) | |
| STATIC_INIT_LATE (Notif_Choices) | |
| #define APP_NUM | ( | num, | |
| prefix ) |
Definition at line 85 of file all.qh.
Referenced by ctf_CheckFlagReturn(), ctf_Handle_Capture(), ctf_Handle_Drop(), ctf_Handle_Pickup(), ctf_Handle_Retrieve(), and MUTATOR_HOOKFUNCTION().
| #define APP_TEAM_NUM | ( | num, | |
| prefix ) |
Definition at line 84 of file all.qh.
Referenced by CA_CheckWinner(), ClientKill_TeamChange(), ctf_CaptureRecord(), ctf_Handle_Pickup(), ctf_Handle_Return(), Domination_CheckWinner(), freezetag_CheckWinner(), Join(), kh_Key_Collect(), kh_Key_DropAll(), kh_Key_DropOne(), kh_Key_Spawn(), kh_Key_Think(), kh_LoserTeam(), kh_WinnerTeam(), nexball_setstatus(), Obituary(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Damage(), ons_GeneratorDamage(), ons_GeneratorThink(), Onslaught_CheckWinner(), ResetBall(), and SetPlayerTeam().
| #define BOLD_OPERATOR "^BOLD" |
Definition at line 12 of file all.qh.
Referenced by HUD_CenterPrint().
| #define DEFAULT_FILENAME "notifications_dump.cfg" |
Definition at line 164 of file all.qh.
Referenced by GENERIC_COMMAND(), and GENERIC_COMMAND().
| #define EIGHT_VARS_TO_VARARGS_VARLIST |
Definition at line 87 of file all.qh.
Referenced by Local_Notification_WOVA(), Send_Notification_WOCOVA(), and Send_Notification_WOVA().
| #define HASH_REPLACE | ( | full_msg, | |
| num, | |||
| attacker_name ) |
| #define KILL_SPREE_LIST |
Definition at line 491 of file all.qh.
Referenced by MUTATOR_HOOKFUNCTION(), notif_arg_spree_cen(), notif_arg_spree_inf(), and Obituary().
Definition at line 773 of file all.qh.
| #define MSG_ANNCE_NOTIF_ | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| sound, | |||
| channel, | |||
| volume, | |||
| position, | |||
| queuetime ) |
Definition at line 777 of file all.qh.
| #define MSG_ANNCE_NOTIF_TEAM | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| sound, | |||
| channel, | |||
| volume, | |||
| position, | |||
| queuetime ) |
Definition at line 770 of file all.qh.
| #define MSG_CENTER_NOTIF | ( | name, | |
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| cpid, | |||
| durcnt, | |||
| normal, | |||
| gentle ) |
Definition at line 829 of file all.qh.
Referenced by BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), BOLD(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), MSG_CENTER_NOTIF(), strcat(), VERBOSE_MURDER(), VERBOSE_MURDER(), VERBOSE_MURDER(), VERBOSE_MURDER(), VERBOSE_MURDER(), and VERBOSE_MURDER().
| #define MSG_CENTER_NOTIF_ | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| cpid, | |||
| durcnt, | |||
| normal, | |||
| gentle ) |
Definition at line 833 of file all.qh.
| #define MSG_CENTER_NOTIF_TEAM | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| cpid, | |||
| durcnt, | |||
| normal, | |||
| gentle ) |
Definition at line 826 of file all.qh.
| #define MSG_CHOICE_NOTIF | ( | name, | |
| defaultvalue, | |||
| challow, | |||
| chtype, | |||
| optiona, | |||
| optionb ) |
Definition at line 859 of file all.qh.
| #define MSG_CHOICE_NOTIF_ | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| challow, | |||
| chtype, | |||
| optiona, | |||
| optionb ) |
Definition at line 864 of file all.qh.
| #define MSG_CHOICE_NOTIF_TEAM | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| challow, | |||
| chtype, | |||
| optiona, | |||
| optionb ) |
Definition at line 856 of file all.qh.
| #define MSG_INFO_NOTIF | ( | name, | |
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| hudargs, | |||
| icon, | |||
| normal, | |||
| gentle ) |
Definition at line 791 of file all.qh.
Referenced by MSG_INFO_NOTIF(), MSG_INFO_NOTIF(), and MULTIICON_INFO().
| #define MSG_INFO_NOTIF_ | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| hudargs, | |||
| icon, | |||
| normal, | |||
| gentle ) |
Definition at line 795 of file all.qh.
| #define MSG_INFO_NOTIF_TEAM | ( | teamnum, | |
| name, | |||
| cvarname, | |||
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| hudargs, | |||
| icon, | |||
| normal, | |||
| gentle ) |
Definition at line 788 of file all.qh.
| #define MSG_MULTI_NOTIF | ( | name, | |
| defaultvalue, | |||
| anncename, | |||
| infoname, | |||
| centername ) |
Definition at line 846 of file all.qh.
| #define MULTIICON_INFO | ( | name, | |
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| hudargs, | |||
| iconargs, | |||
| icon, | |||
| normal, | |||
| gentle ) |
Definition at line 809 of file all.qh.
Referenced by MULTIICON_INFO().
| #define MULTIICON_INFO_ | ( | name, | |
| defaultvalue, | |||
| strnum, | |||
| flnum, | |||
| args, | |||
| hudargs, | |||
| iconargs, | |||
| icon, | |||
| normal, | |||
| gentle ) |
Definition at line 811 of file all.qh.
| #define NOTIF_ADD_AUTOCVAR | ( | name, | |
| defaultvalue ) |
| #define NOTIF_ARGUMENT_LIST |
Definition at line 436 of file all.qh.
Referenced by Local_Notification_centerprint_Add(), Local_Notification_HUD_Notify_Push(), Local_Notification_sprintf(), and Process_Notif_Args().
| #define NOTIF_HIT_MAX | ( | count, | |
| funcname ) |
Definition at line 485 of file all.qh.
Referenced by Local_Notification_centerprint_Add(), Local_Notification_HUD_Notify_Push(), and Local_Notification_sprintf().
| #define NOTIF_HIT_UNKNOWN | ( | token, | |
| funcname ) |
Definition at line 489 of file all.qh.
Referenced by Local_Notification_centerprint_Add(), Local_Notification_HUD_Notify_Push(), and Local_Notification_sprintf().
| #define SPREE_ITEM | ( | counta, | |
| countb, | |||
| center, | |||
| normal, | |||
| gentle ) |
| #define SPREE_ITEM | ( | counta, | |
| countb, | |||
| center, | |||
| normal, | |||
| gentle ) |
| using Notification = entity |
Definition at line 3 of file buffs.qc.
References Buff::m_color, Buff::m_name, REGISTRY_GET, rgb_to_hexcolor(), and strcat().
| void Create_Notification_Entity | ( | entity | notif, |
| float | var_default, | ||
| float | var_cvar, | ||
| MSG | typeId, | ||
| string | namestring, | ||
| int | teamnum ) |
Definition at line 396 of file all.qc.
References entity(), LOG_INFOF, notif_error, notif_global_error, and strzone().
| void Create_Notification_Entity_Annce | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| float | channel, | ||
| string | snd, | ||
| float | vol, | ||
| float | position, | ||
| float | queuetime ) |
Definition at line 446 of file all.qc.
References AnnouncerFilename, entity(), GENTLE, Get_Notif_TypeName(), LOG_INFOF, notif_error, precache_sound(), and strzone().
| void Create_Notification_Entity_Choice | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| float | challow_def, | ||
| float | challow_var, | ||
| MSG | chtype, | ||
| Notification | optiona, | ||
| Notification | optionb ) |
Definition at line 704 of file all.qc.
References entity(), Get_Notif_TypeName(), LOG_INFOF, max(), and notif_error.
| void Create_Notification_Entity_InfoCenter | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| int | strnum, | ||
| int | flnum, | ||
| string | args, | ||
| string | hudargs, | ||
| string | icon, | ||
| CPID | cpid, | ||
| string | durcnt, | ||
| string | normal, | ||
| string | gentle ) |
Definition at line 494 of file all.qc.
References autocvar_sv_dedicated, CPID_Null, entity(), GENTLE, Get_Notif_TypeName(), LOG_INFOF, LOG_WARNF, notif_error, Process_Notif_Args(), SET_NOTIF_STRING, and strzone().
| void Create_Notification_Entity_Multi | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| Notification | anncename, | ||
| Notification | infoname, | ||
| Notification | centername ) |
Definition at line 653 of file all.qc.
References entity(), Get_Notif_TypeName(), LOG_INFOF, max(), and notif_error.
| void Destroy_All_Notifications | ( | ) |
Definition at line 159 of file all.qc.
References centerprint_KillAll(), CPID_Null, Destroy_Notification_Entity(), FOREACH, Kill_Notification(), and NULL.
Referenced by GenericCommand_restartnotifs().
used to output notifications.cfg file
Definition at line 783 of file all.qc.
References FOREACH, LOG_INFOF, NOTIF_WRITE, NOTIF_WRITE_HARDCODED, and NUM_TEAM_1.
Referenced by GENERIC_COMMAND().
| GENERIC_COMMAND | ( | dumpnotifs | , |
| "Dump all notifications into " | DEFAULT_FILENAME, | ||
| false | ) |
Definition at line 166 of file all.qh.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, DEFAULT_FILENAME, Dump_Notifications(), fclose(), FILE_WRITE, fopen(), GetProgramCommandPrefix, LOG_HELP, LOG_HELPF, LOG_INFO, and LOG_INFOF.
| string Get_Notif_BroadcastName | ( | NOTIF | broadcast | ) |
send to one client and their spectators
send ONLY to one client send only to X team and their spectators send only to X team and their spectators, except for Y person and their spectators send to everyone send to everyone except X person and their spectators
Definition at line 260 of file all.qh.
References Get_Notif_BroadcastName(), LOG_WARNF, and string().
Referenced by Get_Notif_BroadcastName(), Kill_Notification(), Send_Notification(), Send_Notification_WOCOVA(), and Send_Notification_WOVA().
| string Get_Notif_CvarName | ( | Notification | notif | ) |
Definition at line 749 of file all.qh.
References Static_Team_ColorName(), strlen, and substring().
Referenced by Local_Notification().
| Notification Get_Notif_Ent | ( | MSG | net_type, |
| int | net_name ) |
Definition at line 756 of file all.qh.
References Get_Notif_TypeName(), LOG_WARNF, NULL, and REGISTRY_GET.
Referenced by NET_HANDLE().
| string Get_Notif_TypeName | ( | MSG | net_type | ) |
main types/groups of notifications
"Global" AND "personal" announcer messages "Global" information messages "Personal" centerprint messages Subcall MSG_INFO and/or MSG_CENTER notifications Choose which subcall wrapper to activate Kill centerprint message
Definition at line 30 of file all.qh.
References Get_Notif_TypeName(), LOG_WARNF, ORDINAL, and string().
Referenced by Create_Notification_Entity_Annce(), Create_Notification_Entity_Choice(), Create_Notification_Entity_InfoCenter(), Create_Notification_Entity_Multi(), Get_Notif_Ent(), Get_Notif_TypeName(), Kill_Notification(), Local_Notification(), NET_HANDLE(), Net_Notification_Remove(), Send_Notification(), Send_Notification_WOCOVA(), and Send_Notification_WOVA().
Definition at line 404 of file all.qh.
References CCR(), find_last_color_code(), strcat(), strstrofs, and substring().
| net_type | message group, MSG_Null for all |
| net_name | cpid group, CPID_Null for all |
Definition at line 1537 of file all.qc.
References autocvar_notification_lifetime_runtime, CPID_Null, entity(), g_notifications, Get_Notif_BroadcastName(), Get_Notif_TypeName(), IL_EACH, LOG_WARNF, Net_LinkEntity(), Net_Write_Notification(), new_pure, Notification_CheckArgs(), and ORDINAL.
Referenced by ClientCommand_selectteam(), ClientCommand_spectate(), CommonCommand_timein(), Destroy_All_Notifications(), instagib_stop_countdown(), Join(), kh_EnableTrackingDevice(), kh_StartRound(), MUTATOR_HOOKFUNCTION(), NextLevel(), Remove_Countdown(), SetPlayerTeam(), timeout_handler_think(), toss_nade(), and vehicles_exit().
| void Local_Notification | ( | MSG | net_type, |
| Notification | net_name, | ||
| ... ) |
Definition at line 1236 of file all.qc.
References backtrace, count, cvar(), entity(), f1, f2, float(), Get_Notif_CvarName(), Get_Notif_TypeName(), Local_Notification_centerprint_Add(), Local_Notification_HUD_Notify_Push(), Local_Notification_Queue_Add(), Local_Notification_sprintf(), Local_Notification_WOVA(), LOG_WARNF, MakeConsoleSafe(), print(), s1, s2, strzone(), substring(), and warmup_stage.
Referenced by Announcer_Countdown(), Announcer_Gamestart(), Local_Notification_WOVA(), and NET_HANDLE().
| void Local_Notification_Queue_Process | ( | ) |
Definition at line 1218 of file all.qc.
References Local_Notification_Queue_Run(), notif_queue_entity, notif_queue_length, notif_queue_time, notif_queue_type, and time.
Referenced by HUD_Draw().
| void Local_Notification_WOVA | ( | MSG | net_type, |
| Notification | net_name, | ||
| float | stringcount, | ||
| float | floatcount, | ||
| string | s1, | ||
| string | s2, | ||
| string | s3, | ||
| string | s4, | ||
| float | f1, | ||
| float | f2, | ||
| float | f3, | ||
| float | f4 ) |
glue for networking, forwards to Local_Notification
Definition at line 1420 of file all.qc.
References EIGHT_VARS_TO_VARARGS_VARLIST, f1, f2, Local_Notification(), s1, and s2.
Referenced by Local_Notification(), NET_HANDLE(), and Send_Notification().
Definition at line 510 of file all.qh.
References CCR(), and notif_arg_frag_ping().
Definition at line 663 of file all.qh.
References Weapon::ammo_type, f1, f2, Resource::m_name, REGISTRY_GET, strtolower(), and Weapons.
Definition at line 519 of file all.qh.
References KILL_SPREE_LIST, normal_or_gentle, and strcat().
Definition at line 564 of file all.qh.
References autocvar_notification_show_sprees_info, autocvar_notification_show_sprees_info_newline, autocvar_notification_show_sprees_info_specialonly, CCR(), KILL_SPREE_LIST, normal_or_gentle, strcat(), and substring().
Definition at line 767 of file all.qc.
References entity(), FOREACH, and NUM_TEAM_1.
Referenced by GetCvars().
| REGISTRY_BEGIN | ( | Notifications | ) |
Definition at line 878 of file all.qh.
References notif_global_error.
| REGISTRY_END | ( | Notifications | ) |
Definition at line 883 of file all.qh.
References autocvar_notification_errors_are_fatal, LOG_FATAL, LOG_SEVERE, and notif_global_error.
Definition at line 895 of file all.qh.
References FOREACH, and NUM_TEAM_1.
Referenced by CSQC_UpdateView(), GetCvars(), and Shutdown().
| void Send_Notification | ( | NOTIF | broadcast, |
| entity | client, | ||
| MSG | net_type, | ||
| Notification | net_name, | ||
| ... ) |
Definition at line 1573 of file all.qc.
References autocvar_notification_lifetime_mapload, autocvar_notification_lifetime_runtime, autocvar_sv_dedicated, count, entity(), f1, f2, float(), FOREACH_CLIENT, g_notifications, Get_Notif_BroadcastName(), Get_Notif_TypeName(), IL_PUSH(), IS_REAL_CLIENT, Local_Notification_WOVA(), LOG_WARN, LOG_WARNF, MakeConsoleSafe(), Net_LinkEntity(), Net_Notification_Remove(), Net_Write_Notification(), new_pure, Notification_CheckArgs(), Notification_ShouldSend(), RECURSE_FROM_CHOICE, s1, s2, setthink, string(), strzone(), and time.
Referenced by bot_spawn(), buff_Touch(), CA_CheckWinner(), ca_LastPlayerForTeam_Notify(), CheckPlayerJump(), CheckRules_World(), ClientCommand_minigame(), ClientCommand_selectteam(), ClientCommand_spectate(), ClientConnect(), ClientDisconnect(), ClientKill_Now_TeamChange(), ClientKill_TeamChange(), CommonCommand_timeout(), counter_use(), ctf_CaptureRecord(), ctf_CaptureShield_Touch(), ctf_CaptureShield_Update(), ctf_CheckFlagReturn(), ctf_CheckStalemate(), ctf_FlagcarrierWaypoints(), ctf_Handle_Capture(), ctf_Handle_Drop(), ctf_Handle_Pickup(), ctf_Handle_Retrieve(), ctf_Handle_Return(), Domination_CheckWinner(), dompoint_captured(), door_check_keys(), fireBullet_falloff(), FireRailgunBullet(), frag_centermessage_override(), freezetag_CheckWinner(), freezetag_LastPlayerForTeam_Notify(), GameCommand_cointoss(), GameCommand_lockteams(), GameCommand_unlockteams(), InitiateOvertime(), instagib_ammocheck(), instagib_countdown(), Invasion_CheckWinner(), invite_minigame(), Item_GiveTo(), Join(), joinAllowed(), ka_DropEvent(), ka_TouchEvent(), kh_FinishRound(), kh_Key_Collect(), kh_Key_DropAll(), kh_Key_DropOne(), kh_Key_Spawn(), kh_Key_Think(), kh_LoserTeam(), kh_StartRound(), kh_WaitForPlayers(), kh_WinnerTeam(), KillIndicator_Think(), lms_AddPlayer(), lms_RemovePlayer(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nades_GiveBonus(), nexball_setstatus(), NIX_GiveCurrentWeapon(), nJoinAllowed(), Obituary(), ObserverOrSpectatorThink(), ons_CaptureShield_Touch(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Touch(), ons_GeneratorDamage(), ons_GeneratorThink(), Onslaught_CheckWinner(), onslaught_generator_touch(), player_powerups(), PlayerFrame(), Portal_TeleportPlayer(), PutObserverInServer(), PutPlayerInServer(), race_AbandonRaceCheck(), race_SendTime(), race_setTime(), ReadyCount(), ReadyRestart_force(), Remove_Countdown(), ResetBall(), Say(), Send_Notification_WOCOVA(), Send_Notification_WOVA(), SetPlayerTeam(), ShowRespawnCountdown(), superspec_hello(), Surv_CheckWinner(), surv_LastPlayerForTeam_Notify(), Surv_RoundStart(), SV_ParseClientCommand(), target_init_use(), TeamBalance_RemoveExcessPlayers(), timeout_handler_think(), tka_DropEvent(), tka_TouchEvent(), trigger_keylock_touch(), vehicles_enter(), VoteAccept(), VoteCommand_abstain(), VoteCommand_call(), VoteCommand_no(), VoteCommand_yes(), VoteReject(), VoteTimeout(), W_Devastator_Explode(), W_Electro_Explode(), W_MineLayer_Attack(), W_MineLayer_Explode(), W_Mortar_Grenade_Explode(), W_Mortar_Grenade_Explode2(), W_OverkillNex_Attack(), W_Porto_Fail(), W_Porto_Touch(), W_RocketMinsta_Laser_Explode(), W_ThrowWeapon(), W_Vaporizer_Attack(), W_Vortex_Attack(), weapon_prepareattack_checkammo(), WinningCondition_Assault(), and WinningCondition_Scores().
| void Send_Notification_WOCOVA | ( | NOTIF | broadcast, |
| entity | client, | ||
| MSG | net_type, | ||
| Notification | net_name, | ||
| string | s1, | ||
| string | s2, | ||
| string | s3, | ||
| string | s4, | ||
| float | f1, | ||
| float | f2, | ||
| float | f3, | ||
| float | f4 ) |
Definition at line 1762 of file all.qc.
References EIGHT_VARS_TO_VARARGS_VARLIST, entity(), f1, f2, Get_Notif_BroadcastName(), Get_Notif_TypeName(), MakeConsoleSafe(), s1, s2, and Send_Notification().
Referenced by Obituary_SpecialDeath(), and Obituary_WeaponDeath().
| void Send_Notification_WOVA | ( | NOTIF | broadcast, |
| entity | client, | ||
| MSG | net_type, | ||
| Notification | net_name, | ||
| float | stringcount, | ||
| float | floatcount, | ||
| string | s1, | ||
| string | s2, | ||
| string | s3, | ||
| string | s4, | ||
| float | f1, | ||
| float | f2, | ||
| float | f3, | ||
| float | f4 ) |
Definition at line 1728 of file all.qc.
References EIGHT_VARS_TO_VARARGS_VARLIST, entity(), f1, f2, Get_Notif_BroadcastName(), Get_Notif_TypeName(), MakeConsoleSafe(), s1, s2, and Send_Notification().
| STATIC_INIT | ( | g_notifications | ) |
| STATIC_INIT | ( | Notifications | ) |
| STATIC_INIT_LATE | ( | Notif_Choices | ) |
Definition at line 742 of file all.qh.
References LOG_FATALF, nent_choice_count, NOTIF_CHOICE_MAX, and STATIC_INIT_LATE.
| string arg_slot[NOTIF_MAX_ARGS] |
Definition at line 422 of file all.qh.
Referenced by Local_Notification_centerprint_Add(), Local_Notification_HUD_Notify_Push(), and Local_Notification_sprintf().
Definition at line 310 of file all.qh.
Referenced by REGISTRY_END().
| float autocvar_notification_lifetime_mapload = 10 |
Definition at line 313 of file all.qh.
Referenced by Send_Notification().
| float autocvar_notification_lifetime_runtime = 0.5 |
Definition at line 312 of file all.qh.
Referenced by Kill_Notification(), and Send_Notification().
| float autocvar_notification_server_allows_location = 1 |
Definition at line 318 of file all.qh.
Referenced by Obituary().
| float autocvar_notification_show_sprees_info = 3 |
Definition at line 307 of file all.qh.
Referenced by notif_arg_spree_inf().
Definition at line 308 of file all.qh.
Referenced by notif_arg_spree_inf().
Definition at line 309 of file all.qh.
Referenced by notif_arg_spree_inf().
| IntrusiveList g_notifications |
Definition at line 240 of file all.qh.
Referenced by Kill_Notification(), Send_Notification(), and STATIC_INIT().
| int msg_choice_choices[NOTIF_CHOICE_MAX] |
| NOTIF nent_broadcast |
Definition at line 714 of file all.qh.
Referenced by Net_Write_Notification().
| int nent_choice_count = 0 |
Definition at line 735 of file all.qh.
Referenced by STATIC_INIT_LATE().
| entity nent_client |
Definition at line 716 of file all.qh.
Referenced by Net_Write_Notification().
| int nent_floatcount |
Definition at line 683 of file all.qh.
Referenced by Net_Write_Notification().
| float nent_floats[4] |
Definition at line 720 of file all.qh.
Referenced by Net_Write_Notification().
| float nent_net_name |
Definition at line 718 of file all.qh.
Referenced by Net_Notification_Remove(), and Net_Write_Notification().
| MSG nent_net_type |
Definition at line 717 of file all.qh.
Referenced by Net_Notification_Remove(), and Net_Write_Notification().
| int nent_stringcount |
Definition at line 682 of file all.qh.
Referenced by Net_Notification_Remove(), and Net_Write_Notification().
| string nent_strings[4] |
Definition at line 719 of file all.qh.
Referenced by Net_Notification_Remove(), and Net_Write_Notification().
| const int NOTIF_CHOICE_MAX = 20 |
Definition at line 732 of file all.qh.
Referenced by STATIC_INIT_LATE().
| bool notif_error |
Definition at line 739 of file all.qh.
Referenced by Create_Notification_Entity(), Create_Notification_Entity_Annce(), Create_Notification_Entity_Choice(), Create_Notification_Entity_InfoCenter(), Create_Notification_Entity_Multi(), Process_Notif_Args(), and Process_Notif_Line().
| bool notif_global_error |
Definition at line 740 of file all.qh.
Referenced by Create_Notification_Entity(), REGISTRY_BEGIN(), and REGISTRY_END().
| const float NOTIF_MAX_ARGS = 7 |
Definition at line 388 of file all.qh.
Referenced by Local_Notification_sprintf(), and Process_Notif_Args().
| const float NOTIF_MAX_DURCNT = 2 |
Definition at line 390 of file all.qh.
Referenced by Local_Notification_centerprint_Add(), and Process_Notif_Args().
| const float NOTIF_MAX_HUDARGS = 2 |
Definition at line 389 of file all.qh.
Referenced by Local_Notification_HUD_Notify_Push(), and Process_Notif_Args().
| entity notif_queue_entity[NOTIF_QUEUE_MAX] |
Definition at line 394 of file all.qh.
Referenced by Local_Notification_Queue_Add(), and Local_Notification_Queue_Process().
| int notif_queue_length |
Definition at line 399 of file all.qh.
Referenced by Local_Notification_Queue_Add(), and Local_Notification_Queue_Process().
| const int NOTIF_QUEUE_MAX = 10 |
Definition at line 393 of file all.qh.
Referenced by Local_Notification_Queue_Add().
| float notif_queue_next_time |
Definition at line 398 of file all.qh.
Referenced by Local_Notification_Queue_Add().
| float notif_queue_time[NOTIF_QUEUE_MAX] |
Definition at line 396 of file all.qh.
Referenced by Local_Notification_Queue_Add(), and Local_Notification_Queue_Process().
| MSG notif_queue_type[NOTIF_QUEUE_MAX] |
Definition at line 395 of file all.qh.
Referenced by Local_Notification_Queue_Add(), and Local_Notification_Queue_Process().
| string prev_soundfile |
Definition at line 235 of file all.qh.
Referenced by Local_Notification_sound().
| float prev_soundtime |
Definition at line 236 of file all.qh.
Referenced by Local_Notification_sound().