Moved all the cache limits inside helpers.h and removed an obsolete TODO

svn-id: r47250
This commit is contained in:
Filippos Karapetis 2010-01-11 12:23:04 +00:00
parent 4400bac9ad
commit 6a07bbd5f4
4 changed files with 4 additions and 5 deletions

View File

@ -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);
}

View File

@ -35,8 +35,6 @@ namespace Sci {
#define SCI_CURSOR_SCI0_TRANSPARENCYCOLOR 1
#define MAX_CACHED_CURSORS 10
class View;
class SciPalette;

View File

@ -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;

View File

@ -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