[Scummvm-cvs-logs] SF.net SVN: scummvm:[39506] scummvm/trunk/engines/sci/gfx/operations.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Mar 18 08:59:47 CET 2009
Revision: 39506
http://scummvm.svn.sourceforge.net/scummvm/?rev=39506&view=rev
Author: thebluegr
Date: 2009-03-18 07:59:46 +0000 (Wed, 18 Mar 2009)
Log Message:
-----------
Cleanup
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/operations.cpp
Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp 2009-03-18 06:06:16 UTC (rev 39505)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp 2009-03-18 07:59:46 UTC (rev 39506)
@@ -80,21 +80,15 @@
// Internal operations
static void _gfxop_scale_rect(rect_t *rect, gfx_mode_t *mode) {
- int xfact = mode->xfact;
- int yfact = mode->yfact;
-
- rect->x *= xfact;
- rect->y *= yfact;
- rect->width *= xfact;
- rect->height *= yfact;
+ rect->x *= mode->xfact;
+ rect->y *= mode->yfact;
+ rect->width *= mode->xfact;
+ rect->height *= mode->yfact;
}
static void _gfxop_scale_point(Common::Point *point, gfx_mode_t *mode) {
- int xfact = mode->xfact;
- int yfact = mode->yfact;
-
- point->x *= xfact;
- point->y *= yfact;
+ point->x *= mode->xfact;
+ point->y *= mode->yfact;
}
int _gfxop_clip(rect_t *rect, rect_t clipzone) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list