diff options
author | Kahrl <kahrl@gmx.net> | 2012-01-12 06:10:39 +0100 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2012-01-12 06:10:39 +0100 |
commit | 6a76c226e10e92c3e3339096f07f8ab065e2098b (patch) | |
tree | 396d9083f5f76ebb5ba96df113ba68046c2487df /src/clientserver.h | |
parent | 569156b01302ea4ba45d11ff5524b62dbc6a9aa0 (diff) | |
download | hax-minetest-server-6a76c226e10e92c3e3339096f07f8ab065e2098b.tar.gz hax-minetest-server-6a76c226e10e92c3e3339096f07f8ab065e2098b.zip |
The huge item definition and item namespace unification patch (itemdef), see http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
Diffstat (limited to 'src/clientserver.h')
-rw-r--r-- | src/clientserver.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/clientserver.h b/src/clientserver.h index 43de689e4..acb4f8530 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -39,9 +39,14 @@ with this program; if not, write to the Free Software Foundation, Inc., Make players to be handled mostly as ActiveObjects PROTOCOL_VERSION 6: Only non-cached textures are sent + PROTOCOL_VERSION 7: + Add TOCLIENT_ITEMDEF + Obsolete TOCLIENT_TOOLDEF + Obsolete TOCLIENT_CRAFTITEMDEF + Compress the contents of TOCLIENT_ITEMDEF and TOCLIENT_NODEDEF */ -#define PROTOCOL_VERSION 6 +#define PROTOCOL_VERSION 7 #define PROTOCOL_ID 0x4f457403 @@ -252,6 +257,14 @@ enum ToClientCommand string sha1_digest } */ + + TOCLIENT_ITEMDEF = 0x3d, + /* + u16 command + u32 length of next item + serialized ItemDefManager + */ + }; enum ToServerCommand |