FTEQW
Documentation of the FTE engine source tree.
cl_demo.c File Reference

Functions

void CL_FinishTimeDemo (void)
 
void CL_PlayDemo (char *demoname, qboolean usesystempath)
 
void CL_PlayDemoFile (vfsfile_t *f, char *demoname, qboolean issyspath)
 
void CL_StopPlayback (void)
 
void CL_WriteDemoCmd (usercmd_t *pcmd)
 
void CL_WriteDemoMessage (sizebuf_t *msg, int payloadoffset)
 
int demo_preparsedemo (unsigned char *buffer, int bytes)
 
int readdemobytes (int *readpos, void *data, int len)
 
void demo_flushbytes (int bytes)
 
void demo_flushcache (void)
 
void demo_resetcache (int bytes, void *data)
 
void CL_ProgressDemoTime (void)
 
void CL_DemoJump_f (void)
 
void CL_DemoNudge_f (void)
 
qboolean CL_GetDemoMessage (void)
 
void CL_Stop_f (void)
 
void CL_WriteRecordQ2DemoMessage (sizebuf_t *msg)
 
void CL_WriteRecordDemoMessage (sizebuf_t *msg, int seq)
 
void CL_WriteSetDemoMessage (void)
 
mvddest_tSV_MVD_InitRecordFile (char *name)
 
qboolean SV_MVD_Record (mvddest_t *dest)
 
void CL_RecordMap_f (void)
 
void CLNQ_WriteServerData (sizebuf_t *buf)
 
void CL_Record_Baseline (sizebuf_t *buf, entity_state_t *state, unsigned int fitzbits)
 
const char * Get_Q2ConfigString (int i)
 
void CL_Record_f (void)
 
void CL_DemoList_c (int argn, const char *partial, struct xcommandargcompletioncb_s *ctx)
 
void CL_ReRecord_f (void)
 
void CL_PlayDownloadedDemo (struct dl_download *dl)
 
void CL_PlayDemo_f (void)
 
void CL_PlayDemoStream (vfsfile_t *file, char *filename, qboolean issyspath, int demotype, float bufferdelay)
 
vfsfile_tCL_OpenFileInZipOrSys (char *name, qboolean usesystempath)
 
void CL_Demo_ClientCommand (char *commandtext)
 
char * strchrrev (char *str, char chr)
 
void CL_ParseQTVDescriptor (vfsfile_t *f, const char *name)
 
void CL_QTVPoll (void)
 
void CL_QTVPlay_Establish (const char *host, const char *password, const char *command)
 
void CL_QTVPlay_f (void)
 
void CL_QTVList_f (void)
 
void CL_QTVDemos_f (void)
 
void CL_TimeDemo_f (void)
 

Variables

float demtime
 
float recdemostart
 
int demoframe
 
int cls_lastto
 
cvar_t qtvcl_forceversion1
 
cvar_t qtvcl_eztvextensions
 
cvar_t record_flush
 
qboolean disablepreparse
 
qboolean endofdemo
 
vec3_t demoangles
 
float olddemotime = 0
 
float nextdemotime = 0
 

Function Documentation

◆ CL_Demo_ClientCommand()

void CL_Demo_ClientCommand ( char *  commandtext)

◆ CL_DemoJump_f()

void CL_DemoJump_f ( void  )

◆ CL_DemoList_c()

void CL_DemoList_c ( int  argn,
const char *  partial,
struct xcommandargcompletioncb_s ctx 
)

◆ CL_DemoNudge_f()

void CL_DemoNudge_f ( void  )

◆ CL_FinishTimeDemo()

void CL_FinishTimeDemo ( void  )

◆ CL_GetDemoMessage()

qboolean CL_GetDemoMessage ( void  )

◆ CL_OpenFileInZipOrSys()

vfsfile_t * CL_OpenFileInZipOrSys ( char *  name,
qboolean  usesystempath 
)

◆ CL_ParseQTVDescriptor()

void CL_ParseQTVDescriptor ( vfsfile_t f,
const char *  name 
)

◆ CL_PlayDemo()

