diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-01 17:09:41 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-01 17:09:41 +0000 |
commit | 952fd39fbe89a265bc56585a9be50ee29e3db44c (patch) | |
tree | 7784d528522d9c36ae89dfb3b7a58f9cb24d5daa /source/mvd_local.h | |
parent | 3544752417431e55fab8226318e985d1b97cfb32 (diff) |
Stop recording when destroying MVD channel, not when disconnecting.
Save oldscores when entering intermission mode only.
When MVD buffer fails for the first time, wait for 5 seconds, then
increase the delay up to `mvd_wait_delay' value.
Display spectator/player counts in the output of `mvdchannels' and
in the HTML status page.
No longer draw POV name client side, removed `scr_showfollowing' cvar.
Diffstat (limited to 'source/mvd_local.h')
-rw-r--r-- | source/mvd_local.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/mvd_local.h b/source/mvd_local.h index 0e3eca5..3dd0d06 100644 --- a/source/mvd_local.h +++ b/source/mvd_local.h @@ -99,13 +99,15 @@ typedef struct { int jump_held; } udpClient_t; +#define MAX_MVD_NAME 16 + typedef struct mvd_s { list_t entry; list_t ready; list_t active; int id; - char name[MAX_QPATH]; + char name[MAX_MVD_NAME]; // demo related variables fileHandle_t demoplayback; @@ -132,7 +134,7 @@ typedef struct mvd_s { fifo_t zbuf; unsigned framenum; unsigned lastReceived; - unsigned waitTime, waitDelay; + unsigned waitTime, waitDelay, waitCount; // game state char gamedir[MAX_QPATH]; |