summaryrefslogtreecommitdiff
path: root/source/sv_mvd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-08-28 17:35:47 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-08-28 17:35:47 +0000
commit8d466c8c99a82c9fa87d2c8a932413da1ac89e04 (patch)
tree9954623456ae4dc245daa98f57f913f9892a742b /source/sv_mvd.c
parent651dbdd53d61b75108ffdc95f3efdb285adc7170 (diff)
Removed unimplemented `sv_mvd_wait' cvar.
Bind server TCP socket with SO_REUSEADDR option, close it properly on shutdown. Implemented server console logging over HTTP, accessible at `/console' URI. Added `sv_console_auth' cvar controlling access to server console. Never allow server realtime go back. Spectator chat on GTV is no longer audible. Moved POV name on the very top of the screen.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r--source/sv_mvd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c
index 4c2bc87..fffbd16 100644
--- a/source/sv_mvd.c
+++ b/source/sv_mvd.c
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
cvar_t *sv_mvd_enable;
cvar_t *sv_mvd_auth;
-cvar_t *sv_mvd_wait;
+//cvar_t *sv_mvd_wait;
cvar_t *sv_mvd_noblend;
cvar_t *sv_mvd_nogun;
cvar_t *sv_mvd_max_size;
@@ -107,7 +107,7 @@ qboolean SV_MvdPlayerIsActive( edict_t *ent ) {
}
}
- // they are likely following somene in case of PM_FREEZE
+ // they are likely following someone in case of PM_FREEZE
if( ent->client->ps.pmove.pm_type == PM_FREEZE ) {
return qfalse;
}
@@ -486,6 +486,7 @@ into the multicast buffer.
==================
*/
void SV_MvdBeginFrame( void ) {
+#if 0
int i, j;
int index;
size_t length;
@@ -550,6 +551,7 @@ void SV_MvdBeginFrame( void ) {
}
sv.mvd.paused = 0;
+#endif
}
void SV_MvdEndFrame( void ) {
@@ -1070,7 +1072,7 @@ static const cmdreg_t c_svmvd[] = {
void SV_MvdRegister( void ) {
sv_mvd_enable = Cvar_Get( "sv_mvd_enable", "0", CVAR_LATCH );
sv_mvd_auth = Cvar_Get( "sv_mvd_auth", "", CVAR_PRIVATE );
- sv_mvd_wait = Cvar_Get( "sv_mvd_wait", "0", CVAR_ROM ); // TODO
+ //sv_mvd_wait = Cvar_Get( "sv_mvd_wait", "0", CVAR_ROM ); // TODO
sv_mvd_max_size = Cvar_Get( "sv_mvd_max_size", "0", 0 );
sv_mvd_max_duration = Cvar_Get( "sv_mvd_max_duration", "0", 0 );
sv_mvd_max_levels = Cvar_Get( "sv_mvd_max_levels", "1", 0 );