[Scummvm-cvs-logs] CVS: scummvm sdl.cpp,1.99,1.100
James Brown
ender at users.sourceforge.net
Mon Apr 22 11:04:20 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm akos.cpp,1.13,1.14 gfx.cpp,1.76,1.77 object.cpp,1.62,1.63 scumm.h,1.136,1.137
- Next message: [Scummvm-cvs-logs] CVS: scummvm sound.cpp,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv5681
Modified Files:
sdl.cpp
Log Message:
Fix cursor hotspot offset. (swapped x/y coords)
Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sdl.cpp,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** sdl.cpp 21 Apr 2002 17:46:41 -0000 1.99
--- sdl.cpp 22 Apr 2002 18:01:32 -0000 1.100
***************
*** 939,944 ****
error("SDL_LockSurface failed: %s.\n", SDL_GetError());
! const int ydraw = _ms_cur.y + _current_shake_pos - _ms_hotspot_x;
! const int xdraw = _ms_cur.x - _ms_hotspot_y;
const int w = _ms_cur.w;
const int h = _ms_cur.h;
--- 939,944 ----
error("SDL_LockSurface failed: %s.\n", SDL_GetError());
! const int ydraw = _ms_cur.y + _current_shake_pos - _ms_hotspot_y;
! const int xdraw = _ms_cur.x - _ms_hotspot_x;
const int w = _ms_cur.w;
const int h = _ms_cur.h;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm akos.cpp,1.13,1.14 gfx.cpp,1.76,1.77 object.cpp,1.62,1.63 scumm.h,1.136,1.137
- Next message: [Scummvm-cvs-logs] CVS: scummvm sound.cpp,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list