[Scummvm-cvs-logs] SF.net SVN: scummvm: [20735] scummvm/trunk/engines/simon/vga.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Thu Feb 16 14:50:13 CET 2006
Revision: 20735
Author: kirben
Date: 2006-02-16 14:49:26 -0800 (Thu, 16 Feb 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=20735&view=rev
Log Message:
-----------
Fix overlay images not always been marked as compressed in the Feeble Files
Modified Paths:
--------------
scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp 2006-02-16 22:35:43 UTC (rev 20734)
+++ scummvm/trunk/engines/simon/vga.cpp 2006-02-16 22:49:26 UTC (rev 20735)
@@ -709,13 +709,19 @@
state.palette);
// TODO::Add support for image overlay and scaling in Feeble Files
- if (flags & 0x80 && !(state.flags & 0x10)) {
- if (state.flags & 1) {
- state.flags &= ~1;
- state.flags |= 0x10;
- } else {
+ if (getGameType() == GType_FF) {
+ if (flags & 0x80) {
state.flags |= 0x8;
}
+ } else {
+ if (flags & 0x80 && !(state.flags & 0x10)) {
+ if (state.flags & 1) {
+ state.flags &= ~1;
+ state.flags |= 0x10;
+ } else {
+ state.flags |= 0x8;
+ }
+ }
}
if (getGameType() == GType_FF) {
More information about the Scummvm-git-logs
mailing list