From 0c8a3a47e28075bd559be43bde910587af35d8ab Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 17 Mar 2014 21:53:22 -0400 Subject: MADS: Transformed ImageInterEntries to be User Interface UISlots --- engines/mads/scene_data.h | 55 ----------------------------------------------- 1 file changed, 55 deletions(-) (limited to 'engines/mads/scene_data.h') diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h index f2893c5fe1..1543669f7f 100644 --- a/engines/mads/scene_data.h +++ b/engines/mads/scene_data.h @@ -108,61 +108,6 @@ public: void check(bool scanFlag); }; -class DirtyArea { -private: - static MADSEngine *_vm; - friend class DirtyAreas; -public: - Common::Rect _bounds; - Common::Rect _bounds2; - bool _textActive; - bool _active; - - DirtyArea(); - - void setArea(int width, int height, int maxWidth, int maxHeight); - - void setSpriteSlot(const SpriteSlot *spriteSlot); - - /** - * Set up a dirty area for a text display - */ - void setTextDisplay(const TextDisplay *textDisplay); -}; - -class DirtyAreas: public Common::Array { -private: - MADSEngine *_vm; -public: - DirtyAreas(MADSEngine *vm); - - /** - * Merge together any designated dirty areas that overlap - * @param startIndex 1-based starting dirty area starting index - * @param count Number of entries to process - */ - void merge(int startIndex, int count); - - bool intersects(int idx1, int idx2); - void mergeAreas(int idx1, int idx2); - - /** - * Copy the data specified by the dirty rect list between surfaces - * @param srcSurface Source surface - * @param destSurface Dest surface - * @param posAdjust Position adjustment - */ - void copy(MSurface *srcSurface, MSurface *destSurface, const Common::Point &posAdjust); - - /** - * Use the lsit of dirty areas to copy areas of the screen surface to - * the physical screen - * @param posAdjust Position adjustment */ - void copyToScreen(const Common::Point &posAdjust); - - void reset(); -}; - class SceneLogic { protected: MADSEngine *_vm; -- cgit v1.2.3