]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Rename "Intermediate %d" to "Checkpoint %d"
authork9er <k9wolf@pm.me>
Mon, 7 Oct 2024 22:21:31 +0000 (22:21 +0000)
committerterencehill <piuntn@gmail.com>
Mon, 7 Oct 2024 22:21:31 +0000 (22:21 +0000)
qcsrc/client/hud/panel/racetimer.qc
qcsrc/server/race.qc

index 4a76dbbd55d5fe3b211d0b474ef6cc3e3833c892..514a9c25883d71f354c22a77dad0bd415f58f6aa 100644 (file)
@@ -88,7 +88,7 @@ string MakeRaceString(int cp, float mytime, float theirtime, float othertime, fl
        else if(cp == 255)
                cpname = _("Finish line");
        else if(cp)
-               cpname = sprintf(_("Intermediate %d"), cp);
+               cpname = sprintf(_("Checkpoint %d"), cp);
        else
                cpname = _("Finish line");
 
@@ -192,7 +192,7 @@ void HUD_RaceTimer ()
                str_pos = pos + eX * 0.5 * (mySize.x - stringwidth(s, false, '1 1 0' * 0.6 * mySize.y));
                drawstring(str_pos, s, '1 1 0' * 0.6 * mySize.y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
                draw_endBoldFont();
-               s = strcat("^1", sprintf(_("Intermediate %d"), 1), " (+15.42)");
+               s = strcat("^1", sprintf(_("Checkpoint %d"), 1), " (+15.42)");
                str_pos = pos + vec2(0.5 * (mySize.x - stringwidth(s, true, '1 1 0' * 0.2 * mySize.y)), 0.6 * mySize.y);
                drawcolorcodedstring(str_pos, s, '1 1 0' * 0.2 * mySize.y, panel_fg_alpha, DRAWFLAG_NORMAL);
                s = sprintf(_("PENALTY: %.1f (%s)"), 2, _("missing a checkpoint"));
index 078f9e1923a7bf300adb9ec879d790e59567693d..f69282ca3558d2617b45381d34778b2720e06b47 100644 (file)
@@ -572,7 +572,7 @@ void race_SendTime(entity e, float cp, float t, float tvalid)
                                                WriteHeader(MSG_ONE, TE_CSQC_RACE);
                                                WriteByte(MSG_ONE, RACE_NET_CHECKPOINT_HIT_QUALIFYING);
                                                WriteByte(MSG_ONE, race_CheckpointNetworkID(cp)); // checkpoint the player now is at
-                                               WriteInt24_t(MSG_ONE, t); // time to that intermediate
+                                               WriteInt24_t(MSG_ONE, t); // time to that checkpoint
                                                WriteInt24_t(MSG_ONE, recordtime); // previously best time
                                                WriteInt24_t(MSG_ONE, ((tvalid) ? it.race_checkpoint_record[cp] : 0)); // previously best time
                                                WriteString(MSG_ONE, recordholder); // record holder