}
#ifdef SVQC
-string Notification_CheckArgs(float broadcast, entity client, float net_type, float net_name)
+string Notification_CheckArgs(
+ float broadcast, entity client,
+ float net_type, float net_name)
{
// check supplied broadcast, target, type, and name for errors
string checkargs = Notification_CheckArgs_TypeName(net_type, net_name);
// Frontend Notification Pushing
// ===============================
-string Local_Notification_sprintf(string input, string args,
+string Local_Notification_sprintf(
+ string input, string args,
string s1, string s2, string s3, string s4,
float f1, float f2, float f3, float f4)
{
}
#ifdef CSQC
-void Local_Notification_HUD_Notify_Push(string icon, string hudargs, string s1, string s2, string s3, string s4)
+void Local_Notification_HUD_Notify_Push(
+ string icon, string hudargs,
+ string s1, string s2, string s3, string s4)
{
string selected;
float sel_num;
HUD_Notify_Push(icon, arg_slot[0], arg_slot[1]);
}
-void Local_Notification_centerprint_generic(string input, string durcnt, float cpid, float f1, float f2)
+void Local_Notification_centerprint_generic(
+ string input, string durcnt,
+ float cpid, float f1, float f2)
{
string selected;
float sel_num;
}
// WOVA = Without Variable Arguments
-void Local_Notification_WOVA(float net_type, float net_name,
+void Local_Notification_WOVA(
+ float net_type, float net_name,
float stringcount, float floatcount,
string s1, string s2, string s3, string s4,
float f1, float f2, float f3, float f4)
return send;
}
-void Kill_Notification(float broadcast, entity client, float net_type, float net_name)
+void Kill_Notification(
+ float broadcast, entity client,
+ float net_type, float net_name)
{
string checkargs = Notification_CheckArgs(broadcast, client, 1, 1);
if(checkargs != "") { backtrace(sprintf("Incorrect usage of Kill_Notification: %s\n", checkargs)); return; }
}
}
-void Send_Notification(float broadcast, entity client,
- float net_type, float net_name, ...count)
+void Send_Notification(
+ float broadcast, entity client,
+ float net_type, float net_name,
+ ...count)
{
// check supplied broadcast, target, type, and name for errors
string checkargs = Notification_CheckArgs(broadcast, client, net_type, net_name);
}
// WOVA = Without Variable Arguments
-void Send_Notification_WOVA(float broadcast, entity client,
+void Send_Notification_WOVA(
+ float broadcast, entity client,
float net_type, float net_name,
string s1, string s2, string s3, string s4,
float f1, float f2, float f3, float f4)
void Dump_Notifications(float fh, float alsoprint);
void Local_Notification(float net_type, float net_name, ...count);
-void Local_Notification_WOVA(float net_type, float net_name, float stringcount, float floatcount, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4);
+void Local_Notification_WOVA(
+ float net_type, float net_name,
+ float stringcount, float floatcount,
+ string s1, string s2, string s3, string s4,
+ float f1, float f2, float f3, float f4);
#ifdef CSQC // CLIENT ONLY
void Read_Notification(float is_new);
#define IFSTR(num) ((num < notif.nent_stringcount) ? ...(num, string) : "")
#define IFFL(num) ((((notif.nent_stringcount-1) + num) < count) ? ...(((notif.nent_stringcount-1) + num), float) : 0)
-void Kill_Notification(float broadcast, entity client, float net_type, float net_name);
-void Send_Notification(float broadcast, entity client, float net_type, float net_name, ...count);
-void Send_Notification_WOVA(float broadcast, entity client, float net_type, float net_name, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4);
+void Kill_Notification(
+ float broadcast, entity client,
+ float net_type, float net_name);
+void Send_Notification(
+ float broadcast, entity client,
+ float net_type, float net_name,
+ ...count);
+void Send_Notification_WOVA(
+ float broadcast, entity client,
+ float net_type, float net_name,
+ string s1, string s2, string s3, string s4,
+ float f1, float f2, float f3, float f4);
// legacy stuff
void Send_CSQC_Centerprint_Generic(entity e, float id, string s, float duration, float countdown_num);