Skip to content

Commit

Permalink
add commandline args to html
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Sep 7, 2013
1 parent 56ccc52 commit 3ad7128
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Expand Up @@ -11,4 +11,7 @@ stamp-h1
*.diff
src/prboom
src/prboom-game-server

*.bc
*.html
*.data
*.swp
2 changes: 1 addition & 1 deletion doit.sh
Expand Up @@ -7,5 +7,5 @@
#~/Dev/emscripten/emconfigure ./configure --disable-i386-asm --disable-gl --disable-cpu-opt
#make
#mv src/prboom src/prboom.bc
#~/Dev/emscripten/emcc src/prboom.bc -o boon.html --preload-file prboom.wad --preload-file doom.wad -s TOTAL_MEMORY=134217728 -O2 -g
#~/Dev/emscripten/emcc src/prboom.bc -o boon.html --preload-file prboom.wad --preload-file doom.wad -s TOTAL_MEMORY=134217728 -O2 -g --pre-js pre.js

3 changes: 3 additions & 0 deletions pre.js
@@ -0,0 +1,3 @@

Module.arguments = ['-nofullscreen', '-nosound'];

0 comments on commit 3ad7128

Please sign in to comment.