From 252832999fa43bce63ca4b643fab5d9dd51fccc4 Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Thu, 8 Jul 2004 20:24:48 +0000 Subject: import of Jake2 version cebit --- src/jake2/client/SCR.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/jake2/client/SCR.java') diff --git a/src/jake2/client/SCR.java b/src/jake2/client/SCR.java index 8363f6e..6a426d1 100644 --- a/src/jake2/client/SCR.java +++ b/src/jake2/client/SCR.java @@ -2,7 +2,7 @@ * SCR.java * Copyright (C) 2003 * - * $Id: SCR.java,v 1.2 2004-07-08 15:58:42 hzi Exp $ + * $Id: SCR.java,v 1.3 2004-07-08 20:24:29 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -84,7 +84,6 @@ public final class SCR extends Globals static cvar_t scr_graphshift; static cvar_t scr_drawall; static cvar_t fps; - static cvar_t fps_updates; static dirty_t scr_dirty = new dirty_t(); static dirty_t[] scr_old_dirty = { new dirty_t(), new dirty_t()}; @@ -436,7 +435,6 @@ public final class SCR extends Globals scr_graphshift = Cvar.Get("graphshift", "0", 0); scr_drawall = Cvar.Get("scr_drawall", "1", 0); fps = Cvar.Get("fps", "0", 0); - fps_updates = Cvar.Get("fps_updates", "1", 0); // // register our commands @@ -1421,10 +1419,16 @@ public final class SCR extends Globals crosshair_pic); } + private static xcommand_t updateScreenCallback = new xcommand_t() { + public void execute() { + UpdateScreen2(); + } + }; + // wird anstelle von der richtigen UpdateScreen benoetigt public static void UpdateScreen() { - Globals.re.updateScreen(null); + Globals.re.updateScreen(updateScreenCallback); } /* -- cgit v1.2.3