aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/fastjogl/Draw.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-07-16 10:11:36 +0000
committerCarsten Weisse <[email protected]>2004-07-16 10:11:36 +0000
commitc19debe92ce0eb509cd5c3596b7f858e40424451 (patch)
treee6469e0d0399cdd40af3f2aaec8e66afdda6a0ad /src/jake2/render/fastjogl/Draw.java
parent6797f747378633e79ad4510d7f9449dc6bf3defd (diff)
refimport_t deleted
Diffstat (limited to 'src/jake2/render/fastjogl/Draw.java')
-rw-r--r--src/jake2/render/fastjogl/Draw.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/jake2/render/fastjogl/Draw.java b/src/jake2/render/fastjogl/Draw.java
index 0309dba..3098697 100644
--- a/src/jake2/render/fastjogl/Draw.java
+++ b/src/jake2/render/fastjogl/Draw.java
@@ -2,7 +2,7 @@
* Draw.java
* Copyright (C) 2003
*
- * $Id: Draw.java,v 1.2 2004-07-15 14:37:33 hzi Exp $
+ * $Id: Draw.java,v 1.3 2004-07-16 10:11:35 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -26,6 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package jake2.render.fastjogl;
import jake2.Defines;
+import jake2.client.VID;
+import jake2.qcommon.Com;
import jake2.render.image_t;
import java.awt.Dimension;
@@ -136,7 +138,7 @@ public abstract class Draw extends Image {
image = Draw_FindPic(pic);
if (image == null)
{
- ri.Con_Printf (Defines.PRINT_ALL, "Can't find pic: " + pic +'\n');
+ VID.Printf (Defines.PRINT_ALL, "Can't find pic: " + pic +'\n');
return;
}
@@ -175,7 +177,7 @@ public abstract class Draw extends Image {
image = Draw_FindPic(pic);
if (image == null)
{
- ri.Con_Printf(Defines.PRINT_ALL, "Can't find pic: " +pic + '\n');
+ VID.Printf(Defines.PRINT_ALL, "Can't find pic: " +pic + '\n');
return;
}
if (scrap_dirty)
@@ -215,7 +217,7 @@ public abstract class Draw extends Image {
image = Draw_FindPic(pic);
if (image == null)
{
- ri.Con_Printf(Defines.PRINT_ALL, "Can't find pic: " + pic + '\n');
+ VID.Printf(Defines.PRINT_ALL, "Can't find pic: " + pic + '\n');
return;
}
@@ -249,7 +251,7 @@ public abstract class Draw extends Image {
protected void Draw_Fill(int x, int y, int w, int h, int colorIndex) {
if ( colorIndex > 255)
- ri.Sys_Error(Defines.ERR_FATAL, "Draw_Fill: bad color");
+ Com.Error(Defines.ERR_FATAL, "Draw_Fill: bad color");
gl.glDisable(GL.GL_TEXTURE_2D);