aboutsummaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-25 11:50:29 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-25 11:51:33 +0300
commitf801e16b787f033cea4e473d69b54fe65248a439 (patch)
tree25cd83a122fd4a1cb74d605aecaa65caa1b5f8a7 /src/clientserver.h
parent4bf5065a9cdaf55a6915e647e9b5de5281d6622f (diff)
downloadminetest-f801e16b787f033cea4e473d69b54fe65248a439.tar.gz
minetest-f801e16b787f033cea4e473d69b54fe65248a439.tar.bz2
minetest-f801e16b787f033cea4e473d69b54fe65248a439.zip
Texture cache -> Media cache WIP
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index 9cbb7a685..8ac0aa877 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -28,7 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
PROTOCOL_VERSION 3:
Base for writing changes here
PROTOCOL_VERSION 4:
- Add TOCLIENT_TEXTURES
+ Add TOCLIENT_MEDIA
Add TOCLIENT_TOOLDEF
Add TOCLIENT_NODEDEF
Add TOCLIENT_CRAFTITEMDEF
@@ -215,13 +215,13 @@ enum ToClientCommand
v3f1000 camera point target (to point the death cause or whatever)
*/
- TOCLIENT_TEXTURES = 0x38,
+ TOCLIENT_MEDIA = 0x38,
/*
u16 command
u16 total number of texture bunches
u16 index of this bunch
- u32 number of textures in this bunch
- for each texture {
+ u32 number of files in this bunch
+ for each file {
u16 length of name
string name
u32 length of data
@@ -250,11 +250,11 @@ enum ToClientCommand
serialized CraftiItemDefManager
*/
- TOCLIENT_ANNOUNCE_TEXTURES = 0x3c,
+ TOCLIENT_ANNOUNCE_MEDIA = 0x3c,
/*
u16 command
- u32 number of textures
+ u32 number of files
for each texture {
u16 length of name
string name
@@ -468,11 +468,11 @@ enum ToServerCommand
s32[len] sound_id
*/
- TOSERVER_REQUEST_TEXTURES = 0x40,
+ TOSERVER_REQUEST_MEDIA = 0x40,
/*
u16 command
- u16 number of textures requested
- for each texture {
+ u16 number of files requested
+ for each file {
u16 length of name
string name
}