From 0ead4e3aa0da9ea6f3a6a83fa2a35eeb7c238ac0 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 8 May 2008 16:20:25 +0000 Subject: [PATCH] default in_client_mouse to true again to fix Nexuiz menu added a comment in getmousepos about the fact it doesn't know how to handle in_client_mouse git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8287 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_cmds.c | 1 + vid_shared.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index bdaf712b..a20c55ae 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -2309,6 +2309,7 @@ void VM_getmousepos(void) { VM_SAFEPARMCOUNT(0,VM_getmousepos); + // FIXME: somehow this should involve in_client_mouse if this is menu progs if (cl.csqc_wantsmousemove) VectorSet(PRVM_G_VECTOR(OFS_RETURN), in_windowmouse_x * vid_conwidth.integer / vid.width, in_windowmouse_y * vid_conheight.integer / vid.height, 0); else diff --git a/vid_shared.c b/vid_shared.c index cf694995..028b10dc 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -10,7 +10,7 @@ qboolean isG200 = false; // LordHavoc: the Matrox G200 can't do per pixel alpha, qboolean isRagePro = false; // LordHavoc: the ATI Rage Pro has limitations with per pixel alpha (the color scaler does not apply to per pixel alpha images...), although not as bad as a G200. // AK FIXME -> input_dest -qboolean in_client_mouse = false; +qboolean in_client_mouse = true; // AK where should it be placed ? float in_mouse_x, in_mouse_y; -- 2.39.2