diff options
author | Martin Kiewitz | 2009-10-20 18:45:46 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-20 18:45:46 +0000 |
commit | 1e1172af499dd995651e3f8a80d8af291f0f177d (patch) | |
tree | 2bbe3225d67b1a1cdbcdebbeffe6556c00fa5d7a /engines/sci/gui32 | |
parent | 1fb02d2c4b33f8341c659429a07661cbff1a43dc (diff) | |
download | scummvm-rg350-1e1172af499dd995651e3f8a80d8af291f0f177d.tar.gz scummvm-rg350-1e1172af499dd995651e3f8a80d8af291f0f177d.tar.bz2 scummvm-rg350-1e1172af499dd995651e3f8a80d8af291f0f177d.zip |
SCI/newgui: Changed kPalette(animate) and implemented setFlags/unsetFlags
svn-id: r45277
Diffstat (limited to 'engines/sci/gui32')
-rw-r--r-- | engines/sci/gui32/gui32.cpp | 6 | ||||
-rw-r--r-- | engines/sci/gui32/gui32.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/gui32/gui32.cpp b/engines/sci/gui32/gui32.cpp index a5a7987d8b..cc590dc4b9 100644 --- a/engines/sci/gui32/gui32.cpp +++ b/engines/sci/gui32/gui32.cpp @@ -1346,6 +1346,12 @@ void SciGui32::paletteSet(GuiResourceId resourceNo, uint16 flags) { //warning("STUB"); } +void SciGui32::paletteSetFlag(uint16 fromColor, uint16 toColor, uint16 flag) { +} + +void SciGui32::paletteUnsetFlag(uint16 fromColor, uint16 toColor, uint16 flag) { +} + int16 SciGui32::paletteFind(uint16 r, uint16 g, uint16 b) { int i, delta, bestindex = -1, bestdelta = 200000; diff --git a/engines/sci/gui32/gui32.h b/engines/sci/gui32/gui32.h index 3f7d12e80c..99ab6df889 100644 --- a/engines/sci/gui32/gui32.h +++ b/engines/sci/gui32/gui32.h @@ -79,6 +79,8 @@ public: int16 picNotValid(int16 newPicNotValid); void paletteSet(GuiResourceId resourceNo, uint16 flags); + void paletteSetFlag(uint16 fromColor, uint16 toColor, uint16 flag); + void paletteUnsetFlag(uint16 fromColor, uint16 toColor, uint16 flag); int16 paletteFind(uint16 r, uint16 g, uint16 b); void paletteSetIntensity(uint16 fromColor, uint16 toColor, uint16 intensity); void paletteAnimate(uint16 fromColor, uint16 toColor, uint16 speed); |