Recent Posts
HTML | 4 sec ago
None | 13 sec ago
None | 14 sec ago
None | 18 sec ago
Lua | 19 sec ago
C# | 37 sec ago
None | 46 sec ago
None | 47 sec ago
VB.NET | 1 min ago
None | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Anonymous on the 10th of Feb 2010 12:00:20 AM
Download |
Raw |
Embed |
Report
private static Sprite imageLoader(int i, String s) {
long l = (TextClass.method585(s) << 8) + (long)i;
Sprite sprite = (Sprite) aMRUNodes_238.insertFromCache(l);
if(sprite != null)
return sprite;
try {
sprite = new Sprite(s+" "+i);
aMRUNodes_238.removeFromCache(sprite, l);
} catch(Exception exception) {
return null;
}
return sprite;
}
public static void addSprite(int id, int spriteId, String spriteName) {
RSInterface tab = interfaceCache[id] = new RSInterface();
tab.id = id;
tab.parentID = id;
tab.type = 5;
tab.atActionType = 0;
tab.contentType = 0;
tab.aByte254 = (byte)0;
tab.mOverInterToTrigger = 52;
tab.sprite1 = imageLoader(spriteId, spriteName);
tab.sprite2 = imageLoader(spriteId, spriteName);
tab.width = 512;
tab.height = 334;
}
Submit a correction or amendment below.
Make A New Post