]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
redesigned csqc shared entity .Version handling, now internally uses a
[xonotic/darkplaces.git] / client.h
index 6e73a042113be1b21d54012b3e9405e900fc8696..6d032f342599cd9e2da1939ba8aea7563997b77f 100644 (file)
--- a/client.h
+++ b/client.h
@@ -397,7 +397,8 @@ typedef struct scoreboard_s
 typedef struct cshift_s
 {
        float   destcolor[3];
-       float   percent;                // 0-256
+       float   percent;                // 0-255
+       float   alphafade;      // (any speed)
 } cshift_t;
 
 #define        CSHIFT_CONTENTS 0
@@ -517,7 +518,7 @@ typedef struct client_static_s
        // list of demos in loop
        char demos[MAX_DEMOS][MAX_DEMONAME];
        // the actively playing demo (set by CL_PlayDemo_f)
-       char demoname[64];
+       char demoname[MAX_QPATH];
 
 // demo recording info must be here, because record is started before
 // entering a map (and clearing client_state_t)
@@ -1213,6 +1214,9 @@ void CL_StopPlayback(void);
 void CL_ReadDemoMessage(void);
 void CL_WriteDemoMessage(sizebuf_t *mesage);
 
+void CL_CutDemo(void **buf, fs_offset_t *filesize);
+void CL_PasteDemo(void **buf, fs_offset_t *filesize);
+
 void CL_NextDemo(void);
 void CL_Stop_f(void);
 void CL_Record_f(void);