[Scummvm-cvs-logs] SF.net SVN: scummvm:[39743] scummvm/trunk/engines/sci/engine/kgraphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Mar 29 16:47:57 CEST 2009


Revision: 39743
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39743&view=rev
Author:   thebluegr
Date:     2009-03-29 14:47:57 +0000 (Sun, 29 Mar 2009)

Log Message:
-----------
Added a stub for the palette fadeout/fadein effect, so that we remember it's currently missing

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-03-29 14:09:24 UTC (rev 39742)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-03-29 14:47:57 UTC (rev 39743)
@@ -2529,10 +2529,11 @@
 #define K_ANIMATE_BORDER_CLOSE_F_CENTER_OPEN_F 16 // close from edges to center, reopen from
 // center to edges */
 #define K_ANIMATE_CLOSE_CHECKERS_OPEN_CHECKERS 17 // close random checkboard, reopen
-#define K_ANIMATE_SCROLL_LEFT 0x28
-#define K_ANIMATE_SCROLL_RIGHT 0x29
-#define K_ANIMATE_SCROLL_DOWN 0x2a
-#define K_ANIMATE_SCROLL_UP 0x2b
+#define K_ANIMATE_PALETTE_FADEOUT_FADEIN       0x1e
+#define K_ANIMATE_SCROLL_LEFT                  0x28
+#define K_ANIMATE_SCROLL_RIGHT                 0x29
+#define K_ANIMATE_SCROLL_DOWN                  0x2a
+#define K_ANIMATE_SCROLL_UP                    0x2b
 
 #define K_ANIMATE_OPEN_SIMPLE 100 // No animation
 
@@ -2802,6 +2803,11 @@
 		}
 		break;
 
+	case K_ANIMATE_PALETTE_FADEOUT_FADEIN:
+		warning("TODO: Palette fadeout/fadein");
+		GRAPH_UPDATE_BOX(s, 0, 10, 320, 190);
+		break;
+
 	case K_ANIMATE_CLOSE_CHECKERS_OPEN_CHECKERS :
 
 		memset(checkers, 0, sizeof(checkers));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list