Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonic-Box committed May 12, 2024
1 parent c00843c commit 1ff510c
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 517 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
import net.runelite.client.plugins.tscripts.api.MethodManager;
import net.runelite.client.plugins.tscripts.api.library.TWorldPoint;
import net.runelite.client.plugins.tscripts.sevices.ScriptEventService;
import net.runelite.client.plugins.tscripts.sevices.TileOverlay;
import net.runelite.client.plugins.tscripts.sevices.ipc.MulticastReceiver;
import net.runelite.client.plugins.tscripts.sevices.localpathfinder.LocalPathfinder;
import net.runelite.client.plugins.tscripts.ui.TScriptsPanel;
import net.runelite.client.plugins.tscripts.util.*;
import net.runelite.client.plugins.tscripts.sevices.cache.GameCache;
Expand All @@ -43,8 +41,10 @@
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;

/**
* The main plugin class for TScripts.
Expand Down Expand Up @@ -81,8 +81,6 @@ public class TScriptsPlugin extends Plugin {
public static final String START_DIR = RuneLite.RUNELITE_DIR + File.separator + "HPQScripts" + File.separator;
public static String HOME_DIR;
private MulticastReceiver multicastReceiver;
private LocalPathfinder localPathfinder;
private TileOverlay overlays;
@Getter
private TScriptsPanel panel;

Expand Down Expand Up @@ -124,9 +122,6 @@ protected void startUp() {
clientToolbar.addNavigation(headlessToggleButton);
this.multicastReceiver = new MulticastReceiver();
ThreadPool.submit(this.multicastReceiver);
localPathfinder = new LocalPathfinder();
overlays = new TileOverlay(client);
overlayManager.add(overlays);
}

/**
Expand Down Expand Up @@ -472,18 +467,6 @@ else if(opcode == MenuAction.WALK.getId())
.setTarget(color + name + " ")
.setType(MenuAction.RUNELITE)
.onClick(c -> Logging.copyToClipboard(worldPoint.getX() + ", " + worldPoint.getY()));

/*client.createMenuEntry(1)
.setOption("Generate Local Path")
.setTarget(color + entry.getItemId() + " ")
.setType(MenuAction.RUNELITE)
.onClick(c -> {
ThreadPool.submit(() ->
{
List<Step> path = localPathfinder.pathTo(30, worldPoint, new ArrayList<>(), overlays);
overlays.updatePath(path);
});
});*/
}
}
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1ff510c

Please sign in to comment.