More renaming

This commit is contained in:
Lucas
2019-07-07 08:53:22 +02:00
parent 7439136209
commit c92553f86f
54 changed files with 183 additions and 181 deletions

View File

@@ -144,13 +144,13 @@ public class WorldMapSection1 implements WorldMapSection {
garbageValue = "-1916486802"
)
@Export("coord")
public TileLocation coord(int var1, int var2) {
public Coord coord(int var1, int var2) {
if (!this.containsPosition(var1, var2)) {
return null;
} else {
int var3 = this.field1074 * 64 - this.field1076 * 64 + (this.field1078 * 8 - this.field1080 * 8) + var1;
int var4 = this.field1075 * 64 - this.field1077 * 64 + var2 + (this.field1079 * 8 - this.field1081 * 8);
return new TileLocation(this.field1072, var3, var4);
return new Coord(this.field1072, var3, var4);
}
}
@@ -289,12 +289,12 @@ public class WorldMapSection1 implements WorldMapSection {
AbstractByteArrayCopier.unloadWidgetGroup(Client.rootWidgetGroup);
}
for (WidgetGroupParent var4 = (WidgetGroupParent)Client.widgetGroupParents.first(); var4 != null; var4 = (WidgetGroupParent)Client.widgetGroupParents.next()) {
for (InterfaceParent var4 = (InterfaceParent)Client.interfaceParents.first(); var4 != null; var4 = (InterfaceParent)Client.interfaceParents.next()) {
MenuAction.closeWidgetGroup(var4, true);
}
Client.rootWidgetGroup = -1;
Client.widgetGroupParents = new NodeHashTable(8);
Client.interfaceParents = new NodeHashTable(8);
Client.field127 = null;
Client.menuOptionsCount = 0;
Client.isMenuOpen = false;