mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-19 12:35:52 -04:00
Don't show 'chunks/s' in top left when 0.
This commit is contained in:
parent
dffa95da28
commit
160d1874a6
@ -58,8 +58,10 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
if (game.ClassicMode) {
|
||||
statusBuffer.AppendNum(ref index, game.ChunkUpdates).Append(ref index, " chunk updates");
|
||||
} else {
|
||||
statusBuffer.AppendNum(ref index, game.ChunkUpdates).Append(ref index, " chunks/s, ")
|
||||
.AppendNum(ref index, game.Vertices).Append(ref index, " vertices");
|
||||
if (game.ChunkUpdates > 0) {
|
||||
statusBuffer.AppendNum(ref index, game.ChunkUpdates).Append(ref index, " chunks/s, ");
|
||||
}
|
||||
statusBuffer.AppendNum(ref index, game.Vertices).Append(ref index, " vertices");
|
||||
|
||||
int ping = PingList.AveragePingMilliseconds();
|
||||
if (ping != 0) {
|
||||
@ -149,7 +151,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
void UpdateHackState(bool force) {
|
||||
HacksComponent hacks = game.LocalPlayer.Hacks;
|
||||
if (force || hacks.Speeding != speeding || hacks.HalfSpeeding != halfSpeeding || hacks.Noclip != noclip ||
|
||||
hacks.Flying != fly || game.Fov != lastFov) {
|
||||
hacks.Flying != fly || game.Fov != lastFov) {
|
||||
speeding = hacks.Speeding; halfSpeeding = hacks.HalfSpeeding; noclip = hacks.Noclip; fly = hacks.Flying;
|
||||
lastFov = game.Fov;
|
||||
int index = 0;
|
||||
|
@ -101,7 +101,7 @@ namespace ClassicalSharp.Model {
|
||||
(skinType == SkinType.Type64x64 ? Set64 : Set);
|
||||
|
||||
DrawRotate(-p.HeadXRadians, 0, 0, model.Head, true);
|
||||
DrawPart(model.Torso); DateTime.UtcNow.mi
|
||||
DrawPart(model.Torso);
|
||||
|
||||
DrawRotate(p.anim.leftLegX, 0, p.anim.leftLegZ, model.LeftLeg, false);
|
||||
DrawRotate(p.anim.rightLegX, 0, p.anim.rightLegZ, model.RightLeg, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user