aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-04 03:12:12 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-04 03:12:12 +0000
commit98c8cf0f19d89b729825d6d37b924a84025ec07b (patch)
tree51cbf43364a63f83c5e0e2fea133038ebf8a255c /code/qcommon
parent9e019da1eadfaab84999cf76ec169d6cb3bc9f25 (diff)
downloadioquake3-aero-98c8cf0f19d89b729825d6d37b924a84025ec07b.tar.gz
ioquake3-aero-98c8cf0f19d89b729825d6d37b924a84025ec07b.zip
* AVI video output
- Uses motion jpeg codec by default - Use cl_avidemo to set a framerate - \video [filename] to start capture - \stopvideo to stop capture - Audio capture is a bit ropey git-svn-id: svn://svn.icculus.org/quake3/trunk@454 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/files.c13
-rw-r--r--code/qcommon/qcommon.h4
2 files changed, 15 insertions, 2 deletions
diff --git a/code/qcommon/files.c b/code/qcommon/files.c
index 5cd8c81..8f4779d 100644
--- a/code/qcommon/files.c
+++ b/code/qcommon/files.c
@@ -565,11 +565,22 @@ FS_Remove
===========
*/
-static void FS_Remove( const char *osPath ) {
+void FS_Remove( const char *osPath ) {
remove( osPath );
}
/*
+===========
+FS_HomeRemove
+
+===========
+*/
+void FS_HomeRemove( const char *homePath ) {
+ remove( FS_BuildOSPath( fs_homepath->string,
+ fs_gamedir, homePath ) );
+}
+
+/*
================
FS_FileExists
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h
index 01f4564..de86d25 100644
--- a/code/qcommon/qcommon.h
+++ b/code/qcommon/qcommon.h
@@ -654,6 +654,9 @@ qboolean FS_ComparePaks( char *neededpaks, int len, qboolean dlstring );
void FS_Rename( const char *from, const char *to );
+void FS_Remove( const char *osPath );
+void FS_HomeRemove( const char *homePath );
+
/*
==============================================================
@@ -899,7 +902,6 @@ void S_ClearSoundBuffer( void );
void SCR_DebugGraph (float value, int color); // FIXME: move logging to common?
-
//
// server interface
//