diff options
author | Filippos Karapetis | 2009-03-29 14:47:57 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-29 14:47:57 +0000 |
commit | fbc76a89e110eb5db9e703cff5698d815f21e5d2 (patch) | |
tree | 175c984506b640a2d08bd958d19982ffcf13249d /engines | |
parent | 5fa83a26e642038806fe2536f5694ae783ec57cf (diff) | |
download | scummvm-rg350-fbc76a89e110eb5db9e703cff5698d815f21e5d2.tar.gz scummvm-rg350-fbc76a89e110eb5db9e703cff5698d815f21e5d2.tar.bz2 scummvm-rg350-fbc76a89e110eb5db9e703cff5698d815f21e5d2.zip |
Added a stub for the palette fadeout/fadein effect, so that we remember it's currently missing
svn-id: r39743
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 7559b0d141..3e1bfce785 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -2529,10 +2529,11 @@ reg_t kNewWindow(EngineState *s, int funct_nr, int argc, reg_t *argv) { #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 @@ static void animate_do_animation(EngineState *s, int funct_nr, int argc, reg_t * } 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)); |