Playing around trying to make the emscriptem port more usable/nicer.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4371 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-05-14 18:38:42 +00:00
parent 594a297ffa
commit d97a163011
8 changed files with 165 additions and 20 deletions

View file

@ -12,9 +12,9 @@ Module['preRun'] = function()
//FS.createPreloadedFile('/id1/', 'pak3.pak', '/pak3.pak', true, false);
};
Module['arguments'] = ['-nohome'];//, '+connect', 'tcp://127.0.0.1:80'];//, '-manifest', document.location + '.fmf'];
Module['arguments'] = ['-nohome', '-manifest', document.location + '.fmf'];
// use query string in URL as command line
if (!document.referrer) {
qstring = decodeURIComponent(window.location.search.substring(1)).split(" ");
Module['arguments'] = Module['arguments'].concat(qstring);
}
}