diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 1 | ||||
-rw-r--r-- | engines/sci/graphics/cursor.h | 2 | ||||
-rw-r--r-- | engines/sci/graphics/gfx.h | 2 | ||||
-rw-r--r-- | engines/sci/graphics/helpers.h | 4 |
4 files changed, 4 insertions, 5 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 4a0a8bc483..59f960abd9 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -667,7 +667,6 @@ reg_t kPortrait(EngineState *s, int argc, reg_t *argv) { s->_gui->portraitShow(resourceName, position, resourceNum, noun, verb, cond, seq); return SIGNAL_REG; - // TODO: implement this. Looks to be a modified version of kDoSync } else { warning("kPortrait(show) called with unsupported argc %d", argc); } diff --git a/engines/sci/graphics/cursor.h b/engines/sci/graphics/cursor.h index c714faff87..087772fc98 100644 --- a/engines/sci/graphics/cursor.h +++ b/engines/sci/graphics/cursor.h @@ -35,8 +35,6 @@ namespace Sci { #define SCI_CURSOR_SCI0_TRANSPARENCYCOLOR 1 -#define MAX_CACHED_CURSORS 10 - class View; class SciPalette; diff --git a/engines/sci/graphics/gfx.h b/engines/sci/graphics/gfx.h index 6ad6e6c9ec..e9d2f72d2f 100644 --- a/engines/sci/graphics/gfx.h +++ b/engines/sci/graphics/gfx.h @@ -36,8 +36,6 @@ namespace Sci { #define SCI_TEXT_ALIGNMENT_CENTER 1 #define SCI_TEXT_ALIGNMENT_LEFT 0 -#define MAX_CACHED_VIEWS 50 - class Screen; class SciPalette; class Font; diff --git a/engines/sci/graphics/helpers.h b/engines/sci/graphics/helpers.h index fdfc5208b4..6799162f40 100644 --- a/engines/sci/graphics/helpers.h +++ b/engines/sci/graphics/helpers.h @@ -32,6 +32,10 @@ namespace Sci { +// Cache limits +#define MAX_CACHED_CURSORS 10 +#define MAX_CACHED_VIEWS 50 + #define SCI_SHAKE_DIRECTION_VERTICAL 1 #define SCI_SHAKE_DIRECTION_HORIZONTAL 2 |