void CL_PlayDemo ( char *  demoname,
qboolean  usesystempath 
)

◆ CL_PlayDemo_f()

void CL_PlayDemo_f ( void  )

◆ CL_PlayDemoFile()

void CL_PlayDemoFile ( vfsfile_t f,
char *  demoname,
qboolean  issyspath 
)

◆ CL_PlayDemoStream()

void CL_PlayDemoStream ( vfsfile_t file,
char *  filename,
qboolean  issyspath,
int  demotype,
float  bufferdelay 
)

◆ CL_PlayDownloadedDemo()

void CL_PlayDownloadedDemo ( struct dl_download dl)

◆ CL_ProgressDemoTime()

void CL_ProgressDemoTime ( void  )

◆ CL_QTVDemos_f()

void CL_QTVDemos_f ( void  )

◆ CL_QTVList_f()

void CL_QTVList_f ( void  )

◆ CL_QTVPlay_Establish()

void CL_QTVPlay_Establish ( const char *  host,
const char *  password,
const char *  command 
)

◆ CL_QTVPlay_f()

void CL_QTVPlay_f ( void  )

◆ CL_QTVPoll()

void CL_QTVPoll ( void  )

◆ CL_Record_Baseline()

void CL_Record_Baseline ( sizebuf_t buf,
entity_state_t state,
unsigned int  fitzbits 
)

◆ CL_Record_f()

void CL_Record_f ( void  )

◆ CL_RecordMap_f()

void CL_RecordMap_f ( void  )

◆ CL_ReRecord_f()

void CL_ReRecord_f ( void  )

◆ CL_Stop_f()

void CL_Stop_f ( void  )

◆ CL_StopPlayback()

void CL_StopPlayback ( void  )

◆ CL_TimeDemo_f()

void CL_TimeDemo_f ( void  )

◆ CL_WriteDemoCmd()

void CL_WriteDemoCmd ( usercmd_t pcmd)

◆ CL_WriteDemoMessage()

void CL_WriteDemoMessage ( sizebuf_t msg,
int  payloadoffset 
)

◆ CL_WriteRecordDemoMessage()

void CL_WriteRecordDemoMessage ( sizebuf_t msg,
int  seq 
)

◆ CL_WriteRecordQ2DemoMessage()

void CL_WriteRecordQ2DemoMessage ( sizebuf_t msg)

◆ CL_WriteSetDemoMessage()

void CL_WriteSetDemoMessage ( void  )

◆ CLNQ_WriteServerData()

void CLNQ_WriteServerData ( sizebuf_t buf)

◆ demo_flushbytes()

void demo_flushbytes ( int  bytes)

◆ demo_flushcache()

void demo_flushcache ( void  )

◆ demo_preparsedemo()

int demo_preparsedemo ( unsigned char *  buffer,
int  bytes 
)

◆ demo_resetcache()

void demo_resetcache ( int  bytes,
void data 
)

◆ Get_Q2ConfigString()

const char * Get_Q2ConfigString ( int  i)

◆ readdemobytes()

int readdemobytes ( int readpos,
void data,
int  len 
)

◆ strchrrev()

char * strchrrev ( char *  str,
char  chr 
)

◆ SV_MVD_InitRecordFile()

mvddest_t * SV_MVD_InitRecordFile ( char *  name)

◆ SV_MVD_Record()

qboolean SV_MVD_Record ( mvddest_t dest)

Variable Documentation

◆ cls_lastto

int cls_lastto

◆ demoangles

vec3_t demoangles

◆ demoframe

int demoframe

◆ demtime

float demtime

◆ disablepreparse

qboolean disablepreparse

◆ endofdemo

qboolean endofdemo

◆ nextdemotime

float nextdemotime = 0

◆ olddemotime

float olddemotime = 0

◆ qtvcl_eztvextensions

cvar_t qtvcl_eztvextensions
extern

◆ qtvcl_forceversion1

cvar_t qtvcl_forceversion1
extern

◆ recdemostart

float recdemostart

◆ record_flush

cvar_t record_flush
extern