mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
- Code reformatting
- Confirming X11 keyhandling bug fix. (icculus patchset #7)
This commit is contained in:
parent
085cead6f3
commit
9f69eb11f1
4 changed files with 55 additions and 32 deletions
|
@ -250,8 +250,7 @@ static void mousehandler(int buttonstate, int dx, int dy)
|
||||||
my += dy;
|
my += dy;
|
||||||
}
|
}
|
||||||
#else /* drx is assumed to be the mouse wheel */
|
#else /* drx is assumed to be the mouse wheel */
|
||||||
static void mousehandler(int buttonstate, int dx, int dy, int dz, int drx, int dry, int drz)
|
static void mousehandler(int buttonstate, int dx, int dy, int dz, int drx, int dry, int drz) {
|
||||||
{
|
|
||||||
mouse_buttonstate = buttonstate;
|
mouse_buttonstate = buttonstate;
|
||||||
mx += dx;
|
mx += dx;
|
||||||
my += dy;
|
my += dy;
|
||||||
|
|
22
src/rw_sdl.c
22
src/rw_sdl.c
|
@ -1,3 +1,25 @@
|
||||||
|
/* $Id$
|
||||||
|
*
|
||||||
|
* all os-specific SDL refresher code
|
||||||
|
*
|
||||||
|
* Copyright (c) 2002 The QuakeForge Project.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
*
|
||||||
|
* See the GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** RW_SDL.C
|
** RW_SDL.C
|
||||||
**
|
**
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
/* $Id$
|
/* $Id$
|
||||||
|
*
|
||||||
|
* all os-specific X11 software refresh code
|
||||||
*
|
*
|
||||||
* Copyright (C) 1997-2001 Id Software, Inc.
|
* Copyright (C) 1997-2001 Id Software, Inc.
|
||||||
* Copyright (c) 2002 The Quakeforge Project.
|
* Copyright (c) 2002 The Quakeforge Project.
|
||||||
|
|
Loading…
Reference in a new issue