summaryrefslogtreecommitdiff
path: root/src/variables.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-03-11 10:55:35 +0000
committerbjarni <bjarni@openttd.org>2007-03-11 10:55:35 +0000
commit7d498a55deea468388dfe29a3ecdd9d1ae5b1ea8 (patch)
treeb5331cf55f4eaf3f50d7092f65b2f19db44884e0 /src/variables.h
parentc90cfa1df03d2025d228f174941bcb8b884ab01c (diff)
downloadopenttd-7d498a55deea468388dfe29a3ecdd9d1ae5b1ea8.tar.xz
(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
Diffstat (limited to 'src/variables.h')
-rw-r--r--src/variables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/variables.h b/src/variables.h
index 4607947d1..ef5e9b73c 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -221,6 +221,8 @@ struct Patches {
/** YAPF settings */
YapfSettings yapf;
+ uint8 scrollwheel_scrolling;
+ uint8 scrollwheel_multiplier;
};
VARDEF Patches _patches;