[Scummvm-cvs-logs] CVS: scummvm verbs.cpp,1.26,1.27
Max Horn
fingolfin at users.sourceforge.net
Mon May 20 07:44:04 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.68,1.69 costume.cpp,1.32,1.33
- Next message: [Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.69,1.70 object.cpp,1.69,1.70 script.cpp,1.59,1.60 scumm.h,1.165,1.166 scummvm.cpp,1.157,1.158
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv16968
Modified Files:
verbs.cpp
Log Message:
small tweak, no functionality changed
Index: verbs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/verbs.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- verbs.cpp 15 May 2002 10:25:00 -0000 1.26
+++ verbs.cpp 20 May 2002 14:43:22 -0000 1.27
@@ -116,7 +116,6 @@
void Scumm::drawVerb(int vrb, int mode)
{
VerbSlot *vs;
- byte color;
byte tmp;
if (!vrb)
@@ -136,13 +135,13 @@
string[4].ypos = vs->y;
string[4].right = 319;
string[4].center = vs->center;
- if (mode && vs->hicolor)
- color = vs->hicolor;
- else
- color = vs->color;
- string[4].color = color;
+
if (vs->curmode == 2)
string[4].color = vs->dimcolor;
+ else if (mode && vs->hicolor)
+ string[4].color = vs->hicolor;
+ else
+ string[4].color = vs->color;
// FIXME For the future: Indy3 and under inv scrolling
/*
- Previous message: [Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.68,1.69 costume.cpp,1.32,1.33
- Next message: [Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.69,1.70 object.cpp,1.69,1.70 script.cpp,1.59,1.60 scumm.h,1.165,1.166 scummvm.cpp,1.157,1.158
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list