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

View File

@ -16,7 +16,7 @@
~ eaglercraft.resourcePack.load.loading=Loading resource pack...
~ eaglercraft.resourcePack.load.deleting=Deleting resource pack...
> INSERT 1 : 231 @ 1
> INSERT 1 : 239 @ 1
+ eaglercraft.gui.exitKey=Use '%s' to close this screen!
+ eaglercraft.gui.exitKeyRetarded=Use Backtick (`) to close this screen!
@ -43,6 +43,14 @@
+
+ eaglercraft.editProfile.importExport=Import/Export
+
+ eaglercraft.defaultUsernameDetected.title=Default Username Detected
+ eaglercraft.defaultUsernameDetected.text0=The username "%s" was auto-generated by Eaglercraft
+ eaglercraft.defaultUsernameDetected.text1=It may already be taken on the largest servers
+ eaglercraft.defaultUsernameDetected.text2=Would you like to pick a different username instead?
+ eaglercraft.defaultUsernameDetected.changeUsername=Change Username
+ eaglercraft.defaultUsernameDetected.continueAnyway=Continue Anyway
+ eaglercraft.defaultUsernameDetected.doNotShow=Do not show again
+
+ eaglercraft.settingsBackup.importExport.title=What do you wanna do?
+ eaglercraft.settingsBackup.importExport.import=Import Profile and Settings...
+ eaglercraft.settingsBackup.importExport.export=Export Profile and Settings...