aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.h
diff options
context:
space:
mode:
authorColin Snover2016-07-31 13:41:05 -0500
committerColin Snover2016-08-19 13:57:40 -0500
commit80d9182554bcc6b24b493510cf599baf7577dacc (patch)
tree5312e7e6996e5ccf66932dde2fb8706cb6ba1535 /engines/sci/graphics/frameout.h
parent9bfeb3c297a7868c53d4c37775148067d72f44c0 (diff)
downloadscummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.tar.gz
scummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.tar.bz2
scummvm-rg350-80d9182554bcc6b24b493510cf599baf7577dacc.zip
SCI32: Implement SCI32 cursor support
Diffstat (limited to 'engines/sci/graphics/frameout.h')
-rw-r--r--engines/sci/graphics/frameout.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h
index 8107316371..6cd0416a7a 100644
--- a/engines/sci/graphics/frameout.h
+++ b/engines/sci/graphics/frameout.h
@@ -30,6 +30,7 @@ namespace Sci {
typedef Common::Array<DrawList> ScreenItemListList;
typedef Common::Array<RectList> EraseListList;
+class GfxCursor32;
class GfxCoordAdjuster32;
class GfxTransitions32;
struct PlaneShowStyle;
@@ -40,13 +41,14 @@ struct PlaneShowStyle;
*/
class GfxFrameout {
private:
+ GfxCursor32 *_cursor;
GfxCoordAdjuster32 *_coordAdjuster;
GfxPalette32 *_palette;
ResourceManager *_resMan;
SegManager *_segMan;
public:
- GfxFrameout(SegManager *segMan, ResourceManager *resMan, GfxCoordAdjuster *coordAdjuster, GfxPalette32 *palette, GfxTransitions32 *transitions);
+ GfxFrameout(SegManager *segMan, ResourceManager *resMan, GfxCoordAdjuster *coordAdjuster, GfxPalette32 *palette, GfxTransitions32 *transitions, GfxCursor32 *cursor);
~GfxFrameout();
bool _isHiRes;
@@ -196,13 +198,6 @@ private:
bool _remapOccurred;
/**
- * Whether or not the data in the current buffer is what
- * is visible to the user. During rendering updates,
- * this flag is set to false.
- */
- bool _frameNowVisible;
-
- /**
* TODO: Document
* TODO: Depending upon if the engine ever modifies this
* rect, it may be stupid to store it separately instead
@@ -309,6 +304,13 @@ private:
public:
/**
+ * Whether or not the data in the current buffer is what
+ * is visible to the user. During rendering updates,
+ * this flag is set to false.
+ */
+ bool _frameNowVisible;
+
+ /**
* Whether palMorphFrameOut should be used instead of
* frameOut for rendering. Used by kMorphOn to
* explicitly enable palMorphFrameOut for one frame.