diff options
author | Sven Gothel <[email protected]> | 2013-06-28 19:06:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-28 19:06:14 +0200 |
commit | 54bbd1a726e73841f0bd4cc79e5b12e83a88ba18 (patch) | |
tree | 6e71430ad8217e1fce810b5310ec0b5b2766340c /webstart | |
parent | 28ed823b1a804145b4dd741807a83570abc139e1 (diff) |
Add Applet Feature incl. required fixes.
- Jake2Applet
- Reenable JavaScript Bridge to resize Applet
- Pass through 4:3 aspect custom video mode (Jake2 args)
- Pass through applet parameter 'jake_args' (Jake2 args)
- OSX Hack: Re-create Game at init, otherwise flickering appears (??)
- Fix VID.init: Set vid_ref.modifier = true, otherwise not guaranteed VID creation
- BeginFrame, R_BeginFrame, beginFrame, activateGLContext:
Return 'true', if ctx is available, otherwise false to skip frame.
- NEWTWin:
- Applet mode (in Applet container): Always release GL ctx
- Use GLAnimatorControl impl, to state whether we are animating or not
and to tell us, whether we have to release the GL ctx.
- Add HOME -> Reparent feature for Applets
- Workaround for NEWT/Windows Bug 798
- NEWT Key Handling:
- Ignore auto-repeat
- Workaround for NEWT/Windows Bug 798
- Add HTML page
- normal
- debug mode
Diffstat (limited to 'webstart')
-rw-r--r-- | webstart/jake2-napplet01.html | 53 | ||||
-rw-r--r-- | webstart/jake2-napplet01_dbg.html | 40 | ||||
-rw-r--r-- | webstart/jake2_online.jnlp | 2 | ||||
-rw-r--r-- | webstart/old/jake2_jogl11.jnlp (renamed from webstart/jake2_jogl11.jnlp) | 0 | ||||
-rw-r--r-- | webstart/old/jake2_lwjgl.jnlp (renamed from webstart/jake2_lwjgl.jnlp) | 0 |
5 files changed, 94 insertions, 1 deletions
diff --git a/webstart/jake2-napplet01.html b/webstart/jake2-napplet01.html new file mode 100644 index 0000000..9279c79 --- /dev/null +++ b/webstart/jake2-napplet01.html @@ -0,0 +1,53 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>Jake2 NEWT NApplet 01</title> +</head> +<body bgcolor="#333333" text="#BBBBBB"> + +<P> +Jake2 NApplet +<ul> + <li> ESC - release the game mouse grab.</li> + <li> HOME - in/out browser window. </li> + <li> Video Mode Size change will change the Applet size.</li> + <li> Fullscreen will bring the window out of the browser as well + and MonitorMode is applied to the main MonitorDevice.</li> +</ul> +Bugs: +<ul> + <li>OSX: Fullscreen may freeze the JVM/Desktop, due to CGL.setContextView() deadlock</li> +</ul> +</P> + +<P> +<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + width="50%" height="45%"> + <param name="id" value="Jake2"> + <param name="code" value="jake2.Jake2Applet"> + <param name="archive" value="http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + jar/jake2.jar"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="jake_args" value="+set vid_ref joglgl2 +set s_impl joal +set adr0 jake2.in-chemnitz.de"> + <comment> + <embed id="Jake2" code="jake2.Jake2Applet" + width="50%" height="45%" + type="application/x-java-applet;version=1.6" + pluginspage="http://java.sun.com/javase/downloads/ea.jsp" + archive="http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + jar/jake2.jar" + java_arguments="-Dsun.java2d.noddraw=true" + jake_args="+set vid_ref joglgl2 +set s_impl joal +set adr0 jake2.in-chemnitz.de"> + <noembed>Sorry, no Java support detected.</noembed> + </embed> + </comment> +</object> + +</P> + +</body> +</html> diff --git a/webstart/jake2-napplet01_dbg.html b/webstart/jake2-napplet01_dbg.html new file mode 100644 index 0000000..f7c6086 --- /dev/null +++ b/webstart/jake2-napplet01_dbg.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>Jake2 NEWT NApplet 01</title> +</head> +<body bgcolor="#333333" text="#BBBBBB"> + +Jake2 NApplet Debug Mode + +<P> +<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + width="50%" height="45%"> + <param name="id" value="Jake2"> + <param name="code" value="jake2.Jake2Applet"> + <param name="archive" value="http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + jar/jake2.jar"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true -Djnlp.newt.debug.Window -Djnlp.jogamp.debug.Lock -Djnlp.jogl.debug=all"> + <param name="jake_args" value="+set vid_ref joglgl2 +set s_impl joal +set adr0 jake2.in-chemnitz.de"> + <comment> + <embed id="Jake2" code="jake2.Jake2Applet" + width="50%" height="45%" + type="application/x-java-applet;version=1.6" + pluginspage="http://java.sun.com/javase/downloads/ea.jsp" + archive="http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + jar/jake2.jar" + java_arguments="-Dsun.java2d.noddraw=true -Djnlp.newt.debug.Window -Djnlp.jogamp.debug.Lock -Djnlp.jogl.debug=all" + jake_args="+set vid_ref joglgl2 +set s_impl joal +set adr0 jake2.in-chemnitz.de"> + <noembed>Sorry, no Java support detected.</noembed> + </embed> + </comment> +</object> + +</P> + +</body> +</html> diff --git a/webstart/jake2_online.jnlp b/webstart/jake2_online.jnlp index 4be2496..14fdd7e 100644 --- a/webstart/jake2_online.jnlp +++ b/webstart/jake2_online.jnlp @@ -38,7 +38,7 @@ <argument>clientport</argument> <argument>27910</argument> <argument>+connect</argument> - <argument>88.198.147.212</argument> + <argument>88.198.147.212</argument> </application-desc> </jnlp> diff --git a/webstart/jake2_jogl11.jnlp b/webstart/old/jake2_jogl11.jnlp index 66870ed..66870ed 100644 --- a/webstart/jake2_jogl11.jnlp +++ b/webstart/old/jake2_jogl11.jnlp diff --git a/webstart/jake2_lwjgl.jnlp b/webstart/old/jake2_lwjgl.jnlp index 99e2106..99e2106 100644 --- a/webstart/jake2_lwjgl.jnlp +++ b/webstart/old/jake2_lwjgl.jnlp |