]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
centerprint_kill --> centerprint_Kill
authorterencehill <piuntn@gmail.com>
Sat, 30 May 2020 14:10:35 +0000 (16:10 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 30 May 2020 14:10:35 +0000 (16:10 +0200)
qcsrc/client/announcer.qc
qcsrc/client/hud/panel/centerprint.qc
qcsrc/client/hud/panel/centerprint.qh
qcsrc/common/notifications/all.qc

index 4995f5189a6196d3ea97cc7cb3a32debe1eabfa3..ae04b5be15e5b866fda2a185ac58397727cd5101 100644 (file)
@@ -85,7 +85,7 @@ void Announcer_Gamestart()
        {
                if(announcer_countdown)
                {
-                       centerprint_kill(ORDINAL(CPID_ROUND));
+                       centerprint_Kill(ORDINAL(CPID_ROUND));
                        if(announcer_countdown)
                        {
                                delete(announcer_countdown);
index f2563c741f79ca2a8e03fe5044cc65aecdfb1c71..0ddf5f347dbeb11e23c834c12cd3f79c8bfe2e3e 100644 (file)
@@ -47,7 +47,7 @@ bool centerprint_showing;
 void centerprint_Add(int new_id, string strMessage, float duration, int countdown_num)
 {
        TC(int, new_id); TC(int, countdown_num);
-       //printf("centerprint_Add(%d, '%s^7', %d, %d);\n", new_id, strMessage, duration, countdown_num);
+       //LOG_INFOF("centerprint_Add: ^2id: %d ^3dur: %d ^5countdown: %d\n'%s'", new_id, duration, countdown_num, strreplace("\n", "^7\\n^7", strMessage));
        int i, j;
 
        if(strMessage == "" && new_id == 0)
@@ -124,7 +124,7 @@ void centerprint_Add(int new_id, string strMessage, float duration, int countdow
        centerprint_countdown_num[j] = countdown_num;
 }
 
-void centerprint_kill(int id)
+void centerprint_Kill(int id)
 {
        TC(int, id);
        centerprint_Add(id, "", 0, 0);
index 92339139f0dc963af19cb488cd87c67441e67f53..8d2617955c5d8f31ef80fa824f3ebcc77947aec0 100644 (file)
@@ -3,5 +3,5 @@
 
 void centerprint_Add(int new_id, string strMessage, float duration, int countdown_num);
 void centerprint_AddStandard(string strMessage);
-void centerprint_kill(int id);
+void centerprint_Kill(int id);
 void centerprint_KillAll();
index 371bbebee41e69f05ec092cd9a3cada76937013e..d6db436d0174b2fe672ef2da00a9dbe35aacec68 100644 (file)
@@ -1410,7 +1410,7 @@ NET_HANDLE(ENT_CLIENT_NOTIFICATION, bool is_new)
         if (net_name == CPID_Null) {
             centerprint_KillAll();
         } else {
-            centerprint_kill(ORDINAL(net_name));// kill group
+            centerprint_Kill(ORDINAL(net_name));// kill group
         }
         return;
     }