[Scummvm-cvs-logs] CVS: scummvm/saga scene.cpp,1.100,1.101
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Apr 24 08:35:24 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.120,1.121 interface.cpp,1.84,1.85 interface.h,1.45,1.46 saga.h,1.87,1.88 scene.cpp,1.99,1.100 script.h,1.79,1.80 sfuncs.cpp,1.106,1.107 sthread.cpp,1.79,1.80
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.59,1.60
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31552
Modified Files:
scene.cpp
Log Message:
Fixed warning. (Unused variables.)
Index: scene.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/scene.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- scene.cpp 24 Apr 2005 15:17:37 -0000 1.100
+++ scene.cpp 24 Apr 2005 15:35:03 -0000 1.101
@@ -384,24 +384,22 @@
}
bool Scene::offscreenPath(Point &testPoint) {
- Point first;
- Point second;
- Point third;
+ Point point;
if (!_bgMask.loaded) {
return false;
}
- first.x = clamp( 0, testPoint.x, _bgMask.w - 1 );
- first.y = clamp( 0, testPoint.y, _bgMask.h - 1 );
- if (first == testPoint) {
+ point.x = clamp( 0, testPoint.x, _bgMask.w - 1 );
+ point.y = clamp( 0, testPoint.y, _bgMask.h - 1 );
+ if (point == testPoint) {
return false;
}
- if (first.y >= _bgMask.h - 1) {
- first.y = _bgMask.h - 2;
+ if (point.y >= _bgMask.h - 1) {
+ point.y = _bgMask.h - 2;
}
- testPoint = first;
+ testPoint = point;
return true;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.120,1.121 interface.cpp,1.84,1.85 interface.h,1.45,1.46 saga.h,1.87,1.88 scene.cpp,1.99,1.100 script.h,1.79,1.80 sfuncs.cpp,1.106,1.107 sthread.cpp,1.79,1.80
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.59,1.60
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list