diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-15 11:02:47 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:43 +0200 |
commit | 45fc45a49e61c61646b9997840e92f25bb8ccde9 (patch) | |
tree | 974bf350bc7f80717726b96f9687f25932ac3792 /src/clientserver.h | |
parent | 7bdc328a7191024287d9f1e5a24ba4f96fb9ca50 (diff) | |
download | minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.tar.gz minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.tar.bz2 minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.zip |
Sending of textures WIP
Diffstat (limited to 'src/clientserver.h')
-rw-r--r-- | src/clientserver.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/clientserver.h b/src/clientserver.h index ef8188b2a..0d553f769 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -29,6 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc., Base for writing changes here PROTOCOL_VERSION 4: Add TOCLIENT_TOOLDEF + Add TOCLIENT_TEXTURES */ #define PROTOCOL_VERSION 4 @@ -198,6 +199,18 @@ enum ToClientCommand serialized ToolDefManager */ + TOCLIENT_TEXTURES = 0x39, + /* + u16 command + u32 number of textures + for each texture { + u16 length of name + string name + u32 length of data + data + } + */ + //TOCLIENT_CONTENT_SENDING_MODE = 0x38, /* u16 command |