From be3d314a61d68281f02af1248a85e6aa069c4980 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 7 Oct 2006 00:59:03 +0000 Subject: Add float spin control and use it for the acceleration controller in setup. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 692 --- setup/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup') diff --git a/setup/mouse.c b/setup/mouse.c index 67e12b23..bd3aa8a5 100644 --- a/setup/mouse.c +++ b/setup/mouse.c @@ -30,7 +30,7 @@ int use_mouse = 1; int novert; int speed; -int accel; +float accel; int threshold; int grabmouse = 1; @@ -100,7 +100,7 @@ void ConfigMouse(void) TXT_NewLabel("Speed"), TXT_NewSpinControl(&speed, 1, 256), TXT_NewLabel("Acceleration"), - TXT_NewSpinControl(&accel, 1, 5), + TXT_NewFloatSpinControl(&accel, 1.0, 5.0), TXT_NewLabel("Acceleration threshold"), TXT_NewSpinControl(&threshold, 0, 32), NULL); -- cgit v1.2.3