- some fixes for the console.
* it is now possible to switch back to the main intro loop from the fullscreen console. * do not distort the background of the fullscreen console. Always draw the console on top of what the main loop currently displays with a translucent black overlay. * do not use the CONPIC for the fullscreen console as it tends to be more of a distraction than an asset when filling the entire screen. * cleaned up c_console.cpp and moved several pieces of code unrelated to actual console management out of it.
This commit is contained in:
parent
7676ed641c
commit
194824f810
17 changed files with 122 additions and 85 deletions
|
|
@ -1080,6 +1080,7 @@ void D_Display ()
|
|||
switch (gamestate)
|
||||
{
|
||||
case GS_FULLCONSOLE:
|
||||
D_PageDrawer();
|
||||
C_DrawConsole ();
|
||||
M_Drawer ();
|
||||
End2DAndUpdate ();
|
||||
|
|
@ -2831,6 +2832,13 @@ FString System_GetPlayerName(int node)
|
|||
{
|
||||
return players[node].userinfo.GetName();
|
||||
}
|
||||
|
||||
void System_ConsoleToggled(int state)
|
||||
{
|
||||
if (state == c_falling && hud_toggled)
|
||||
D_ToggleHud();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// DoomSpecificInfo
|
||||
|
|
@ -3057,6 +3065,7 @@ static int D_DoomMain_Internal (void)
|
|||
StrTable_GetGender,
|
||||
nullptr,
|
||||
CheckSkipGameOptionBlock,
|
||||
System_ConsoleToggled,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue