From: k9er Date: Mon, 7 Oct 2024 22:21:31 +0000 (+0000) Subject: Rename "Intermediate %d" to "Checkpoint %d" X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f2e9afe33da367d7794653691ba74ecc05e195a2;p=xonotic%2Fxonotic-data.pk3dir.git Rename "Intermediate %d" to "Checkpoint %d" --- diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index 4a76dbbd5..514a9c258 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -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")); diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 078f9e192..f69282ca3 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -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