Added ready system to screen jobs for multiplayer

Readds the feature to allow players to ready up during stat screens and intermissions instead of autoskipping based on whoever closed it. Comes with a variety of ways to tweak this behavior such as percentage-based auto starting (with a timer), the ability to unready as needed, and who can control it. Players will still be able to skip through individual screen jobs within the runner while waiting to ready up.
This commit is contained in:
Boondorl 2025-05-30 23:18:04 -04:00 committed by Ricardo Luís Vaz Silva
commit fae43b8120
16 changed files with 493 additions and 39 deletions

View file

@ -46,6 +46,7 @@ extern uint8_t globalfreeze, globalchangefreeze;
void C_Ticker();
void M_Ticker();
void D_RunCutscene();
//==========================================================================
//
@ -92,6 +93,10 @@ void P_RunClientsideLogic()
if (gamestate == GS_LEVEL)
primaryLevel->automap->Ticker();
}
else if (gamestate == GS_CUTSCENE || gamestate == GS_INTRO)
{
D_RunCutscene();
}
// [MK] Additional ticker for UI events right after all others
primaryLevel->localEventManager->PostUiTick();