mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-14 08:21:05 +00:00
f520bdede7
implement hardware cursors in d3d9+d3d11 fix crash from closing the audio menu in the webgl port. make deluxemapping+softwarebanding require a vid_reload before anything happens. this solves missing textures until the user does it anyway. fix scores+spectating issue. again. oops. rename openal devices in the webgl port, so that it makes more sense. remove glsl/hlsl parameter limit. this also fixes the final ie webgl issue (still gets half the framerate though). fix some issues with bloom and waterwarp active at the same time. attempted to give properish error messages from emscripten, despite emscripten hating me. hack drag+drop into fteqccgui. I ought to make fteqw accept demos etc this way some time too. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4959 fc73d0e0-1445-4013-8a0c-d673dee63da5
14 lines
No EOL
513 B
JavaScript
14 lines
No EOL
513 B
JavaScript
{
|
|
Module['arguments'] = ['-nohome'];
|
|
|
|
var man = window.location.protocol+'//'+window.location.host+window.location.pathname + '.fmf';
|
|
if (window.location.hash != "")
|
|
man = window.location.hash.substring(1);
|
|
|
|
Module['arguments'] = Module['arguments'].concat(['-manifest', man]);
|
|
// 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);
|
|
}
|
|
} |