MSG_DEATH_NOTIF(1, DEATH_TEAMKILL_FRAGGED, NO_MSG, CENTER_DEATH_TEAMKILL_FRAGGED)
-// ====================================
-// Initialization/Create Declarations
-// ====================================
+// ============================
+// Notification Argument List
+// ============================
#define NOTIF_MAX_ARGS 7
#define NOTIF_MAX_HUDARGS 2
ARG_CASE(ARG_SVQC, "weapon_name", ftos(f1))
+// ===========================
+// Special CVAR Declarations
+// ===========================
+
+// MAKE SURE THIS IS ALWAYS SYNCHRONIZED WITH THE DUMP
+// NOTIFICATIONS FUNCTION IN THE .QC FILE!
+
+#define NOTIF_ADD_AUTOCVAR(name,default) var float autocvar_notification_##name = default;
+
+NOTIF_ADD_AUTOCVAR(errors_are_fatal, TRUE)
+
+#ifdef SVQC
+.float FRAG_VERBOSE;
+void Notification_GetCvars(void);
+#else
+NOTIF_ADD_AUTOCVAR(frag_verbose, TRUE)
+#endif
+
+
// ====================================
// Initialization/Create Declarations
// ====================================
notif_global_error = TRUE; \
}
-#define NOTIF_ADD_AUTOCVAR(name,default) var float autocvar_notification_##name = default;
-
-NOTIF_ADD_AUTOCVAR(frag_verbose, TRUE)
-#ifdef SVQC
-.float FRAG_VERBOSE;
-void Notification_GetCvars(void);
-#endif
-
#define MSG_INFO_NOTIF(default,name,strnum,flnum,args,hudargs,icon,normal,gentle) \
NOTIF_ADD_AUTOCVAR(name, default) \
float name; \
} \
ACCUMULATE_FUNCTION(RegisterNotifications, RegisterNotification_##name)
-NOTIF_ADD_AUTOCVAR(errors_are_fatal, TRUE)
void RegisterNotifications_Done()
{
if(notif_global_error && autocvar_notification_errors_are_fatal)