[Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src/arm native.h,1.5,1.6 proc3.cpp,1.4,1.5
Max Horn
fingolfin at users.sourceforge.net
Sun May 15 03:41:05 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src/builder/scumm bl_akos.c,1.2,1.3 bl_costume.c,1.2,1.3
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.227,1.228 bomp.cpp,2.31,2.32 charset.cpp,2.142,2.143 costume.cpp,1.181,1.182 nut_renderer.cpp,1.56,1.57 util.h,2.11,2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/PalmOS/Src/arm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13830/backends/PalmOS/Src/arm
Modified Files:
native.h proc3.cpp
Log Message:
Replaced global revBitMask array with a macro
Index: native.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/arm/native.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- native.h 20 Dec 2004 17:33:40 -0000 1.5
+++ native.h 15 May 2005 10:40:27 -0000 1.6
@@ -96,7 +96,6 @@
typedef struct {
void *v1; // struct v1 *
- const byte *revBitMask;
const byte *_srcptr;
int _height;
Index: proc3.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/arm/proc3.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- proc3.cpp 20 Dec 2004 17:33:40 -0000 1.4
+++ proc3.cpp 15 May 2005 10:40:27 -0000 1.5
@@ -14,7 +14,6 @@
SETPTRV (V1CodecType * , v1, v1comp )
- SETPTR (const byte * ,revBitMask )
SETPTR (const byte * ,_srcptr )
SET32 (int ,_height )
SET8 (byte ,_scaleIndexX )
@@ -60,7 +59,7 @@
height = _height;
scaleytab = &v1.scaletable[_scaleIndexY];
- maskbit = revBitMask[v1.x & 7];
+ maskbit = revBitMask(v1.x & 7);
mask = v1.mask_ptr + v1.x / 8;
if (len)
@@ -108,7 +107,7 @@
if (v1.x < 0 || v1.x >= _out_w)
//return _scaleIndexX;
goto end_jump;
- maskbit = revBitMask[v1.x & 7];
+ maskbit = revBitMask(v1.x & 7);
v1.destptr += v1.scaleXstep;
}
_scaleIndexX += v1.scaleXstep;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src/builder/scumm bl_akos.c,1.2,1.3 bl_costume.c,1.2,1.3
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.227,1.228 bomp.cpp,2.31,2.32 charset.cpp,2.142,2.143 costume.cpp,1.181,1.182 nut_renderer.cpp,1.56,1.57 util.h,2.11,2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list