mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 21:10:19 -07:00
Refactored Rasterizer, renamed GlTextureProvider to TextureProvider
This commit is contained in:
parent
f65909dc06
commit
bed0932fc5
49 changed files with 3168 additions and 2885 deletions
|
|
@ -46,7 +46,7 @@ public final class Static70 {
|
|||
@Pc(18) FloType local18 = Static256.method4395(local11);
|
||||
if (local18 != null) {
|
||||
@Pc(24) int local24 = local18.anInt5892;
|
||||
if (local24 >= 0 && !Rasteriser.anInterface1_2.method3236(local24)) {
|
||||
if (local24 >= 0 && !Rasteriser.textureProvider.method3236(local24)) {
|
||||
local24 = -1;
|
||||
}
|
||||
@Pc(53) int local53;
|
||||
|
|
@ -62,9 +62,9 @@ public final class Static70 {
|
|||
local72 = 127;
|
||||
}
|
||||
local95 = (local66 & 0x380) + (arg1 + local66 & 0xFC00) + local72;
|
||||
local53 = Rasteriser.anIntArray220[Static230.method3949(local95, 96)];
|
||||
local53 = Rasteriser.palette[Static230.method3949(local95, 96)];
|
||||
} else if (local24 >= 0) {
|
||||
local53 = Rasteriser.anIntArray220[Static230.method3949(Rasteriser.anInterface1_2.method3234(local24), 96)];
|
||||
local53 = Rasteriser.palette[Static230.method3949(Rasteriser.textureProvider.getAverageColor(local24), 96)];
|
||||
} else if (local18.anInt5899 == -1) {
|
||||
local53 = -1;
|
||||
} else {
|
||||
|
|
@ -76,7 +76,7 @@ public final class Static70 {
|
|||
local72 = 127;
|
||||
}
|
||||
local95 = local72 + (local66 & 0x380) + (local66 + arg1 & 0xFC00);
|
||||
local53 = Rasteriser.anIntArray220[Static230.method3949(local95, 96)];
|
||||
local53 = Rasteriser.palette[Static230.method3949(local95, 96)];
|
||||
}
|
||||
Static145.anIntArray330[local11 + 1] = local53;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue