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/DancingQueens.java | |
parent | 4f13ea26c4f47e54e66926f0700cf631e7bb3352 (diff) |
import of Jake2 version cebit
Diffstat (limited to 'test/jake2/render/DancingQueens.java')
-rw-r--r-- | test/jake2/render/DancingQueens.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/jake2/render/DancingQueens.java b/test/jake2/render/DancingQueens.java index fbf233b..d7d2ea4 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.1 2004-07-07 19:59:58 hzi Exp $ + * $Id: DancingQueens.java,v 1.2 2004-07-08 20:24:31 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -204,9 +204,14 @@ public class DancingQueens 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(); } |