On Wed, Mar 17, 2010 at 2:31 PM, Michael Menegakis <arx...@gmail.com> wrote:
>        //WINAPI: "0 (approximately 2.5 repetitions per second)[400ms]
> through 31 (approximately 30 repetitions per second)[33ms]"
>        speed = 400 - speed * 12;

That may be more accurate with rint(400 - (float)speed * 11.84f);
though rint may need replacement on MSVC.




I notice SDL_EnableKeyRepeat is apparently effectively called in EVERY
frame (from IN_ProcessEvents()).

That sounds irregular.
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to