diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-15 18:07:06 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-15 18:07:06 +0000 |
commit | 58c8e2e0377eddcae7f44d30b78578fbedf0eaa7 (patch) | |
tree | 3643ef5da6e9e397cf4c27ff93b4722843b5c83c /source/gtv.h | |
parent | 2ff447b2019b5696375fbc09d87416345418cd9a (diff) |
Added `sv_mvd_allow_stufftext' and `sv_mvd_password' cvars.
MVD admins now can execute arbitrary commands on behaf of the
dummy MVD observer on game server side via `fwd' command, if allowed.
MVD channel is now listed in the menu when it is not suspended, not
just when there are active players.
Made `mvdconnect' command accept --user and --pass options.
When masking off high-bit characters before displaying them on system
console or writing into logfile, ignore any control characters.
Updated documentation.
Diffstat (limited to 'source/gtv.h')
-rw-r--r-- | source/gtv.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/gtv.h b/source/gtv.h index 545eec1..cac7567 100644 --- a/source/gtv.h +++ b/source/gtv.h @@ -18,13 +18,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GTV_PROTOCOL_VERSION 0xED03 +#define GTV_PROTOCOL_VERSION 0xED04 #define MAX_GTS_MSGLEN MAX_MSGLEN // maximum GTV server message length #define MAX_GTC_MSGLEN 256 // maximum GTV client message length // flags used in hello packet -#define GTF_DEFLATE 1 +#define GTF_DEFLATE 1 +#define GTF_STRINGCMDS 2 typedef enum { GTS_HELLO, @@ -43,6 +44,7 @@ typedef enum { GTC_HELLO, GTC_PING, GTC_STREAM_START, - GTC_STREAM_STOP + GTC_STREAM_STOP, + GTC_STRINGCMD } gtv_clientop_t; |