what it needs to be done it rewrote to use 64/48 box and not the
fullscreen... b/c it traps it in the center anyways and using 64/48
will fit to ANY screen res....<br><br><div><span class="gmail_quote">On 11/6/05, <b class="gmail_sendername">Anders Storsveen</b> &lt;<a href="mailto:wakko@generation.no">wakko@generation.no</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anders Storsveen wrote:<br><br>&gt;I'm having some weird problems, with quake2-qmax I have a stable fps<br>&gt;right under the cl_maxfps var, however in regular quake2 I got like<br>&gt;60-70 fps max! that's really weird, isn't the entire difference between
<br>&gt;qmax and regular some textures?<br>&gt;<br>&gt;It's really weird! I have an ati 9700 card.<br>&gt;<br>&gt;Also the mouse is really weird in glx-mode, it's some kind of negative<br>&gt;acceleration, when I move it real slow it goes the wrong way, until I
<br>&gt;turn up the speed just a little, it comes to a stop and then goes the<br>&gt;right way. It's really problematic!<br>&gt;<br>&gt;and the last thing is that the gamma mode is different in sdl and glx, I<br>&gt;have noticed and posted about this before. I think it's the gamma method
<br>&gt;it uses, glx uses desktop gamma/hw-gamma somehow, which is very nice and<br>&gt;crips. while SDL uses software-gamma/brightness, which washes out the<br>&gt;colors and is horrible!<br>&gt;<br>&gt;also I get alsa buffer underuns now, which makes my sound go in a loop,
<br>&gt;and I get 13-15fps in the game, If I do s_initsound 0 and snd_restart<br>&gt;the game goes back to normal!<br>&gt;<br>&gt;It would be fantastic if someone could look into this and fix it, it's<br>&gt;also the only problems I'm having, and the game would be perfect if this
<br>&gt;would work!<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br>Ok, I've been testing a little more on the mouse issue, when I turn on<br>dgamouse the mouse in glx mode works again. I've been checking out the<br>sourcecode, and the mouse code is really weird in most cases, this is
<br>for glx's non-dga mousehandling..<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mx -= ((int)event.xmotion.x - mwx) * 2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my -= ((int)event.xmotion.y - mwy) * 2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mwx = event.xmotion.x;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mwy = event.xmotion.y
;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (mx || my)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dowarp = true;<br><br>where:<br><br>&nbsp;&nbsp;int mwx = vid.width/2;<br>&nbsp;&nbsp;int mwy = vid.height/2;<br><br>I think there might be some rounding errors here, since widht and height
<br>divided by two isn't the excact center...<br><br>also, I still don't get why it's hard to fix hardware gamma in sdlmode<br>when it works nice in glxmode...<br><br>and lastly newest cvs is really b0rked, any button I press in console
<br>scrolls one line up :P<br><br></blockquote></div><br>