diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-12 20:58:58 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-12 20:58:58 +0000 |
commit | 9b25ad2f9f46ea731f6834a96536859e8764ab28 (patch) | |
tree | e25e2f9b15f7cfa8f5fca17f4d4095611f830cb2 /source/mvd_local.h | |
parent | 7beb920efe71d600f73d981c08e4b049426f9394 (diff) |
Removed `mvd_chase_msgs' cvar, corresponding flag is now stored in MVD stream.
Do not initialize MVD server in active state, check for players instead.
Allow MVD/GTV client dynamically change `maxbuf' setting.
Changed MVD/GTV stream suspend semantics.
Fixed possible server crash due to an error in NET_Accept.
Updated documentation.
Diffstat (limited to 'source/mvd_local.h')
-rw-r--r-- | source/mvd_local.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/mvd_local.h b/source/mvd_local.h index 55ca6ca..a281bcd 100644 --- a/source/mvd_local.h +++ b/source/mvd_local.h @@ -131,6 +131,7 @@ typedef struct mvd_s { mvd_player_t *dummy; // &players[clientNum] int numplayers; // number of active players in frame int clientNum; + int flags; char layout[MAX_STRING_CHARS]; char oldscores[MAX_STRING_CHARS]; // layout is copied here qboolean intermission; @@ -144,14 +145,12 @@ typedef struct mvd_s { // mvd_client.c // -extern list_t mvd_channels; -extern list_t mvd_active; +extern list_t mvd_channel_list; +extern list_t mvd_active_list; extern mvd_t mvd_waitingRoom; extern qboolean mvd_dirty; extern cvar_t *mvd_shownet; -extern cvar_t *mvd_timeout; -extern cvar_t *mvd_chase_msgs; void MVD_Destroyf( mvd_t *mvd, const char *fmt, ... ) q_noreturn q_printf( 2, 3 ); |