[Scummvm-cvs-logs] CVS: scummvm/saga gfx.cpp,1.63,1.64
Eugene Sandulenko
sev at users.sourceforge.net
Tue Oct 4 19:01:07 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.66,1.67 events.cpp,1.67,1.68 gfx.cpp,1.62,1.63 gfx.h,1.39,1.40 scene.cpp,1.148,1.149
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga gfx.cpp,1.64,1.65
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28115
Modified Files:
gfx.cpp
Log Message:
Fix to fixed palette range.
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/gfx.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- gfx.cpp 5 Oct 2005 01:40:55 -0000 1.63
+++ gfx.cpp 5 Oct 2005 02:00:17 -0000 1.64
@@ -203,8 +203,8 @@
from = 0;
numcolors = PAL_ENTRIES;
} else {
- from = 0;
- numcolors = 248;
+ from = 1;
+ numcolors = 247;
}
for (i = 0, ppal = &_currentPal[from * 4]; i < numcolors; i++, ppal += 4) {
@@ -273,8 +273,8 @@
from = 0;
numcolors = PAL_ENTRIES;
} else {
- from = 0;
- numcolors = 248;
+ from = 1;
+ numcolors = 247;
}
if (percent > 1.0) {
@@ -338,8 +338,8 @@
from = 0;
numcolors = PAL_ENTRIES;
} else {
- from = 0;
- numcolors = 248;
+ from = 1;
+ numcolors = 247;
}
if (percent > 1.0) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.66,1.67 events.cpp,1.67,1.68 gfx.cpp,1.62,1.63 gfx.h,1.39,1.40 scene.cpp,1.148,1.149
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga gfx.cpp,1.64,1.65
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list