mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 16:35:14 -06: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
|
|
@ -162,9 +162,9 @@ public final class Static197 {
|
|||
GameShell.thread.setPriority(5);
|
||||
Static260.frameBuffer = null;
|
||||
Static268.method4580();
|
||||
((Js5GlTextureProvider) Rasteriser.anInterface1_2).method3248(200);
|
||||
((Js5GlTextureProvider) Rasteriser.textureProvider).method3248(200);
|
||||
if (Static178.highDetailLighting) {
|
||||
Rasteriser.method1911(0.7F);
|
||||
Rasteriser.setBrightness(0.7F);
|
||||
}
|
||||
Static114.method4637();
|
||||
} else if (arg1 == 0 && arg3 > 0) {
|
||||
|
|
@ -172,19 +172,19 @@ public final class Static197 {
|
|||
Static260.frameBuffer = Static131.create(503, 765, GameShell.canvas);
|
||||
Static268.method4583();
|
||||
Static76.method1643();
|
||||
((Js5GlTextureProvider) Rasteriser.anInterface1_2).method3248(20);
|
||||
((Js5GlTextureProvider) Rasteriser.textureProvider).method3248(20);
|
||||
if (Static178.highDetailLighting) {
|
||||
if (Static113.anInt4609 == 1) {
|
||||
Rasteriser.method1911(0.9F);
|
||||
Rasteriser.setBrightness(0.9F);
|
||||
}
|
||||
if (Static113.anInt4609 == 2) {
|
||||
Rasteriser.method1911(0.8F);
|
||||
Rasteriser.setBrightness(0.8F);
|
||||
}
|
||||
if (Static113.anInt4609 == 3) {
|
||||
Rasteriser.method1911(0.7F);
|
||||
Rasteriser.setBrightness(0.7F);
|
||||
}
|
||||
if (Static113.anInt4609 == 4) {
|
||||
Rasteriser.method1911(0.6F);
|
||||
Rasteriser.setBrightness(0.6F);
|
||||
}
|
||||
}
|
||||
Static95.method1939();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue