diff options
author | Holger Zickner <[email protected]> | 2004-07-08 20:24:48 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-08 20:24:48 +0000 |
commit | 252832999fa43bce63ca4b643fab5d9dd51fccc4 (patch) | |
tree | 98570c65819059d14f0809ae964aa1c6c93684a0 /test/jake2/render/TestMap.java | |
parent | 4f13ea26c4f47e54e66926f0700cf631e7bb3352 (diff) |
import of Jake2 version cebit
Diffstat (limited to 'test/jake2/render/TestMap.java')
-rw-r--r-- | test/jake2/render/TestMap.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/jake2/render/TestMap.java b/test/jake2/render/TestMap.java index 9419fa1..711b159 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.1 2004-07-07 19:59:59 hzi Exp $ + * $Id: TestMap.java,v 1.2 2004-07-08 20:24:31 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -177,7 +177,7 @@ public class TestMap } }; - Qcommon.InitForTestMap(new String[] { "TestMap $Id: TestMap.java,v 1.1 2004-07-07 19:59:59 hzi Exp $" }); + Qcommon.InitForTestMap(new String[] { "TestMap $Id: TestMap.java,v 1.2 2004-07-08 20:24:31 hzi Exp $" }); // sehr wichtig !!! VID.Shutdown(); @@ -218,9 +218,14 @@ public class TestMap void run() { startTime = System.currentTimeMillis(); + xcommand_t callback = new xcommand_t() { + public void execute() { + updateScreen(); + } + }; while (true) { - re.updateScreen(null); + re.updateScreen(callback); KBD.Update(); Cbuf.Execute(); } |