[galkons refactored] custom loading bar :P
well i was bored and messed around with some loading methods for the loading bar and came up with this...:
[Only registered and activated users can see links. Click Here To Register...]
replace your whole `drawloadingtext` method with this.
Code:
void drawLoadingText(int i, String s)
{
anInt1079 = i;
aString1049 = s;
resetImageProducers();
if(titleStreamLoader == null)
{
super.drawLoadingText(i, s);
return;
}
aRSImageProducer_1109.initDrawingArea();
char c = '\u0168';
char c1 = '\310';
byte byte1 = 20;
chatTextDrawingArea.drawText(0xffffff, "RuneScape is loading - please wait...", c1 / 2 - 26 - byte1, c / 2);
int j = c1 / 2 - 18 - byte1;
DrawingArea.fillPixels(c / 2 - 153, 304, 12, 0xffffff, j-1);
DrawingArea.fillPixels(c / 2 - 151, 304, 13, 0xffffff, j);
DrawingArea.fillPixels(c / 2 - 152, 304, 12, 0x000000, j);
DrawingArea.fillPixels(c / 2 - 151, 302, 10, 0xffffff, j + 1);
DrawingArea.drawPixels(8, j + 2, c / 2 - 150, 0x000000, i * 3);
DrawingArea.drawPixels(8, j + 2, (c / 2 - 150) + i * 3, 0xffffff, 300 - i * 3);
//chatTextDrawingArea.drawText(0xffffff, s, (c1 / 2 + 5) - byte1, c / 2);
aRSImageProducer_1109.drawGraphics(171, super.graphics, 202);
if(welcomeScreenRaised)
{
welcomeScreenRaised = false;
if(!aBoolean831)
{
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);
}
}