mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-13 01:51:39 -07:00
Consolidated a little more
This commit is contained in:
parent
774d382816
commit
1c0b9b1755
86 changed files with 1239 additions and 1292 deletions
|
|
@ -494,4 +494,50 @@ public class LoginManager {
|
|||
clear();
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ca", name = "h", descriptor = "(I)V")
|
||||
public static void setupLoadingScreenRegion() {
|
||||
@Pc(10) int local10 = (Static138.renderX >> 10) + (Static225.originX >> 3);
|
||||
@Pc(23) int local23 = (Static134.renderZ >> 10) + (Static142.originZ >> 3);
|
||||
Static156.locationMapFilesBuffer = new byte[18][];
|
||||
Static35.underWaterLocationsMapFileIds = new int[18];
|
||||
Static191.npcSpawnsFilesBuffer = new byte[18][];
|
||||
Static36.mapFileIds = new int[18];
|
||||
Static72.regionsXteaKeys = new int[18][4];
|
||||
Static186.underWaterMapFilesBuffer = new byte[18][];
|
||||
Static238.regionBitPacked = new int[18];
|
||||
Static273.mapFilesBuffer = new byte[18][];
|
||||
Static175.npcSpawnsFileIds = new int[18];
|
||||
Static99.underWaterMapFileIds = new int[18];
|
||||
Static172.locationsMapFileIds = new int[18];
|
||||
Static19.underWaterLocationsMapFilesBuffer = new byte[18][];
|
||||
@Pc(74) int local74 = 0;
|
||||
@Pc(80) int local80;
|
||||
for (local80 = (local10 - 6) / 8; local80 <= (local10 + 6) / 8; local80++) {
|
||||
for (@Pc(97) int local97 = (local23 - 6) / 8; local97 <= (local23 + 6) / 8; local97++) {
|
||||
@Pc(115) int local115 = (local80 << 8) + local97;
|
||||
Static238.regionBitPacked[local74] = local115;
|
||||
Static36.mapFileIds[local74] = client.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static103.aClass100_558, JagString.parseInt(local80), Static86.aClass100_488, JagString.parseInt(local97) }));
|
||||
Static172.locationsMapFileIds[local74] = client.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static270.aClass100_1090, JagString.parseInt(local80), Static86.aClass100_488, JagString.parseInt(local97) }));
|
||||
Static175.npcSpawnsFileIds[local74] = client.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static179.aClass100_807, JagString.parseInt(local80), Static86.aClass100_488, JagString.parseInt(local97) }));
|
||||
Static99.underWaterMapFileIds[local74] = client.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static165.aClass100_772, JagString.parseInt(local80), Static86.aClass100_488, JagString.parseInt(local97) }));
|
||||
Static35.underWaterLocationsMapFileIds[local74] = client.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static278.aClass100_1103, JagString.parseInt(local80), Static86.aClass100_488, JagString.parseInt(local97) }));
|
||||
if (Static175.npcSpawnsFileIds[local74] == -1) {
|
||||
Static36.mapFileIds[local74] = -1;
|
||||
Static172.locationsMapFileIds[local74] = -1;
|
||||
Static99.underWaterMapFileIds[local74] = -1;
|
||||
Static35.underWaterLocationsMapFileIds[local74] = -1;
|
||||
}
|
||||
local74++;
|
||||
}
|
||||
}
|
||||
for (local80 = local74; local80 < Static175.npcSpawnsFileIds.length; local80++) {
|
||||
Static175.npcSpawnsFileIds[local80] = -1;
|
||||
Static36.mapFileIds[local80] = -1;
|
||||
Static172.locationsMapFileIds[local80] = -1;
|
||||
Static99.underWaterMapFileIds[local80] = -1;
|
||||
Static35.underWaterLocationsMapFileIds[local80] = -1;
|
||||
}
|
||||
Static127.method2463(0, local23, local10, 8, true, 8);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue