alpha
Login
or
Join now
sickday.tngl.sh
/
hla-client
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Game: Refactored Method startup
author
Dope Head
date
8 years ago
(Apr 18, 2018, 1:24 AM -0500)
commit
97169188
97169188187a8cbecc016be603cbf34ba5d9e795
parent
09e99af5
09e99af546358529d8c573ae5ae3b6ef30c639dd
+5
-5
1 changed file
Expand all
Collapse all
Unified
Split
src
com
jagex
runescape
Game.java
+5
-5
src/com/jagex/runescape/Game.java
Reviewed
···
5180
5180
image.drawInverse(0, 0);
5181
5181
5182
5182
int offset = (int) (Math.random() * 41D) - 20;
5183
5183
-
int redOffset = (int) ((Math.random() * 21D) - 10) + offset;
5184
5184
-
int greenOffset = (int) ((Math.random() * 21D) - 10) + offset;
5185
5185
-
int blueOffset = (int) ((Math.random() * 21D) - 10) + offset;
5183
5183
+
int red = (int) ((Math.random() * 21D) - 10) + offset;
5184
5184
+
int green = (int) ((Math.random() * 21D) - 10) + offset;
5185
5185
+
int blue = (int) ((Math.random() * 21D) - 10) + offset;
5186
5186
5187
5187
for (int i = 0; i < 100; i++) {
5188
5188
if (worldMapHintIcons[i] != null)
5189
5189
-
worldMapHintIcons[i].adjustRGB(redOffset, greenOffset, blueOffset);
5189
5189
+
worldMapHintIcons[i].adjustRGB(red, green, blue);
5190
5190
5191
5191
if (aClass50_Sub1_Sub1_Sub3Array1153[i] != null)
5192
5192
-
aClass50_Sub1_Sub1_Sub3Array1153[i].mixPalette(redOffset, greenOffset, blueOffset);
5192
5192
+
aClass50_Sub1_Sub1_Sub3Array1153[i].mixPalette(red, green, blue);
5193
5193
}
5194
5194
5195
5195
drawLoadingText(83, "Unpacking textures");