diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-08 08:25:25 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-08 08:25:25 +0000 |
commit | ba53563804ad3589f5ad5618230606dd3cb4410f (patch) | |
tree | f6362763e85fa190ab609fd53d44586040d11604 /code/client/client.h | |
parent | 0cfbb51836fefc35f6e1aa612d6bc77203d6b1d3 (diff) | |
download | ioquake3-aero-ba53563804ad3589f5ad5618230606dd3cb4410f.tar.gz ioquake3-aero-ba53563804ad3589f5ad5618230606dd3cb4410f.zip |
VoIP: Save own voice when recording a demo.
We fake a server packet and write it directly to the demo file at the point
where we'd transmit to the server. This is a little nasty, but it seems to
be the most reasonable solution.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1382 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/client.h')
-rw-r--r-- | code/client/client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/client/client.h b/code/client/client.h index 329d67a..682b3cf 100644 --- a/code/client/client.h +++ b/code/client/client.h @@ -615,3 +615,9 @@ void CL_WriteAVIVideoFrame( const byte *imageBuffer, int size ); void CL_WriteAVIAudioFrame( const byte *pcmBuffer, int size ); qboolean CL_CloseAVI( void ); qboolean CL_VideoRecording( void ); + +// +// cl_main.c +// +void CL_WriteDemoMessage ( msg_t *msg, int headerBytes ); + |