more svc_?? macro updates, update cl_parse.c:svc_strings for reference

This commit is contained in:
Ozkan Sezer 2022-04-22 01:10:50 +03:00
parent 13907a2df2
commit 87a08ae157
2 changed files with 21 additions and 17 deletions

View File

@ -73,25 +73,28 @@ const char *svc_strings[] =
"", // 35
"", // 36
"svc_skybox", // 37 // [string] skyname
"", // 38
"svc_botchat", // 38 (2021 RE-RELEASE)
"", // 39
"svc_bf", // 40 // no data
"svc_fog", // 41 // [byte] density [byte] red [byte] green [byte] blue [float] time
"svc_spawnbaseline2", //42 // support for large modelindex, large framenum, alpha, using flags
"svc_spawnstatic2", // 43 // support for large modelindex, large framenum, alpha, using flags
"svc_spawnstaticsound2", // 44 // [coord3] [short] samp [byte] vol [byte] aten
"", // 45
"", // 46
"", // 47
"", // 48
"", // 49
"", // 50
"", // 51
"svc_achievement", // 52 -- used by the 2021 rerelease
"", // 53
"", // 54
"", // 55
//johnfitz
// 2021 RE-RELEASE:
"svc_setviews", // 45
"svc_updateping", // 46
"svc_updatesocial", // 47
"svc_updateplinfo", // 48
"svc_rawprint", // 49
"svc_servervars", // 50
"svc_seq", // 51
"svc_achievement", // 52
"svc_chat", // 53
"svc_levelcompleted", // 54
"svc_backtolobby", // 55
"svc_localsound" // 56
};
qboolean warn_about_nehahra_protocol; //johnfitz

View File

@ -201,8 +201,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define svc_spawnstaticsound2 44 // [coord3] [short] samp [byte] vol [byte] aten
//johnfitz
// 2021 re-release server messages: the list is from
// 2021 re-release server messages - see:
// https://steamcommunity.com/sharedfiles/filedetails/?id=2679459726
#define svc_botchat 38
#define svc_setviews 45
#define svc_updateping 46
#define svc_updatesocial 47
@ -212,10 +213,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define svc_seq 51
// Note: svc_achievement has same value as svcdp_effect!
#define svc_achievement 52 // [string] id
#define svc_chat 53 // Prints a message in the chat
#define svc_levelcompleted 54 // Probably used for achievements
#define svc_backtolobby 55 // Tells the client that they should go back to the lobby screen
#define svc_localsound 56 // Plays a sound that is only heard by the client
#define svc_chat 53
#define svc_levelcompleted 54
#define svc_backtolobby 55
#define svc_localsound 56
//
// client to server