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:
parent
fc7a480fe8
commit
fae43b8120
16 changed files with 493 additions and 39 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue