raze-gles/polymer/eduke32/source/jmact
hendricks266 cfedcbd7d7 Rewrite and unify the handling of the scrollwheel between layers, fixing it in the editor's 2D mode and tile selector under SDL.
The scrollwheel is unique among PC input because it has no innate "hold length". Previously, the layers gave the mousewheel a fake hold length to allow the not-necessarily-synchronous game/editor code to pick up the input before the layers marked it as "no longer pressed". This passed under Windows, but it didn't slide under SDL.

Besides the two problems listed above, it also potentially limited the rate of weapon selection, where scrolling too fast would not register every clicks. [Unrelatedly, this is still the case when you scroll faster than the game's own tickrate, but addressing that would require rewriting input handling to go through a list of "events" for each tic instead of looking at overall pressed/unpressed states.]

git-svn-id: https://svn.eduke32.com/eduke32@4200 1a8010ca-5511-0410-912e-c29ae57300e0
2013-12-20 07:24:09 +00:00
..
_control.h
_scrplib.h
animlib.c Add rudimentary sanity checks when playing ANM files. 2013-03-31 18:57:59 +00:00
animlib.h Add rudimentary sanity checks when playing ANM files. 2013-03-31 18:57:59 +00:00
control.c Rewrite and unify the handling of the scrollwheel between layers, fixing it in the editor's 2D mode and tile selector under SDL. 2013-12-20 07:24:09 +00:00
control.h
file_lib.c
file_lib.h
joystick.c
joystick.h
keyboard.c
keyboard.h
mathutil.c
mathutil.h
mouse.c
mouse.h
scriplib.c Fix loading of a user's previous "SelectedGRP" file. 2013-03-28 09:04:54 +00:00
scriplib.h Fix loading of a user's previous "SelectedGRP" file. 2013-03-28 09:04:54 +00:00