|
Xonotic
|
#include "all.qh"
Include dependency graph for all.qc:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | AnnouncerFilename(snd) sprintf("announcer/%s/%s.wav", AnnouncerOption(), snd) |
| #define | ARG_CASE(prog, selected, result) ARG_CASE_##prog(selected,result) |
| #define | ARG_CASE(prog, selected, result) ARG_CASE_##prog(selected,result) |
| #define | ARG_CASE(prog, selected, result) ARG_CASE_##prog(selected,result) |
| #define | ARG_CASE(prog, selected, result) ARG_CASE_##prog(selected, result) |
| #define | ARG_CASE_ARG_CS(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS(selected, result) |
| #define | ARG_CASE_ARG_CS(selected, result) |
| #define | ARG_CASE_ARG_CS(selected, result) |
| #define | ARG_CASE_ARG_CS_SV(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS_SV(selected, result) |
| #define | ARG_CASE_ARG_CS_SV(selected, result) |
| #define | ARG_CASE_ARG_CS_SV(selected, result) case selected: arg_slot[sel_num++] = result; break; |
| #define | ARG_CASE_ARG_CS_SV_DC(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS_SV_DC(selected, result) |
| #define | ARG_CASE_ARG_CS_SV_DC(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS_SV_DC(selected, result) case selected: arg_slot[sel_num++] = result; break; |
| #define | ARG_CASE_ARG_CS_SV_HA(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS_SV_HA(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_CS_SV_HA(selected, result) |
| #define | ARG_CASE_ARG_CS_SV_HA(selected, result) case selected: arg_slot[sel_num++] = result; break; |
| #define | ARG_CASE_ARG_DC(selected, result) |
| #define | ARG_CASE_ARG_DC(selected, result) |
| #define | ARG_CASE_ARG_DC(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_DC(selected, result) |
| #define | ARG_CASE_ARG_SV(selected, result) case selected: ++sel_num; break; |
| #define | ARG_CASE_ARG_SV(selected, result) |
| #define | ARG_CASE_ARG_SV(selected, result) |
| #define | ARG_CASE_ARG_SV(selected, result) case selected: arg_slot[sel_num++] = result; break; |
| #define | NOTIF_WRITE(str) write_String_To_File(fh, str, alsoprint) |
| #define | NOTIF_WRITE_ENTITY(e, description) |
| #define | NOTIF_WRITE_ENTITY_CHOICE(e, descriptiona, descriptionb) |
| #define | NOTIF_WRITE_HARDCODED(cvar, default, description) NOTIF_WRITE("seta notification_" cvar " \"" default "\" \"" description "\"\n") |
| #define | SET_NOTIF_STRING(string, stringname) |
| #define | VARITEM(stringc, floatc, args) |
| #define AnnouncerFilename | ( | snd | ) | sprintf("announcer/%s/%s.wav", AnnouncerOption(), snd) |
Definition at line 444 of file all.qc.
Referenced by Create_Notification_Entity_Annce(), and Local_Notification_sprintf().
| #define ARG_CASE_ARG_CS | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS_SV | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS_SV | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS_SV | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS_SV_DC | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS_SV_DC | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS_SV_DC | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS_SV_DC | ( | selected, | |
| result | |||
| ) | case selected: arg_slot[sel_num++] = result; break; |
| #define ARG_CASE_ARG_CS_SV_HA | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS_SV_HA | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_CS_SV_HA | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_CS_SV_HA | ( | selected, | |
| result | |||
| ) | case selected: arg_slot[sel_num++] = result; break; |
| #define ARG_CASE_ARG_DC | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_DC | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_DC | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_DC | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_SV | ( | selected, | |
| result | |||
| ) | case selected: ++sel_num; break; |
| #define ARG_CASE_ARG_SV | ( | selected, | |
| result | |||
| ) |
| #define ARG_CASE_ARG_SV | ( | selected, | |
| result | |||
| ) |
| #define NOTIF_WRITE | ( | str | ) | write_String_To_File(fh, str, alsoprint) |
Referenced by Dump_Notifications().
| #define NOTIF_WRITE_ENTITY | ( | e, | |
| description | |||
| ) |
| #define NOTIF_WRITE_ENTITY_CHOICE | ( | e, | |
| descriptiona, | |||
| descriptionb | |||
| ) |
| #define NOTIF_WRITE_HARDCODED | ( | cvar, | |
| default, | |||
| description | |||
| ) | NOTIF_WRITE("seta notification_" cvar " \"" default "\" \"" description "\"\n") |
Referenced by Dump_Notifications().
| #define SET_NOTIF_STRING | ( | string, | |
| stringname | |||
| ) |
Referenced by Create_Notification_Entity_InfoCenter().
| #define VARITEM | ( | stringc, | |
| floatc, | |||
| args | |||
| ) |
| 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 LOG_INFOF, notif_error, notif_global_error, and strzone().
Here is the call graph for this function:| void Create_Notification_Entity_Annce | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| float | channel, | ||
| string | snd, | ||
| float | vol, | ||
| float | position | ||
| ) |
Definition at line 446 of file all.qc.
References AnnouncerFilename, Get_Notif_TypeName(), LOG_INFOF, notif_error, precache_sound(), and strzone().
Here is the call graph for this function:| 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 702 of file all.qc.
References entity(), FOREACH, Get_Notif_TypeName(), LOG_INFOF, max(), notif_error, and NUM_TEAM_1.
Here is the call graph for this function:| 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 492 of file all.qc.
References CPID_Null, Get_Notif_TypeName(), LOG_INFOF, LOG_WARNF, notif_error, Process_Notif_Args(), server_is_dedicated, SET_NOTIF_STRING, and strzone().
Here is the call graph for this function:| void Create_Notification_Entity_Multi | ( | entity | notif, |
| float | var_cvar, | ||
| string | namestring, | ||
| Notification | anncename, | ||
| Notification | infoname, | ||
| Notification | centername | ||
| ) |
Definition at line 651 of file all.qc.
References Get_Notif_TypeName(), LOG_INFOF, max(), and notif_error.
Here is the call graph for this function:| void Destroy_All_Notifications | ( | ) |
Definition at line 159 of file all.qc.
References centerprint_KillAll(), CPID_Null, Destroy_Notification_Entity(), FOREACH, and NULL.
Referenced by GenericCommand_restartnotifs().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 147 of file all.qc.
References strunzone().
Referenced by Destroy_All_Notifications().
Here is the call graph for this function:
Here is the caller graph for this function:used to output notifications.cfg file
Definition at line 781 of file all.qc.
References FOREACH, NOTIF_WRITE, NOTIF_WRITE_HARDCODED, and NUM_TEAM_1.
Referenced by GENERIC_COMMAND().
Here is the caller graph for this function:| void Local_Notification | ( | MSG | net_type, |
| Notification | net_name, | ||
| count | |||
| ) |
Definition at line 1185 of file all.qc.
References backtrace, count, cvar(), entity(), float(), Get_Notif_CvarName(), Get_Notif_TypeName(), Local_Notification_sprintf(), Local_Notification_WOVA(), LOG_WARNF, MakeConsoleSafe(), print(), strzone(), substring(), and warmup_stage.
Referenced by Announcer_Countdown(), Announcer_Gamestart(), GENERIC_COMMAND(), Local_Notification_WOVA(), and NET_HANDLE().
Here is the call graph for this function:
Here is the caller graph for this function:| string Local_Notification_sprintf | ( | string | input, |
| string | args, | ||
| string | s1, | ||
| string | s2, | ||
| string | s3, | ||
| string | s4, | ||
| int | f1, | ||
| float | f2, | ||
| float | f3, | ||
| float | f4 | ||
| ) |
Definition at line 993 of file all.qc.
References _sound, AnnouncerFilename, arg_slot, autocvar_cl_announcer_antispam, car(), cdr(), centerprint_Add(), f1, f2, ftos(), HUD_Notify_Push(), MakeConsoleSafe(), NOTIF_ARGUMENT_LIST, NOTIF_HIT_MAX, NOTIF_HIT_UNKNOWN, NOTIF_MAX_ARGS, NOTIF_MAX_DURCNT, NOTIF_MAX_HUDARGS, NULL, ORDINAL, s1, s2, stof(), strcat(), strcpy, and time.
Referenced by Local_Notification().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1368 of file all.qc.
References backtrace, centerprint_Kill(), centerprint_KillAll(), count, CPID_Null, EIGHT_VARS_TO_VARARGS_VARLIST, entity(), ENUMCAST, float(), FOREACH_CLIENT, Get_Notif_Ent(), Get_Notif_TypeName(), IL_EACH, IL_PUSH(), IS_REAL_CLIENT, Local_Notification(), Local_Notification_WOVA(), LOG_WARN, LOG_WARNF, make_pure, MakeConsoleSafe(), nent_client, nent_floatcount, nent_floats, nent_net_name, nent_net_type, nent_stringcount, nent_strings, NET_HANDLE, new_pure, ORDINAL, owner, ReadString, REGISTER_NET_LINKED, server_is_dedicated, setthink, strfree, strzone(), time, WriteByte(), WriteLong(), WriteShort(), and WriteString().
Referenced by GENERIC_COMMAND(), Local_Notification(), and Local_Notification_WOVA().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 219 of file all.qc.
References car(), cdr(), ftos(), LOG_INFOF, NOTIF_ARGUMENT_LIST, notif_error, NOTIF_MAX_ARGS, NOTIF_MAX_DURCNT, NOTIF_MAX_HUDARGS, and stof().
Referenced by Create_Notification_Entity_InfoCenter().
Here is the call graph for this function:
Here is the caller graph for this function:| string Process_Notif_Line | ( | MSG | typeId, |
| bool | chat, | ||
| string | input, | ||
| string | notiftype, | ||
| string | notifname, | ||
| string | stringtype | ||
| ) |
Definition at line 172 of file all.qc.
References autocvar_notification_allow_chatboxprint, LOG_INFOF, notif_error, strcat(), strlen(), and substring().
Here is the call graph for this function: