diff options
-rw-r--r-- | test/jake2/render/DancingQueens.java | 6 | ||||
-rw-r--r-- | test/jake2/render/DebugCulling.java | 31 | ||||
-rw-r--r-- | test/jake2/render/TestMap.java | 8 | ||||
-rw-r--r-- | test/jake2/render/TestRenderer.java | 22 |
4 files changed, 21 insertions, 46 deletions
diff --git a/test/jake2/render/DancingQueens.java b/test/jake2/render/DancingQueens.java index db4200c..c59c509 100644 --- a/test/jake2/render/DancingQueens.java +++ b/test/jake2/render/DancingQueens.java @@ -2,7 +2,7 @@ * DancingQueens.java * Copyright (C) 2003 * - * $Id: DancingQueens.java,v 1.3 2004-07-09 06:50:51 hzi Exp $ + * $Id: DancingQueens.java,v 1.4 2004-07-15 14:38:40 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -71,11 +71,11 @@ public class DancingQueens // a simple refimport_t implementation ri = new refimport_t() { public void Sys_Error(int err_level, String str) { - VID.Error(err_level, str, null); + Com.Error(err_level, str, null); } public void Sys_Error(int err_level, String str, Vargs vargs) { - VID.Error(err_level, str, vargs); + Com.Error(err_level, str, vargs); } public void Cmd_AddCommand(String name, xcommand_t cmd) { diff --git a/test/jake2/render/DebugCulling.java b/test/jake2/render/DebugCulling.java index b85fb45..8782ce9 100644 --- a/test/jake2/render/DebugCulling.java +++ b/test/jake2/render/DebugCulling.java @@ -2,7 +2,7 @@ * DebugCulling.java * Copyright (C) 2003 * - * $Id: DebugCulling.java,v 1.1 2004-07-07 19:59:58 hzi Exp $ + * $Id: DebugCulling.java,v 1.2 2004-07-15 14:38:40 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -27,33 +27,14 @@ package jake2.render; import jake2.Defines; import jake2.Globals; -import jake2.client.VID; -import jake2.client.cparticle_t; -import jake2.client.entity_t; -import jake2.client.lightstyle_t; -import jake2.client.particle_t; -import jake2.client.refdef_t; -import jake2.client.refexport_t; -import jake2.client.refimport_t; -import jake2.client.viddef_t; +import jake2.client.*; import jake2.game.Cmd; import jake2.game.cvar_t; -import jake2.qcommon.Cbuf; -import jake2.qcommon.Cvar; -import jake2.qcommon.FS; -import jake2.qcommon.Qcommon; -import jake2.qcommon.qfiles; -import jake2.qcommon.xcommand_t; +import jake2.qcommon.*; import jake2.sys.KBD; -import jake2.util.Lib; -import jake2.util.Math3D; import jake2.util.Vargs; import java.awt.Dimension; -import java.util.Arrays; -import java.util.Iterator; -import java.util.LinkedList; -import java.util.Vector; /** * DebugCulling @@ -95,12 +76,12 @@ public class DebugCulling { public void Sys_Error(int err_level, String str) { - VID.Error(err_level, str, null); + Com.Error(err_level, str, null); } public void Sys_Error(int err_level, String str, Vargs vargs) { - VID.Error(err_level, str, vargs); + Com.Error(err_level, str, vargs); } public void Cmd_AddCommand(String name, xcommand_t cmd) @@ -194,7 +175,7 @@ public class DebugCulling } }; - Qcommon.Init(new String[] { "$Id: DebugCulling.java,v 1.1 2004-07-07 19:59:58 hzi Exp $" }); + Qcommon.Init(new String[] { "$Id: DebugCulling.java,v 1.2 2004-07-15 14:38:40 hzi Exp $" }); // sehr wichtig !!! VID.Shutdown(); diff --git a/test/jake2/render/TestMap.java b/test/jake2/render/TestMap.java index e6670dc..71207b9 100644 --- a/test/jake2/render/TestMap.java +++ b/test/jake2/render/TestMap.java @@ -2,7 +2,7 @@ * TestMap.java * Copyright (C) 2003 * - * $Id: TestMap.java,v 1.3 2004-07-09 06:50:51 hzi Exp $ + * $Id: TestMap.java,v 1.4 2004-07-15 14:38:40 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -79,12 +79,12 @@ public class TestMap { public void Sys_Error(int err_level, String str) { - VID.Error(err_level, str, null); + Com.Error(err_level, str, null); } public void Sys_Error(int err_level, String str, Vargs vargs) { - VID.Error(err_level, str, vargs); + Com.Error(err_level, str, vargs); } public void Cmd_AddCommand(String name, xcommand_t cmd) @@ -178,7 +178,7 @@ public class TestMap } }; - Qcommon.Init(new String[] { "TestMap $Id: TestMap.java,v 1.3 2004-07-09 06:50:51 hzi Exp $" }); + Qcommon.Init(new String[] { "TestMap $Id: TestMap.java,v 1.4 2004-07-15 14:38:40 hzi Exp $" }); // sehr wichtig !!! VID.Shutdown(); diff --git a/test/jake2/render/TestRenderer.java b/test/jake2/render/TestRenderer.java index 376bb60..62ffc7c 100644 --- a/test/jake2/render/TestRenderer.java +++ b/test/jake2/render/TestRenderer.java @@ -2,7 +2,7 @@ * TestRenderer.java * Copyright (C) 2003 * - * $Id: TestRenderer.java,v 1.3 2004-07-09 06:50:51 hzi Exp $ + * $Id: TestRenderer.java,v 1.4 2004-07-15 14:38:40 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -25,13 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render; -import java.awt.Dimension; -import java.nio.FloatBuffer; -import java.util.Arrays; -import java.util.Iterator; -import java.util.LinkedList; -import java.util.Vector; - import jake2.Defines; import jake2.Globals; import jake2.client.*; @@ -39,10 +32,11 @@ import jake2.game.Cmd; import jake2.game.cvar_t; import jake2.qcommon.*; import jake2.sys.KBD; -import jake2.sys.Sys; -import jake2.util.Lib; -import jake2.util.Math3D; -import jake2.util.Vargs; +import jake2.util.*; + +import java.awt.Dimension; +import java.nio.FloatBuffer; +import java.util.*; /** * TestRenderer @@ -76,11 +70,11 @@ public class TestRenderer { // a simple refimport_t implementation ri = new refimport_t() { public void Sys_Error(int err_level, String str) { - VID.Error(err_level, str, null); + Com.Error(err_level, str, null); } public void Sys_Error(int err_level, String str, Vargs vargs) { - VID.Error(err_level, str, vargs); + Com.Error(err_level, str, vargs); } public void Cmd_AddCommand(String name, xcommand_t cmd) { |