Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void drawLoginScreen(boolean flag) {
- resetImageProducers();
- aRSImageProducer_1109.initDrawingArea();
- /* Setup the variables */
- char c = '\u0168';
- char c1 = '\310';
- int j = c1 / 2 - 40;
- int i1 = c / 2 - 80;
- int l1 = c1 / 2 + 50;
- /* Draws the titlebox ( */
- if(!flag)
- titleBox.drawSprite1(0, 0, 80);
- else
- titleBox.drawSprite(0, 0);
- /* Draws the login message(s) */
- if (loginMessage1.length() > 0) {
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMessage1, j - 15, true);
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMessage2, j, true);
- } else {
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMessage2, j - 7, true);
- }
- /* Draws username/password text */
- aTextDrawingArea_1270.method389(true, c / 2 - 97, 0xffffff,
- "Username: " + myUsername + ((loginScreenCursorPos == 0)
- & (loopCycle % 40 < 20) ? "@yel@|" : ""), j + 30);
- aTextDrawingArea_1270.method389(true, c / 2 - 97, 0xffffff,
- "Password: " + TextClass.passwordAsterisks(myPassword)
- + ((loginScreenCursorPos == 1) & (loopCycle % 40 < 20)
- ? "@yel@|" : ""), j + 45);
- /* Draws the titlebuttons and text */
- if(!flag) {
- i1 = c / 2 - 80;
- titleButton.drawSprite(i1 - 73, l1 - 20);
- i1 = c / 2 + 80;
- titleButton.drawSprite(i1 - 73, l1 - 20);
- }
- i1 = c / 2 - 80;
- chatTextDrawingArea.method382(0xffffff, i1, "Login", l1 + 5, true);
- i1 = c / 2 + 80;
- chatTextDrawingArea.method382(0xffffff, i1, "Clear", l1 + 5, true);
- if(flag) {
- i1 = c / 2 - 80;
- aBackground_967.method361(i1 - 73, l1 - 20, 128);
- i1 = c / 2 + 80;
- aBackground_967.method361(i1 - 73, l1 - 20, 128);
- }
- /* What the titlebox gets drawn on */
- aRSImageProducer_1109.drawGraphics(171, super.graphics, 202);
- /* If needed, draws the background again */
- if (welcomeScreenRaised) {
- welcomeScreenRaised = false;
- aRSImageProducer_1110.drawGraphics(0, super.graphics, 0);
- aRSImageProducer_1111.drawGraphics(0, super.graphics, 637);
- aRSImageProducer_1107.drawGraphics(0, super.graphics, 128);
- aRSImageProducer_1108.drawGraphics(371, super.graphics, 202);
- aRSImageProducer_1112.drawGraphics(265, super.graphics, 0);
- aRSImageProducer_1113.drawGraphics(265, super.graphics, 562);
- aRSImageProducer_1114.drawGraphics(171, super.graphics, 128);
- aRSImageProducer_1115.drawGraphics(171, super.graphics, 562);
- }
- }
- client.java:9650: cannot find symbol
- symbol : method drawSprite1(int,int,int)
- location: class Background
- aBackground_966.drawSprite1(0, 0, 80);
- ^
- client.java:9652: cannot find symbol
- symbol : method drawSprite(int,int)
- location: class Background
- aBackground_966.drawSprite(0, 0);
- ^
- client.java:9656: cannot find symbol
- symbol : variable aTextDrawingArea_1270
- location: class client
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMe
- ssage1, j - 15, true);
- ^
- client.java:9657: cannot find symbol
- symbol : variable aTextDrawingArea_1270
- location: class client
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMe
- ssage2, j, true);
- ^
- client.java:9659: cannot find symbol
- symbol : variable aTextDrawingArea_1270
- location: class client
- aTextDrawingArea_1270.method382(0xffff00, c / 2, loginMe
- ssage2, j - 7, true);
- ^
- client.java:9663: cannot find symbol
- symbol : variable aTextDrawingArea_1270
- location: class client
- aTextDrawingArea_1270.method389(true, c / 2 - 97, 0xffffff,
- ^
- client.java:9666: cannot find symbol
- symbol : variable aTextDrawingArea_1270
- location: class client
- aTextDrawingArea_1270.method389(true, c / 2 - 97, 0xffffff,
- ^
- client.java:9674: cannot find symbol
- symbol : variable titleButton
- location: class client
- titleButton.drawSprite(i1 - 73, l1 - 20);
- ^
- client.java:9676: cannot find symbol
- symbol : variable titleButton
- location: class client
- titleButton.drawSprite(i1 - 73, l1 - 20);
- ^
- client.java:9684: cannot find symbol
- symbol : method method361(int,int,int)
- location: class Background
- aBackground_967.method361(i1 - 73, l1 - 20, 128);
- ^
- client.java:9686: cannot find symbol
- symbol : method method361(int,int,int)
- location: class Background
- aBackground_967.method361(i1 - 73, l1 - 20, 128);
- ^
- private void drawLoginScreen(boolean flag) {
- resetImageProducers();
- aRSImageProducer_1109.initDrawingArea();
- aBackground_966.drawBackground(0, 0);
- char c = '\u0168';
- char c1 = '\310';
- if (loginScreenState == 0) {
- int i = c1 / 2 + 80;
- smallText.method382(0x75a9a9, c / 2, onDemandFetcher.statusString, i, true);
- i = c1 / 2 - 20;
- chatTextDrawingArea.method382(0xffff00, c / 2, "Welcome to Insomnius", i, true);
- i += 30;
- int l = c / 2 - 80;
- int k1 = c1 / 2 + 20;
- aBackground_967.drawBackground(l - 73, k1 - 20);
- chatTextDrawingArea.method382(0xffffff, l, "Information", k1 + 5, true);
- l = c / 2 + 80;
- aBackground_967.drawBackground(l - 73, k1 - 20);
- chatTextDrawingArea.method382(0xffffff, l, "Existing User", k1 + 5, true);
- }
- if (loginScreenState == 2) {
- int j = c1 / 2 - 40;
- if (loginMessage1.length() > 0) {
- chatTextDrawingArea.method382(0xffff00, c / 2, loginMessage1, j - 15, true);
- chatTextDrawingArea.method382(0xffff00, c / 2, loginMessage2, j, true);
- j += 30;
- } else {
- chatTextDrawingArea.method382(0xffff00, c / 2, loginMessage2, j - 7, true);
- j += 30;
- }
- chatTextDrawingArea.method389(true, c / 2 - 90, 0xffffff, "Username: " + myUsername + ((loginScreenCursorPos == 0) & (loopCycle % 40 < 20) ? "@yel@|" : ""), j);
- j += 15;
- chatTextDrawingArea.method389(true, c / 2 - 88, 0xffffff, "Password: " + TextClass.passwordAsterisks(myPassword) + ((loginScreenCursorPos == 1) & (loopCycle % 40 < 20) ? "@yel@|" : ""), j);
- j += 15;
- if (!flag) {
- int i1 = c / 2 - 80;
- int l1 = c1 / 2 + 50;
- aBackground_967.drawBackground(i1 - 73, l1 - 20);
- chatTextDrawingArea.method382(0xffffff, i1, "Login", l1 + 5, true);
- i1 = c / 2 + 80;
- aBackground_967.drawBackground(i1 - 73, l1 - 20);
- chatTextDrawingArea.method382(0xffffff, i1, "Cancel", l1 + 5, true);
- }
- }
- if (loginScreenState == 3) {
- chatTextDrawingArea.method382(0xffff00, c / 2, "Information:", c1 / 2 - 60, true);
- int k = c1 / 2 - 35;
- chatTextDrawingArea.method382(0xffffff, c / 2, "Made by: Purely chill.", k, true);
- k += 15;
- chatTextDrawingArea.method382(0xffffff, c / 2, "Base: Galkon's 474 look-alike.", k, true);
- k += 15;
- chatTextDrawingArea.method382(0xffffff, c / 2, "Credits: Galkon, Jagex, Purely chill,", k, true);
- k += 15;
- chatTextDrawingArea.method382(0xffffff, c / 2, "Rune-Server, Songoty, and Zee Best.", k, true);
- k += 15;
- int j1 = c / 2;
- int i2 = c1 / 2 + 50;
- aBackground_967.drawBackground(j1 - 73, i2 - 20);
- chatTextDrawingArea.method382(0xffffff, j1, "Cancel", i2 + 5, true);
- }
- aRSImageProducer_1109.drawGraphics(171, super.graphics, 202);
- if (welcomeScreenRaised) {
- welcomeScreenRaised = false;
- aRSImageProducer_1107.drawGraphics(0, super.graphics, 128);
- aRSImageProducer_1108.drawGraphics(371, super.graphics, 202);
- aRSImageProducer_1112.drawGraphics(265, super.graphics, 0);
- aRSImageProducer_1113.drawGraphics(265, super.graphics, 562);
- aRSImageProducer_1114.drawGraphics(171, super.graphics, 128);
- aRSImageProducer_1115.drawGraphics(171, super.graphics, 562);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement