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...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 10th of Feb 2010 12:00:20 AM Download | Raw | Embed | Report
  1.         private static Sprite imageLoader(int i, String s) {
  2.                 long l = (TextClass.method585(s) << 8) + (long)i;
  3.                 Sprite sprite = (Sprite) aMRUNodes_238.insertFromCache(l);
  4.                 if(sprite != null)
  5.                         return sprite;
  6.                 try {
  7.                         sprite = new Sprite(s+" "+i);
  8.                         aMRUNodes_238.removeFromCache(sprite, l);
  9.                 } catch(Exception exception) {
  10.                         return null;
  11.                 }
  12.                 return sprite;
  13.         }
  14.  
  15.  
  16.         public static void addSprite(int id, int spriteId, String spriteName) {
  17.                 RSInterface tab = interfaceCache[id] = new RSInterface();
  18.                 tab.id = id;
  19.                 tab.parentID = id;
  20.                 tab.type = 5;
  21.                 tab.atActionType = 0;
  22.                 tab.contentType = 0;
  23.                 tab.aByte254 = (byte)0;
  24.                 tab.mOverInterToTrigger = 52;
  25.                 tab.sprite1 = imageLoader(spriteId, spriteName);
  26.                 tab.sprite2 = imageLoader(spriteId, spriteName);
  27.                 tab.width = 512;
  28.                 tab.height = 334;
  29.         }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: