[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.83,2.84
Max Horn
fingolfin at users.sourceforge.net
Tue Dec 31 07:27:01 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.15,2.16 gfx.h,1.19,1.20 saveload.cpp,1.40,1.41 scummvm.cpp,2.26,2.27 string.cpp,1.77,1.78
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.46,1.47 gfx.cpp,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9716
Modified Files:
script_v8.cpp
Log Message:
fix opcode that sets actor z cliping. Yeah I know that Guybrush now is drawn wrong - but this change is not the cause for it, it only reveals the problem (which is already causing the canon to be drawn wrong)
Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.83
retrieving revision 2.84
diff -u -d -r2.83 -r2.84
--- script_v8.cpp 30 Dec 2002 17:05:38 -0000 2.83
+++ script_v8.cpp 31 Dec 2002 15:26:02 -0000 2.84
@@ -1052,6 +1052,9 @@
break;
case 0x75: // SO_ACTOR_ALWAYS_ZCLIP ?
a->forceClip = pop();
+ // V8 uses 255 where we used to use 100
+ if (a->forceClip == 255)
+ a->forceClip = 100;
break;
case 0x76: // SO_ACTOR_IGNORE_BOXES Make actor ignore boxes
a->ignoreBoxes = true;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.15,2.16 gfx.h,1.19,1.20 saveload.cpp,1.40,1.41 scummvm.cpp,2.26,2.27 string.cpp,1.77,1.78
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.46,1.47 gfx.cpp,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list