Commit graph

1335 commits

Author SHA1 Message Date
Eric Wasylishen
9990e8fdb1 bind back button to tab 2016-03-01 14:39:47 -07:00
Eric Wasylishen
e1afed5b2a restore struct zeroing 2016-03-01 11:58:42 -07:00
Eric Wasylishen
6c2152f384 update comment. use sqrtf. 2016-03-01 11:55:02 -07:00
Eric Wasylishen
52c67ac35d lower yaw sens a bit 2016-03-01 11:43:31 -07:00
Eric Wasylishen
cbaa8d50d2 add special move easing function. rewrite look easing 2016-03-01 00:54:41 -07:00
Eric Wasylishen
8e4cedffaa fix indentation 2016-02-29 19:46:02 -08:00
Eric Wasylishen
767b6cf9d1 commenting 2016-02-29 19:43:24 -08:00
Eric Wasylishen
8e897e7456 more tidying 2016-02-29 19:15:54 -08:00
Eric Wasylishen
d13d116d11 cleaning 2016-02-29 18:40:57 -08:00
Eric Wasylishen
dfb7f9a4b1 fix threshold for stick-emulated arrow keys 2016-02-29 17:43:01 -07:00
Eric Wasylishen
ea5966a687 add joy_invert 2016-02-29 17:25:33 -07:00
Eric Wasylishen
cb14e8b153 fix whitespace 2016-02-29 17:21:52 -07:00
Eric Wasylishen
48d7e9c134 renumber keys 2016-02-29 17:19:57 -07:00
Eric Wasylishen
c0c2cf3560 update default.cfg 2016-02-29 17:14:16 -07:00
Eric Wasylishen
0dffdee779 rename cvars 2016-02-29 15:13:14 -07:00
Eric Wasylishen
35dbeb9e6e Rename buttons 2016-02-29 14:38:02 -07:00
Eric Wasylishen
1358af7a00 fix key repeats 2016-02-29 13:23:56 -07:00
Eric Wasylishen
37e3d48bef wip new settings 2016-02-29 01:31:30 -07:00
Eric Wasylishen
23665f621d Revert "WIP acceleration"
This reverts commit ea120df479.
2016-02-29 00:01:27 -07:00
Eric Wasylishen
ea120df479 WIP acceleration 2016-02-28 19:57:40 -07:00
Eric Wasylishen
df0ed1e5e4 joy: add arrow key emulation for analog sticks when not ingame 2016-02-27 20:19:00 -07:00
Eric Wasylishen
4be50af6b6 Merge branch 'master' into joy2 2016-02-26 14:50:33 -07:00
ewasylishen
492c4deed8 gl_vidsdl.c: add vid_borderless cvar for getting a borderless window
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1292 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-02-26 20:18:27 +00:00
Eric Wasylishen
484aba0f5a Revert "vid_borderless"
This reverts commit 528493907f.
2016-02-26 12:32:26 -07:00
Eric Wasylishen
2d7408f623 Merge branch 'master' into joy2 2016-02-26 12:32:15 -07:00
ewasylishen
0763e94fe3 R_UpdateWarpTextures: workaround osx 10.6 driver bug when using FSAA, reported by Barnak.
R_Clear only clears the warpimage part of the screen, leading to an unplayable
HOM effect on the rest of the screen.

The workaround is calling GL_SetCanvas(CANVAS_DEFAULT); at the end of
R_UpdateWarpTextures, it should be harmless enough on other systems, so not sure
if it's worth making this workaround conditional.

My guess is glClear in this implementation is wrongly using glViewport as the
area to clear.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1291 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-02-26 07:37:00 +00:00
Eric Wasylishen
528493907f vid_borderless 2016-02-16 23:40:06 -07:00
Eric Wasylishen
0e06798db3 adding joy key repeat func 2016-02-15 02:32:05 -07:00
Eric Wasylishen
68cb97c864 more tidying.. apply deadzone before swapping move/look 2016-02-13 15:14:04 -07:00
Eric Wasylishen
bc447db0b0 tidy indentation 2016-02-13 13:21:07 -07:00
Eric Wasylishen
36bb9f835b add comment on menu canvas change 2016-02-13 13:10:11 -07:00
Eric Wasylishen
55080e0e11 Video menu: support x360 keys 2016-02-13 00:37:55 -07:00
Eric Wasylishen
b9d22460c4 Keybinding: allow binding 3 keys 2016-02-13 00:35:46 -07:00
Eric Wasylishen
0627f031cf Hack menu viewport size 2016-02-13 00:35:23 -07:00
Eric Wasylishen
68d3f53dbf Merge branch 'master' into joy2 2016-02-13 00:12:17 -07:00
ewasylishen
eb1763585c Contrast support with a "contrast" cvar, behaving the same as MarkV's.
It may be a useful alternative to the existing gamma control for laptops in a bright environment, etc.
(raising contrast gives less of a gray/washed out look than raising gamma, but as a disadvantage, colours near white get clipped to white.)

It's also implemented for both GLSL and SDL gamma ramps, but only if USE_GAMMA_RAMPS is set to 1.
Since USE_GAMMA_RAMPS  is 0, currently it only works with GLSL.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1290 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-02-12 23:26:36 +00:00
Eric Wasylishen
87ace1016c undo formatting changes 2016-02-11 00:00:02 -07:00
Eric Wasylishen
06ef6723b1 reorganizing 2016-02-10 23:57:01 -07:00
Eric Wasylishen
51328a76a9 Rewrite IN_JoyMove 2016-02-09 22:19:59 -08:00
Eric Wasylishen
5e81772eba Split IN_Move into 2 functions 2016-02-09 21:18:19 -08:00
Eric Wasylishen
130bc7903d cleaning 2016-02-09 18:06:09 -07:00
Eric Wasylishen
0a563fdb38 Load controllers from txt file 2016-02-08 20:28:01 -07:00
Eric Wasylishen
c1a0b4f854 update qs pak 2016-02-08 18:13:31 -07:00
Eric Wasylishen
b53b78590c tidy 2016-02-08 17:22:55 -07:00
Eric Wasylishen
620d0e0fab swap move/look cvar 2016-02-08 16:29:11 -07:00
Eric Wasylishen
59ad64e28b Trimming joy support 2016-02-08 15:04:19 -07:00
Eric Wasylishen
6a27a05f82 menu: remove DPAD up/down/left/right 2016-02-08 15:02:40 -07:00
Eric Wasylishen
dfc605398e trimming 2016-02-08 14:57:24 -07:00
Eric Wasylishen
5c0ae3b4cd Trim out unused joy_ stuff 2016-02-08 14:30:13 -07:00
Eric Wasylishen
8024bac2ad more tweaks.
TODO: Autorepeat for stick emulated keys
2016-02-08 01:59:17 -07:00