From: havoc Date: Thu, 8 May 2008 16:20:25 +0000 (+0000) Subject: default in_client_mouse to true again to fix Nexuiz menu X-Git-Tag: xonotic-v0.1.0preview~2245 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ead4e3aa0da9ea6f3a6a83fa2a35eeb7c238ac0;p=xonotic%2Fdarkplaces.git 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 --- 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;