Bump protocol version

and correct documentation of previous version
This commit is contained in:
sfan5 2023-03-26 14:32:19 +02:00
parent 0a698d92c3
commit bd88d299b9

@ -207,11 +207,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Minimap modes Minimap modes
PROTOCOL VERSION 40: PROTOCOL VERSION 40:
TOCLIENT_MEDIA_PUSH changed, TOSERVER_HAVE_MEDIA added TOCLIENT_MEDIA_PUSH changed, TOSERVER_HAVE_MEDIA added
PROTOCOL VERSION 41:
Added new particlespawner parameters Added new particlespawner parameters
[scheduled bump for 5.6.0] [scheduled bump for 5.6.0]
PROTOCOL VERSION 42:
TOSERVER_UPDATE_CLIENT_INFO added
new fields for TOCLIENT_SET_LIGHTING and TOCLIENT_SET_SKY
[scheduled bump for 5.7.0]
*/ */
#define LATEST_PROTOCOL_VERSION 41 #define LATEST_PROTOCOL_VERSION 42
#define LATEST_PROTOCOL_VERSION_STRING TOSTRING(LATEST_PROTOCOL_VERSION) #define LATEST_PROTOCOL_VERSION_STRING TOSTRING(LATEST_PROTOCOL_VERSION)
// Server's supported network protocol range // Server's supported network protocol range
@ -1068,7 +1073,7 @@ enum ToServerCommand
f32 gui_scaling f32 gui_scaling
f32 hud_scaling f32 hud_scaling
v2f32 max_fs_info v2f32 max_fs_info
*/ */
TOSERVER_NUM_MSG_TYPES = 0x54, TOSERVER_NUM_MSG_TYPES = 0x54,
}; };