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:
parent
594a297ffa
commit
d97a163011
8 changed files with 165 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue