]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
More cleaning of comments and stuff
authorSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 05:18:54 +0000 (00:18 -0500)
committerSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 05:18:54 +0000 (00:18 -0500)
qcsrc/common/notifications.qc
qcsrc/common/notifications.qh

index 2e78ce4ab813e2c5d085852f7c1356a8dec31c8e..5054e863cbf1a91fb11703ab29217d596cd472b6 100644 (file)
@@ -68,30 +68,38 @@ void Dump_Notifications(float fh, float alsoprint)
        // it is just a semi-helpful tool for those who want to manually change their user settings.
 
        NOTIF_WRITE(sprintf("\n// MSG_INFO notifications (count = %d):\n", NOTIF_INFO_COUNT));
-       for(i = 1; i <= NOTIF_INFO_COUNT; ++i) {
+       for(i = 1; i <= NOTIF_INFO_COUNT; ++i)
+       {
                e = Get_Notif_Ent(MSG_INFO, i);
                if not(e) { backtrace("Dump_Notifications(): Missing notification entity!\n"); return; }
-               NOTIF_WRITE_SETA(e.nent_name, e.nent_default, e.nent_string); }
+               NOTIF_WRITE_SETA(e.nent_name, e.nent_default, e.nent_string);
+       }
 
        NOTIF_WRITE(sprintf("\n// MSG_CENTER notifications (count = %d):\n", NOTIF_CENTER_COUNT));
-       for(i = 1; i <= NOTIF_CENTER_COUNT; ++i) {
+       for(i = 1; i <= NOTIF_CENTER_COUNT; ++i)
+       {
                e = Get_Notif_Ent(MSG_CENTER, i);
                if not(e) { backtrace("Dump_Notifications(): Missing notification entity!\n"); return; }
-               NOTIF_WRITE_SETA(e.nent_name, e.nent_default, e.nent_string); }
+               NOTIF_WRITE_SETA(e.nent_name, e.nent_default, e.nent_string);
+       }
 
        NOTIF_WRITE(sprintf("\n// MSG_WEAPON notifications (count = %d):\n", NOTIF_WEAPON_COUNT));
-       for(i = 1; i <= NOTIF_WEAPON_COUNT; ++i) {
+       for(i = 1; i <= NOTIF_WEAPON_COUNT; ++i)
+       {
                e = Get_Notif_Ent(MSG_WEAPON, i);
                if not(e) { backtrace("Dump_Notifications(): Missing notification entity!\n"); return; }
                NOTIF_WRITE_SETA(e.nent_name, e.nent_default, sprintf("infoname: %s, centername: %s",
-                       e.nent_msginfo.nent_name, e.nent_msgcenter.nent_name)); }
+                       e.nent_msginfo.nent_name, e.nent_msgcenter.nent_name));
+       }
 
        NOTIF_WRITE(sprintf("\n// MSG_DEATH notifications (count = %d):\n", NOTIF_DEATH_COUNT));
-       for(i = 1; i <= NOTIF_DEATH_COUNT; ++i) {
+       for(i = 1; i <= NOTIF_DEATH_COUNT; ++i)
+       {
                e = Get_Notif_Ent(MSG_DEATH, i);
                if not(e) { backtrace("Dump_Notifications(): Missing notification entity!\n"); return; }
                NOTIF_WRITE_SETA(e.nent_name, e.nent_default, sprintf("infoname: %s, centername: %s",
-                       e.nent_msginfo.nent_name, e.nent_msgcenter.nent_name)); }
+                       e.nent_msginfo.nent_name, e.nent_msgcenter.nent_name));
+       }
 
        // edit these to match whichever cvars are used for specific notification options
        NOTIF_WRITE("\n// HARD CODED notification variables:\n");
index 3472b3a5530ae784373f580fe5de6263ab326491..240e0748407559dfba0c7ec3523ab9ea3d7d1cca 100644 (file)
@@ -13,8 +13,8 @@
 
 // Current version number of the configuration file for notifications...
 // This is used to check matches between the config file and the code,
-// and should be incremented any time you add a new/remove or edit an notification
-// or any time you change default values or add/edit/remove a special cvar.
+// and should be incremented with any new notifications or any other changes
+// to notification cvars, notification list, or notificiation config.
 #define NOTIF_VERSION 3
 
 #define EIGHT_VARS_TO_VARARGS_VARLIST \