- disabled demos in blood.

This commit is contained in:
Christoph Oelckers 2020-06-06 09:23:44 +02:00
parent 70ae86aff1
commit fc466849ce
2 changed files with 6 additions and 1 deletions

View file

@ -1187,16 +1187,20 @@ RESTART:
goto RESTART; goto RESTART;
} }
UpdateNetworkMenus(); UpdateNetworkMenus();
#if 0
if (!gDemo.at0 && gDemo.at59ef > 0 && gGameOptions.nGameType == 0 && !bNoDemo && demo_playloop) if (!gDemo.at0 && gDemo.at59ef > 0 && gGameOptions.nGameType == 0 && !bNoDemo && demo_playloop)
gDemo.SetupPlayback(NULL); gDemo.SetupPlayback(NULL);
#endif
gQuitGame = 0; gQuitGame = 0;
gRestartGame = 0; gRestartGame = 0;
if (gGameOptions.nGameType > 0) if (gGameOptions.nGameType > 0)
{ {
inputState.ClearAllInput(); inputState.ClearAllInput();
} }
#if 0
else if (gDemo.at1 && !bAddUserMap && !bNoDemo && demo_playloop) else if (gDemo.at1 && !bAddUserMap && !bNoDemo && demo_playloop)
gDemo.Playback(); gDemo.Playback();
#endif
if (gDemo.at59ef > 0) if (gDemo.at59ef > 0)
M_ClearMenus(); M_ClearMenus();
if (!bAddUserMap && !gGameStarted) if (!bAddUserMap && !gGameStarted)
@ -1344,8 +1348,10 @@ RESTART:
#endif #endif
if (gGameOptions.nGameType != 0) if (gGameOptions.nGameType != 0)
{ {
#if 0
if (!gDemo.at0 && gDemo.at59ef > 0 && gGameOptions.nGameType == 0 && !bNoDemo && demo_playloop) if (!gDemo.at0 && gDemo.at59ef > 0 && gGameOptions.nGameType == 0 && !bNoDemo && demo_playloop)
gDemo.NextDemo(); gDemo.NextDemo();
#endif
videoSetViewableArea(0,0,xdim-1,ydim-1); videoSetViewableArea(0,0,xdim-1,ydim-1);
if (!bQuickStart) if (!bQuickStart)
credLogosDos(); credLogosDos();

View file

@ -118,7 +118,6 @@ CUSTOM_CVARD(Int, cl_autovote, 0, CVAR_ARCHIVE, "enable/disable automatic voting
// Demos // Demos
CVAR(Bool, demo_playloop, true, CVAR_ARCHIVE) // only active in Blood, because none of the other games can play demos right now.
CVARD_NAMED(Bool, demorec_seeds, demorec_seeds_cvar, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable recording of random seed for later sync checking") CVARD_NAMED(Bool, demorec_seeds, demorec_seeds_cvar, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable recording of random seed for later sync checking")
CVARD_NAMED(Bool, demorec_diffs, demorec_diffs_cvar, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable diff recording in demos") CVARD_NAMED(Bool, demorec_diffs, demorec_diffs_cvar, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable diff recording in demos")
CVARD_NAMED(Bool, demorec_force, demorec_force_cvar, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable forced demo recording") CVARD_NAMED(Bool, demorec_force, demorec_force_cvar, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable forced demo recording")