- route all accesses to gameaction from the backend through the sysCallbacks.
gameactions are frontend specific so this needs to be decoupled.
This commit is contained in:
parent
e5baef837a
commit
9898ee542c
6 changed files with 39 additions and 29 deletions
|
|
@ -2997,6 +2997,12 @@ static void System_ToggleFullConsole()
|
|||
gameaction = ga_fullconsole;
|
||||
}
|
||||
|
||||
static void System_StartCutscene(bool blockui)
|
||||
{
|
||||
gameaction = blockui ? ga_intro : ga_intermission;
|
||||
}
|
||||
|
||||
|
||||
bool CheckSkipGameOptionBlock(const char* str);
|
||||
|
||||
//==========================================================================
|
||||
|
|
@ -3048,7 +3054,7 @@ static int D_DoomMain_Internal (void)
|
|||
nullptr,
|
||||
nullptr,
|
||||
System_ToggleFullConsole,
|
||||
nullptr,
|
||||
System_StartCutscene,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue