- reactivated the binding reladed CCMDs.

This commit is contained in:
Christoph Oelckers 2019-11-04 23:52:08 +01:00
parent 8d089a11fa
commit 189ce21acf
2 changed files with 6 additions and 6 deletions

View file

@ -534,7 +534,6 @@ void C_UnbindAll ()
AutomapBindings.UnbindAll(); AutomapBindings.UnbindAll();
} }
#if 0
CCMD (unbindall) CCMD (unbindall)
{ {
C_UnbindAll (); C_UnbindAll ();
@ -643,7 +642,6 @@ CCMD(rebind)
bindings->SetBind(key, argv[1]); bindings->SetBind(key, argv[1]);
} }
} }
#endif
//============================================================================= //=============================================================================
// //

View file

@ -36,7 +36,7 @@
#include "gameconfigfile.h" #include "gameconfigfile.h"
#include "c_cvars.h" #include "c_cvars.h"
//#include "c_dispatch.h" #include "c_dispatch.h"
#include "c_bind.h" #include "c_bind.h"
#include "m_argv.h" #include "m_argv.h"
#include "cmdlib.h" #include "cmdlib.h"
@ -52,6 +52,10 @@
#include "gamecontrol.h" #include "gamecontrol.h"
#include "version.h" #include "version.h"
#ifdef Printf
#undef Printf
#endif
#define LASTRUNVERSION "1" #define LASTRUNVERSION "1"
#if !defined _MSC_VER && !defined __APPLE__ #if !defined _MSC_VER && !defined __APPLE__
@ -522,13 +526,11 @@ void FGameConfigFile::AddAutoexec (FArgs *list, const char *game)
} }
} }
/*
CCMD (whereisini) CCMD (whereisini)
{ {
FString path = M_GetConfigPath(false); FString path = M_GetConfigPath(false);
Printf ("%s\n", path.GetChars()); OSD_Printf ("%s\n", path.GetChars());
} }
*/
FGameConfigFile* GameConfig; FGameConfigFile* GameConfig;
static FString GameName; static FString GameName;