Skip to content

Commit

Permalink
spearmint: Change version to 0.4, protocol to 10
Browse files Browse the repository at this point in the history
Protocol was changed so that network games with incompatible VMs are separate.

Protocol 6,7,8,9 were skipped so that Turtle Arena 0.7 won't reuse an old
protocol number.
  • Loading branch information
zturtleman committed Jul 13, 2016
1 parent 08f1054 commit 6316e7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ endif
export CROSS_COMPILING

ifndef VERSION
VERSION=0.3
VERSION=0.4
endif

ifndef CLIENTBIN
Expand Down
2 changes: 1 addition & 1 deletion code/qcommon/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Suite 120, Rockville, Maryland 20850 USA.
// List of demo protocols that are supported for playback.
// Also plays protocol com_protocol
int demo_protocols[] =
{ PROTOCOL_VERSION, 4, 3, 2, 0 };
{ PROTOCOL_VERSION, 5, 4, 3, 2, 0 };

#define MAX_NUM_ARGVS 50

Expand Down
4 changes: 2 additions & 2 deletions code/qcommon/qcommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Suite 120, Rockville, Maryland 20850 USA.

// Keep this in-sync with VERSION in Makefile.
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "0.3"
#define PRODUCT_VERSION "0.4"
#endif

#define Q3_VERSION PRODUCT_NAME " " PRODUCT_VERSION
Expand Down Expand Up @@ -318,7 +318,7 @@ PROTOCOL
==============================================================
*/

#define PROTOCOL_VERSION 5
#define PROTOCOL_VERSION 10
#define PROTOCOL_LEGACY_VERSION 0

// maintain a list of compatible protocols for demo playing
Expand Down

0 comments on commit 6316e7d

Please sign in to comment.