Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void draw3dScreen() {
- drawParallelWidgets();
- drawTargetInfo();
- if (counterOn) {
- drawCounterOnScreen();
- if (drawTotalExperience) {
- loadTotalXP();
- }
- }
- if (showChatComponents) {
- drawSplitPrivateChat();
- }
- fadingScreen.draw();
- if (crossType == 1) {
- int offSet = Configuration.clientSize == 0 ? 4 : 0;
- crosses[crossIndex / 100].drawSprite(crossX - 8 - offSet, crossY - 8 - offSet);
- anInt1142++;
- if (anInt1142 > 67) {
- anInt1142 = 0;
- stream.createFrame(78);
- }
- }
- if (crossType == 2) {
- int offSet = Configuration.clientSize == 0 ? 4 : 0;
- crosses[4 + crossIndex / 100].drawSprite(crossX - 8 - offSet, crossY - 8 - offSet);
- }
- drawParallelWidgets();
- if (anInt1018 != -1) {
- method119(anInt945, anInt1018);
- if (anInt1018 == 197 && Configuration.clientSize != 0) {
- skullIcons[0].drawSprite(Configuration.clientWidth - 157, 168);
- String text = RSInterface.interfaceCache[199].message.replace("@yel@", "");
- aTextDrawingArea_1271.drawChatInput(0xE1981D, Configuration.clientWidth - 165, text, 207, true);
- } else if (anInt1018 == 201 && Configuration.clientSize != 0) {
- drawInterface(0, Configuration.clientWidth - 560, RSInterface.interfaceCache[anInt1018], -109);
- } else {
- drawInterface(0, Configuration.clientSize == 0 ? 0 : (Configuration.clientWidth / 2) - 356,
- RSInterface.interfaceCache[anInt1018],
- Configuration.clientSize == 0 ? 0 : (Configuration.clientHeight / 2) - 230);
- }
- }
- if (openInterfaceID != -1) {
- method119(anInt945, openInterfaceID);
- drawInterface(0, Configuration.clientSize == 0 ? 0 : (Configuration.clientWidth / 2) - 356,
- RSInterface.interfaceCache[openInterfaceID],
- Configuration.clientSize == 0 ? 0 : (Configuration.clientHeight / 2) - 230);
- }
- if (!menuOpen) {
- processRightClick();
- drawTooltip();
- } else if (menuScreenArea == 0) {
- drawMenu(Configuration.clientSize == 0 ? 4 : 0, Configuration.clientSize == 0 ? 4 : 0);
- }
- if (anInt1055 == 1) {
- multiOverlay.drawSprite(Configuration.clientSize == 0 ? 472 : Configuration.clientWidth - 85,
- Configuration.clientSize == 0 ? 296 : 186);
- }
- //Now you'll have to write one for the bounty hunter interface id
- if (fpsOn) {
- int textColour = 0xffff00;
- if (super.fps < 15) {
- textColour = 0xff0000;
- }
- aTextDrawingArea_1271.method385(textColour, "Fps: " + super.fps, 45,
- Configuration.clientSize == 0 ? 470 : Configuration.clientWidth - 265);
- Runtime runtime = Runtime.getRuntime();
- int memUsage = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
- textColour = 0xffff00;
- if (memUsage > 0x2000000 && lowMem) {
- textColour = 0xff0000;
- }
- aTextDrawingArea_1271.method385(textColour, "Mem: " + memUsage + "k", 60,
- Configuration.clientSize == 0 ? 428 : Configuration.clientWidth - 265);
- }
- int x = baseX + (myPlayer.x - 6 >> 7);
- int y = baseY + (myPlayer.y - 6 >> 7);
- final String screenMode = Configuration.clientSize == 0 ? "Fixed" : "Resizable";
- if (clientData) {
- int textColour = 0xffff00;
- int fpsColour = 0xffff00;
- if (super.fps < 15) {
- fpsColour = 0xff0000;
- }
- for(int num = 0; num < anIntArray1235.length; num++) {
- int[] flo = anIntArray1235;
- newRegularFont.drawBasicString("Floor map: <col=00FF00>" + Arrays.toString(flo), 8, 135, 0xffff00, 40);
- //output: "Floor map: [0, 2, 4, 6, 8]"
- }
- aTextDrawingArea_1271.method385(textColour,
- "Configuration.clientWidth: " + (mouseX - Configuration.clientWidth)
- + ", Configuration.clientHeight: " + (mouseY - Configuration.clientHeight),
- Configuration.clientHeight - 271, 5);
- aTextDrawingArea_1271.method385(textColour, "Client Zoom: " + cameraZoom, Configuration.clientHeight - 257,
- 5);
- aTextDrawingArea_1271.method385(fpsColour, "Fps: " + super.fps, Configuration.clientHeight - 243, 5);
- Runtime runtime = Runtime.getRuntime();
- int clientMemory = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
- aTextDrawingArea_1271.method385(textColour, "Memory Usage: " + clientMemory + "k",
- Configuration.clientHeight - 229, 5);
- aTextDrawingArea_1271.method385(textColour, "Mouse X: " + mouseX + ", Mouse Y: " + mouseY,
- Configuration.clientHeight - 215, 5);
- aTextDrawingArea_1271.method385(textColour, "Coords: " + x + ", " + y, Configuration.clientHeight - 201, 5);
- aTextDrawingArea_1271.method385(textColour, "Client Mode: " + screenMode + "",
- Configuration.clientHeight - 187, 5);
- aTextDrawingArea_1271.method385(textColour,
- "Client Resolution: " + Configuration.clientWidth + "x" + Configuration.clientHeight,
- Configuration.clientHeight - 173, 5);
- }
- if (broadcastUpdate && anInt1104 != 0) {
- int j = anInt1104 / 100;
- j %= 60;
- if (j > 0) {
- aTextDrawingArea_1271.method385(0xffff00, broadcast, 329, 4);
- } else {
- anInt1104 = 0;
- broadcast = "";
- broadcastUpdate = false;
- }
- }
- if (anInt1104 != 0 && !broadcastUpdate) {
- int j = anInt1104 / 50;
- int l = j / 60;
- int yOffset = Configuration.clientSize == 0 ? 0 : Configuration.clientHeight - 498;
- j %= 60;
- if (j < 10)
- aTextDrawingArea_1271.method385(0xffff00, "System update in: " + l + ":0" + j, 329 + yOffset, 4);
- else
- aTextDrawingArea_1271.method385(0xffff00, "System update in: " + l + ":" + j, 329 + yOffset, 4);
- anInt849++;
- if (anInt849 > 75) {
- anInt849 = 0;
- stream.createFrame(148);
- }
- }
- int f = 250;
- if (Configuration.timers) {
- if (freezeTimer != -1) {
- if (!freezeToggle) {
- cacheSprite[63].drawAdvancedSprite(476, f);
- } else {
- cacheSprite[63].drawAdvancedSprite(440, f);
- newSmallFont.drawBasicString(calculateInMinutes(freezeTimer) + "", 476, f + 15, 0xFFA500, 1);
- }
- freezeY = f + 5;
- f -= 25;
- }
- if (vengTimer != -1) {
- if (!vengToggle) {
- cacheSprite[64].drawAdvancedSprite(476, f);
- } else {
- cacheSprite[64].drawAdvancedSprite(440, f);
- newSmallFont.drawBasicString(calculateInMinutes(vengTimer) + "", 476, f + 15, 0xFFA500, 1);
- }
- vengY = f + 5;
- f -= 25;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment