]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add menu_mouse_absolute and hud_cursormode to the menu
authorSamual Lenks <samual@xonotic.org>
Sat, 1 Feb 2014 23:13:06 +0000 (18:13 -0500)
committerSamual Lenks <samual@xonotic.org>
Sat, 1 Feb 2014 23:13:06 +0000 (18:13 -0500)
qcsrc/menu/xonotic/dialog_settings_input.c

index 2f2c1c01cc53efe717542899f90baff1b60f56d6..0b1a707ae4e6f172cdbd8ea7d0b6ccfbc9c4468c 100644 (file)
@@ -58,6 +58,11 @@ void XonoticInputSettingsTab_fill(entity me)
                me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "m_filter", _("Smooth aiming")));
        me.TR(me);
                me.TD(me, 1, 3, e = makeXonoticCheckBox(1.022, "m_pitch", _("Invert aiming")));
+       me.TR(me);
+               me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "menu_mouse_absolute", _("Use system mouse positioning")));
+                       makeMulti(e, "hud_cursormode");
+       me.TR(me);
+               me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "m_accelerate", _("Enable built in mouse acceleration")));
        me.TR(me);
                if(cvar_type("vid_dgamouse") & CVAR_TYPEFLAG_ENGINE)
                        me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "vid_dgamouse", _("Disable system mouse acceleration")));
@@ -68,8 +73,6 @@ void XonoticInputSettingsTab_fill(entity me)
                        me.TD(me, 1, 3, e = makeXonoticCheckBox(0, string_null, _("Disable system mouse acceleration")));
                        e.disabled = 1; // the option is never available in this case, just there for show
                }
-       me.TR(me);
-               me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "m_accelerate", _("Enable built in mouse acceleration")));
 
        me.TR(me);
        me.TR(me);