Update #39 - Fix various issues with the client

This commit is contained in:
lax1dude
2024-09-26 21:47:56 -07:00
parent c0eddc3dfd
commit 82a70b7649
24 changed files with 314 additions and 45 deletions

View File

@ -866,7 +866,7 @@
~ int j = Mouse.getEventDWheel();
~ if (j != 0) {
~ if (this.isZoomKey) {
~ this.adjustedZoomValue = MathHelper.clamp_float(adjustedZoomValue - j * 4.0f, 5.0f,
~ this.adjustedZoomValue = MathHelper.clamp_float(adjustedZoomValue - j * 4.0f, 4.0f,
~ 32.0f);
~ } else if (this.thePlayer.isSpectator()) {
~ j = j < 0 ? -1 : 1;

View File

@ -95,7 +95,7 @@
~ public int guiScale = 3;
> INSERT 3 : 22 @ 3
> INSERT 3 : 23 @ 3
+ public boolean hudFps = true;
+ public boolean hudCoords = true;
@ -116,6 +116,7 @@
+ public boolean enableProfanityFilter = false;
+ public boolean hasShownProfanityFilter = false;
+ public float touchControlOpacity = 1.0f;
+ public boolean hideDefaultUsernameWarning = false;
> CHANGE 1 : 15 @ 1 : 2
@ -535,7 +536,7 @@
~ for (EnumPlayerModelParts enumplayermodelparts : EnumPlayerModelParts._VALUES) {
> INSERT 4 : 66 @ 4
> INSERT 4 : 70 @ 4
+
+ if (astring[0].equals("enableFNAWSkins")) {
@ -598,6 +599,10 @@
+ touchControlOpacity = parseFloat(astring[1]);
+ }
+
+ if (astring[0].equals("hideDefaultUsernameWarning")) {
+ this.hideDefaultUsernameWarning = astring[1].equals("true");
+ }
+
+ deferredShaderConf.readOption(astring[0], astring[1]);
> CHANGE 6 : 23 @ 6 : 7
@ -661,7 +666,7 @@
> DELETE 9 @ 9 : 20
> INSERT 5 : 35 @ 5
> INSERT 5 : 36 @ 5
+ printwriter.println("hudFps:" + this.hudFps);
+ printwriter.println("hudWorld:" + this.hudWorld);
@ -693,6 +698,7 @@
+ printwriter.println("screenRecordGameVolume:" + this.screenRecordGameVolume);
+ printwriter.println("screenRecordMicVolume:" + this.screenRecordMicVolume);
+ printwriter.println("touchControlOpacity:" + this.touchControlOpacity);
+ printwriter.println("hideDefaultUsernameWarning:" + this.hideDefaultUsernameWarning);
> CHANGE 5 : 8 @ 5 : 6