aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorFilippos Karapetis2007-11-21 16:55:24 +0000
committerFilippos Karapetis2007-11-21 16:55:24 +0000
commit634595e0738cfb55d922ab91cdea7460156306a9 (patch)
tree4ef46579ad7728c88baa014835b934b05b8764b7 /engines/agi
parentb39ee7ec3c8ad944cc0401f54ae199e0b142bc21 (diff)
downloadscummvm-rg350-634595e0738cfb55d922ab91cdea7460156306a9.tar.gz
scummvm-rg350-634595e0738cfb55d922ab91cdea7460156306a9.tar.bz2
scummvm-rg350-634595e0738cfb55d922ab91cdea7460156306a9.zip
Cleanup
svn-id: r29592
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/picture.cpp6
-rw-r--r--engines/agi/picture.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index e01e70f3ba..08b69d56ae 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -25,7 +25,6 @@
#include "agi/agi.h"
#include "agi/graphics.h"
-#include "common/stack.h"
namespace Agi {
@@ -62,11 +61,6 @@ void PictureMgr::putVirtPixel(int x, int y) {
*p = _scrColor | (*p & 0xf0);
}
-// For the flood fill routines
-
-// MH2 needs stack size > 300
-Common::Stack<uint16> _stack;
-
/**
* Draw an AGI line.
* A line drawing routine sent by Joshua Neal, modified by Stuart George
diff --git a/engines/agi/picture.h b/engines/agi/picture.h
index 1d764cd7bd..8604b72d10 100644
--- a/engines/agi/picture.h
+++ b/engines/agi/picture.h
@@ -27,6 +27,7 @@
#define AGI_PICTURE_H
#include "agi/agi.h"
+#include "common/stack.h"
namespace Agi {
@@ -140,6 +141,7 @@ private:
int _flags;
int _currentStep;
+ Common::Stack<uint16> _stack; // For the flood fill routines
};
} // End of namespace Agi