summaryrefslogtreecommitdiff
path: root/source/gtv.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-14 17:33:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-14 17:33:21 +0000
commit2ff447b2019b5696375fbc09d87416345418cd9a (patch)
tree615463d291db654810589e9c923e39546550c5b5 /source/gtv.h
parent9b25ad2f9f46ea731f6834a96536859e8764ab28 (diff)
Added `sv_mvd_bufsize', `sv_mvd_disconnect_time', `sv_mvd_suspend_time' cvars.
MVD dummy no longer attempts to reopen the scoreboard while suspended. Extended maximum MVD/GTV client message size to 256 bytes. Don't break message order client expects in parse_stream_start(). Support maxclients value change between MVD gamestates. Added `mvd_suspend_time', `mvd_username', `mvd_password' cvars. Fixed MVD client retry backoff time.
Diffstat (limited to 'source/gtv.h')
-rw-r--r--source/gtv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/gtv.h b/source/gtv.h
index 2079eaf..545eec1 100644
--- a/source/gtv.h
+++ b/source/gtv.h
@@ -18,8 +18,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GTV_PROTOCOL_VERSION 0xED02
+#define GTV_PROTOCOL_VERSION 0xED03
+#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
typedef enum {