- not yet finished: this enables some console cheats in Blood and Shadow Warrior

This commit is contained in:
Rachael Alexanderson 2020-01-23 05:50:12 -05:00
parent b98019a4ba
commit 0f3b3300fb
3 changed files with 8 additions and 0 deletions

View file

@ -1204,6 +1204,9 @@ int GameInterface::app_main()
if (!bQuickStart)
credLogosDos();
scrSetDac();
registerosdcommands();
RESTART:
sub_79760();
gViewIndex = myconnectindex;

View file

@ -85,6 +85,7 @@ set( PCH_SOURCES
src/morph.cpp
src/network.cpp
src/ninja.cpp
src/osdcmds.cpp
src/panel.cpp
src/player.cpp
src/predict.cpp

View file

@ -99,6 +99,8 @@ Things required to make savegames work:
#include "rendering/v_video.h"
#include "sound/s_soundinternal.h"
#include "osdcmds.h"
//#include "crc32.h"
BEGIN_SW_NS
@ -2779,6 +2781,8 @@ int32_t GameInterface::app_main()
UserMapName[0] = '\0';
registerosdcommands();
Control();
return 0;