whole bunch of refactoring client

This commit is contained in:
ThatGamerBlue
2020-04-11 13:00:01 +01:00
parent 5fdefb98f6
commit bb255a6da2
58 changed files with 225 additions and 187 deletions

View File

@@ -144,7 +144,7 @@ public class WorldMapIcon_1 extends AbstractWorldMapIcon {
Client.isResizable = false;
}
if (class74.getWindowedMode() == 1) {
if (ApproximateRouteStrategy.getWindowedMode() == 1) {
WorldMapSection1.client.setMaxCanvasSize(765, 503);
} else {
WorldMapSection1.client.setMaxCanvasSize(7680, 2160);
@@ -152,7 +152,7 @@ public class WorldMapIcon_1 extends AbstractWorldMapIcon {
if (Client.gameState >= 25) {
PacketBufferNode var1 = FaceNormal.getPacketBufferNode(ClientPacket.field2257, Client.packetWriter.isaacCipher);
var1.packetBuffer.writeByte(class74.getWindowedMode());
var1.packetBuffer.writeByte(ApproximateRouteStrategy.getWindowedMode());
var1.packetBuffer.writeShort(WorldMapLabel.canvasWidth);
var1.packetBuffer.writeShort(Varps.canvasHeight);
Client.packetWriter.addNode(var1);