# HG changeset patch # User Adam Kaminski # Date 1626744147 14400 # Mon Jul 19 21:22:27 2021 -0400 # Node ID 11a62260ea524211c690b9d2f6c0e710033ad8df # Parent 8827b6b803531a09bf181049dc9b9541b1d0587c Added the GAMEMODE flag DONTPRINTPLAYERSLEFT to prevent printing the "waiting for players" or "x allies/opponents left" message at the bottom of the screen. diff -r 8827b6b80353 -r 11a62260ea52 docs/zandronum-history.txt --- a/docs/zandronum-history.txt Mon Jul 19 20:48:00 2021 -0400 +++ b/docs/zandronum-history.txt Mon Jul 19 21:22:27 2021 -0400 @@ -54,6 +54,7 @@ + - The map rotation is now synced with the clients, meaning clients can now use the "maplist" CCMD to view the map list. [Kaminsky] + - Added "cl_autoready" to automatically set a client as ready to go and "cl_intermissiontimer" to show the intermission countdown and the next map. [DoomJoshuaBoy/Kaminsky] + - Added CVars that customize how the weapon bobs, sways, and offsets based on the player's pitch, or whether or not to bob the screen itself while leaving the weapon bob unaffected. [Kaminsky] ++ - Added the GAMEMODE flag DONTPRINTPLAYERSLEFT to prevent printing the "waiting for players" or "x allies/opponents left" message at the bottom of the screen. [Kaminsky] - - Fixed: Bots tries to jump to reach item when sv_nojump is true. [sleep] - - Fixed: ACS function SetSkyScrollSpeed didn't work online. [Edward-san] - - Fixed: color codes in callvote reasons weren't terminated properly. [Dusk] diff -r 8827b6b80353 -r 11a62260ea52 src/g_shared/st_hud.cpp --- a/src/g_shared/st_hud.cpp Mon Jul 19 20:48:00 2021 -0400 +++ b/src/g_shared/st_hud.cpp Mon Jul 19 21:22:27 2021 -0400 @@ -462,7 +462,8 @@ } // [AK] Draw the "waiting for players" or "x allies/opponents left" messages when viewing through a non-spectating player. - if ( players[ulDisplayPlayer].bSpectating == false ) + // Only do this if GMF_DONTPRINTPLAYERSLEFT isn't enabled in the current game mode. + if (( players[ulDisplayPlayer].bSpectating == false ) && (( GAMEMODE_GetCurrentFlags( ) & GMF_DONTPRINTPLAYERSLEFT ) == false )) { GAMESTATE_e gamestate = GAMEMODE_GetState( ); diff -r 8827b6b80353 -r 11a62260ea52 src/gamemode_enums.h --- a/src/gamemode_enums.h Mon Jul 19 20:48:00 2021 -0400 +++ b/src/gamemode_enums.h Mon Jul 19 21:22:27 2021 -0400 @@ -73,6 +73,7 @@ ENUM_ELEMENT2 ( GMF_USEMAXLIVES, 0x00001000 ), ENUM_ELEMENT2 ( GMF_USETEAMITEM, 0x00002000 ), ENUM_ELEMENT2 ( GMF_MAPRESET_RESETS_MAPTIME, 0x00004000 ), + ENUM_ELEMENT2 ( GMF_DONTPRINTPLAYERSLEFT, 0x00008000 ), } END_ENUM( GMF )