added keybinds
This commit is contained in:
@@ -220,6 +220,8 @@ void IConsole_Exec( int argc, char **argv)
|
||||
if (argc != 2)
|
||||
return;
|
||||
|
||||
V_printf("exec %s\n", argv[1]);
|
||||
|
||||
IFileHandle *f = filesystem->Open(argv[1], FILEMODE_READ);
|
||||
if (!f)
|
||||
return;
|
||||
|
||||
@@ -99,6 +99,7 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
}
|
||||
|
||||
|
||||
Console()->Execute();
|
||||
double fPrevious = Plat_GetTime();
|
||||
for (;;) {
|
||||
#ifdef STEAM
|
||||
@@ -108,6 +109,7 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
double fDelta = fCurrent-fPrevious;
|
||||
fPrevious = fCurrent;
|
||||
|
||||
|
||||
g_pHumanDeviceManager->Frame();
|
||||
g_pServerGame->m_pBridge->Frame(fDelta);
|
||||
|
||||
@@ -117,6 +119,8 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
g_pClientGame->m_pBridge->Frame(fDelta);
|
||||
g_pRenderContext->Frame(fDelta);
|
||||
}
|
||||
|
||||
Console()->Execute();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user