summaryrefslogtreecommitdiff
path: root/source/cl_public.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-12-07 17:29:24 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-12-07 17:29:24 +0000
commit439dd89a479e2d02fa40a421849c73616f92198e (patch)
tree96731a474ea0198a611f5fa03bcb360119d212a2 /source/cl_public.h
parent5c30b8152eb6a0fae6e50dbd834d73a2846df4ec (diff)
Optimized FS_ListFiles (and broken Windows build).
Initial changes to demo browser to support caching.
Diffstat (limited to 'source/cl_public.h')
-rw-r--r--source/cl_public.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/cl_public.h b/source/cl_public.h
index 38a5dd4..b495921 100644
--- a/source/cl_public.h
+++ b/source/cl_public.h
@@ -56,12 +56,8 @@ typedef struct {
} serverStatus_t;
typedef struct {
- qboolean mvd; // FIXME: can also use clientNum == -1
- int clientNum;
- char gamedir[MAX_QPATH];
- char mapname[MAX_QPATH];
- char fullLevelName[MAX_QPATH];
- char clients[MAX_DEMOINFO_CLIENTS][MAX_CLIENT_NAME];
+ char map[MAX_QPATH];
+ char pov[MAX_CLIENT_NAME];
} demoInfo_t;
typedef struct {
@@ -78,7 +74,7 @@ typedef struct {
void (*StartLocalSound)( const char *name );
void (*StopAllSounds)( void );
- qboolean (*GetDemoInfo)( const char *path, demoInfo_t *info );
+ demoInfo_t *(*GetDemoInfo)( const char *path, demoInfo_t *info );
qboolean (*SendStatusRequest)( char *buffer, int bufferSize );
void (*GetClientStatus)( clientStatus_t *status );
void (*UpdateScreen)( void );