aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-11-21 19:38:38 +0000
committerCarsten Weisse <[email protected]>2005-11-21 19:38:38 +0000
commit0a6892c67c2eabd7bccbcae24e02300f6b06ac76 (patch)
tree9876b6ed61af6644a9288bc687f7d31c349629f9
parentfffae746b84a2257963e3e9b38f6edac230d680d (diff)
use a memory mapped file as video source (ByteBuffer)
-rw-r--r--src/jake2/client/client_state_t.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jake2/client/client_state_t.java b/src/jake2/client/client_state_t.java
index d9df9fa..ca8355e 100644
--- a/src/jake2/client/client_state_t.java
+++ b/src/jake2/client/client_state_t.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 27.11.2003 by RST.
-//$Id: client_state_t.java,v 1.4 2004-10-26 18:18:19 cawe Exp $
+//$Id: client_state_t.java,v 1.5 2005-11-21 19:38:38 cawe Exp $
package jake2.client;
@@ -31,6 +31,7 @@ import jake2.render.model_t;
import jake2.sound.*;
import java.io.RandomAccessFile;
+import java.nio.ByteBuffer;
public class client_state_t {
@@ -106,7 +107,7 @@ public class client_state_t {
//
// non-gameserver infornamtion
// FIXME: move this cinematic stuff into the cin_t structure
- RandomAccessFile cinematic_file;
+ ByteBuffer cinematic_file;
int cinematictime; // cls.realtime for first cinematic frame
int cinematicframe;