mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 00:51:57 +00:00
CLIENT: HUD_PlayerDebugInfo: draw with capitals
This commit is contained in:
parent
1ae4e646ba
commit
a9356369ac
1 changed files with 3 additions and 3 deletions
|
@ -1955,18 +1955,18 @@ void(float width, float height) HUD_PlayerDebugInfo =
|
||||||
lastupstime = time;
|
lastupstime = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
string str = sprintf("speed: %3.1f qu/s", lastups);
|
string str = sprintf("Speed: %3.1f qu/s", lastups);
|
||||||
vector pos = [cvar("scr_playerdebuginfo_x"), cvar("scr_playerdebuginfo_y")];
|
vector pos = [cvar("scr_playerdebuginfo_x"), cvar("scr_playerdebuginfo_y")];
|
||||||
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
||||||
|
|
||||||
if (cvar("scr_playerdebuginfo") >= 2)
|
if (cvar("scr_playerdebuginfo") >= 2)
|
||||||
{
|
{
|
||||||
pos.y += 16;
|
pos.y += 16;
|
||||||
str = sprintf("angles: %v", getproperty(VF_ANGLES));
|
str = sprintf("Angles: %v", getproperty(VF_ANGLES));
|
||||||
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
||||||
|
|
||||||
pos.y += 16;
|
pos.y += 16;
|
||||||
str = sprintf("origin: %v", getproperty(VF_ORIGIN));
|
str = sprintf("Origin: %v", getproperty(VF_ORIGIN));
|
||||||
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
Draw_String(pos, str, [12, 12], [1, 1, 1], 1, 0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue