fix polygon selection and add steam deploy script

This commit is contained in:
2019-05-02 18:00:59 +02:00
parent 54c0df9ed6
commit d03f5441b0
6 changed files with 72 additions and 1 deletions

View File

@@ -689,6 +689,7 @@ int main(int argc, char** argv)
return -1; // A negative number because you are a negative one
}
bool start_in_vr = false;
if (argc > 1)
{
switch (const_hash(argv[1]))
@@ -697,6 +698,9 @@ int main(int argc, char** argv)
App::I.initShaders();
App::I.cmd_convert(argv[2], argv[3]);
return 0;
case const_hash("-vrmode"):
start_in_vr = true;
break;
default:
break;
}
@@ -844,6 +848,9 @@ int main(int argc, char** argv)
SetTimer(hWnd, 1, 500, NULL);
if (start_in_vr)
App::I.vr_start();
MSG msg;
LOG("start main loop");
while (running == 1)