@@ -472,21 +472,6 @@ public static void method996() {
472
472
sidebarOffsets = Rasterizer3D .setLineOffsets (sidebarOffsets );
473
473
}
474
474
475
- public static void renderSpotAnims () {
476
- for (SpotAnim spotAnim = (SpotAnim ) spotAnimQueue .peekFirst (); spotAnim != null ; spotAnim = (SpotAnim ) spotAnimQueue .pollFirst ()) {
477
- if (Player .worldLevel == spotAnim .plane && !spotAnim .animationFinished ) {
478
- if (pulseCycle >= spotAnim .startCycle ) {
479
- spotAnim .method834 (anInt199 );
480
- if (spotAnim .animationFinished )
481
- spotAnim .unlink ();
482
- else
483
- Game .currentScene .method134 (spotAnim .plane , spotAnim .x , spotAnim .y , spotAnim .z , 60 , spotAnim , 0 , -1 , false );
484
- }
485
- } else
486
- spotAnim .unlink ();
487
- }
488
- }
489
-
490
475
public static int getCutsceneCameraPlane () {
491
476
if (!Configuration .ROOFS_ENABLED ) {
492
477
return Player .worldLevel ;
@@ -545,34 +530,6 @@ public static RSString intToStr(int arg0) {
545
530
return method521 (false , 10 , arg0 );
546
531
}
547
532
548
- public static void renderProjectiles () {
549
- Projectile projectile = (Projectile ) projectileQueue .peekFirst ();
550
- for (/**/ ; projectile != null ; projectile = (Projectile ) projectileQueue .pollFirst ()) {
551
- if (Player .worldLevel == projectile .anInt2981 && pulseCycle <= projectile .endCycle ) {
552
- if (projectile .delay <= pulseCycle ) {
553
- if (projectile .entityIndex > 0 ) {
554
- Npc class40_sub5_sub17_sub4_sub2 = Player .npcs [-1 + projectile .entityIndex ];
555
- if (class40_sub5_sub17_sub4_sub2 != null && class40_sub5_sub17_sub4_sub2 .worldX >= 0 && class40_sub5_sub17_sub4_sub2 .worldX < 13312 && class40_sub5_sub17_sub4_sub2 .worldY >= 0 && class40_sub5_sub17_sub4_sub2 .worldY < 13312 )
556
- projectile .trackTarget (pulseCycle , 61 + -61 , class40_sub5_sub17_sub4_sub2 .worldY , Scene .getFloorDrawHeight (projectile .anInt2981 , class40_sub5_sub17_sub4_sub2 .worldX , class40_sub5_sub17_sub4_sub2 .worldY ) - projectile .endHeight , class40_sub5_sub17_sub4_sub2 .worldX );
557
- }
558
- if (projectile .entityIndex < 0 ) {
559
- int i = -1 + -projectile .entityIndex ;
560
- Player class40_sub5_sub17_sub4_sub1 ;
561
- if (i != Player .localPlayerId )
562
- class40_sub5_sub17_sub4_sub1 = Player .trackedPlayers [i ];
563
- else
564
- class40_sub5_sub17_sub4_sub1 = Player .localPlayer ;
565
- if (class40_sub5_sub17_sub4_sub1 != null && class40_sub5_sub17_sub4_sub1 .worldX >= 0 && class40_sub5_sub17_sub4_sub1 .worldX < 13312 && class40_sub5_sub17_sub4_sub1 .worldY >= 0 && class40_sub5_sub17_sub4_sub1 .worldY < 13312 )
566
- projectile .trackTarget (pulseCycle , 0 , class40_sub5_sub17_sub4_sub1 .worldY , Scene .getFloorDrawHeight (projectile .anInt2981 , class40_sub5_sub17_sub4_sub1 .worldX , class40_sub5_sub17_sub4_sub1 .worldY ) - projectile .endHeight , class40_sub5_sub17_sub4_sub1 .worldX );
567
- }
568
- projectile .move (anInt199 );
569
- Game .currentScene .method134 (Player .worldLevel , (int ) projectile .currentX , (int ) projectile .currentY , (int ) projectile .currentHeight , 60 , projectile , projectile .anInt3013 , -1 , false );
570
- }
571
- } else
572
- projectile .unlink ();
573
- }
574
- }
575
-
576
533
public static int perlinNoise (int x , int y , int scale ) {
577
534
int muX = x & -1 + scale ;
578
535
int scaledY = y / scale ;
0 commit comments