From f5612e7dfc635359f15b402c2ee9022a5e703a9d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 8 Oct 2012 10:44:05 +0200 Subject: Simple NEWT port: Remove AWT dependencies in Jake2 / JOGL / Fast (default mode) - Prepare for ES2 - Removed AWT init dialog, replaced w/ UI less auto install if n/a @ default location: $HOME/Jake2/baseq2 - JOGL GL2 Renderer 'joglgl2' - JOGL ES2 Renderer 'jogles2' (TBD) - Replaced JOGLKBD (AWT) w/ NEWTKBD - JOGL* Renderer using NEWT --- src/jake2/Jake2.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/jake2/Jake2.java') diff --git a/src/jake2/Jake2.java b/src/jake2/Jake2.java index 454e5df..2d1385a 100644 --- a/src/jake2/Jake2.java +++ b/src/jake2/Jake2.java @@ -28,15 +28,16 @@ package jake2; import jake2.qcommon.*; import jake2.sys.Timer; -import java.util.Locale; +// import java.util.Locale; /** * Jake2 is the main class of Quake2 for Java. */ public final class Jake2 { - public static Q2DataDialog Q2Dialog; - + // public static Q2DataDialog Q2Dialog; + public static Q2DataTool q2DataTool; + /** * main is used to start the game. Quake2 for Java supports the following * command line arguments: @@ -80,9 +81,10 @@ public final class Jake2 { // open the q2dialog, if we are not in dedicated mode. if (Globals.dedicated.value != 1.0f) { - Q2Dialog = new Q2DataDialog(); - Locale.setDefault(Locale.US); - Q2Dialog.setVisible(true); + q2DataTool = new Q2DataTool(); + // Q2Dialog = new Q2DataDialog(); + // Locale.setDefault(Locale.US); + // Q2Dialog.setVisible(true); } // in C the first arg is the filename -- cgit v1.2.3