[Scummvm-cvs-logs] CVS: residual bitmap.cpp,1.22,1.23 model.cpp,1.15,1.16
Daniel Schepler
dschepler at users.sourceforge.net
Wed Mar 24 06:15:21 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: residual driver_gl.cpp,1.9,1.10 lua.cpp,1.52,1.53
- Next message: [Scummvm-cvs-logs] CVS: residual actor.cpp,1.24,1.25 actor.h,1.11,1.12 lua.cpp,1.53,1.54 scene.cpp,1.23,1.24 scene.h,1.15,1.16 walkplane.cpp,1.7,1.8 walkplane.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv683
Modified Files:
bitmap.cpp model.cpp
Log Message:
Fixed a couple valgrind issues.
Index: bitmap.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/bitmap.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- bitmap.cpp 24 Mar 2004 12:20:46 -0000 1.22
+++ bitmap.cpp 24 Mar 2004 14:02:47 -0000 1.23
@@ -166,7 +166,7 @@
glLoadIdentity();
// A lot more may need to be put there : disabling Alpha test, blending, ...
// For now, just keep this here :-)
- if (hasTransparency_) {
+ if (format_ == 1 && hasTransparency_) {
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
}
Index: model.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/model.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- model.cpp 24 Mar 2004 12:20:46 -0000 1.15
+++ model.cpp 24 Mar 2004 14:03:00 -0000 1.16
@@ -243,6 +243,13 @@
pitch_ = get_float(data + 124);
yaw_ = get_float(data + 128);
roll_ = get_float(data + 132);
+ animPos_ = pos_;
+ animPitch_ = pitch_;
+ animYaw_ = yaw_;
+ animRoll_ = roll_;
+ priority_ = -1;
+ totalWeight_ = 1;
+
data += 184;
if (parentPtr != 0) {
- Previous message: [Scummvm-cvs-logs] CVS: residual driver_gl.cpp,1.9,1.10 lua.cpp,1.52,1.53
- Next message: [Scummvm-cvs-logs] CVS: residual actor.cpp,1.24,1.25 actor.h,1.11,1.12 lua.cpp,1.53,1.54 scene.cpp,1.23,1.24 scene.h,1.15,1.16 walkplane.cpp,1.7,1.8 walkplane.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list