mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
undo some testing changes
This commit is contained in:
parent
cb9758f7d5
commit
cf5ccbf1ac
3 changed files with 6 additions and 8 deletions
|
|
@ -70,7 +70,7 @@ public class PluginRepository {
|
|||
File pluginsDirectory = new File(GlobalJsonConfig.instance.pluginsFolder);
|
||||
|
||||
if (!pluginsDirectory.exists()) {
|
||||
//System.out.println("Skipping plugin initialization - " + pluginsDirectory.getAbsolutePath() + " does not exist.");
|
||||
System.out.println("Skipping plugin initialization - " + pluginsDirectory.getAbsolutePath() + " does not exist.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ public class PluginRepository {
|
|||
}
|
||||
|
||||
if (loadedPlugins.containsKey(info)) {
|
||||
//System.out.println("Skipping reloading of plugin " + file.getName() + " as it already exists and has OnPluginsReloaded.");
|
||||
System.out.println("Skipping reloading of plugin " + file.getName() + " as it already exists and has OnPluginsReloaded.");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ public class PluginRepository {
|
|||
loader.loadClass(file.getName() + "." + f.getName().replace(".class",""));
|
||||
}
|
||||
|
||||
//System.out.println("Successfully loaded plugin " + file.getName() + ", version " + info.version);
|
||||
System.out.println("Successfully loaded plugin " + file.getName() + ", version " + info.version);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.err.println("Unexpected exception during plugin initialization:");
|
||||
|
|
|
|||
|
|
@ -323,7 +323,6 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene
|
|||
@OriginalMember(owner = "client!rc", name = "b", descriptor = "(B)V")
|
||||
public final synchronized void addCanvas() {
|
||||
if (canvas != null) {
|
||||
// Remove the old canvas if it exists
|
||||
canvas.removeFocusListener(this);
|
||||
canvas.getParent().remove(canvas);
|
||||
}
|
||||
|
|
@ -514,10 +513,9 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene
|
|||
canvasScale = getCurrentDevice().getDefaultConfiguration().getDefaultTransform().getScaleX();
|
||||
if (frame != null && fullScreenFrame == null) {
|
||||
@Pc(84) Insets insets = frame.getInsets();
|
||||
// TODO: Add a flag to ignore this.
|
||||
//canvas.setLocation(insets.left + leftMargin, topMargin + insets.top);
|
||||
canvas.setLocation(insets.left + leftMargin, topMargin + insets.top);
|
||||
} else {
|
||||
//canvas.setLocation(leftMargin, topMargin);
|
||||
canvas.setLocation(leftMargin, topMargin);
|
||||
}
|
||||
}
|
||||
this.mainRedraw();
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public final class GlRenderer {
|
|||
private static int maxTextureCoords;
|
||||
|
||||
@OriginalMember(owner = "client!tf", name = "E", descriptor = "Lgl!javax/media/opengl/GLDrawable;")
|
||||
public static GLDrawable drawable;
|
||||
private static GLDrawable drawable;
|
||||
|
||||
@OriginalMember(owner = "client!tf", name = "H", descriptor = "Z")
|
||||
public static boolean arbVertexProgramSupported;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue