mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Sending of textures WIP
This commit is contained in:
parent
7bdc328a71
commit
45fc45a49e
6 changed files with 303 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue